.ph-badges{flex-wrap:wrap;gap:6px;margin:6px 0 10px;display:flex}.ph-hero{align-items:center;gap:14px;display:flex}.ph-hero .ph-emoji{flex:none;font-size:3.2rem;line-height:1}.ph-hero h1{margin:0}.ph-done-btn[aria-pressed=true]{background:var(--teal-soft);border-color:var(--teal);color:var(--teal)}.ph-cards{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;margin:12px 0;display:grid}.ph-card{border:2px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;cursor:pointer;border-radius:16px;flex-direction:column;align-items:center;gap:2px;padding:12px 8px;display:flex}.ph-card:hover,.ph-card:focus-visible{border-color:var(--orange)}.ph-card b{font-family:var(--font-head);color:var(--brown);font-size:2.2rem;line-height:1.1}.ph-card small{color:var(--muted)}.ph-card .em{font-size:1.6rem;line-height:1}.ph-teach li{margin:6px 0}.ph-passage{font-size:1.45rem;line-height:1.9;font-family:var(--font-body)}.ph-passage .w{cursor:pointer;border-radius:6px;padding:0 2px}.ph-passage .w:hover,.ph-passage .w.on{background:var(--orange-soft)}.ph-pager{flex-wrap:wrap;justify-content:space-between;gap:10px;margin:20px 0;display:flex}.ph-pager .btn{max-width:100%}.ph-links{flex-wrap:wrap;gap:8px;display:flex}.ph-sheet-wrap{background:#f3ece2;border-radius:18px;padding:14px;overflow:hidden}html[data-theme=dark] .ph-sheet-wrap{background:#2c2118}.ph-keyctl{align-items:center;gap:8px;margin:8px 0;font-weight:700;display:flex}body.ph-nokey .ws-key{display:none!important}.ph-progress{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.ph-bar{background:var(--line);border-radius:99px;flex:220px;height:16px;overflow:hidden}.ph-bar i{background:linear-gradient(90deg, var(--teal), #3cc0a0);border-radius:99px;width:0;height:100%;transition:width .4s;display:block}.ph-level{background:var(--lv,#f6efe6);border-radius:20px;margin:18px 0;padding:16px}html[data-theme=dark] .ph-level{background:var(--surface);border:1px solid var(--line)}.ph-level h2{margin:0 0 4px;font-size:1.3rem}.ph-steps{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:8px;margin:10px 0 0;padding:0;list-style:none;display:grid}.ph-step a{background:var(--surface);color:var(--ink);border:2px solid #0000;border-radius:14px;align-items:center;gap:10px;min-height:56px;padding:10px 12px;text-decoration:none;display:flex}.ph-step a:hover{border-color:var(--orange)}.ph-step .no{background:var(--orange-soft);color:#a3500a;border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-size:.9rem;font-weight:800;display:grid}.ph-step.done .no{background:var(--teal);color:#fff}.ph-step.done .no:after{content:"✓"}.ph-step.done .no span{display:none}.ph-step.here a{border-color:var(--orange)}.ph-step .t{flex-direction:column;min-width:0;display:flex}.ph-step .t b{font-size:.98rem;line-height:1.25}.ph-step .t small{color:var(--muted);font-size:.8rem}.ph-place{border:3px dashed var(--orange)}.ph-q{display:none}.ph-q.on{display:block}.ph-q .items{flex-wrap:wrap;gap:8px;margin:10px 0;display:flex}.ph-q .items span,.ph-q .items button{font-family:var(--font-head);background:var(--cream);border:2px solid var(--line);color:var(--ink);border-radius:12px;padding:6px 14px;font-size:1.6rem}.ph-q .items button{cursor:pointer}.ph-q .ans{flex-wrap:wrap;gap:10px;display:flex}.ph-result{font-size:1.1rem}.pg{background:var(--surface);border:2px solid var(--line);border-radius:22px;margin:12px 0;padding:16px}.pg-start,.pg-end{text-align:center}.pg-big{margin:0;font-size:3rem;line-height:1.2}.pg-go{padding:14px 28px;font-size:1.2rem}.pg-row{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.pg-top{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;font-size:.85rem;font-weight:700;display:flex}.pg-dots{flex-wrap:wrap;gap:4px;display:flex}.pg-dots i{background:var(--line);border-radius:50%;width:10px;height:10px}.pg-dots i.on{background:var(--teal)}.pg-dots i.now{background:var(--orange)}.pg-q{text-align:center;margin:10px 0;font-size:1.15rem;font-weight:800}.pg-show{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;min-height:90px;display:flex}.pg-pic{font-size:4rem;line-height:1}.pg-label{color:var(--muted);font-size:1.2rem;font-weight:700}.pg-word{font-family:var(--font-head);color:var(--brown);letter-spacing:.04em;font-size:3rem}.pg-letter{font-family:var(--font-head);color:var(--brown);font-size:4rem}.pg-sentence{text-align:center;max-width:30ch;font-size:1.6rem;font-weight:700}.pg-hear{border:2px solid var(--line);background:var(--cream);cursor:pointer;border-radius:50%;width:54px;height:54px;font-size:1.6rem}.pg-help{color:var(--teal);cursor:pointer;font-weight:700;font:inherit;background:0 0;border:0;text-decoration:underline}.pg-tiles{justify-content:center;gap:8px;width:100%;display:flex}.pg-sound{background:var(--cream);border:2px solid var(--line);min-width:56px;height:56px;font-family:var(--font-head);color:var(--brown);border-radius:14px;place-items:center;font-size:1.8rem;transition:transform .15s,background .15s;display:grid}.pg-sound.lit{background:var(--orange);color:#fff;transform:scale(1.12)}.pg-choices{grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0 6px;display:grid}.pg-choices.n2{grid-template-columns:repeat(2,1fr)}.pg-choices.n4{grid-template-columns:repeat(4,1fr)}.pg-choices.tiles{grid-template-columns:repeat(auto-fit,minmax(64px,1fr))}.pg-choice{border:3px solid var(--line);background:var(--surface);min-height:86px;color:var(--ink);font:inherit;cursor:pointer;touch-action:manipulation;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:6px;display:flex}.pg-choice:hover{border-color:var(--orange)}.pg-choice .pg-cpic{font-size:3rem;line-height:1.1}.pg-choice .pg-ct{color:var(--muted);font-size:.95rem;font-weight:700}.pg-choice.big .pg-ct,.pg-choices.tiles .pg-choice{font-family:var(--font-head);color:var(--brown);font-size:2.2rem}.pg-choice.word .pg-ct{font-family:var(--font-head);color:var(--brown);font-size:1.7rem}.pg-choice.right{border-color:var(--teal);background:var(--teal-soft)}.pg-choice.wrong{opacity:.4}.pg-choice.used{opacity:.3}.pg-choice.shake{animation:.4s pg-shake}@keyframes pg-shake{0%,to{transform:none}25%{transform:translate(-6px)}75%{transform:translate(6px)}}@media (prefers-reduced-motion:reduce){.pg-choice.shake{animation:none}.pg-sound{transition:none}}.pg-slots{justify-content:center;gap:8px;margin:12px 0 0;display:flex}.pg-slot{border:3px dashed var(--line);width:60px;height:64px;font-family:var(--font-head);color:var(--brown);border-radius:14px;place-items:center;font-size:2rem;display:grid}.pg-slot.full{border-style:solid;border-color:var(--teal);background:var(--teal-soft)}.pg-ok{background:var(--teal-soft);border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:10px;padding:10px 14px;font-size:1.1rem;display:flex}@media (width<=420px){.pg-pic{font-size:3.2rem}.pg-word{font-size:2.4rem}.pg-choice{min-height:76px}.pg-choice .pg-cpic{font-size:2.5rem}.pg-choice.word .pg-ct{font-size:1.35rem}.pg-slot{width:50px;height:56px}}.ws{color:#2a1d12;max-width:8in;box-shadow:var(--shadow);font-family:var(--font-body);background:#fff;border-radius:10px;margin:0 auto 14px;padding:22px}.ws-head{border-bottom:3px solid #f28c28;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-bottom:8px;padding-bottom:8px;display:flex}.ws-brand{color:#8a5a2b;font-size:.8rem}.ws-title{color:#5b3416;margin:2px 0 0;font-size:1.35rem}.ws-keytag{color:#c62828}.ws-name{font-size:.95rem;line-height:2}.ws-line{border-bottom:1.5px solid #555;width:150px;display:inline-block}.ws-line.short{width:90px}.ws-std{color:#8a5a2b;font-size:.85rem}.ws-task{margin:10px 0 6px;font-weight:800}.ws-bank{margin:0 0 6px}.ws-bank span{font-family:var(--font-head);border:2px solid #eadccb;border-radius:8px;margin:0 4px;padding:0 10px;font-size:1.2rem;display:inline-block}.ws-trace{gap:2px;display:grid}.ws-tr{width:100%;height:auto;max-height:64px}.ws-tr line{stroke:#b9a58f;stroke-width:1.2px}.ws-tr line.mid{stroke-dasharray:6 6}.ws-tr text{font-family:Nunito Variable,Nunito,system-ui,sans-serif;font-size:54px;font-weight:600}.ws-tr text.solid{fill:#2a1d12}.ws-tr text.dash{fill:none;stroke:#8f7a66;stroke-width:1.6px;stroke-dasharray:3 3}.ws-rows{counter-reset:r;gap:4px;margin:0;padding:0;list-style:none;display:grid}.ws-row{counter-increment:r;border-bottom:1px dashed #eadccb;align-items:center;gap:12px;padding:4px 0;display:flex}.ws-row:before{content:counter(r) ".";color:#8a5a2b;flex:none;width:1.4em;font-weight:800}.ws-prompt{flex:0 auto;align-items:center;gap:8px;min-width:120px;display:flex}.ws-opts{flex-wrap:wrap;gap:10px;margin-left:auto;display:flex}.ws-opt{border:2px solid #0000;border-radius:999px;flex-direction:column;justify-content:center;align-items:center;min-width:58px;min-height:52px;padding:2px 10px;display:inline-flex}.ws-opt.txt{font-family:var(--font-head);font-size:1.35rem}.ws-opt.ans{color:#c62828;border-color:#c62828}.ws-pic{font-size:2.3rem;line-height:1.1}.ws-lab{color:#6e5a48;font-size:.72rem}.ws-word{font-family:var(--font-head);color:#5b3416;font-size:1.7rem}.ws-sounds{font-family:var(--font-head);letter-spacing:.05em;font-size:1.3rem}.ws-sentence{font-size:1.15rem;font-weight:700}.ws-grid{counter-reset:c;grid-template-columns:repeat(3,1fr);gap:8px;margin:0;padding:0;list-style:none;display:grid}.ws-cell{counter-increment:c;border:2px solid #eadccb;border-radius:12px;flex-direction:column;align-items:center;gap:4px;padding:8px;display:flex;position:relative}.ws-cell:before{content:counter(c);color:#8a5a2b;font-size:.75rem;font-weight:800;position:absolute;top:4px;left:8px}.ws-bigletter{font-family:var(--font-head);color:#5b3416;font-size:2.4rem;line-height:1.1}.ws-pattern{font-family:var(--font-head);align-items:flex-end;gap:2px;font-size:1.6rem;display:flex}.ws-blank{text-align:center;color:#c62828;min-width:1.6em;font-family:var(--font-head);border-bottom:2px solid #555;min-height:1.3em;font-size:1.6rem;line-height:1.2;display:inline-block}.ws-blank.wide{min-width:3em}.ws-boxes{gap:4px;display:flex}.ws-box{width:34px;height:38px;font-family:var(--font-head);color:#c62828;border:2px solid #8f7a66;border-radius:6px;place-items:center;font-size:1.3rem;display:grid}.ws-read{background:#fff8ef;border:2px solid #f28c28;border-radius:14px;margin-top:12px;padding:8px 14px}.ws-rtitle{margin:0 0 4px;font-size:.95rem}.ws-checks{float:right;font-weight:700}.ws-ptext{margin:0;font-size:1.15rem;line-height:1.6}.ws-foot{color:#a08b78;text-align:center;margin:8px 0 0;font-size:.7rem}.ws-note{color:#c62828;margin:4px 0;font-size:.85rem}.ws-ptitle{color:#5b3416;margin:4px 0}.ws-flines{margin:0 0 10px;padding:0;list-style:none}.ws-flines li{border-bottom:1px dashed #eadccb;justify-content:space-between;gap:16px;font-size:1.25rem;line-height:1.9;display:flex}.ws-flines b{color:#8a5a2b;font-size:.9rem}.ws-ftable{border-collapse:collapse;width:100%}.ws-ftable th,.ws-ftable td{text-align:center;border:1.5px solid #b9a58f;height:30px;padding:8px;font-size:.9rem}.ws-key{margin-top:18px}@media (width<=560px){.ws{padding:12px}.ws-grid{grid-template-columns:repeat(2,1fr)}.ws-row{flex-wrap:wrap}.ws-opts{margin-left:0}.ws-opt{min-width:48px}.ws-pic{font-size:2rem}}@media print{.ph-sheet-wrap{background:0 0;border-radius:0;padding:0}.ws{box-shadow:none;border-radius:0;max-width:none;margin:0;padding:0;font-size:12pt}.ws-key{break-before:page;margin-top:0}.ws-title{font-size:17pt}.ws-pic{font-size:30pt}.print-qr{display:none!important}.ws-row{min-height:.7in;padding:2pt 0}.ws-tight .ws-row{min-height:.62in}.ws-tight .ws-pic{font-size:24pt}.ws-cell{justify-content:center;min-height:1.05in}.ws-tight .ws-cell{min-height:.95in}.ws-tr{max-height:.5in}.ws-task{margin:6pt 0 4pt}.ws-ptext{font-size:13pt}.ws-read{break-inside:avoid}.ws-flines li{font-size:15pt}.ws-ftable td{height:.4in}}
