.pf-activity{--pf-blue:#235f99;--pf-green:#2e715e;--pf-orange:#9c4f21;border:1px solid #b8cec4;padding:clamp(1rem,3vw,1.8rem);background:#f5f9f6}.pf-activity header h2{margin-top:0}.pf-activity header p{max-width:65ch}.pf-scene-choices{display:flex;flex-wrap:wrap;gap:.55rem;margin:1.1rem 0}.pf-scene-choices button{min-height:44px;padding:.65rem 1rem;border:1px solid #7eaa99;color:#1e5143;background:#fff;font:inherit;font-weight:650;cursor:pointer}.pf-scene-choices button[aria-pressed=true]{color:#fff;background:#225b4b;border-color:#225b4b;box-shadow:inset 0 -3px #153d31}.pf-scene-choices button:focus-visible{outline:3px solid #ba691e;outline-offset:3px}.pf-panel[hidden]{display:none}.pf-panel{animation:pf-reveal .18s ease-out}.pf-diagram{--pf-blue:#235f99;--pf-green:#2e715e;--pf-orange:#9c4f21;margin:0;background:#fff;border:1px solid #cfddd6;padding:.8rem}.pf-diagram svg{display:block;width:100%;max-width:640px;max-height:330px;margin:auto;fill:none}.pf-diagram text{font-family:inherit;fill:#233f36;stroke:none}.pf-diagram .pf-label{font-size:22px;font-weight:650}.pf-diagram .pf-car-label{font-size:28px}.pf-identifiers{text-align:center;font-size:.85rem;margin:.4rem 0;line-height:1.5}.pf-diagram .pf-small{font-size:17px}.pf-diagram .pf-rank{font-size:23px;fill:var(--pf-blue);font-weight:700}.pf-diagram figcaption{margin-top:.7rem;line-height:1.65;font-size:.95rem;text-align:center;color:#314d42}.pf-legend{max-width:65ch;margin:.8rem auto 0;padding:.6rem .8rem;border-inline-start:3px solid var(--pf-blue);background:#f1f6fb;font-size:.9rem;line-height:1.65}.pf-car{stroke:var(--pf-green);fill:#e4f0e8;stroke-width:2.5}.pf-highlight .pf-car{stroke:var(--pf-blue);fill:#dbeaf8;stroke-width:4}.pf-wheel{fill:#fff;stroke:#314d42;stroke-width:2.5}.pf-line{stroke:#314d42;stroke-width:2.5}.pf-bundle-frame{stroke:var(--pf-blue);fill:#e8f1fb;stroke-width:2}.pf-stick{stroke:var(--pf-blue);stroke-width:3;stroke-linecap:round}.pf-band{stroke:#b46528;stroke-width:5}.pf-single{stroke:var(--pf-green);stroke-width:5;stroke-linecap:round}.pf-number-dot{stroke:var(--pf-blue);fill:var(--pf-blue);stroke-width:3}.pf-endpoint{fill:#fff;stroke:var(--pf-orange)}.pf-part-taken{fill:#dce9f6;stroke:var(--pf-blue);stroke-width:2.5}.pf-part-left{fill:#e2f0e8;stroke:var(--pf-green);stroke-width:2.5}.pf-person-head{fill:#fff5e7;stroke:#5d4a37;stroke-width:2}.pf-person-body{stroke:var(--pf-green);fill:#dcebe3;stroke-width:3;stroke-linecap:round}.pf-smile{stroke:#5d4a37;stroke-width:2}.pf-dialogue{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;max-width:640px;margin:auto}.pf-speaker{padding:.8rem;border:1px solid #aac4d8;background:#f4f8fd;text-align:center}.pf-speaker svg{width:90px;height:90px}.pf-speaker strong,.pf-speaker p{display:block;margin:.45rem 0;overflow-wrap:anywhere}.pf-speaker p{font-size:clamp(1rem,2.4vw,1.4rem);color:#214f79}.pf-object-scene,.pf-family{max-width:640px;margin:auto;text-align:center}.pf-object-scene svg{max-height:200px}.pf-book{fill:#dceaf6;stroke:var(--pf-blue);stroke-width:3}.pf-pencil{fill:#f4e4bf;stroke:#755d2b;stroke-width:3}.pf-bottle-cap{fill:#dcebe3;stroke:var(--pf-green);stroke-width:3}.pf-target{font-size:clamp(1.2rem,3vw,1.7rem);font-weight:650;margin:.7rem 0;line-height:1.5}.pf-family{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:1rem}.pf-family>div{padding:.8rem;border:2px solid var(--pf-blue);background:#f4f8fd}.pf-family .pf-family-person{border-color:var(--pf-orange);background:#fdf7ef}.pf-family strong,.pf-family small,.pf-family span{display:block}.pf-family strong{font-size:1.25rem}.pf-family-person svg{height:90px}.pf-family .pf-target{grid-column:1/-1}.pf-explanation{border-inline-start:4px solid #2e715e;margin:1rem 0 0;padding:.65rem 1rem;background:#e9f1eb;line-height:1.8}@keyframes pf-reveal{0%{opacity:.55;transform:translateY(4px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.pf-panel{animation:none}}@media print{.pf-diagram{border:0;padding:0;--pf-blue:#222;--pf-green:#222;--pf-orange:#222}.pf-diagram svg{max-height:43mm}.pf-diagram figcaption{color:#111;font-size:9pt;margin-top:2mm}.pf-diagram .pf-small{font-size:17px}.pf-dialogue{gap:4mm}.pf-speaker,.pf-family>div{background:#fff;color:#111;border:1px solid #555;padding:2mm}.pf-speaker svg,.pf-family-person svg{height:16mm}.pf-speaker p,.pf-target{font-size:11pt}.pf-object-scene svg{max-height:30mm}}.jn-lesson{--jn-water: #edf5f1;--jn-lotus: #4f8764;--jn-fish: #a34421;color:var(--ink, #213d37);padding:clamp(16px,2.5vw,28px);border:1px solid var(--line, #dfe6dd);border-radius:18px;background:#fff;min-width:0}.jn-lesson *,.jn-lesson *:before,.jn-lesson *:after{box-sizing:border-box}.jn-lesson [hidden]{display:none!important}.jn-lesson h2,.jn-lesson h3,.jn-lesson p,.jn-lesson figure{margin:0}.jn-lesson p{line-height:1.75;overflow-wrap:anywhere}.jn-lesson h2{font-size:clamp(22px,3vw,28px);line-height:1.4}.jn-lesson h3{font-size:22px;line-height:1.4}.jn-lesson button{min-height:44px;padding:10px 14px;max-width:100%;border:1px solid var(--interactive-border, #9db8ac);border-radius:8px;background:#fff;color:var(--ink, #213d37);cursor:pointer;font:inherit;line-height:1.45;text-align:center}.jn-lesson button:hover:not(:disabled){background:var(--action-soft, #e5f2eb);border-color:var(--green, #224f46)}.jn-lesson button:disabled{cursor:default;opacity:.55}.jn-lesson button[aria-pressed=true]{background:var(--action-soft, #e5f2eb);border-color:var(--green, #224f46);box-shadow:inset 0 -2px var(--green, #224f46)}.jn-lesson .jn-primary{color:#fff;background:var(--green, #224f46);border-color:var(--green, #224f46)}.jn-lesson .jn-primary:hover:not(:disabled){background:var(--action-hover, #16483d);color:#fff}.jn-lesson :is(button,input,summary):focus-visible{outline:3px solid var(--focus, #b25b10);outline-offset:3px}.jn-lesson .jn-enhanced{display:none}.jn-lesson[data-ready=true] .jn-enhanced{display:flex}.jn-header>p{margin-top:8px;color:var(--muted, #53675e)}.jn-activity-nav{flex-wrap:wrap;gap:8px;margin-top:20px;padding-bottom:20px;border-bottom:1px solid var(--line, #dfe6dd)}.jn-activity-nav button{display:flex;gap:8px;align-items:center;flex:1 1 160px;justify-content:center;font-weight:600}.jn-step{display:inline-grid;place-items:center;height:22px;width:22px;border:1px solid currentColor;border-radius:50%;flex:0 0 auto;font-size:12px}.jn-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(18px,3vw,32px);align-items:start;margin-top:24px}.jn-workspace,.jn-workspace>section{min-width:0}.jn-workspace>section>p{margin-top:10px}.jn-pond{min-width:0;position:sticky;top:18px}.jn-pond>svg{display:block;width:100%;height:auto}.jn-compass-labels{font-family:inherit;font-size:25px;font-weight:700}.jn-center-label{font-family:inherit;font-size:17px;font-weight:650}.jn-fish{transition:transform .65s ease-in-out}.jn-pond figcaption{display:grid;gap:10px;margin-top:16px}.jn-pond figcaption strong{font-size:16px}.jn-pond figcaption span{font-size:13px;line-height:1.7;color:var(--muted, #53675e)}.jn-poem-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;flex-wrap:wrap}.jn-poem-header>div{display:flex;align-items:baseline;gap:14px}.jn-poem-header h3{font-size:28px}.jn-poem-header>div>span{color:var(--muted, #53675e);font-size:14px}.jn-pinyin-control{align-items:center;gap:7px;min-height:44px;font-size:13px;cursor:pointer}.jn-pinyin-control input{width:18px;height:18px;accent-color:var(--green, #224f46)}.jn-lines{list-style:none;margin:0;padding:0;display:grid;gap:5px}.jn-lines li{margin:0;padding:0}.jn-lesson .jn-lines button{display:flex;align-items:center;width:100%;gap:12px;border-color:transparent;padding:9px 10px 8px;border-radius:8px;min-height:59px;text-align:left}.jn-lesson:not([data-ready=true]) .jn-lines button{opacity:1}.jn-line-number{font-size:12px;color:var(--muted, #53675e);min-width:12px;flex:0 0 auto;font-variant-numeric:tabular-nums}.jn-line-verse{display:flex;align-items:baseline;gap:clamp(7px,1vw,13px);font-size:clamp(21px,2.3vw,29px);line-height:1.5;white-space:nowrap}.jn-lesson ruby{ruby-align:center}.jn-lesson rt{font-family:inherit;font-size:11px;font-weight:400;color:var(--muted, #53675e);line-height:1.35;letter-spacing:0}.jn-line-icon{margin-left:auto;flex:0 0 auto;opacity:.55}.jn-punctuation{margin-left:-8px}.jn-lesson[data-pinyin=false] .jn-lines rt,.jn-lesson[data-pinyin=false] .jn-recite-lines rt{visibility:hidden}.jn-audio-actions{flex-wrap:wrap;gap:7px;margin-top:18px}.jn-audio-actions button{flex:1 1 auto;font-size:14px;padding-inline:10px}.jn-audio-status{min-height:42px;margin-top:10px!important;color:var(--muted, #53675e);font-size:12px;align-items:start}.jn-line-meaning{padding-block:2px;margin-top:18px}.jn-line-meaning strong{font-size:13px}.jn-line-meaning p{margin-top:5px;font-size:15px}.jn-words{margin-top:28px;padding-top:24px;border-top:1px solid var(--line, #dfe6dd)}.jn-words>p{margin-top:6px;font-size:14px;color:var(--muted, #53675e)}.jn-words>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px;align-items:start}.jn-words details{border:1px solid var(--line, #dfe6dd);border-radius:8px;min-width:0}.jn-words summary{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:15px;min-height:62px;cursor:pointer;font-size:22px;list-style:none}.jn-words summary::-webkit-details-marker{display:none}.jn-words summary>span{color:var(--muted, #53675e);font-size:18px}.jn-words details[open] summary>span{transform:rotate(45deg)}.jn-words details p{padding:0 15px 15px;font-size:14px}.jn-game-progress{font-size:13px;color:var(--muted, #53675e)}.jn-workspace .jn-game-prompt{font-size:clamp(27px,3vw,36px);letter-spacing:.12em;padding:16px 0;border-bottom:1px solid var(--line, #dfe6dd)}.jn-direction-controls{display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-rows:repeat(3,minmax(48px,auto));gap:8px;margin:20px auto;max-width:330px}.jn-lesson .jn-direction-controls button{font-size:20px;padding:10px 5px}.jn-direction-north{grid-column:2;grid-row:1}.jn-direction-west{grid-column:1;grid-row:2}.jn-direction-east{grid-column:3;grid-row:2}.jn-direction-south{grid-column:2;grid-row:3}.jn-direction-center{display:grid;place-items:center;grid-column:2;grid-row:2;color:var(--jn-lotus);font-size:25px}.jn-feedback{padding:14px;background:var(--jn-water);border-radius:8px;min-height:76px;font-size:14px}.jn-lesson[data-game-feedback=retry] .jn-feedback{background:var(--chinese-soft, #fff0e6)}.jn-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.jn-character-options{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.jn-lesson .jn-character-options button{width:54px;font-size:24px}.jn-character-card{position:relative;display:grid;place-content:center;justify-items:center;width:190px;height:210px;margin:28px auto;border:1px solid var(--interactive-border, #9db8ac);background:linear-gradient(transparent calc(55% - .5px),#dfe6dd calc(55% - .5px),#dfe6dd calc(55% + .5px),transparent calc(55% + .5px)),linear-gradient(90deg,transparent calc(50% - .5px),#dfe6dd calc(50% - .5px),#dfe6dd calc(50% + .5px),transparent calc(50% + .5px))}.jn-character-card>span{background:#fff;padding:0 10px;font-size:19px}.jn-character-card>strong{font-size:100px;font-weight:500;line-height:1.4}.jn-character-words{padding-top:16px;border-top:1px solid var(--line, #dfe6dd)}.jn-character-words>strong{font-size:14px}.jn-character-words>p{margin-top:8px;font-size:22px}.jn-note{font-size:13px;color:var(--muted, #53675e);margin-top:15px!important}.jn-recite-modes{display:flex;gap:7px;flex-wrap:wrap;margin-top:18px}.jn-recite-modes button{font-size:13px;padding:8px 10px}.jn-recite-lines{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:14px}.jn-recite-lines li{display:flex;align-items:baseline;gap:13px;font-size:clamp(23px,2.5vw,30px);line-height:1.8}.jn-recite-lines .jn-line-number{margin-right:4px}.jn-blank{color:var(--muted, #53675e)}@media(max-width:760px){.jn-layout{grid-template-columns:1fr;gap:22px;margin-top:18px}.jn-pond{position:static}.jn-pond>svg{max-height:290px}.jn-pond figcaption{gap:6px;margin-top:10px}.jn-pond figcaption span{font-size:12px}.jn-activity-nav button{flex:1 1 calc(50% - 8px);font-size:14px}.jn-lines{gap:3px}.jn-lesson .jn-lines button{min-height:55px}.jn-line-verse{font-size:27px;gap:12px}.jn-words>div{grid-template-columns:repeat(2,minmax(0,1fr))}.jn-audio-status{min-height:0}.jn-character-card{margin-block:20px}}@media(max-width:400px){.jn-lesson{padding:12px}.jn-activity-nav{gap:6px}.jn-activity-nav button{padding-inline:6px;gap:5px}.jn-step{display:none}.jn-lesson .jn-lines button{padding-inline:4px;gap:7px}.jn-line-verse{font-size:24px;gap:8px}.jn-line-icon{display:none}.jn-words>div{grid-template-columns:1fr 1fr}.jn-words summary{padding-inline:10px}.jn-recite-lines li{gap:9px}.jn-poem-header{gap:6px}}@media(prefers-reduced-motion:reduce){.jn-fish{transition:none}}@media print{.jn-lesson .jn-enhanced,.jn-audio-actions{display:none!important}.jn-pond{position:static}.jn-lesson{border-radius:0}}
