@font-face{font-family:BrendaSans;src:local('Avenir Next'),local('Segoe UI');font-display:swap}
@font-face{font-family:BrendaChinese;src:url('/assets/chinese-study.ttf') format('truetype');font-weight:400;font-display:swap;unicode-range:U+2E80-9FFF,U+F900-FAFF,U+FF00-FFEF}
[lang=zh],.lesson-tip,.outline-list,.launch-note{font-family:var(--font),BrendaChinese,sans-serif}
:root{--blue:#00769b;--blue-dark:#005b79;--ink:#142e3b;--muted:#59717b;--line:#dfe9ed;--pale:#eff7fa;--yellow:#f1df84;--white:#fff;--font:BrendaSans,'Avenir Next','Segoe UI',BrendaChinese,Arial,'PingFang SC','Microsoft YaHei',sans-serif;--serif:Georgia,'Times New Roman',serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;font-family:var(--font);font-size:16px;line-height:1.65;color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased}body.dialog-open{overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #ba8b13;outline-offset:5px}img{display:block;max-width:100%}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.15}h2{font-size:clamp(2rem,3.2vw,2.7rem);font-weight:500;letter-spacing:-1.4px}h3{font-weight:600}svg{width:22px;height:22px;flex-shrink:0}.container{max-width:1232px;width:calc(100% - 112px);margin:0 auto}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;top:-80px;left:16px;background:var(--ink);color:white;padding:12px 18px;z-index:100}.skip-link:focus{top:12px}.eyebrow{font-size:.76rem;letter-spacing:2px;font-weight:700;line-height:1.6;color:var(--blue);margin-bottom:18px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--blue);color:white;border:1px solid transparent;padding:14px 24px;min-height:50px;border-radius:7px;font-size:.94rem;line-height:1.45;font-weight:600;transition:background .2s,transform .2s}.button:hover{background:var(--blue-dark);transform:translateY(-1px)}.button-small{padding:10px 17px;min-height:43px;font-size:.87rem}.button-light{background:#fff;color:var(--blue-dark)}.button-light:hover{background:#e7f4f8}.text-button{display:inline-flex;background:none;border:0;border-bottom:1px solid #a4b8c2;padding:4px 0;font-size:.93rem;font-weight:600;line-height:1.45;color:var(--blue)}.text-button:hover{color:var(--ink);border-color:var(--ink)}.icon-button{width:42px;height:42px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:transparent;border:1px solid var(--line);border-radius:50%;color:var(--ink)}
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.97);border-bottom:1px solid #edf2f4}.header-inner{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:26px}.brand{display:inline-flex;align-items:center;gap:11px;flex-shrink:0}.brand-mark{position:relative;display:flex;align-items:center;justify-content:center;width:45px;height:45px;border-radius:12px 12px 12px 3px;background:var(--blue);color:#fff;font-size:29px;font-weight:400;line-height:1}.brand-mark>span{position:absolute;width:7px;height:7px;border-radius:50%;right:-3px;bottom:0;background:var(--yellow);border:1px solid #fff}.brand-name{font-size:1.12rem;font-weight:700;letter-spacing:-.4px;line-height:1.2}.brand-name>span{display:block;color:var(--muted);font-weight:400;font-size:.84rem;letter-spacing:.1px;margin-top:3px}.desktop-nav{display:flex;align-items:center;gap:26px;font-size:.88rem;font-weight:500}.desktop-nav a{position:relative;padding:8px 0}.desktop-nav a:hover{color:var(--blue)}.header-actions{display:flex;align-items:center;gap:20px}.language-switch{display:flex;align-items:center;gap:3px;white-space:nowrap;font-size:.8rem}.language-switch button{border:none;background:transparent;color:#70828b;font-size:.81rem;min-width:30px;min-height:38px;padding:5px;font-weight:500}.language-switch button[aria-pressed=true]{font-weight:800;color:var(--blue)}.language-switch>span{color:#c2cfd4;font-size:13px}.menu-toggle{display:none}.mobile-nav{border-top:1px solid var(--line);padding:10px 28px 22px;flex-direction:column;gap:4px}.mobile-nav a{padding:10px 0}
.hero{background:linear-gradient(112deg,#f3f8fa 0%,#eff6f9 65%,#e7f2f6 100%);padding:66px 0 73px;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.08fr 1fr;gap:62px;align-items:center}.hero-copy{padding:12px 0}.hero-copy .eyebrow{display:flex;align-items:center;gap:11px;font-size:.75rem;letter-spacing:1.65px}.short-line{width:28px;height:1px;background:var(--blue)}h1{font-weight:500;font-size:clamp(2.65rem,4.5vw,3.9rem);letter-spacing:-2.3px;line-height:1.1;max-width:600px}h1 em{display:inline-block;font-family:var(--serif);font-weight:400;color:var(--blue);line-height:1.15;margin-top:9px;letter-spacing:-2px}.hero-description{font-size:1.06rem;line-height:1.8;color:var(--muted);max-width:435px;margin:25px 0 29px}.hero-ctas{display:flex;align-items:center;gap:25px;flex-wrap:wrap}.hero-ctas .text-button{font-size:.87rem}.hero-footnote{display:flex;align-items:center;gap:10px;margin-top:32px;font-size:.78rem;color:var(--muted)}.mini-character{width:27px;height:27px;border:1px solid #c3d4dc;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:16px;color:var(--blue)}.hero-visual{position:relative;margin:7px 0 0 0}.hero-image{width:100%;height:437px;object-fit:cover;object-position:56% center;border-radius:120px 17px 17px 17px}.hero-note{position:absolute;right:17px;top:17px;display:flex;flex-direction:column;color:#fff;background:rgba(11,58,76,.82);border:1px solid rgba(255,255,255,.25);padding:12px 17px;border-radius:8px;box-shadow:0 5px 20px #163a4920}.hero-note>span:first-child{font-size:1rem;letter-spacing:2px}.hero-note>span:last-child{font-size:.75rem;opacity:.85;margin-top:4px}.hello-card{position:absolute;left:-30px;bottom:-23px;min-width:217px;background:#fff;padding:21px 27px 24px;border-radius:10px;box-shadow:0 13px 35px #1c52641c;transform:rotate(-4deg);border:1px solid #e6ecee}.hello-label{font-size:.75rem;font-weight:700;letter-spacing:1.5px;color:var(--muted)}.hello-chinese{font-size:3.75rem;line-height:1.35;color:var(--blue);letter-spacing:1px;font-weight:500;padding-top:2px;white-space:nowrap}.hello-dot{color:var(--yellow)}.hello-translation{display:flex;gap:13px;align-items:center;font-size:.88rem;color:var(--muted)}.hello-translation .pinyin{font-family:var(--serif);font-size:1.04rem}.translation-divider{height:14px;width:1px;background:#d4dfe3}.trust-strip{border-bottom:1px solid var(--line);background:#fff}.trust-grid{display:grid;grid-template-columns:1fr 1fr 1.4fr;align-items:center;padding:25px 0;gap:20px}.trust-grid>div{display:flex;align-items:center;justify-content:center;gap:11px;color:#4e6672;font-size:.86rem}.trust-grid>div+div{border-left:1px solid var(--line)}.trust-grid svg{color:var(--blue);width:21px;height:21px}
.section{padding:82px 0}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:33px}.section-heading .eyebrow{margin-bottom:12px}.section-intro{max-width:335px;color:var(--muted);font-size:.95rem;line-height:1.75}.free-section h2{max-width:600px}.filter-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:26px}.filters{display:flex;gap:6px;flex-wrap:wrap}.filter{border:1px solid transparent;background:transparent;border-radius:5px;padding:8px 14px;font-size:.84rem;color:var(--muted);min-height:39px}.filter:hover{background:var(--pale);color:var(--blue)}.filter.active{background:var(--blue);color:white}.free-note{color:#6e8088;font-size:.76rem}.lesson-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;align-items:start}.lesson-card{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff;transition:transform .22s,box-shadow .22s}.lesson-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px #142e3b0b}.lesson-cover{width:100%;min-height:223px;border:0;display:flex;position:relative;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;padding:43px 20px 25px;font-family:var(--font)}.cover-greetings{background:#f5edc8;color:#52472a}.cover-social{background:#dceef3;color:#096580}.cover-natural{background:#e5e9f3;color:#374868}.cover-top{position:absolute;top:17px;left:19px;right:19px;display:flex;justify-content:space-between;align-items:center;font-size:.75rem;letter-spacing:1.2px;font-weight:700}.free-badge{border:1px solid currentColor;border-radius:3px;padding:1px 7px;font-size:.75rem;letter-spacing:.8px}.cover-character{font-size:3.1rem;line-height:1.4;letter-spacing:5px;font-weight:500}.cover-pinyin{font-size:1.01rem;font-family:var(--serif);margin-top:2px;letter-spacing:1px}.cover-meaning{font-size:.75rem;margin-top:14px;opacity:.8;letter-spacing:.2px}.cover-corner{position:absolute;bottom:12px;right:16px;font-family:var(--serif);font-style:italic;font-size:1.1rem;opacity:.5}.lesson-body{padding:23px 22px 20px}.lesson-type{font-size:.75rem;font-weight:600;color:var(--blue);display:flex;align-items:center;gap:7px;margin-bottom:9px}.lesson-type svg{width:14px;height:14px}.lesson-body h3{font-size:1.22rem;letter-spacing:-.4px;line-height:1.35;min-height:3.3rem}.lesson-description{font-size:.89rem;color:var(--muted);line-height:1.65;margin-top:10px;min-height:4.4rem}.lesson-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:15px;margin-top:19px}.lesson-footer .text-button{font-size:.83rem;border:0}.download-button{display:flex;align-items:center;gap:5px;font-size:.75rem;color:var(--muted);border:1px solid var(--line);padding:6px 9px;border-radius:5px;min-height:36px}.download-button:hover{background:var(--pale);color:var(--blue)}.download-button svg{width:16px;height:16px}
.video-section{background:#083e53;color:white;padding:68px 0}.video-grid{display:grid;grid-template-columns:1fr 1fr;gap:87px;align-items:center}.video-copy .eyebrow{color:#8dcddd;font-size:.75rem}.video-copy h2{font-size:2.7rem;max-width:450px;letter-spacing:-1px;line-height:1.15}.video-copy>p:not(.eyebrow){color:#c3d8e1;font-size:.98rem;margin:23px 0 26px;line-height:1.8;max-width:440px}.video-copy .button{font-size:.88rem}.video-secondary{display:block;font-size:.81rem;text-decoration:underline;text-underline-offset:5px;color:#b9d9e5;margin-top:20px}.video-preview{min-height:323px;border:1px solid #548b9f;border-radius:10px;background:#f4f5ed;overflow:hidden;color:var(--ink);position:relative;box-shadow:14px 14px 0 #215569;padding:22px 28px 21px}.video-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.75rem;font-weight:700;letter-spacing:1.6px;color:var(--blue)}.video-format{font-size:.75rem;letter-spacing:.4px;border:1px solid #b6cbd2;padding:3px 8px;border-radius:3px;font-weight:500}.video-words{display:flex;justify-content:center;align-items:center;gap:43px;margin:13px 0 16px;text-align:center}.video-words>div>span{font-size:4.5rem;line-height:1.25;color:var(--blue)}.video-words small{display:block;font-size:1.2rem;font-family:var(--serif);line-height:1.4}.video-words p{font-size:.76rem;color:var(--muted);margin-top:3px}.word-separator{font-family:var(--serif);font-size:2.5rem;color:#bfd0d7;font-style:italic}.video-caption{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:.81rem;color:var(--muted);border-top:1px solid #d4dfe0;padding-top:11px}.video-caption>span:first-child{font-size:1rem;letter-spacing:4px;color:var(--ink)}.video-caption>span:last-child{font-size:.75rem}.video-brand{font-size:.75rem;text-align:center;color:var(--blue);margin-top:14px;font-weight:600}.video-brand i{font-family:var(--serif);font-weight:400}
.courses-section{background:#fafcfd}.course-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.course-card{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}.course-art{position:relative;padding:23px 29px 25px;height:259px;overflow:hidden}.course-art-first{background:#00769b;color:#fff}.course-art-second{background:#eeebdc;color:#225167}.course-level{position:relative;z-index:1;display:inline-block;font-size:.75rem;letter-spacing:1.4px;border:1px solid #ffffff75;border-radius:4px;padding:3px 9px}.course-art-second .course-level{border-color:#afbfbd}.course-title-art{position:relative;z-index:1;display:flex;flex-direction:column;font-size:2.08rem;line-height:1.29;letter-spacing:3px;margin-top:13px}.course-art-first .course-title-art>span:nth-child(2){color:#f5e594}.course-art-second .course-title-art{font-size:1.88rem}.course-art-caption{position:absolute;left:29px;bottom:20px;font-size:.75rem;letter-spacing:1.7px}.course-art-number{position:absolute;right:20px;top:3px;font-family:var(--serif);font-size:13rem;font-weight:400;letter-spacing:-25px;line-height:1.25;color:#ffffff15}.course-art-second .course-art-number{color:#41728412}.course-body{padding:25px 28px 22px}.course-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:.75rem;letter-spacing:1px;margin-bottom:14px}.coming-soon{font-size:.75rem;letter-spacing:0;background:#f0f5f7;padding:3px 10px;border-radius:20px;white-space:nowrap}.course-body h3{font-size:1.38rem;line-height:1.3;letter-spacing:-.5px}.course-body>p{color:var(--muted);margin-top:12px;font-size:.93rem;line-height:1.7;min-height:3.2rem}.course-footer{border-top:1px solid var(--line);margin-top:23px;padding-top:17px;display:flex;align-items:center;justify-content:space-between;gap:18px}.course-footer>span{font-size:.78rem;color:var(--muted)}.course-footer .text-button{font-size:.83rem;border:0}
.about-section{padding:78px 0 80px;background:#edf6f9}.about-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:100px}.about-intro .eyebrow{font-size:.75rem;letter-spacing:1.5px}.about-intro h2{font-size:3.5rem;line-height:1.18;letter-spacing:-2px}.about-intro h2>span:first-child{font-size:2.9rem;font-weight:400;color:var(--blue);letter-spacing:5px;line-height:1.4}.teacher-signature{font-size:3.2rem;font-family:var(--serif);font-style:italic;color:var(--blue);margin-top:26px;transform:rotate(-5deg);display:inline-block;line-height:1.15}.teacher-signature>span{font-family:var(--font);font-style:normal;font-size:.75rem;display:block;text-align:center;letter-spacing:5px;margin-top:9px;color:var(--muted)}.about-copy{padding-top:8px}.about-copy .about-lead{font-family:var(--serif);font-size:1.6rem;line-height:1.45;color:var(--ink);margin-bottom:17px}.about-copy>p{font-size:.96rem;line-height:1.85;color:var(--muted);margin-top:14px}.about-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:23px;margin-bottom:24px}.about-tags>span{background:#fff;border:1px solid #d6e6ec;font-size:.75rem;border-radius:4px;padding:5px 10px;color:#4e6e7d}.about-copy>.text-button{font-size:.9rem}.closing-section{background:var(--blue);color:white;padding:47px 0}.closing-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}.closing-inner .eyebrow{color:#afd8e5;font-size:.75rem;margin-bottom:9px}.closing-inner h2{font-size:2.3rem;letter-spacing:-.9px}.closing-inner .button{flex-shrink:0}.site-footer{padding-top:33px}.footer-main{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:28px}.footer-main>p{font-size:.85rem;color:var(--muted)}.footer-links{display:flex;gap:23px;font-size:.8rem;color:var(--muted)}.footer-links a:hover{color:var(--blue)}.footer-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);font-size:.75rem;color:#73848d;padding-top:17px;padding-bottom:19px}.footer-bottom>span[lang=zh]{letter-spacing:2px}
dialog{max-width:740px;width:calc(100% - 40px);max-height:88dvh;overflow:auto;border:1px solid var(--line);border-radius:16px;padding:37px;color:var(--ink);box-shadow:0 24px 100px #062c4455}dialog::backdrop{background:#092e43a6;backdrop-filter:blur(5px)}.dialog-close{position:absolute;top:16px;right:16px;width:35px;height:35px;background:white;z-index:1}.dialog-eyebrow{font-size:.75rem;letter-spacing:1.5px;font-weight:700;color:var(--blue);padding-right:30px;margin-bottom:12px}#dialog-title{font-size:2rem;line-height:1.2;letter-spacing:-.7px;padding-right:28px;font-weight:500}.dialog-description{margin:13px 0 20px;font-size:.95rem;color:var(--muted)}.lesson-table{display:flex;flex-direction:column;margin-top:23px}.phrase-row{display:grid;grid-template-columns:1fr 1.05fr;gap:15px;padding:14px 0;border-bottom:1px solid var(--line);align-items:center}.phrase-main{display:flex;flex-direction:column;gap:1px}.phrase-zh{font-size:1.37rem;line-height:1.5;letter-spacing:1px}.phrase-pinyin{font-family:var(--serif);font-size:.99rem;color:var(--blue);line-height:1.5}.phrase-translation{color:var(--muted);font-size:.94rem;line-height:1.5}.lesson-tip{background:var(--pale);border-left:3px solid var(--blue);padding:15px 18px;font-size:.9rem;line-height:1.7;margin:23px 0;color:#466573}.lesson-tip strong{display:block;color:var(--ink);margin-bottom:5px}.dialog-actions{display:flex;gap:13px;align-items:center;flex-wrap:wrap;margin-top:23px}.dialog-actions .button{font-size:.89rem;padding:11px 18px}.dialog-actions .small-note{font-size:.75rem;color:var(--muted)}.course-intro{margin-top:21px;font-size:.96rem;color:var(--muted)}.outline-list{list-style:none;padding:0;margin:22px 0}.outline-list li{border-bottom:1px solid var(--line);padding:15px 0;display:flex;align-items:flex-start;gap:14px}.outline-index{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;flex-shrink:0;border-radius:50%;background:var(--pale);color:var(--blue);font-size:.75rem}.outline-list h4{margin:0;font-size:.99rem;font-weight:600}.outline-list p{font-size:.86rem;color:var(--muted);margin-top:4px}.launch-note{font-size:.88rem;background:#f5f2e6;color:#73633d;border-radius:6px;padding:15px 18px;line-height:1.7}
@media(min-width:1440px){.hero{padding:78px 0 84px}.hero-image{height:463px}.hero-grid{gap:78px}}
@media(max-width:1150px){.container{width:calc(100% - 72px)}.desktop-nav{gap:18px}.header-actions{gap:12px}.hero-grid{gap:38px}.hero-image{height:402px}.hero{padding:51px 0 65px}.hero-ctas{gap:18px}.hero-ctas .button{padding:13px 18px}.hero-ctas .text-button{font-size:.82rem}.lesson-grid{gap:18px}.lesson-body{padding:20px 18px}.video-grid{gap:55px}.about-grid{gap:70px}.course-footer{gap:10px}.video-copy h2{font-size:2.35rem}}
@media(max-width:950px){.header-book{display:none}.header-inner{min-height:82px}.desktop-nav{gap:22px;font-size:.84rem}.hero-grid{grid-template-columns:1.1fr 1fr;gap:35px}h1{font-size:3rem}.hero-description{font-size:.97rem}.hero-image{height:381px}.hello-card{left:-17px;min-width:180px;padding:17px 23px}.hello-chinese{font-size:3.1rem}.hello-label{font-size:.75rem}.hero-note{padding:10px 12px}.hero-note>span:first-child{font-size:.87rem}.hero-note>span:last-child{font-size:.75rem}.hero-footnote{font-size:.75rem;max-width:275px}.section{padding:65px 0}.section-heading{gap:35px}.section-intro{max-width:280px;font-size:.9rem}.section-heading h2{font-size:2.1rem}.free-note{display:none}.lesson-grid{gap:14px}.lesson-body{padding:17px 15px}.lesson-body h3{font-size:1.08rem;min-height:3.2rem}.lesson-description{font-size:.83rem;min-height:5.5rem}.lesson-cover{min-height:210px}.cover-top{font-size:.75rem;left:14px;right:14px}.lesson-footer{align-items:flex-start;flex-direction:column;gap:7px}.download-button{border:none;padding:2px 0;min-height:32px}.video-grid{gap:40px}.video-copy h2{font-size:2.1rem}.video-copy>p:not(.eyebrow){font-size:.92rem}.video-preview{padding:20px;min-height:310px}.video-words{gap:30px}.video-format{display:none}.course-body{padding:22px}.course-footer{align-items:flex-start;flex-direction:column;gap:10px}.course-meta{align-items:flex-start;gap:9px}.course-art-caption{font-size:.75rem;letter-spacing:1.1px}.about-grid{gap:50px;grid-template-columns:.8fr 1.2fr}.about-intro h2{font-size:3rem}.about-copy .about-lead{font-size:1.4rem}.footer-main>p{display:none}.closing-inner h2{font-size:2rem}}
@media(max-width:720px){.container{width:calc(100% - 40px)}.header-inner{min-height:76px;gap:12px}.brand-mark{width:38px;height:38px;font-size:25px;border-radius:10px 10px 10px 3px}.brand-name{font-size:1rem}.brand-name>span{font-size:.75rem}.desktop-nav{display:none}.menu-toggle{display:flex;border:0}.header-actions{gap:7px}.hero{padding:42px 0 54px}.hero-grid{grid-template-columns:1fr;gap:37px}.hero-copy{padding:0}.hero-copy .eyebrow{font-size:.75rem;letter-spacing:1.4px;margin-bottom:18px}h1{font-size:clamp(2.65rem,9.8vw,3.85rem);letter-spacing:-1.7px;line-height:1.1;max-width:560px}h1 em{letter-spacing:-1.5px;max-width:520px}.hero-description{max-width:440px;margin:20px 0 22px;font-size:1rem}.hero-ctas{gap:22px}.hero-ctas .button{padding:13px 19px;font-size:.89rem}.hero-footnote{margin-top:24px;max-width:none;font-size:.75rem}.hero-visual{margin:0 0 17px 17px}.hero-image{height:320px;border-top-left-radius:85px;object-position:center 55%}.hello-card{left:-17px;bottom:-18px;min-width:181px;padding:15px 22px}.hello-chinese{font-size:3.2rem}.hero-note{right:15px;top:15px}.trust-grid{grid-template-columns:1fr;padding:22px 0;gap:13px}.trust-grid>div{font-size:.81rem;justify-content:flex-start;padding-left:12px}.trust-grid>div+div{border:none}.trust-grid svg{height:19px;width:19px}.section{padding:53px 0}.section-heading{flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:27px}.eyebrow{font-size:.75rem;letter-spacing:1.7px}.section-heading h2{font-size:2.1rem;letter-spacing:-1.1px}.section-intro{max-width:450px;font-size:.94rem}.filter-row{margin-bottom:23px}.filters{gap:4px}.filter{font-size:.78rem;padding:8px 11px;min-height:39px}.lesson-grid{grid-template-columns:1fr;gap:25px}.lesson-cover{min-height:230px}.cover-top{left:22px;right:22px;top:20px;font-size:.75rem}.cover-character{font-size:3.6rem}.cover-pinyin{font-size:1.1rem}.cover-meaning{font-size:.83rem}.lesson-body{padding:23px}.lesson-body h3{font-size:1.3rem;min-height:0}.lesson-description{font-size:.94rem;min-height:0;margin-top:10px}.lesson-type{font-size:.75rem}.lesson-footer{align-items:center;flex-direction:row;margin-top:20px;padding-top:16px}.lesson-footer .text-button{font-size:.9rem}.download-button{padding:6px 9px;border:1px solid var(--line);font-size:.77rem}.video-section{padding:49px 0 56px}.video-grid{grid-template-columns:1fr;gap:30px}.video-copy h2{font-size:2.3rem}.video-copy>p:not(.eyebrow){font-size:.95rem;max-width:500px}.video-preview{margin-right:10px;min-height:320px;padding:21px 25px}.video-format{display:block}.video-words{gap:45px}.video-words>div>span{font-size:4.6rem}.course-grid{grid-template-columns:1fr;gap:26px}.course-art{height:267px}.course-body{padding:23px}.course-meta{align-items:center}.course-body h3{font-size:1.38rem}.course-body>p{font-size:.94rem;min-height:0}.course-footer{flex-direction:row;align-items:center;gap:15px}.course-art-caption{font-size:.75rem;letter-spacing:1.4px}.about-section{padding:52px 0}.about-grid{grid-template-columns:1fr;gap:26px}.about-intro{position:relative}.about-intro h2{font-size:3rem}.about-intro h2>span:first-child{font-size:2.5rem}.teacher-signature{position:absolute;right:18px;bottom:8px;font-size:2.7rem;transform:rotate(-9deg)}.teacher-signature>span{font-size:.75rem}.about-copy .about-lead{font-size:1.5rem}.about-copy>p{font-size:.96rem}.about-tags>span{font-size:.75rem}.closing-section{padding:39px 0}.closing-inner{flex-direction:column;align-items:flex-start;gap:23px}.closing-inner h2{font-size:2.15rem}.footer-main{align-items:flex-start;flex-direction:column;gap:24px}.footer-links{font-size:.81rem;gap:24px}.footer-bottom{font-size:.75rem;gap:10px}.footer-bottom>span[lang=zh]{letter-spacing:1px}dialog{width:calc(100% - 24px);padding:29px 22px;max-height:90dvh;border-radius:12px}#dialog-title{font-size:1.65rem;padding-right:25px}.dialog-description{font-size:.9rem}.phrase-row{gap:12px;grid-template-columns:1.12fr 1fr}.phrase-zh{font-size:1.18rem;letter-spacing:0}.phrase-pinyin{font-size:.9rem}.phrase-translation{font-size:.86rem}.lesson-tip{font-size:.85rem;padding:13px 15px}.dialog-actions .button{font-size:.84rem}}
@media(max-width:380px){.container{width:calc(100% - 32px)}.hero-ctas{gap:14px}.hero-ctas .button{padding:12px 15px}.hero-image{height:285px}.filter{font-size:.75rem;padding:7px 9px}.teacher-signature{font-size:2.1rem;right:4px;bottom:11px}.course-footer{align-items:flex-start;flex-direction:column}.video-copy .button{font-size:.79rem;padding:13px 15px}.video-caption>span:first-child{letter-spacing:2px}.footer-bottom{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}

/* Readable type on desktop and mobile, with room for both languages. */
:root{--type-body:1.125rem;--type-control:1.0625rem;--type-label:.9375rem;--type-caption:.875rem}
html{scroll-padding-top:116px}
body{font-size:var(--type-body);line-height:1.75}
.section-intro,.lesson-description,.course-body>p,.about-copy>p,.video-copy>p:not(.eyebrow),.dialog-description,.phrase-translation,.lesson-tip,.outline-list p,.course-intro,.launch-note{font-size:var(--type-body);line-height:1.75}
.hero-description{font-size:1.1875rem;line-height:1.75;max-width:480px}
.section-intro{max-width:380px}
.brand-name{font-size:1.25rem}
.brand-name>span{font-size:1rem}
.header-inner{min-height:104px;flex-wrap:wrap;gap:12px 20px;padding-block:12px}
.site-header .brand-mark{width:52px;height:52px;font-size:34px}
.site-header .brand-name{font-size:1.5rem}
.site-header .brand-name>span{font-size:1.125rem}
.desktop-nav{font-size:1.25rem;line-height:1.5;font-weight:600;gap:24px}
.desktop-nav a{white-space:nowrap}
.header-actions{flex-shrink:0;gap:16px}
.mobile-nav{font-size:1.5rem;line-height:1.6}
.language-switch,.language-switch button{font-size:1.25rem}
.language-switch button{min-width:44px;min-height:48px;font-weight:600;color:var(--muted)}
.language-switch>span{font-size:1rem}
.site-header .header-book{font-size:1.125rem;min-height:52px;padding:12px 20px;white-space:nowrap}
.button,.button-small,.hero-ctas .button,.hero-ctas .text-button,.video-copy .button,.text-button,.lesson-footer .text-button,.course-footer .text-button,.about-copy>.text-button,.dialog-actions .button{font-size:var(--type-control);line-height:1.5;min-height:44px;white-space:normal}
.button{min-height:50px}
.button-small{min-height:44px}
.filters .filter{font-size:1rem;line-height:1.5;min-height:44px;padding:9px 14px}
.eyebrow,.hero-copy .eyebrow,.video-copy .eyebrow,.about-intro .eyebrow,.closing-inner .eyebrow,.hero-footnote,.hero-note>span:last-child,.hello-label,.cover-top,.free-badge,.lesson-type,.free-note,.video-topline,.video-format,.video-brand,.course-level,.course-art-caption,.course-meta,.coming-soon,.course-footer>span,.teacher-signature>span,.footer-bottom,.dialog-eyebrow,.dialog-actions .small-note,.outline-index{font-size:var(--type-caption);line-height:1.6}
.eyebrow,.hero-copy .eyebrow,.hello-label,.video-topline,.course-art-caption,.dialog-eyebrow{letter-spacing:1.3px}
.trust-grid>div,.cover-meaning,.download-button,.video-secondary,.video-words p,.video-caption>span:last-child,.about-tags>span,.footer-main>p,.footer-links{font-size:var(--type-label);line-height:1.65}
.download-button{min-height:44px;padding:7px 10px}
.hero-note>span:first-child,.hello-translation{font-size:1.0625rem}
.hello-translation .pinyin,.cover-pinyin{font-size:1.1875rem;line-height:1.6}
.video-words small{font-size:1.25rem}
.video-caption>span:first-child{font-size:1.125rem;line-height:1.65}
.mini-character,.short-line{flex-shrink:0}
.hero-copy,.lesson-card,.course-card,.about-copy,.section-heading>div,.section-intro,.phrase-main{min-width:0}
.lesson-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.lesson-card,.lesson-body{display:flex;flex-direction:column}
.lesson-body{flex:1}
.lesson-body h3{font-size:1.4375rem;line-height:1.4;min-height:0}
.lesson-description{min-height:0;margin-bottom:22px}
.lesson-footer{margin-top:auto;flex-direction:row;align-items:center}
.lesson-footer,.course-footer,.course-meta,.video-topline,.footer-links,.footer-bottom{flex-wrap:wrap;row-gap:10px}
.course-body h3{font-size:1.5rem;line-height:1.4}
.course-body>p{min-height:0}
.course-art{height:auto;min-height:285px;display:flex;flex-direction:column;align-items:flex-start;gap:13px}
.course-title-art{margin-top:0}
.course-level{max-width:100%}
.course-art-caption{position:relative;left:auto;bottom:auto;margin-top:auto;max-width:100%;z-index:1}
dialog{max-width:800px}
.dialog-close{width:44px;height:44px}
.dialog-eyebrow,#dialog-title{padding-right:44px}
.phrase-row{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:20px;padding:18px 0}
.phrase-main{gap:5px}
.phrase-zh{font-size:1.625rem;line-height:1.6}
.phrase-pinyin{font-size:1.125rem;line-height:1.6}
.outline-index{width:32px;height:32px}
.outline-list h4{font-size:1.125rem;line-height:1.55}
@media(max-width:1200px){.header-book{display:none}}
@media(max-width:980px){.lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){
  .desktop-nav{display:none}
  .menu-toggle{display:flex;border:0;width:44px;height:44px}
}
@media(max-width:900px){
  .section-heading{flex-direction:column;align-items:flex-start;gap:20px}
  .section-intro{max-width:38rem}
  .filter-row{flex-wrap:wrap}
}
@media(max-width:720px){
  html{scroll-padding-top:100px}
  .header-inner{min-height:88px;padding-block:10px;column-gap:12px}
  .site-header .brand-mark{width:38px;height:38px;font-size:25px}
  .site-header .brand-name{font-size:1.375rem}
  .site-header .brand-name>span{font-size:1rem}
  .brand-name{font-size:1.125rem}
  .brand-name>span{font-size:var(--type-label)}
  .header-actions{gap:6px}
  .language-switch button{min-width:40px;min-height:44px}
  .hero-footnote{align-items:flex-start}
  .hero-note{max-width:calc(100% - 28px)}
  .lesson-grid{grid-template-columns:minmax(0,1fr)}
  .lesson-cover{padding-top:54px}
  .course-art{padding:23px;min-height:295px}
  .phrase-row{grid-template-columns:minmax(0,1fr);gap:8px}
  .phrase-zh{font-size:1.5rem}
  #dialog-title{font-size:1.75rem}
}
@media(max-width:380px){
  .header-inner{column-gap:8px}
  .brand{gap:8px}
  .header-actions{gap:3px}
  .language-switch button{min-width:38px;padding:4px}
}

/* Preserve Brenda's original photograph, including its embedded English caption. */
.hero-visual{min-width:0;margin:7px 0 0}
.hero-image{width:100%;height:auto;aspect-ratio:16 / 9;object-fit:contain;object-position:center;border-radius:18px}
.hero-caption{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:18px}
.hero-caption .hello-card{position:static;transform:none;flex:1 1 220px;min-width:0;padding:16px 20px}
.hero-caption .hero-note{position:static;flex:1 1 170px;max-width:none;padding:0;color:var(--blue-dark);background:transparent;border:0;box-shadow:none}
@media(max-width:720px){.hero-visual{margin:0}}

/* Covers retain every word of the teacher's original image. */
.managed-course-cover{padding:0;min-height:0;aspect-ratio:16/9;display:block;background:#eaf3f6}
.managed-course-cover img{display:block;width:100%;height:100%;object-fit:contain}
.course-empty{grid-column:1/-1;font-size:18px;line-height:1.75;padding:28px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--muted)}

/* HSK lesson catalogues: one column on phones, two on tablets, three on desktop. */
main[data-course-level] .course-grid{grid-template-columns:minmax(0,1fr);gap:24px}
main[data-course-level] .managed-course-cover{height:auto}
main[data-course-level] .course-card{display:flex;flex-direction:column}
main[data-course-level] .course-art{flex-shrink:0}
main[data-course-level] .course-body{padding:20px;display:flex;flex-direction:column;flex:1}
main[data-course-level] .course-body h3{overflow-wrap:anywhere;min-height:2lh}
main[data-course-level] .course-body>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;min-height:0}
main[data-course-level] .course-meta{flex-wrap:wrap}
main[data-course-level] .course-body>p{margin-bottom:23px}
main[data-course-level] .course-footer{flex-wrap:wrap;gap:12px;margin-top:auto}
@media(min-width:721px){main[data-course-level] .course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1200px){main[data-course-level] .course-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

.course-menu{position:relative}
.course-menu summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px}
.course-menu summary::-webkit-details-marker{display:none}
.course-menu summary::after{content:"";width:6px;height:6px;border-right:1.5px solid;border-bottom:1.5px solid;transform:translateY(-2px) rotate(45deg)}
.course-menu-options{padding:6px;border:1px solid var(--line);border-radius:8px;background:#fff}
.desktop-nav .course-menu-options{position:absolute;z-index:10;top:calc(100% + 10px);left:-12px;min-width:140px;box-shadow:0 8px 24px #062c4420}
.course-menu-options a{display:block;padding:8px 12px;white-space:nowrap;border-radius:4px}
.course-menu-options a:hover,.course-menu-options a:focus-visible{background:#eff6f8}
.mobile-nav .course-menu-options{margin-top:8px}

[data-course-level] .courses-section{min-height:calc(100vh - 100px)}

.mobile-nav{display:none}
@media(min-width:1001px){
  .site-header .header-inner{width:calc(100% - 48px);max-width:1600px}
  .desktop-nav{order:3;flex-basis:100%;flex-wrap:wrap;gap:4px clamp(10px,1.3vw,24px);font-size:1.5rem}
}
@media(max-width:1000px){
  .site-header{position:relative}
  .mobile-nav{display:flex}
}

.site-header{
  background:#274bdc;
  color:#fff;
  border-bottom:1px solid #2443c1;
}
.site-header .desktop-nav,
.site-header .mobile-nav{
  background:#274bdc;
  color:#fff;
}
@media(min-width:1001px){
  .site-header .desktop-nav{
    padding:6px 12px;
    border-radius:6px;
  }
}
.site-header .brand,
.site-header .brand-name>span,
.site-header .language-switch button,
.site-header .language-switch>span,
.site-header .desktop-nav a,
.site-header .mobile-nav a{color:#fff}
.site-header .course-menu-options{background:#2443c1;border-color:#7588e8}
.site-header .desktop-nav a:hover,
.site-header .mobile-nav a:hover,
.site-header .course-menu-options a:focus-visible{color:#fff;background:#1937ad}

.site-header .language-switch button[aria-pressed=true]{text-decoration:underline;text-underline-offset:4px}


.hsk-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.hsk-card{--cover:#2443a6;display:block;overflow:hidden;border:1px solid #d7e0f8;border-radius:10px;background:#fff;color:#203db2;text-decoration:none}
.hsk-card:nth-child(2){--cover:#1a665c}
.hsk-card:nth-child(3){--cover:#74442e}
.hsk-card:nth-child(4){--cover:#58417d}
.hsk-card:nth-child(5){--cover:#34576d}
.hsk-card:nth-child(6){--cover:#823f54}
.hsk-cover{position:relative;display:flex;align-items:flex-end;aspect-ratio:16/9;overflow:hidden;padding:clamp(14px,2vw,28px);background:var(--cover);color:white}
.hsk-cover-character{position:absolute;right:6%;top:50%;transform:translateY(-50%);font-family:serif;font-size:clamp(3rem,9vw,8rem);line-height:1;color:#ffffff35}
.hsk-cover-level{position:relative;font-size:clamp(1rem,2vw,1.5rem);font-weight:700;letter-spacing:.1em}
.hsk-cover-level strong{font-size:2.15em;line-height:1}
.hsk-card-label{display:flex;justify-content:space-between;gap:12px;padding:14px 18px;font-size:1.125rem;font-weight:700}
.hsk-card:hover,.hsk-card:focus-visible{border-color:#274bdc;background:#eef2ff}
@media(max-width:720px){.hsk-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}

.pinyin-note{margin:0 0 16px;color:var(--muted)}
.pinyin-scroll{max-width:100%;max-height:65vh;overflow:auto;border:1px solid #d7e0f8;border-radius:10px;background:white}
.pinyin-scroll:focus-visible{outline:2px solid #274bdc;outline-offset:3px}
.pinyin-chart{width:max-content;min-width:100%;border-spacing:0;text-align:center;font-variant-numeric:tabular-nums}
.pinyin-chart th,.pinyin-chart td{min-width:3rem;padding:9px 12px;border-right:1px solid #e4ebf6;border-bottom:1px solid #e4ebf6}
.pinyin-chart thead th{position:sticky;top:0;z-index:2;background:#274bdc;color:white}
.pinyin-chart tr>th:first-child{position:sticky;left:0;z-index:1;white-space:nowrap}
.pinyin-chart thead tr>th:first-child{z-index:3}
.pinyin-chart tbody th{background:#eef2ff;color:#203db2}
.pinyin-chart .pinyin-gap{background:#f5f7fb}

.pinyin-section>.container{width:calc(100% - 32px);max-width:1800px}
.pinyin-chart td:has(.pinyin-syllable){padding:0}
.pinyin-syllable{display:block;width:100%;min-height:44px;padding:6px 12px;border:0;background:transparent;color:#203db2;font:inherit;cursor:pointer}
.pinyin-syllable:hover,.pinyin-syllable:focus-visible{background:#e8efff}
.pinyin-syllable:focus-visible{outline:2px solid #274bdc;outline-offset:-2px}
.pinyin-tones{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;gap:8px;padding:0;margin:20px 0 0}
.pinyin-tones li{display:grid;gap:6px;text-align:center;padding:12px 4px;border-radius:8px;background:#eef2ff;color:#203db2}
.pinyin-tones strong{font-size:clamp(1.125rem,5vw,2rem)}

.pinyin-audio{justify-self:center;min-width:44px;min-height:44px;border:1px solid #cbd7f5;border-radius:8px;background:#fff;color:#203db2;cursor:pointer}
.pinyin-audio:hover:not(:disabled),.pinyin-audio:focus-visible{background:#dce6ff}
.pinyin-audio:disabled{opacity:.4;cursor:default}
[data-pinyin-audio-status]:empty{display:none}

.hsk-reading{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px;align-items:start;margin-top:24px}
.reading-card,.reading-story{border:1px solid #d7e0f8;border-radius:10px;background:#fff}
.reading-card{display:block;color:#203db2;font-weight:700;text-decoration:none}
.reading-card:hover,.reading-card:focus-visible{border-color:#203db2}
.reading-back{display:inline-flex;gap:8px;margin-block:0 18px}
.reading-story+.reading-back{margin-block:18px 0}
.reading-story-body{padding:0 20px 20px;overflow-wrap:anywhere}
.reading-story-body p{margin:0 0 12px}
.reading-story-body h2{font-size:1.125rem;margin:14px 0 4px}
.reading-story-body ol{padding-inline-start:1.5em}
.reading-answers{margin-top:12px;background:#eef2ff;border-radius:6px;padding:8px 12px}
.reading-answers summary{cursor:pointer;font-weight:600}
.reading-cover{display:block;overflow:hidden;border-radius:9px 9px 0 0;background:#eef2ff}
.reading-cover img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.reading-story-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:24px;align-items:start}
.reading-story-illustration{display:block;width:100%;height:auto;border-radius:8px}
@media(max-width:700px){.reading-story-layout{grid-template-columns:minmax(0,1fr);gap:12px}}
.reading-label{display:block;padding:12px 16px}
.reading-story h1.reading-label{margin:0;padding:20px;font-size:clamp(1.5rem,4vw,2.25rem)}
.reading-story-body{font-size:1.125rem;line-height:2.3}
.hsk-reading rt,.reading-story rt{font-size:.52em;font-weight:500}
.reading-turn{padding-inline-start:12px;border-inline-start:3px solid #d7e0f8}
.reading-turn strong{color:#203db2}
.reading-audio{margin:0 0 24px;padding:18px;border:1px solid #b9dce5;border-radius:12px;background:#f0f8fa;line-height:1.5}
.reading-audio-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#006c87}
.reading-audio-level{font-size:.8rem;font-weight:700;border:1px solid #b9dce5;border-radius:20px;padding:3px 10px;white-space:nowrap}
.reading-story-body .reading-audio-note{font-size:.9rem;margin:8px 0 12px;color:#46636c}
.reading-audio audio{display:block;width:100%;height:48px}
.reading-audio-options{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin-top:12px;font-size:.9rem}
.reading-audio-options button,.reading-audio-options select{min-height:44px;padding:8px 12px;border:1px solid #a9c9d2;border-radius:8px;background:white;color:#123b49;font:inherit;cursor:pointer}
.reading-audio-options label{display:flex;align-items:center;gap:8px;min-height:44px}
.reading-audio-options input{width:20px;height:20px;accent-color:#007e9b}
.reading-story-body .reading-audio-credit{font-size:.75rem;color:#526e77;margin:10px 0 0}
.reading-story-body .reading-audio-error{font-size:.9rem;color:#972d20;margin:10px 0 0}
[data-reading-paragraph]{border-radius:6px;transition:background-color .15s}
.reading-is-playing{background:#fff3ca;box-shadow:inset 3px 0 #d6a419}
@media(prefers-reduced-motion:reduce){[data-reading-paragraph]{transition:none}}

.reading-study-list{margin:0 0 20px}
.reading-study-list>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:4px 20px;padding:6px 0;border-bottom:1px solid #e4ebf6}
.reading-study-list dd{margin:0;color:var(--muted);font-size:.95rem;line-height:1.6;align-self:center}
@media(max-width:540px){.reading-study-list>div{grid-template-columns:1fr}}

html:not([lang="es"]) [data-reading-language="es"],
html[lang="es"] [data-reading-language="en"]{display:none}

.music-groups{display:flex;flex-wrap:wrap;gap:8px 20px;margin-block:16px 24px}
.music-section{margin-block:20px 32px;scroll-margin-top:160px}
.music-song-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px;padding:0;list-style:none}
.music-song{display:flex;flex-direction:column;padding:16px;border:1px solid #d7e0f8;border-radius:10px;background:#fff}
.music-song h4{margin:0 0 6px;font-size:1.15rem}
.music-song p{margin:0 0 8px}
.music-artist{color:var(--muted)}
.music-song a{align-self:flex-start;margin-top:auto}

.music-video{--music-dark:#2c224e;--music-light:#694b94;margin-bottom:12px}
.music-video-teaching{--music-dark:#123b44;--music-light:#23677b}
.music-video-children{--music-dark:#582945;--music-light:#944e67}
.music-song-cover{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:10px;aspect-ratio:16/9;padding:14px 18px;list-style:none;border-radius:6px;background:linear-gradient(135deg,var(--music-dark),var(--music-light));color:#fff;cursor:pointer}
.music-song-cover::-webkit-details-marker{display:none}
.music-song-cover>span:first-child{font-size:1.4rem;font-weight:700;line-height:1.25}
.music-play-label{font-size:.85rem;font-weight:600}
.music-video[open] .music-song-cover{aspect-ratio:auto}
.music-video[open] .music-play-label{display:none}
.music-player iframe{display:block;width:100%;height:auto;aspect-ratio:16/9;min-height:200px;margin-top:6px;border:0;border-radius:6px}
.music-example{margin-block:4px 12px;padding:8px 10px;border-radius:6px;background:#eef2ff}
.music-example summary{cursor:pointer;font-weight:600}
.music-example p:first-of-type{margin-top:6px}

.music-study-line{margin-block:8px;padding-block:4px}
.music-study-line+.music-study-line{border-top:1px solid #d7e0f8}

.membership-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:18px}
.membership-plan{padding:24px;border:1px solid #d7e0f8;border-radius:12px;background:#fff}
.membership-plan h2{margin:0;font-size:1.25rem}
.membership-price{margin:12px 0;font-size:1rem}
.membership-price strong{font-size:2rem;color:#203db2}
.membership-courses{margin-top:32px}

/* Film and drama learning pages: independent from the existing Music components. */
[data-screen-lang]{display:none}html[lang=zh] [data-screen-lang=zh],html[lang=en] [data-screen-lang=en],html[lang=es] [data-screen-lang=es]{display:contents}
.screen-lesson{max-width:960px;margin:20px auto 40px}.screen-heading h1{font-size:clamp(1.8rem,4vw,2.8rem);margin-bottom:16px}.screen-heading p:last-child{color:var(--muted);margin-bottom:24px}
.screen-preview-notice{padding:12px 18px;background:#fff8dc;border:1px solid #e9dc9b;border-radius:8px;margin-bottom:20px;font-size:.95rem}
.screen-video{position:relative;aspect-ratio:16/9;min-height:220px;border-radius:12px;overflow:hidden;background:#142e3b}.screen-video iframe,.screen-video video,#screen-youtube-player{width:100%;height:100%;position:absolute;inset:0;border:0}.screen-video-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:28px;text-align:center;color:white;background:#142e3b}.screen-video-placeholder[hidden]{display:none}.screen-video-placeholder>span{font-size:3rem;line-height:1}.screen-video-placeholder h2{font-size:1.35rem;letter-spacing:0}.screen-video-placeholder .screen-muted{color:#d0e0e8}
.screen-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;padding:16px 0;border-bottom:1px solid var(--line);font-size:.9rem}.screen-toolbar label{display:flex;align-items:center;gap:8px}.screen-toolbar select{padding:9px;border:1px solid var(--line);border-radius:6px;background:white;min-height:44px}.screen-toolbar input{width:18px;height:18px;accent-color:var(--blue)}.screen-toolbar a{color:var(--blue);text-decoration:underline}.screen-player-status:empty{display:none}.screen-player-status{padding:12px;color:#8a3721}
.screen-transcript{margin-top:28px}.screen-transcript h2{font-size:1.5rem;letter-spacing:0}.screen-legend{display:flex;gap:16px;margin:12px 0;font-size:.8rem;color:#53606b}.legend-read{color:#00769b}.legend-current{background:#ffe58a;padding:0 7px;border-radius:4px}.screen-lines{max-height:440px;overflow:auto;overscroll-behavior:contain;padding:8px 6px;scroll-padding:16px}.screen-line{display:flex;align-items:flex-start;gap:16px;width:100%;text-align:left;border:1px solid transparent;background:white;padding:20px 16px;border-radius:10px;margin-bottom:8px;color:var(--ink)}.screen-line:hover,.screen-line.is-active{background:var(--pale);border-color:#b5d6e0}.screen-time{font-size:.78rem;color:var(--muted);font-variant-numeric:tabular-nums;padding-top:15px}.screen-dialogue{min-width:0;display:block}.screen-chinese{font-size:1.4rem;line-height:2.3;overflow-wrap:anywhere}.screen-character{color:#53606b;border-radius:3px}.screen-character[data-state=read]{color:#00769b}.screen-character[data-state=current]{background:#ffe58a;color:#142e3b;box-shadow:0 0 0 2px #ffe58a}.screen-character rt{font-size:.55em;color:inherit}.screen-translation{display:block;margin-top:7px;font-size:.95rem;color:var(--muted)}.screen-line:disabled{cursor:default}
.screen-study{margin:28px 0;display:grid;gap:12px}.screen-study details{border:1px solid var(--line);border-radius:10px;background:white;padding:18px 22px}.screen-study summary{cursor:pointer;font-weight:600;color:var(--blue)}.screen-study dl{margin:20px 0}.screen-study dl>div{padding:12px 0;border-bottom:1px solid var(--line)}.screen-study dt{font-size:1.25rem}.screen-study rt{font-size:.65em}.screen-study dd{margin:6px 0;color:var(--muted)}.screen-pattern{padding:20px 0;border-bottom:1px solid var(--line)}.screen-pattern h3{margin-bottom:12px}.screen-pattern p{margin:5px 0}.screen-muted{color:var(--muted);line-height:1.8;padding:16px 0}.screen-empty{padding:36px;background:var(--pale);border:1px solid var(--line);border-radius:14px;margin:24px 0}.screen-empty h3{font-size:1.5rem;margin-bottom:12px}.screen-empty p{color:var(--muted);margin-bottom:22px}.screen-library{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin:24px 0}.screen-card{border:1px solid var(--line);border-radius:12px;padding:24px}.screen-card h3{margin:12px 0 24px}.screen-contact{display:flex;flex-wrap:wrap;gap:24px;align-items:center;margin:28px 0}
@media(max-width:600px){.screen-empty{padding:24px}.screen-line{padding:16px 8px;gap:8px}.screen-chinese{font-size:1.2rem}.screen-lines{max-height:390px}.screen-video{min-height:220px}.screen-toolbar{gap:12px}.language-switch{white-space:nowrap}}

/* Uploaded clips keep their original framing and use native playback controls. */
.screen-video video{display:block;width:100%;height:100%;object-fit:contain;background:#101c25}
.screen-legend[hidden]{display:none}
.screen-toolbar label:has(input:disabled){opacity:.55}
.screen-library .screen-card{min-width:0}
.screen-video{width:100%;min-width:0}

.screen-speaker{display:block;font-size:.75rem;color:var(--muted);margin-bottom:4px}.screen-toolbar button{min-height:44px}.screen-lines{position:relative}

/* Compact portrait lesson: video and scrolling transcript share one viewport. */
body:has([data-screen-lesson]) .site-header{position:relative}
body:has([data-screen-lesson]) #main>.section{padding:12px 0 24px}
.container:has(>.screen-lesson)>.section-heading,.container:has(>.screen-lesson)>h2{display:none}
.screen-lesson{max-width:680px;margin:0 auto 16px;scroll-margin-top:8px}
.screen-accessible-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.screen-session{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 30px #142e3b0b}
.screen-session .screen-video{height:clamp(220px,56svh,510px);min-height:0;aspect-ratio:auto;border-radius:0}
.screen-session .screen-toolbar{padding:6px 12px;gap:2px 12px;font-size:.75rem}
.screen-session .screen-toolbar button{font-size:.8rem;min-height:36px;padding:4px 0}
.screen-session .screen-toolbar select{min-height:32px;padding:4px}
.screen-session .screen-transcript{margin:0;padding:8px 8px 0}
.screen-session .screen-transcript h2{font-size:.85rem;margin:0;line-height:1.3}
.screen-session .screen-legend{font-size:.68rem;margin:4px 0;gap:12px}
.screen-session .screen-lines{height:174px;max-height:none;padding:4px;scroll-padding:4px}
.screen-session .screen-line{padding:6px 8px;gap:8px;margin-bottom:2px;min-height:80px}
.screen-session .screen-chinese{font-size:1.1rem;line-height:1.7}
.screen-session .screen-speaker{font-size:.6rem;margin-bottom:0;line-height:1.2}
.screen-session .screen-time{font-size:.65rem;padding-top:12px}
.screen-session .screen-translation{font-size:.75rem;margin-top:0;line-height:1.3}
.screen-session .screen-player-status{font-size:.8rem;margin:0;padding:6px 12px}
.screen-notes{margin:10px 0;font-size:.8rem;color:var(--muted)}
.screen-notes summary{cursor:pointer;padding:8px 0}
.screen-notes .screen-muted{padding:8px 0}
.screen-study{margin:12px 0;gap:8px}
.screen-study details{padding:12px 16px}
@media(max-width:600px){body:has([data-screen-lesson]) .header-inner{padding-block:6px;min-height:64px}body:has([data-screen-lesson]) #main>.section>.container{width:calc(100% - 24px)}.screen-session .screen-toolbar{gap:2px 10px}}
.screen-menu-toggle{display:none}
@media(max-width:1000px){body[data-lesson-menu-ready]:not([data-lesson-menu-open]) .mobile-nav{display:none}.screen-menu-toggle{display:block;border:1px solid #ffffff66;background:transparent;color:white;border-radius:6px;width:40px;height:40px;font-size:1.3rem}body:has([data-screen-lesson]) .header-inner{gap:4px 12px}body:has([data-screen-lesson]) .site-header .brand-name{font-size:1.05rem}body:has([data-screen-lesson]) .site-header .brand-name>span{font-size:.8rem}body:has([data-screen-lesson]) .site-header .brand-mark{width:36px;height:36px;font-size:25px}body:has([data-screen-lesson]) .language-switch button{font-size:.85rem;min-width:28px;min-height:36px}body:has([data-screen-lesson]) .header-actions{gap:8px}}
.screen-back{display:inline-flex;align-items:center;min-height:36px;padding:4px 12px;margin-bottom:6px;border:1px solid var(--line);border-radius:8px;color:var(--blue);background:white;font-size:.85rem;font-weight:600}.screen-back:hover{background:var(--pale)}.screen-back:focus-visible{outline:3px solid var(--blue);outline-offset:2px}

@media(max-width:600px){.screen-session .screen-video{height:min(38svh,calc((100vw - 26px)*.755));min-height:150px}.screen-session .screen-transcript{padding-top:5px}}
html:has([data-screen-lesson]){scroll-padding-top:0}
.screen-video-action{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);padding:12px 22px;min-height:48px;border:1px solid #ffffff99;border-radius:999px;background:#142e3be8;color:white;font-size:1rem;font-weight:600;white-space:nowrap}.screen-video-action[hidden]{display:none}.screen-video-action:disabled{cursor:wait;opacity:.85}

/* TV catalogue: precise HSK levels with genuine lesson thumbnails. */
.screen-catalogue{padding-top:40px}.screen-catalogue .section-heading{margin-bottom:16px}.screen-catalogue .section-heading h1{font-size:clamp(2rem,4vw,3rem)}.screen-level-intro{color:var(--muted);margin:0 0 28px}.screen-level-grid,.screen-video-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.screen-level-card{overflow:hidden;border:1px solid #d9e5e9;border-radius:16px;background:white;color:#16313e;text-decoration:none;transition:transform .18s,box-shadow .18s}.screen-level-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px #16313e14}.screen-level-card:focus-visible{outline:3px solid #007c9f;outline-offset:4px}.screen-level-cover,.screen-library-cover{position:relative;aspect-ratio:16/9;overflow:hidden;background:#edf4f6}.screen-level-cover img,.screen-library-cover img{width:100%;height:100%;object-fit:cover;display:block}.screen-cover-empty{display:grid;place-items:center;height:100%;font-size:3rem;color:#a3bdc6;background:linear-gradient(135deg,#eff6f8,#dfecef)}.screen-level-badge{position:absolute;left:14px;top:14px;border-radius:7px;padding:5px 10px;background:#123341e8;color:white;font-size:.85rem;font-weight:700}.screen-coming{position:absolute;bottom:12px;left:14px;color:#526e7a;font-size:.8rem}.screen-level-body{padding:18px 20px;display:flex;flex-direction:column;gap:8px}.screen-level-body h2,.screen-level-body h3{margin:0;font-size:1.2rem}.screen-level-body>span{font-size:.88rem;color:#58727e}.screen-level-body .screen-level-link{color:#007d9e;margin-top:5px;font-weight:600}.screen-video-library .screen-card{padding:0;overflow:hidden}.screen-grade-heading{font-size:1.7rem;margin:26px 0 20px}@media(max-width:1000px){.screen-level-grid,.screen-video-library{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.screen-level-grid,.screen-video-library{grid-template-columns:1fr;gap:18px}.screen-catalogue{padding-top:24px}}

/* In-page HSK 4 volume selection, using the existing course cards. */
.reading-volumes{margin-top:28px;max-width:850px}.reading-volume-note{margin:0;padding:0 24px 20px;color:var(--muted,#59727e)}.reading-volume-empty{padding:32px 0}

.reading-photo{margin:0;min-width:0}.reading-photo figcaption{font-size:11px;line-height:1.5;color:var(--muted,#607a87);margin-top:8px}.reading-photo figcaption a{color:inherit;text-underline-offset:3px}
.vocabulary-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:24px;margin-top:28px}.vocabulary-category-card,.vocabulary-book-card{border:1px solid #d9e4e8;border-radius:16px;padding:24px;min-width:0;background:#fff}.vocabulary-category-card h2{font-size:27px;margin:0 0 24px}.vocabulary-category-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:20px}.vocabulary-category-actions a{min-height:44px;display:inline-flex;align-items:center}.vocabulary-book-card img{display:block;width:100%;height:280px;object-fit:contain;background:#f4f7f8;border-radius:8px}.vocabulary-book-card h3{font-size:23px;overflow-wrap:anywhere;margin:20px 0 0}@media(max-width:600px){.vocabulary-category-card,.vocabulary-book-card{padding:20px}.vocabulary-category-card h2{font-size:24px}.vocabulary-category-actions{flex-direction:column;gap:8px}}

/* Vocabulary: three illustrated categories, then books grouped by level. */
.vocabulary-cover-card{display:block;padding:0!important;overflow:hidden;text-decoration:none;color:var(--ink,#15303d);transition:transform .18s,box-shadow .18s}
.vocabulary-cover-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px #15303d14}
.vocabulary-cover-card:focus-visible{outline:3px solid #007fa3;outline-offset:5px}
.vocabulary-cover-card>img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;display:block}
.vocabulary-cover-label{padding:24px;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:126px}
.vocabulary-cover-label h2{font-size:clamp(22px,2vw,28px);margin:0;line-height:1.3}
.vocabulary-cover-label>span{font-size:30px;color:#007fa3}
.vocabulary-category-title{margin-top:24px}.vocabulary-inner-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:32px 0 24px}.vocabulary-inner-heading h3{margin:0;font-size:26px}
.vocabulary-levels{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.vocabulary-levels a{display:inline-flex;align-items:center;min-height:44px;padding:8px 18px;border:1px solid #d9e4e8;border-radius:24px;color:#007c9e;text-decoration:none}.vocabulary-levels a.is-active{color:white;background:#007c9e;border-color:#007c9e}
.vocabulary-book-level{margin-top:36px}.vocabulary-book-level>h3{font-size:25px}.vocabulary-book-card h4{font-size:23px;overflow-wrap:anywhere;margin:20px 0 0}
@media(max-width:600px){.vocabulary-cover-label{min-height:90px;padding:20px}.vocabulary-cover-card>img{aspect-ratio:16/9}}

.vocabulary-section{padding-top:42px}.vocabulary-section>.container>.vocabulary-category-grid{margin-top:0}.vocabulary-hsk-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px}.vocabulary-hsk-art{position:relative;overflow:hidden;aspect-ratio:16/9;background:#15303d}.vocabulary-hsk-art img{width:100%;height:100%;object-fit:cover;opacity:.7}.vocabulary-hsk-art>span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:12px;color:#fff;font-size:28px;font-weight:700;text-shadow:0 2px 12px #0008}.vocabulary-hsk-art strong{font-size:70px;line-height:1}.vocabulary-hsk-card .vocabulary-cover-label{min-height:84px;padding:18px 24px}.vocabulary-hsk-card h3{margin:0;font-size:25px}@media(max-width:900px){.vocabulary-hsk-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.vocabulary-section{padding-top:26px}.vocabulary-hsk-grid{gap:14px}.vocabulary-hsk-art>span{font-size:18px;gap:6px}.vocabulary-hsk-art strong{font-size:42px}.vocabulary-hsk-card .vocabulary-cover-label{min-height:66px;padding:12px}.vocabulary-hsk-card h3{font-size:20px}}
