@charset "UTF-8";
:root{font-family:"PingFang TC","Noto Sans TC",sans-serif;color:#273e35;background:#eff1e9;font-synthesis:none;--green:#285d4b;--berry:#833f55}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}body{margin:0;user-select:none;-webkit-user-select:none}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:0;color:inherit;background:none}button:disabled{cursor:default}button:focus:not(:focus-visible){outline:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #377ba4;outline-offset:4px}button:hover:not(:disabled){filter:brightness(.95)}button:active:not(:disabled){translate:0 1px}a{color:inherit}input,select,textarea{user-select:text;-webkit-user-select:text}[hidden]{display:none!important}header{height:94px;display:flex;align-items:center;justify-content:space-between;max-width:1480px;margin:auto;padding:0 48px;border-bottom:1px solid #cbd3c6}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;font-family:serif;font-size:23px;letter-spacing:2px;font-weight:700}.brand small{display:block;font:9px sans-serif;letter-spacing:2.3px;margin-top:7px}.brandmark{font-size:43px;width:50px;height:53px;border:1px solid #839b89;border-radius:45% 45% 9px 9px;text-align:center;line-height:50px;background:#e1e7d9}nav{display:flex;gap:8px}nav button{font-size:13px;padding:10px 12px;border-radius:6px}nav button:last-child{border:1px solid #bdcabb}main{max-width:1480px;margin:auto;padding:25px 48px 0}.eyebrow{display:flex;justify-content:space-between;letter-spacing:2px;font-size:10px;color:#64796b}.headline{text-align:center;margin:20px 0 26px}h1{font:clamp(24px,2.8vw,40px)/1.4 Georgia,"Songti TC",serif;font-weight:600;letter-spacing:3px;margin:0}h1 em{font-style:normal;color:#7a4c56}.headline p{font-size:12px;letter-spacing:2px;color:#6a7f70;margin:10px 0}.arena{display:grid;grid-template-columns:minmax(220px,1fr) minmax(240px,.95fr) minmax(220px,1fr);gap:22px;align-items:stretch;position:relative}.player{--accent:var(--green);--wash:#dbe6d6;border-radius:120px 120px 24px 24px;padding:27px 27px 20px;background:radial-gradient(ellipse at 50% 39%,#fffaf0 0,transparent 55%),var(--wash);position:relative;border:1px solid #becfbc;box-shadow:inset 0 0 0 7px #ffffff32,0 9px 0 -6px #203e3512}.player.p1{--accent:var(--berry);--wash:#eadedc;border-color:#d5c3c1}.player-top{display:flex;align-items:center;justify-content:space-between;padding:3px 16px 0}.player-top small{font-size:9px;letter-spacing:2px;color:var(--accent)}h2{font-family:Georgia,"Songti TC",serif}.player h2{font-size:23px;letter-spacing:3px;margin:5px 0;color:var(--accent)}.score{font:52px/1 Georgia,serif;color:var(--accent);display:flex;gap:6px;align-items:center}.score small{writing-mode:vertical-rl;font-size:10px}.recorder-area{height:351px;display:flex;align-items:center;justify-content:center;position:relative;margin-top:4px;gap:14px}.pipe{width:70px;display:flex;align-items:center;flex-direction:column;filter:drop-shadow(8px 10px 4px #46362220)}.mouth{width:43px;height:53px;background:linear-gradient(90deg,#c7a272,#f5ddae 35%,#dfbf8c 75%,#ae8857);border:1px solid #a58b60;clip-path:polygon(17% 0,83% 0,100% 26%,100% 100%,0 100%,0 26%);position:relative}.mouth i{display:block;width:16px;height:18px;background:#4e4a34;margin:26px auto 0;border:3px solid #b69662;border-radius:2px 2px 8px 8px}.collar{width:58px;height:18px;background:linear-gradient(90deg,#c1a06f,#f1d9a7,#c1a06f);border:1px solid #a58b60;border-radius:8px;border-bottom-width:3px}.shaft{display:flex;flex-direction:column;align-items:center;width:49px;padding:3px 0;background:repeating-linear-gradient(92deg,transparent 0 6px,#b68d4a10 7px 8px),linear-gradient(90deg,#caa678,#f6dfb4 45%,#dfbc88);border:1px solid #b19a72}.hole{position:relative;display:flex;align-items:center;justify-content:center;width:50px;height:35px;min-height:35px;padding:0;gap:2px;flex-shrink:0}.hole i,.hole em{width:17px;height:17px;border:2px solid #6c6248;background:#fff9e4;border-radius:50%;box-shadow:inset 1px 2px 2px #3f35292b;display:block;pointer-events:none}.hole.double i{width:13px;height:13px}.hole.double em{width:10px;height:10px}.hole[aria-pressed=true] i,.hole[aria-pressed=true] em{background:#202820;border-color:#202820;box-shadow:inset 2px 2px 0 #ffffff28}.hole b{position:absolute;left:62px;font-weight:500;font-size:10px;color:#596b5b;pointer-events:none}.hole:not(:disabled):hover i,.hole:not(:disabled):hover em{border-color:var(--accent)}.bell{height:23px;width:66px;background:linear-gradient(90deg,#c7a272,#f5ddae 35%,#dfbf8c 75%,#ae8857);clip-path:polygon(15% 0,85% 0,86% 65%,100% 90%,100% 100%,0 100%,0 90%,14% 65%);border-bottom:3px solid #a58b60}.rear{width:50px;align-self:flex-start;margin-top:84px;display:flex;flex-direction:column;align-items:center;position:relative}.rear>span{font-size:10px;letter-spacing:1px;color:#66735d}.rear small{font-size:9px;white-space:nowrap;color:#66735d;margin-top:9px}.thumb{height:48px;min-height:48px;border:1px dashed #a4ad92;border-radius:28px;margin-top:4px;background:#faf7eb66}.thumb b{left:-12px}.thumb i{width:22px;height:22px}.hands{position:absolute;right:calc(50% - 92px);top:96px;display:flex;flex-direction:column;gap:43px;font-size:9px;color:#87907c;line-height:1.8}.player-message{min-height:36px;text-align:center;font-size:12px;color:var(--accent);padding:7px 0}.player-actions{display:flex;gap:8px}.clear{padding:12px;border:1px solid #7b8f7c;border-radius:7px;font-size:12px}.submit{background:var(--accent);color:#fff9ed;flex:1;border-radius:7px;font-size:15px;font-weight:600;padding:14px 10px;box-shadow:0 3px 0 #0002;display:flex;justify-content:space-around}.submit:disabled{opacity:.65}.conductor{text-align:center;display:flex;align-items:center;flex-direction:column;padding-top:4px;position:relative}.timer{width:104px;height:104px;position:relative}.timer svg{width:100%;height:100%;rotate:-90deg}.timer circle{fill:none;stroke:#d5ddcf;stroke-width:2}.timer #clock-ring{stroke:#6a8c70;stroke-width:4;stroke-dasharray:276.46;stroke-linecap:round}.timer>div{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.timer strong{font:40px/1 Georgia,serif;font-variant-numeric:tabular-nums}.timer small{font-size:9px;margin-top:4px;color:#71806c}.question-label{font-size:11px;letter-spacing:2px;color:#71806c;margin:15px 0 0}.staff{width:100%;max-height:180px;color:#253e34;overflow:visible}#score-paper{width:100%;max-width:360px}.note-label{font:20px Georgia,"Songti TC",serif;min-height:28px;letter-spacing:1px}.center-status{font-size:12px;line-height:1.8;min-height:42px;margin:10px 0;color:#61765f}.start,.primary{background:#294e3f;color:#fffdf2;border-radius:7px;padding:15px 23px;font-weight:600;font-size:15px;box-shadow:0 3px 0 #1c392329}.start{width:80%;display:flex;justify-content:space-between;align-items:center}.pause{padding:8px 20px;border-bottom:1px solid #8fa389;font-size:12px;min-height:40px}.instrument-tag{font-size:10px;letter-spacing:.5px;margin-top:15px;color:#72806c}.mini-bird{position:relative;width:46px;height:35px;margin-top:20px;background:#7c947b;border-radius:60% 50% 48% 48%;rotate:-5deg;animation:bob 3s ease-in-out infinite}.mini-bird:before{content:'';position:absolute;right:-9px;top:10px;border-left:12px solid #d4af69;border-top:4px solid transparent;border-bottom:4px solid transparent}.mini-bird i{position:absolute;right:10px;top:9px;width:4px;height:4px;border-radius:50%;background:#243c2e}.mini-bird b{position:absolute;width:21px;height:12px;top:16px;left:7px;border-radius:80% 10% 80% 10%;background:#aabea0}.mini-bird span{position:absolute;top:-21px;right:-13px;color:#819873}.caption{font-size:9px;color:#8a9580;margin-top:9px}footer{display:flex;justify-content:space-between;gap:15px;padding:20px 0;font-size:10px;color:#75836d;line-height:1.8}dialog{background:#f8f6ed;color:#2c4538;border:1px solid #c9d2c0;border-radius:18px;width:min(650px,calc(100% - 30px));max-height:calc(100dvh - 36px);padding:35px;box-shadow:0 30px 100px #142d3633}dialog::backdrop{background:#183a304a;backdrop-filter:blur(6px)}dialog h2{font-size:28px;margin:8px 0 22px;line-height:1.5}dialog p,dialog li{font-size:14px;line-height:1.9}dialog li{margin-bottom:10px}dialog a{font-size:12px;display:block;margin-bottom:24px}dialog button{min-height:44px}dialog .kicker{font-size:9px;letter-spacing:3px;color:#78866f}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid label{font-size:12px;font-weight:600}.form-grid select{display:block;width:100%;border:1px solid #8eaa8b;border-radius:6px;padding:12px 8px;background:#fffcf4;margin-top:8px;color:#294e3f}fieldset{border:0;padding:0;margin:24px 0}legend{font-size:12px;font-weight:600;margin-bottom:12px}#note-picker{display:flex;flex-wrap:wrap;gap:9px}.note-choice{display:flex;align-items:center;gap:5px;border:1px solid #b8c6ab;padding:8px 9px;border-radius:4px;font-size:13px;background:#fffdf6}input[type=checkbox]{accent-color:#305d49;width:17px;height:17px}.check{display:flex;align-items:center;gap:9px;font-size:12px}.form-note{color:#6d7d64;font-size:11px!important}.dialog-actions{display:flex;justify-content:space-between;gap:10px;margin:22px 0 12px}.dialog-actions>button:first-child{border:1px solid #a8b59f;padding:10px 14px;border-radius:6px}form>small{font-size:10px;color:#718169}#config-error{color:#8e354d}.result-scores{display:flex;justify-content:space-evenly;background:#e4e9dc;padding:20px;border-radius:12px;text-align:center}.result-scores strong{display:block;font:52px Georgia,serif;margin:10px}.result-scores small{display:block;font-size:11px}.table-wrap{max-height:190px;overflow:auto}table{border-collapse:collapse;font-size:12px;width:100%;text-align:left}th,td{padding:9px;border-bottom:1px solid #d4dbca}h3{font-size:16px;margin-top:25px}@keyframes bob{50%{translate:0 -4px;rotate:4deg}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}@media(min-width:1450px){.arena{gap:40px}.recorder-area{height:390px}.shaft .hole{height:40px}.player{padding-bottom:25px}}@media(max-width:850px){header{padding:0 20px;height:80px}nav{gap:0}nav button{padding:9px 6px;font-size:11px}main{padding:18px 20px 0}.arena{gap:12px;grid-template-columns:1fr .9fr 1fr}.player{padding:20px 12px 15px;border-radius:80px 80px 18px 18px}.player-top{padding:3px 4px}.player h2{font-size:18px}.score{font-size:38px}.recorder-area{gap:4px}.hands{display:none}.hole b{left:50px}.center-status{font-size:11px}.start{font-size:13px;padding:13px;width:95%}.instrument-tag{font-size:9px}.caption{display:none}.submit{font-size:13px}.clear{padding:9px}}
@media(max-width:600px){header{height:72px;padding:0 14px}.brand{font-size:18px;letter-spacing:1px;gap:7px}.brand small{font-size:6px;letter-spacing:1px}.brandmark{width:32px;height:39px;font-size:30px;line-height:36px}nav{max-width:195px;flex-wrap:wrap;justify-content:flex-end;gap:0 3px}nav button{font-size:10px;padding:6px 7px}main{padding:14px 12px 0}.eyebrow{font-size:8px;letter-spacing:1px}.headline{margin:15px 0 12px}h1{font-size:24px;letter-spacing:1px}.headline p{font-size:9px;letter-spacing:0;margin-top:6px}.arena{grid-template-columns:1fr 1fr;gap:12px}.conductor{grid-column:1/3;grid-row:1;display:grid;grid-template-columns:70px 1fr 82px;grid-template-rows:22px 75px 28px;gap:0 7px;align-items:center;padding:9px 10px 10px;border-top:1px solid #c3ceba;border-bottom:1px solid #c3ceba;margin-bottom:0}.timer{grid-column:1;grid-row:1/4;width:66px;height:66px}.timer strong{font-size:27px}.timer small{font-size:7px}.question-label{grid-column:2;grid-row:1;font-size:9px;margin:0;letter-spacing:1px}#score-paper{grid-column:2;grid-row:2;justify-self:center;width:155px;height:83px}.staff{height:83px}.note-label{grid-column:2;grid-row:3;font-size:12px;min-height:auto}.center-status{grid-column:1/4;grid-row:4;font-size:9px;min-height:17px;margin:3px 0 0}.start,.pause{grid-column:3;grid-row:2;font-size:11px;padding:10px 8px;width:80px;display:block}.start span{display:none}.instrument-tag{grid-column:1/4;grid-row:5;margin-top:5px;font-size:8px}.mini-bird,.caption{display:none}.player{padding:15px 10px 12px;border-radius:65px 65px 16px 16px;min-width:0}.player-top{padding:0 6px}.player-top small{font-size:7px;letter-spacing:1px}.player h2{font-size:18px;letter-spacing:1px}.score{font-size:34px}.score small{font-size:8px}.recorder-area{height:327px;gap:3px;margin-top:0}.pipe{width:58px}.rear{width:42px;margin-top:82px}.rear small{font-size:8px}.hole{width:44px;height:33px;min-height:33px}.hole b{left:46px;font-size:9px}.thumb{height:44px;min-height:44px;width:42px}.thumb b{left:-8px}.player-message{font-size:10px;min-height:40px;padding-top:4px;line-height:1.5}.player-actions{gap:5px}.submit{font-size:12px;padding:12px 5px}.submit span{display:none}.clear{font-size:11px;padding:9px 7px}footer{font-size:8px;padding:12px 0;display:block;text-align:center}footer span{display:block}dialog{padding:22px}dialog h2{font-size:23px}.form-grid{gap:12px}.form-grid label{font-size:11px}.form-grid select{font-size:12px;padding:10px 5px}.dialog-actions .primary{padding:12px;font-size:12px}}
@media(max-height:650px) and (min-width:601px){header{height:60px}.headline{margin:9px 0}.headline h1{font-size:23px}.headline p{display:none}main{padding-top:12px}.recorder-area{height:292px}.shaft .hole{height:29px;min-height:29px}.mouth{height:40px}.mouth i{margin-top:17px}.rear{margin-top:67px}.player{padding:17px 16px 12px}.player-top{padding:0}.score{font-size:35px}.timer{width:72px;height:72px}.timer strong{font-size:28px}.staff{max-height:120px}.mini-bird,.caption{display:none}.center-status{margin:7px 0}.question-label{margin-top:8px}.player-message{min-height:25px;font-size:10px}.submit{padding:10px}.headline{margin-bottom:12px}footer{padding:10px 0}}
@media(max-width:600px){header{height:64px}.headline{margin:11px 0 9px}.headline h1{font-size:22px}.conductor{grid-template-rows:20px 65px 22px;padding:5px 9px 6px}.staff{height:73px}#score-paper{height:73px;width:145px}.center-status{line-height:1.5;min-height:14px}.instrument-tag{margin-top:3px}.player{padding-top:12px}.recorder-area{height:300px}.mouth{height:36px}.mouth i{margin-top:15px;height:15px}.collar{height:12px}.bell{height:16px}.rear{margin-top:62px}.player-message{min-height:30px}.player-top small{font-size:7px}footer{padding:9px 0;line-height:1.5}}
@media(max-height:500px) and (min-width:601px){header{height:43px;padding:0 18px}.brand{font-size:16px}.brandmark{font-size:27px;width:28px;height:32px;line-height:30px}.brand small{font-size:6px;margin-top:3px}main{padding:7px 18px 0}.eyebrow,.headline{display:none}.arena{gap:18px}.player{padding:9px 15px;border-radius:45px 45px 12px 12px}.player h2{font-size:17px;margin:2px 0}.player-top small{font-size:7px}.score{font-size:28px}.recorder-area{height:213px;margin:0}.mouth{height:25px;width:35px}.mouth i{margin-top:9px;height:12px}.collar{height:8px;width:47px}.shaft{width:43px}.shaft .hole{height:24px;min-height:24px}.hole i{width:14px;height:14px}.hole.double i{width:12px;height:12px}.hole.double em{width:9px;height:9px}.bell{height:10px;width:56px}.rear{margin-top:28px}.rear .thumb{height:35px;min-height:35px}.hands{display:none}.player-message{font-size:9px;min-height:22px;padding:4px 0}.player-actions button{font-size:11px;padding:8px}.clear{min-width:40px}.timer{height:57px;width:57px}.timer strong{font-size:24px}.timer small{font-size:7px}.question-label{font-size:9px;margin-top:7px}.staff{height:100px}.note-label{font-size:16px;min-height:20px}.center-status{font-size:10px;min-height:30px;margin:5px 0}.instrument-tag{font-size:8px;margin-top:7px}.pause,.start{min-height:30px;padding:7px;font-size:11px}footer{padding:5px 0;font-size:8px;line-height:1.2}}
@media(max-height:500px) and (min-width:601px){footer{display:none}.arena{padding-bottom:4px}.conductor .note-label{font-size:14px;letter-spacing:0}}
@media(min-width:601px) and (min-height:501px) and (max-height:900px){header{height:80px}main{padding-top:18px}.headline{margin:14px 0 20px}.conductor .staff{max-height:135px}.conductor .timer{width:90px;height:90px}.conductor .mini-bird,.conductor .caption{display:none}.conductor .center-status{margin:7px 0;min-height:36px}.conductor .question-label{margin-top:10px}.conductor .note-label{font-size:17px}}
@media(max-height:500px) and (min-width:601px){.arena{padding-bottom:0}}
@media(min-width:601px) and (min-height:501px) and (max-height:900px){.headline{margin:8px 0 12px}.recorder-area{height:335px}.player{padding-top:22px;padding-bottom:16px}.player-message{min-height:30px}footer{padding:12px 0}}
