:root{--ink:#173c31;--muted:#596b60;--paper:#f6f5ed;--line:#d5dace;--orange:#b65026;--dark:#163e32;--gold:#ffad6f;font-family:"Avenir Next","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button{font:inherit;color:inherit;cursor:pointer;background:none;border:0;touch-action:manipulation}button:focus-visible,input:focus-visible{outline:3px solid #f4914c;outline-offset:3px}button:hover{filter:brightness(.92)}button:disabled{cursor:default}svg{width:18px;height:18px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}header{height:76px;padding:0 max(5vw,calc((100vw - 1240px)/2));background:#fbfaf5;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.brand,nav,.modes,.edition,.exhead,.promptline,.actions,.sheading,.dialoghead,.place,.modeLabel{display:flex;align-items:center}.brand{gap:12px;font-size:17px;font-weight:750}.logo{background:var(--dark);color:var(--paper);border-radius:11px;width:42px;height:42px;display:grid;place-content:center;font:italic bold 33px/1 Georgia;position:relative;padding-right:4px}.logo span{color:#f49a59;font-size:20px;position:absolute;right:4px;bottom:2px}.brand small{display:block;font-size:9px;letter-spacing:2px;margin-top:2px}nav{gap:12px}nav button{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:38px;min-width:36px}.live{border:1px solid var(--line);border-radius:24px;padding:0 16px;font-size:14px;font-weight:600}main{max-width:1360px;margin:auto;padding:36px max(4.4%,24px) 0}.mast,.exhead,.promptline,.sheading,.dialoghead{justify-content:space-between}.mast{display:flex;align-items:flex-end;margin-bottom:22px;gap:12px}.edition{font-size:13px;color:var(--muted);font-weight:650;gap:8px}.edition i{width:22px;height:2px;background:var(--orange)}h1,h2,p{margin:0}h1{font-size:clamp(36px,4vw,57px);letter-spacing:-3px;line-height:1.32}h1 span{color:#cd6a38}.modes{background:#e7eae0;padding:4px;border-radius:11px;gap:3px}.modes button{display:flex;align-items:center;gap:7px;font-size:14px;padding:10px 14px;border-radius:8px;color:#596b60}.modes button[aria-pressed=true]{background:#fffef8;color:var(--ink);box-shadow:0 1px 4px #25453020;font-weight:700}.studio{display:grid;grid-template-columns:38% 62%;border-radius:19px;overflow:hidden;box-shadow:0 7px 17px #183c3114;background:var(--dark);isolation:isolate}.photo{position:relative;color:white;min-height:420px;background:#72664f;isolation:isolate}.photo img,.photo:after{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}.photo:after{content:"";background:linear-gradient(180deg,#152c2714 30%,#112a26c2 100%)}.phototop,.caption{position:absolute;left:7%;right:7%}.phototop{top:6%;display:flex;justify-content:space-between}.place{border:1px solid #ffffff70;border-radius:20px;padding:5px 10px;gap:5px;font-size:12px;background:#1d322e8f}.place svg{width:14px}.frame{font:22px Georgia;opacity:.9}.caption{bottom:7%}.caption small{font:italic 24px/1.3 Georgia,serif}.caption h2{font-size:clamp(29px,3vw,43px);letter-spacing:-1px;margin:3px 0 16px}.photonav{display:flex;gap:5px}.photonav i{background:#ffffff66;height:3px;width:19px;border-radius:2px}.photonav i.on{background:var(--gold);width:34px}article{padding:26px clamp(20px,3vw,48px);color:#fffaf0;display:flex;flex-direction:column;background:radial-gradient(ellipse at 95% 0,#2b5645 0,transparent 65%),var(--dark);min-width:0}.exhead{font-size:13px;letter-spacing:.5px}.modeLabel{gap:8px}.modeLabel svg{color:var(--gold)}.count{font:14px ui-monospace,monospace;color:#c1d2c7}.track{height:3px;background:#ffffff24;border-radius:4px;margin-top:14px}.track i{display:block;height:100%;background:var(--gold);transition:width .3s}#question{margin:auto 0;padding:25px 0 22px}.promptline{gap:6px}.promptline small{color:#c5d4c9;font-size:13px}.promptline button{display:flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid #ffffff38;border-radius:20px;font-size:12px}.promptline button svg{width:15px}#cn{font-size:clamp(21px,2vw,31px);line-height:1.5;margin:7px 0 12px}.typewrap{position:relative;min-width:0}.typewrap:focus-within{outline:0}.typewrap input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:text;font-size:16px}.typewrap:focus-within #letters{border-color:#ffffff35}#letters{font:500 clamp(32px,3.15vw,49px)/1.25 "Avenir Next","Trebuchet MS",sans-serif;letter-spacing:-1.4px;color:#b3c6b9;min-height:50px}.word{display:inline-block;white-space:nowrap}.letter{position:relative;display:inline-block}.letter.typed{color:#fffaf2}.letter.fresh{animation:type .18s ease-out}.letter.current:before{content:"";position:absolute;left:-2px;top:11%;height:84%;width:3px;border-radius:2px;background:var(--gold)}.blank{display:inline-block;width:.3em}.error #letters{animation:shake .15s}.phonetic{color:#cfddcf;font:16px/1.5 Georgia,serif;margin-top:12px;min-height:23px}.bottom{border-top:1px solid #ffffff2b;padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:12px}.actions{gap:6px;flex-shrink:0}.actions button{display:flex;align-items:center;gap:4px;border-radius:7px;padding:7px 10px;background:#ffffff13;color:#f4f6ed;font-size:13px}.actions svg{width:15px}.actions #next.ready{background:#ffb480;color:#23392e}#feedback{font-size:13px;color:#c9dbce;line-height:1.5}#options{display:flex;gap:10px}#options button{border-radius:8px;border:1px solid #ffffff68;font:23px Georgia;padding:10px 18px}#options button.correct{background:#d9edca;color:var(--ink)}#options button.wrong{background:#924829}#completed{margin:auto 0}#completed h2{font-size:32px;margin-bottom:12px}#completed p{line-height:1.7;color:#dae7dc}#completed button,.primary{background:#ffc091;color:var(--ink);border-radius:8px;padding:9px 16px;margin-top:12px;font-weight:bold}.sceneSection{margin:28px 0}.sheading{margin-bottom:13px}.sheading h2{font-size:22px;letter-spacing:-1px}.sheading span{font-size:13px;color:var(--muted)}#scenes{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.scene{display:flex;align-items:center;gap:12px;position:relative;text-align:left;padding:8px;background:#fffef8;border:1px solid var(--line);border-radius:12px;min-width:0}.scene[aria-pressed=true]{border:1.5px solid #356348;box-shadow:0 0 0 1px #35634816;background:#edf1e7}.scene img{width:60px;height:62px;border-radius:6px;object-fit:cover}.scene b{display:block;font-size:16px}.scene small{font:italic 14px Georgia;color:#626e60}.scene .check{position:absolute;right:6px;top:4px;color:#346548;font-size:12px}.scene .check svg{width:14px}footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:14px 0 24px;color:#6c786d;font-size:12px}footer span:last-child{font:italic 14px Georgia}dialog{color:var(--ink);background:#fcfbf5;max-width:min(480px,92vw);border-radius:16px;border:1px solid var(--line);padding:24px;box-shadow:0 12px 90px #0003}dialog::backdrop{background:#0a221bb0}.dialoghead{gap:25px;font-size:21px}.dialoghead button{font-size:24px}#dialogbody{line-height:1.8;color:#425b4c}#dialogbody p{margin-top:10px}.settings{display:flex;align-items:center;gap:8px;margin-top:15px}kbd{font:12px monospace;padding:2px 4px;border:1px solid #acbaac;border-radius:4px}.broadcast .mast,.broadcast .sceneSection,.broadcast footer{display:none}.broadcast main{padding:16px;max-width:none}.broadcast .studio{max-width:1500px;margin:auto;min-height:calc(100svh - 105px)}.broadcast #letters{font-size:clamp(34px,4.8vw,79px)}.broadcast #cn{font-size:clamp(24px,3vw,48px)}.broadcast #feedback{font-size:16px}@keyframes type{from{transform:translateY(-4px);color:var(--gold)}}@keyframes shake{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}@media(max-width:900px){main{padding:25px 4% 0}#scenes{grid-template-columns:repeat(2,1fr)}.studio{grid-template-columns:35% 65%}.bottom{flex-wrap:wrap}.mast{align-items:center}.modes button{padding:9px}.photo{min-height:405px}}@media(max-width:640px){header{height:61px;padding:0 16px}.brand{font-size:14px;gap:8px}.brand small{font-size:8px}.logo{width:34px;height:34px;font-size:27px}nav{gap:3px}.live{padding:0 10px;font-size:12px}main{padding:20px 14px 0}.mast{align-items:flex-start;flex-direction:column;margin-bottom:13px}.edition{font-size:12px}.modes{align-self:stretch}.modes button{flex:1;justify-content:center}.studio{grid-template-columns:1fr}.photo{min-height:166px}.photo img{object-position:50% 49%}.phototop{top:12px;left:17px;right:17px}.caption{left:17px;bottom:14px}.caption h2{font-size:28px;margin:1px 0 6px}.caption small{font-size:18px}.photonav{position:absolute;right:0;bottom:4px}.photonav i{width:12px}.photonav i.on{width:19px}article{padding:18px 19px}.sceneSection{margin:22px 0}.scene{gap:7px;padding:6px}.scene img{width:42px;height:49px}.scene b{font-size:14px}.scene small{font-size:12px}#scenes{gap:7px}.broadcast main{padding:7px}.broadcast .studio{min-height:0}.broadcast .photo{min-height:23svh}.broadcast article{min-height:45svh}#letters{font-size:33px}.bottom{gap:8px}.actions{margin-left:auto}}@media(orientation:landscape) and (max-height:520px){.broadcast header{height:44px}.broadcast main{padding:4px}.broadcast .studio{grid-template-columns:30% 70%;min-height:calc(100svh - 52px)}.broadcast .photo{min-height:0}.broadcast article{padding:10px 18px}.broadcast #question{padding:8px 0}.broadcast #letters{font-size:clamp(28px,4vw,43px)}.broadcast #cn{font-size:21px;margin:4px 0}.broadcast .bottom{padding-top:6px}.broadcast .phonetic{margin:4px 0}.broadcast .track{margin-top:5px}}@media(prefers-reduced-motion:reduce){*,*:before{animation:none!important;transition:none!important}}
.audioTools{display:flex;align-items:center;gap:6px}.audioTools #speed{font:13px ui-monospace,monospace;border:0;padding:6px;color:#c8d9cc}
#keys{display:flex;flex-direction:column;align-items:flex-start;gap:3px;margin-top:15px}.keyrow{display:flex;gap:3px}.keyrow:nth-child(2){margin-left:8px}.keyrow:nth-child(3){margin-left:17px}.keyrow button{font:11px/1 ui-monospace,monospace;padding:3px 0;min-width:22px;color:#c4d4c8;border:1px solid #ffffff26;background:#ffffff0d;border-radius:3px;box-shadow:0 1px 0 #0002}.keyrow button[data-key=" "]{min-width:38px}.keyrow button:active{background:#ffb480;color:#183e33}@media(max-width:640px){.keyrow button{min-width:24px;min-height:21px}}@media(orientation:landscape) and (max-height:520px){.broadcast #keys{display:none}}

.actions #autoNext[aria-pressed="true"]{color:#ffd0a9;box-shadow:inset 0 0 0 1px #ffb48080}
.countdown{font:12px ui-monospace,monospace;min-width:2ch}
