/* All player styling is scoped, leaving the existing tutorial player untouched. */
.wt-player{--wt-ink:#18324c;--wt-muted:#475f75;--wt-line:#c6d5e4;--wt-orange:#ff7928;box-sizing:border-box;max-width:1080px;min-width:0;margin:24px 0 32px;padding:20px;border:1px solid var(--wt-line);border-radius:18px;background:#fff;color:var(--wt-ink);font-family:inherit;line-height:1.55;box-shadow:0 8px 28px #12334d08}
.wt-player *{box-sizing:border-box}
.wt-player [hidden]{display:none!important}
.wt-player .wt-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;margin:0 0 10px}
.wt-player .wt-kind{font-size:.8rem;font-weight:700;letter-spacing:.025em;color:var(--wt-muted)}
.wt-player .wt-counter{font-size:.9rem;font-weight:750;color:var(--wt-ink)}
.wt-player .wt-progress{display:block;width:100%;height:7px;margin:0;border:0;border-radius:100px;overflow:hidden;accent-color:#125cc8;background:#e6edf5}
.wt-player .wt-progress::-webkit-progress-bar{background:#e6edf5;border-radius:100px}
.wt-player .wt-progress::-webkit-progress-value{background:#125cc8;border-radius:100px}
.wt-player .wt-progress::-moz-progress-bar{background:#125cc8;border-radius:100px}
.wt-player .wt-notice{margin:14px 0 18px;font-size:.85rem;line-height:1.6;color:var(--wt-muted)}
.wt-player .wt-tip{margin:0 0 18px;padding:14px 17px;border-left:4px solid var(--wt-orange);border-radius:0 10px 10px 0;background:#fff6ee}
.wt-player .wt-title{margin:0 0 6px!important;padding:0;font-size:1.12rem!important;line-height:1.4;font-weight:750;letter-spacing:-.01em;color:var(--wt-ink);scroll-margin-top:110px}
.wt-player .wt-title:focus{outline:2px solid #125cc8;outline-offset:5px;border-radius:2px}
.wt-player .wt-hint,.wt-player .wt-skipped{margin:0;font-size:.94rem;line-height:1.6;color:var(--wt-ink)}
.wt-player .wt-skipped{margin-top:10px;font-weight:650}
.wt-player .wt-complete{border-color:#19734b;background:#eef8f2}
.wt-player .wt-frame{position:relative;min-width:0;overflow:hidden;border:1px solid #b7c9da;border-radius:11px;background:#eaf0f7;isolation:isolate}
.wt-player .wt-frame[aria-busy="true"]{min-height:100px}
.wt-player .wt-image{display:block;width:100%;max-width:none;height:auto;min-height:1px;margin:0;border:0;border-radius:0;user-select:none;-webkit-user-select:none;color:var(--wt-ink);font-size:.9rem}
.wt-player .wt-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:0;padding:10px 14px;border:1px solid #9eb3c7;border-radius:9px;background:#fff;color:var(--wt-ink);font-family:inherit;font-size:.85rem;font-weight:650;line-height:1.35;text-align:center;text-decoration:none;text-transform:none;letter-spacing:normal;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.wt-player .wt-button:hover:not(:disabled){border-color:#376d9a;background:#eef5fc;color:#163e62}
.wt-player .wt-button:focus-visible{outline:3px solid #125cc8;outline-offset:3px;box-shadow:0 0 0 2px #fff}
.wt-player .wt-button:disabled{color:#607184;background:#f3f5f7;border-color:#c8d2dc;cursor:not-allowed}
.wt-player .wt-target{position:absolute;z-index:2;display:grid;place-items:center;min-width:0;min-height:0;margin:0;padding:0;transform:translate(-50%,-50%);border:3px solid var(--wt-orange);border-radius:9px;background:#ff792829;box-shadow:0 0 0 2px #fff,0 0 0 4px #a23c00;animation:wt-pulse 1.8s ease-out infinite;cursor:pointer;touch-action:manipulation}
.wt-player .wt-target:hover:not(:disabled){border-color:#ff7928;background:#ff79284d}
.wt-player .wt-target:focus-visible{outline:3px solid #125cc8;outline-offset:4px;box-shadow:0 0 0 2px #fff;animation:none}
.wt-player.wt-motion-paused .wt-target{animation:none}
.wt-player .wt-target-number{display:grid;place-items:center;width:25px;height:25px;border:1px solid #7d2d00;border-radius:50%;background:#ff994f;color:#241409;font:800 13px/1 system-ui,sans-serif;text-shadow:none;pointer-events:none}
.wt-player .wt-wrong{border-color:#a9430c}
.wt-player .wt-status{min-height:1.5em;margin:10px 0;font-size:.85rem;line-height:1.5;color:#843600;overflow-wrap:anywhere}
.wt-player .wt-controls{display:flex;flex-wrap:wrap;align-items:stretch;gap:8px}
.wt-player .wt-skip{border-style:dashed}
.wt-player .wt-keyboard{margin:14px 0 0;font-size:.8rem;line-height:1.65;color:var(--wt-muted)}
.wt-player .wt-speech{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:16px 0 0;padding-top:16px;border-top:1px solid #dae3ec}
.wt-player .wt-speech-note{flex:1 1 220px;margin:0;font-size:.78rem;line-height:1.6;color:var(--wt-muted)}
.wt-player .wt-read[aria-pressed="true"]{border-color:#125cc8;background:#e9f2ff;color:#123c72}
.wt-error{padding:16px;border:1px solid #c6d5e4;border-radius:10px;background:#fff;color:#18324c;line-height:1.6}
@keyframes wt-pulse{0%,100%{box-shadow:0 0 0 2px #fff,0 0 0 4px #a23c00,0 0 0 4px #ff792866}75%{box-shadow:0 0 0 2px #fff,0 0 0 4px #a23c00,0 0 0 15px #ff792800}}
@media(max-width:540px){.wt-player{padding:14px 12px;border-radius:13px}.wt-player .wt-tip{padding:12px}.wt-player .wt-top{align-items:flex-start;gap:4px 12px}.wt-player .wt-kind{flex-basis:100%}.wt-player .wt-title{font-size:1rem!important}.wt-player .wt-hint,.wt-player .wt-skipped{font-size:.88rem}.wt-player .wt-button{padding:10px 11px;font-size:.8rem}.wt-player .wt-target{padding:0;border-width:2px;border-radius:7px}.wt-player .wt-frame{border-radius:8px}.wt-player .wt-speech{gap:10px}.wt-player .wt-speech-note{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.wt-player .wt-target{animation:none}.wt-player *{scroll-behavior:auto!important}}
@media(forced-colors:active){.wt-player .wt-target{border:3px solid Highlight;outline:2px solid CanvasText;animation:none}.wt-player .wt-target-number{border:1px solid ButtonText;background:ButtonFace;color:ButtonText}.wt-player .wt-progress{forced-color-adjust:auto}}
@media print{.wt-player{break-inside:avoid;box-shadow:none}.wt-player .wt-controls,.wt-player .wt-keyboard,.wt-player .wt-speech,.wt-player .wt-status{display:none}.wt-player .wt-target{animation:none}.wt-player .wt-frame{max-height:none}}
