@font-face{font-family:Quicksand;src:url(/assets/quicksand-CI1sXvx0.ttf)format("truetype");font-weight:300 700;font-display:swap}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--paper:#fcfaf6;--ink:#203b34;--muted:#57665d;--rule:#dcded3;--rust:#b64c2c;--rust-dark:#933b21;--peach:#fff0df;--green:#36674e;--shadow:0 5px 14px #2e483112;color:var(--ink);background:var(--paper);font-synthesis:none;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,Noto Sans CJK SC,sans-serif}*{box-sizing:border-box}body{min-width:280px;margin:0}h1,h2,h3,p{margin:0}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{font:inherit;color:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,.study-panel:focus-visible{outline-offset:3px;outline:3px solid #175e8a}button:disabled{cursor:default}svg{flex:none}.sr-only,.skip-link:not(:focus){clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link:focus{z-index:5;background:#fff;border-radius:8px;padding:12px;position:fixed;top:8px;left:12px}.page-width,.site-bar{width:min(1440px,100% - clamp(40px,5.2vw,96px));margin-inline:auto}.site-header{border-bottom:1px solid var(--rule);background:#fdfbf7}.site-bar{grid-template-columns:1fr auto 1fr;align-items:center;gap:22px;min-height:75px;display:grid}.brand,.record-link,.site-nav a,.text-link,.back-link,.primary,.secondary,.mark-button,.audio-button{justify-content:center;align-items:center;gap:9px;display:inline-flex}.brand{letter-spacing:.03em;justify-self:start;gap:12px;min-height:44px;font-size:clamp(24px,2vw,30px);font-weight:750}.brand img{width:44px;height:44px}.site-nav{align-self:stretch;align-items:stretch;gap:clamp(12px,3vw,54px);display:flex}.site-nav a{min-height:44px;padding-inline:7px;font-size:clamp(16px,1.35vw,20px);font-weight:650;position:relative}.site-nav a[aria-current]:after{content:"";background:var(--rust);bottom:9px;border-radius:3px;height:3px;position:absolute;inset-inline:4px}.record-link{justify-self:end;min-height:44px;font-size:16px;font-weight:650}.record-link svg{color:var(--green);stroke-width:3px}.record-link[aria-current],.site-nav a:hover,.record-link:hover,.text-link:hover{color:var(--rust-dark)}main{outline:none;min-height:60vh}.hero{isolation:isolate;aspect-ratio:4.05;background-color:#d8eedc;border-radius:22px;align-items:center;width:100%;min-height:275px;margin-top:clamp(22px,2vw,34px);display:flex;position:relative;overflow:hidden}.hero-art{z-index:-1;object-fit:cover;object-position:center 28%;width:100%;height:100%;position:absolute;inset:0}.hero-copy{padding:32px clamp(34px,5vw,76px)}.hero h1{color:#143f33;letter-spacing:.015em;font-size:clamp(42px,5vw,79px);font-weight:800;line-height:1.18}.hero p{color:#244638;margin-block:14px 23px;font-size:clamp(16px,1.4vw,21px);font-weight:550;line-height:1.55}.primary,.secondary,.mark-button,.audio-button{border:1px solid #0000;border-radius:50px;min-height:45px;padding:8px 20px;font-size:16px;font-weight:650;line-height:1.35}.primary{background:var(--rust);color:#fffdf5}.primary:hover{background:var(--rust-dark)}.hero .primary{gap:12px;min-height:50px;padding:9px 24px;font-size:19px}.secondary,.mark-button{background:#fffdf8;border-color:#c9cec1}.secondary:hover:not(:disabled),.mark-button:hover{background:#f3f1e8}.secondary:disabled{color:#727970;background:#f2f1e9;border-color:#dcddd2}.text-link,.back-link{min-height:44px;font-size:15px;font-weight:620}.back-link{color:var(--muted);justify-content:flex-start;margin-top:16px}.pinyin{font-family:Quicksand,Trebuchet MS,sans-serif;font-weight:650}.home-section{margin-top:clamp(27px,2.4vw,38px)}.section-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}h2{font-size:clamp(22px,2vw,30px);font-weight:740;line-height:1.4}.home-section .section-head h2{letter-spacing:.02em;font-size:clamp(26px,2.15vw,33px)}.atlas-links,.exercise-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.5vw,24px);display:grid}.initials,.listen{--soft:#fce8d5;--edge:#e3b495;--accent:#a9472a;--ink-color:#a53722;--art:url(/assets/initials-iK5nsC1b.webp)}.finals,.tones{--soft:#edf2df;--edge:#b6c6a0;--accent:#446c43;--ink-color:#28634d;--art:url(/assets/finals-CucmbjKX.webp)}.whole,.blend{--soft:#e1eff6;--edge:#abc7d6;--accent:#326282;--ink-color:#264f80;--art:url(/assets/whole-C04sjLQ5.webp)}.atlas-link{background:var(--soft);border:1.5px solid var(--edge);border-radius:16px;transition:transform .16s,box-shadow .16s;display:block;overflow:hidden}.atlas-link:hover,.exercise-link:hover{box-shadow:var(--shadow);transform:translateY(-2px)}.ruled{isolation:isolate;color:var(--ink-color);background:var(--soft) var(--art) center / 100% 100% no-repeat;place-items:center;font-size:clamp(43px,5.4vw,81px);display:grid;position:relative}.ruled.whole{font-size:clamp(35px,4.45vw,68px)}.atlas-link .ruled{height:clamp(108px,11.7vw,180px)}.ruling{z-index:-1;opacity:.46;height:1.515em;color:var(--accent);flex-direction:column;justify-content:space-between;display:flex;position:absolute;top:calc(50% - .69em);left:12%;right:10%}.ruling i{background:currentColor;height:1px}.ruling i:nth-child(2),.ruling i:nth-child(3){background:repeating-linear-gradient(90deg,currentColor 0 7px,#0000 7px 12px)}.ruled-text{white-space:pre;letter-spacing:.04em;word-spacing:.16em;font-size:1em;line-height:1.2;transform:translateY(-.055em)}.whole .ruled-text{letter-spacing:-.025em;word-spacing:.025em}.atlas-label{border-top:1px solid var(--edge);align-items:center;gap:12px;min-height:58px;padding:10px clamp(12px,1.5vw,23px);display:flex}.atlas-label strong,.exercise-copy strong{font-size:clamp(17px,1.45vw,22px);line-height:1.3}.atlas-label>span:not(.circle-arrow){color:#4b574d;font-size:14px}.circle-arrow{border:1px solid var(--edge);width:30px;height:30px;color:var(--accent);background:#fffaf0b3;border-radius:50%;flex:none;place-items:center;margin-left:auto;display:grid}.exercise-link{border:1px solid var(--edge);background:color-mix(in srgb, var(--soft) 70%, var(--paper));border-radius:15px;align-items:center;gap:clamp(10px,1vw,18px);padding:17px clamp(12px,1.4vw,22px);transition:transform .16s,box-shadow .16s;display:flex}.exercise-icon{background:url(/assets/exercises-CH_aIvlY.webp) 0/300% no-repeat;flex:none;width:clamp(52px,5.8vw,88px);height:clamp(48px,4.45vw,68px)}.tones .exercise-icon{background-position-x:50%}.blend .exercise-icon{background-position-x:right}.exercise-copy{gap:5px;display:grid}.exercise-copy>span{color:#46584c;font-size:clamp(13px,1vw,16px);line-height:1.55}.site-footer{border-top:1px solid var(--rule);color:var(--muted);justify-content:center;align-items:center;gap:12px;margin-top:clamp(38px,4vw,65px);padding-block:10px 20px;font-size:13px;display:flex}.site-footer a{place-items:center;min-height:44px;display:grid}.site-footer a:hover,.back-link:hover,.credits a{text-underline-offset:4px;text-decoration:underline}.page-heading{margin:clamp(25px,3vw,48px) 0 24px}.page-heading h1,.empty-state h1,.result-panel h1{font-size:clamp(32px,3.3vw,48px);line-height:1.3}.page-heading p{color:var(--muted);margin-top:8px;font-size:16px;line-height:1.75}.group-tabs{flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}.group-tabs a{border:1px solid var(--rule);background:#fffdf8;border-radius:30px;align-items:center;gap:8px;min-height:44px;padding:7px 16px;font-weight:650;display:inline-flex}.group-tabs a span{font-size:12px;font-weight:550}.group-tabs a[aria-current]{color:#fffdf5;background:#355e49;border-color:#355e49}.study-panel{border:1px solid var(--edge);background:#fffdf7;border-radius:20px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);scroll-margin:12px;display:grid;overflow:hidden}.study-art{display:grid}.study-art .ruled{min-height:220px;font-size:clamp(75px,10vw,150px)}.study-art .ruled-text{letter-spacing:0}.study-copy{padding:clamp(22px,3vw,44px)}.study-meta,.study-actions,.quiz-top,.feedback-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.study-meta{color:var(--accent);margin-bottom:9px;font-size:14px;font-weight:650}.study-copy h2{font-size:clamp(24px,2vw,31px)}.study-copy>p{margin-block:8px 15px;line-height:1.7}.audio-button{color:#355742;background:#f0f1e7;border-color:#c6d0ba}.audio-button:hover,.audio-button.playing{background:#dfe9d6}.audio-button.error{color:var(--rust-dark);background:#fff1e6}.audio-button.compact{gap:7px;min-height:44px;padding:6px 12px;font-size:14px}.example{border-top:1px solid var(--rule);flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px;padding-top:12px;display:flex}.example>span:first-child,.word{color:var(--muted);font-size:14px}.example>b{font-size:23px}.example .pinyin{font-size:22px}.example .audio-button{margin-left:auto}.study-actions{flex-wrap:wrap;margin:14px 0 28px}.step-links,.result-actions{flex-wrap:wrap;gap:10px;display:flex}.mark-button{color:#3b6648;border-color:#9eb59c}.mark-button.marked{background:#e2eddb}.picker .section-head{margin-bottom:3px}.picker-tip,.muted{color:var(--muted);line-height:1.65}.sound-grid{grid-template-columns:repeat(auto-fill,minmax(83px,1fr));gap:10px;margin-top:13px;display:grid}.sound-tile{border:1px solid var(--edge);min-height:56px;color:var(--ink-color);background:#fffdf8;border-radius:10px;place-items:center;font-size:27px;display:grid;position:relative}.sound-tile svg{position:absolute;top:5px;right:5px}.sound-tile:hover,.sound-tile[aria-current]{background:var(--soft)}.sound-tile[aria-current]{box-shadow:inset 0 0 0 2px var(--accent)}.tone-guide{margin-top:34px}.tone-guide .section-head{margin-bottom:2px}.tone-grid,.stats{gap:14px;margin-top:16px;display:grid}.tone-grid{grid-template-columns:repeat(4,1fr)}.tone-card{border:1px solid var(--rule);background:#f4f5e9;border-radius:16px;flex-direction:column;align-items:center;gap:6px;padding:19px 14px;display:flex}.tone-card>svg{stroke:var(--green);stroke-width:4px;fill:none;stroke-linecap:round}.tone-card>strong{font-size:20px}.tone-card>span,.light-tone{color:var(--muted);font-size:14px}.tone-card button{margin-top:5px}.light-tone{align-items:flex-start;gap:8px;margin-top:17px;line-height:1.7;display:flex}.light-tone svg{margin-top:3px}.reading-width{width:min(100%,820px);margin-inline:auto}.quiz-panel,.result-panel{background:#fffdf8;border:1px solid #d3d9cb;border-radius:22px;margin-top:9px;padding:clamp(19px,3.6vw,42px)}.quiz-top{font-size:15px}.quiz-top>span{color:var(--muted)}progress{appearance:none;background:#e6e8dc;border:0;border-radius:20px;width:100%;height:7px;display:block;overflow:hidden}progress::-webkit-progress-bar{border-radius:inherit;background:#e6e8dc}progress::-webkit-progress-value{border-radius:inherit;background:#61815d}progress::-moz-progress-bar{border-radius:inherit;background:#61815d}.quiz-panel progress{margin-top:12px}.prompt{text-align:center;justify-items:center;gap:16px;margin-block:30px;display:grid}.prompt-icon,.result-icon{width:55px;height:55px;color:var(--rust-dark);background:var(--peach);border-radius:50%;place-items:center;display:inline-grid}.prompt h1{font-size:clamp(24px,3.1vw,36px);line-height:1.4}.prompt h1:focus,.result-panel h1:focus{outline:none}.blend-parts,.blend-parts>span{justify-content:center;align-items:center;gap:10px;display:flex}.blend-parts b{color:#395c43;background:#e7f0de;border-radius:12px;min-width:60px;padding:4px 13px;font-size:clamp(31px,4vw,46px)}.blend-parts small{color:var(--muted);font-size:20px}.choices{grid-template-columns:1fr 1fr;gap:12px;display:grid}.choices button{background:#faf9ef;border:1.5px solid #c4cbbc;border-radius:13px;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;min-height:69px;padding:8px;font-size:clamp(26px,3vw,35px);line-height:1.3;display:flex}.tone-choices button{font-size:22px;font-weight:650}.choices button:hover:not(:disabled){border-color:var(--green);background:#edf2e4}.choices button.right{color:#2e5439;background:#e3efdc;border-color:#66926f}.choices button.wrong{color:#833f28;background:#feecdf;border-color:#bd7659}.choices button.unselected{color:#616c62;background:#fafaf4}.choice-note{align-items:center;font:600 13px/1.3 -apple-system,PingFang SC,sans-serif;display:inline-flex}.answer-area{padding-top:18px}.feedback{border-left:3px solid #64906d;padding-left:10px;line-height:1.65;display:grid}.feedback.incorrect{border-color:#b66a49}.feedback strong,.correct-text{color:#365f40}.feedback.incorrect strong,.wrong-text{color:#8d442a}.feedback-actions{margin-top:14px}.empty-state,.result-panel{text-align:center}.empty-state{justify-items:center;gap:20px;padding:65px 18px;display:grid}.result-panel{justify-items:center;gap:13px;display:grid}.result-panel>p{font-size:18px}.result-actions{justify-content:center;align-items:center}.round-review,.round-history{margin-top:26px}.review-row,.record-line,.round-history li{border-bottom:1px solid var(--rule);align-items:center;gap:16px;padding:11px 0;display:flex}.review-word{align-items:center;gap:9px;display:flex}.review-word strong{font-size:24px}.review-word b{font-size:21px}.review-row>.audio-button{margin-left:auto}.stats{grid-template-columns:repeat(3,1fr)}.stats>div,.record-section{border:1px solid var(--rule);background:#fffdf8;border-radius:16px;padding:clamp(15px,2vw,26px)}.stats>div{gap:6px;display:grid}.stats svg{color:var(--green);width:23px;height:23px}.stats strong{font-size:clamp(28px,3vw,40px)}.stats small{color:var(--muted);font-size:.48em;font-weight:550}.stats span{font-size:15px}.records-columns{grid-template-columns:1fr 1fr;gap:17px;margin-top:20px;display:grid}.record-section h2{margin-bottom:13px;font-size:22px}.record-section>p{color:var(--muted);margin-bottom:5px;line-height:1.7}.group-progress{align-content:center;gap:7px;min-height:52px;display:grid}.group-progress>span,.record-line,.round-history li{justify-content:space-between;align-items:center;display:flex}.group-progress>span>span,.record-line>span,.round-history time{color:var(--muted);font-size:14px}.record-line>span{align-items:center;gap:5px;display:inline-flex}.record-section .muted{margin-top:12px}.round-history ul{margin:0;padding:0;list-style:none}.round-history time{margin-right:auto}.credits p{line-height:1.85}.credit-links{flex-wrap:wrap;gap:18px;display:flex}.credits h2{margin-block:20px 8px;font-size:22px}@media (width<=900px){.exercise-link{gap:10px;padding:13px 12px}.exercise-link .circle-arrow{display:none}.atlas-label{gap:8px}.hero p{max-width:22em}}@media (width<=690px){.page-width,.site-bar{width:calc(100% - 32px)}.site-bar{flex-wrap:wrap;justify-content:space-between;gap:0;padding-top:8px;display:flex}.brand{gap:8px;font-size:21px}.brand img{width:34px;height:34px}.record-link{gap:6px;font-size:14px}.site-nav{order:3;justify-content:space-around;gap:0;width:100%}.site-nav a{flex:1;min-height:44px;font-size:15px}.site-nav a[aria-current]:after{bottom:1px;inset-inline:22%}.hero{aspect-ratio:1.27;border-radius:16px;align-items:flex-start;min-height:278px;max-height:380px;margin-top:16px}.hero-art{object-position:center 65%}.hero-copy{padding:18px 20px}.hero h1{font-size:clamp(33px,7vw,45px)}.hero p{max-width:none;margin-block:6px 10px;font-size:14px}.hero .primary{min-height:44px;padding:6px 15px;font-size:15px}.home-section{margin-top:20px}.section-head{margin-bottom:8px}.home-section .section-head h2{font-size:24px}.atlas-links{gap:8px}.atlas-link{border-radius:11px}.atlas-link .ruled{height:clamp(68px,16vw,106px)}.ruled{font-size:clamp(20px,5.5vw,33px)}.ruled.whole{font-size:clamp(17px,4.7vw,29px)}.ruled-text{letter-spacing:0;word-spacing:.02em}.whole .ruled-text{letter-spacing:-.03em;word-spacing:0}.atlas-label{align-content:center;gap:3px;min-height:54px;padding:7px 8px;display:grid}.atlas-label strong{font-size:clamp(13px,3.5vw,17px)}.atlas-label>span:not(.circle-arrow){font-size:12px}.atlas-label .circle-arrow{display:none}.exercise-links{grid-template-columns:1fr;gap:8px}.exercise-link{gap:15px;padding:10px 13px}.exercise-link .circle-arrow{display:grid}.exercise-copy{gap:2px}.exercise-copy strong{font-size:17px}.exercise-copy>span{font-size:13px}.exercise-icon{width:51px;height:42px}.page-heading{margin:20px 0 15px}.page-heading p{font-size:15px}.group-tabs{gap:5px}.group-tabs a{gap:5px;padding:6px 10px;font-size:14px}.study-panel{grid-template-columns:1fr}.study-art .ruled{min-height:110px;max-height:140px;font-size:65px}.study-copy{padding:16px}.study-copy>p{margin:6px 0 10px}.study-actions{gap:6px;margin-bottom:18px}.study-actions .secondary,.mark-button{gap:4px;padding:7px 10px;font-size:14px}.step-links{gap:6px}.sound-grid{grid-template-columns:repeat(auto-fill,minmax(59px,1fr));gap:7px}.sound-tile{min-height:50px;font-size:23px}.tone-grid{grid-template-columns:1fr 1fr;gap:8px}.tone-card{padding:12px 6px}.tone-guide{margin-top:22px}.stats{gap:6px}.stats>div{padding:12px}.stats span{font-size:13px}.records-columns{grid-template-columns:1fr;gap:10px}.choices{gap:8px}.choices button{min-height:57px}.quiz-panel{margin-top:3px}.prompt{margin-block:21px}.review-row{flex-wrap:wrap;gap:8px}.review-row>span{font-size:13px}.round-history li{gap:7px;font-size:14px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}
