/* Bilingual course expansion; keep the existing characters and mint palette. */
body{font-size:1.0625rem}.hub{max-width:1080px;margin:0 auto 64px;display:flex;flex-direction:column;gap:24px}.hub>.head{max-width:760px}.head .sub{font-size:1.0625rem}.top{gap:16px}.locale-switch{display:flex;gap:4px;padding:4px;background:var(--surface);border-radius:999px}.locale-switch button{border:0;border-radius:999px;background:transparent;color:var(--secondary);min-width:76px;min-height:44px;padding:7px 14px;font-size:.875rem;font-weight:700;cursor:pointer}.locale-switch button[aria-pressed=true]{background:var(--teal);color:white}.map-layout{align-items:start}.atlas{height:390px;min-height:390px}.map-stop{min-width:102px;min-height:78px}.map-stop small{font-size:.8125rem}.map-note,.map-caption{font-size:.8125rem;letter-spacing:0}.map-caption{line-height:1.4;bottom:10px}.map-stop b{font-size:1rem}.route{display:flex;flex-direction:column;gap:16px;min-width:0}.route>h2{font-size:1.125rem}.course-card{border:1px solid var(--line);border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:10px;background:#fafcfc;min-width:0}.course-card h3{font-size:1.2rem}.course-card>.btn{align-self:start;text-decoration:none;font-size:1rem}.course-card p{font-size:1rem}.unit-list{margin:0;padding:0;list-style:none;border-top:1px solid var(--line)}.unit-list li{padding:8px 0;border-bottom:1px solid var(--line)}.unit-list a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;text-decoration:none;font-weight:600;font-size:.9375rem}.unit-list a:hover{text-decoration:underline}.unit-list small{white-space:nowrap;color:var(--secondary);font-size:.875rem}.course-card .meta,.meta{font-size:.875rem}.eyebrow,.badge{font-size:.8125rem}.pilot-note{font-size:.875rem}.guide p{font-size:1rem}.letters{grid-template-columns:repeat(auto-fit,minmax(min(130px,100%),1fr))}.letter .n{font-size:.9375rem;color:var(--secondary)}.letter .s{font-size:.9375rem}.letter .g{font-size:2.5rem}.word .k{font-size:1rem}.word .r:empty{display:none}.word .f{font-size:1.7rem;overflow-wrap:anywhere}.word .r{font-size:1rem}.chunk-gloss small{font-size:.9375rem}.chunk-gloss b{font-size:1.125rem}.sentence-text{font-size:clamp(1.5rem,3vw,2.1rem);line-height:1.65}.sentence-text .script{white-space:normal}.translation{font-size:1.125rem;font-weight:700}.practice .q h3{font-size:1.0625rem}.qg{overflow-wrap:anywhere}.practice .q{margin-top:8px}.chunk-options .opt{flex:0 1 auto;min-width:72px;min-height:48px;font-size:1.125rem}.chunk-options .script{font-size:1.6rem}.assembled .script{font-size:1.7rem}.opt{min-height:48px}.progress button{font-size:1rem}.progress{top:0;box-shadow:0 2px 0 #fff}.nav .btn,.finish-panel .btn{text-decoration:none;font-size:1rem}.finish-panel{padding:22px;border-radius:20px;background:var(--teal-soft);display:flex;flex-direction:column;align-items:flex-start;gap:16px}.finish-panel h2{font-size:1.2rem}.extra>p{margin:12px 0}.extra ul{padding-left:24px;overflow-wrap:anywhere}.extra li{margin:8px 0}.extra summary{font-size:1rem}.unit-picker ol{padding-left:24px}.unit-picker li{padding:8px 0}.unit-picker li small{display:inline-block;margin-left:12px}.unit-picker a[aria-current=page]{font-weight:800}.field-image{max-width:100%;max-height:480px;height:auto;object-fit:contain}.extra figure{margin:12px 0}.extra figcaption{font-size:.875rem;overflow-wrap:anywhere}.nb{display:flex;flex-direction:column;gap:8px}.nb-row{display:grid;grid-template-columns:140px 1fr;gap:3px 14px;padding:12px;background:#fff;border-radius:12px;overflow-wrap:anywhere}.nb-row small{font-size:.875rem;color:var(--secondary)}.nb-row small:last-child{grid-column:2}.review{display:flex;flex-direction:column;gap:16px}.flash{padding:18px;background:white;border-radius:16px;display:flex;flex-direction:column;align-items:center;gap:8px}.flash .f{font-size:2rem;overflow-wrap:anywhere;max-width:100%}.flash small{font-size:.875rem}.danger{background:#a63428}.learning-path{font-size:1rem}.card>header h1{max-width:100%;overflow-wrap:break-word}#letter-note{min-height:0}.map-top .btn{font-size:.9375rem}
@media(max-width:760px){.map-layout{grid-template-columns:1fr}.atlas{height:310px;min-height:310px}.map-stop{min-width:96px;padding:8px 6px}.map-stop small{font-size:.8125rem}.map-stop b{font-size:.9375rem}.dunhuang{top:25%}.suzhou{top:46%}.ganzhou{top:68%}.compass{display:none}.map-note.desert{top:7%;left:38%}.map-note.mountains{left:12%;bottom:16%}.map-caption{font-size:.75rem}.nb-row{grid-template-columns:1fr}.nb-row small:last-child{grid-column:auto}.head h1{font-size:clamp(1.65rem,7vw,2.3rem)}.hub>.head h1{font-size:2rem}.top{align-items:center}.course-card{padding:16px}.progress button{font-size:.9375rem}.chunk-options .opt{max-width:100%;overflow-wrap:anywhere}.word{grid-template-columns:1fr;text-align:left}.word .f{grid-row:auto;text-align:left}.guide .companion{width:76px;min-width:76px}.unit-list a{font-size:.9375rem}.atlas .map-stop.dunhuang{left:19%}.atlas .map-stop.ganzhou{left:81%}}
@media(max-width:360px){.atlas{height:330px;min-height:330px}.map-stop{min-width:90px}.map-stop small{font-size:.75rem}.atlas .map-stop.dunhuang{left:21%;top:22%}.atlas .map-stop.suzhou{left:50%;top:45%}.atlas .map-stop.ganzhou{left:79%;top:68%}.journey{padding:12px}.locale-switch button{min-width:68px;padding:7px 10px}.progress button{font-size:.875rem}.guide{gap:8px}}
