/* A guided first-use journey; optional controls live in the settings dialog. */
.play-along-page { background: #f3f5f0; color: #223c36; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.play-along-page [hidden] { display: none !important; }
.play-along-page .pa-main { max-width: 1040px; }
.play-along-page .pa-workspace { position: relative; min-width: 0; border: 0; background: transparent; }
.play-along-page .pa-screen, .play-along-page .pa-stage { display: none; }
.play-along-page [data-screen="scale"] .pa-scale-screen,
.play-along-page [data-screen="choose"] .pa-choose-screen,
.play-along-page [data-screen="ready"] .pa-ready-screen,
.play-along-page [data-screen="mic"] .pa-mic-screen,
.play-along-page [data-screen="review"] .pa-summary-screen { display: block; }
.play-along-page h1, .play-along-page h2, .play-along-page h3 { font-family: inherit; color: inherit; }
.play-along-page button, .play-along-page select, .play-along-page input { font: inherit; }
.play-along-page button, .play-along-page select, .play-along-page input[type="number"] { min-height: 48px; }
.play-along-page .button, .play-along-page .play-toggle { border-radius: 10px; padding: 13px 22px; min-height: 54px; font-size: 16px; font-weight: 600; line-height: 1.4; justify-content: center; }
.play-along-page .play-toggle { background: #176d5a; border: 1px solid #176d5a; color: #fff; box-shadow: 0 3px 0 #105243; }
.play-along-page .play-toggle:hover:not(:disabled) { background: #105f4d; }
.play-along-page .button { background: white; border: 1px solid #ccd8d0; color: #2e5145; }
.play-along-page .button:hover:not(:disabled) { background: #f0f6f1; }
.play-along-page .text-button { color: #426e5e; font-size: 14px; min-height: 44px; text-decoration: none; }
.play-along-page .text-button:hover { text-decoration: underline; }
.play-along-page button:disabled { opacity: .5; cursor: default; box-shadow: none; }
.play-along-page :focus-visible { outline: 3px solid #ddad43; outline-offset: 4px; }
.play-along-page h1:focus { outline: none; }
.play-along-page .pa-steps { display: flex; justify-content: center; gap: 38px; list-style: none; margin: 32px 0 46px; padding: 0; color: #77897d; font-size: 13px; }
.play-along-page .pa-steps li { display: flex; align-items: center; gap: 9px; }
.play-along-page .pa-steps li > span { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #c7d3c8; border-radius: 50%; font-size: 12px; }
.play-along-page .pa-steps [aria-current="step"] { color: #1a6251; font-weight: 650; }
.play-along-page .pa-steps [aria-current="step"] > span { background: #1a6251; color: white; border-color: #1a6251; }
.play-along-page .pa-screen { margin: 0 auto; padding-bottom: 28px; }
.play-along-page .pa-scale-card { max-width: 520px; margin: 0 auto; padding: 32px; background: #fcfefb; border: 1px solid #c8d9ca; border-radius: 22px; text-align: center; }
.play-along-page .pa-scale-card > .pa-card-label { margin: 0; }
.play-along-page .pa-scale-card h1 { font-size: clamp(28px, 4vw, 37px); line-height: 1.15; letter-spacing: -1.2px; margin: 12px 0 18px; }
.play-along-page .pa-scale-card .pa-lead { font-size: 15px; margin-bottom: 22px; }
.play-along-page .pa-scale-card .field { text-align: left; margin-bottom: 0; }
.play-along-page .pa-scale-card .field label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; }
.play-along-page .pa-scale-card select, .play-along-page .pa-source-sa select { width: 100%; min-height: 50px; padding: 10px; border: 1px solid #bdcfc0; border-radius: 8px; background: white; color: #294b3d; }
.play-along-page .pa-scale-card .field-hint { font-size: 12px; line-height: 1.6; }
.play-along-page .pa-find-scale { font-size: 13px; text-decoration: underline; }
.play-along-page #paScaleContinue { width: 100%; }
.play-along-page .pa-scale-finder { background: #eef5eb; border: 1px solid #cbddc9; border-radius: 12px; padding: 18px; margin: 8px 0 18px; }
.play-along-page .pa-scale-finder h2 { font-size: 20px; margin: 0 0 10px; }
.play-along-page .pa-scale-finder p { font-size: 13px; line-height: 1.6; margin: 10px 0; }
.play-along-page .pa-scale-finder progress { width: 100%; height: 12px; accent-color: #237759; }
.play-along-page .pa-scale-finder .pa-found-note { font-size: 24px; color: #1d644e; font-weight: 650; }
.play-along-page .pa-change-scale { display: block; margin: -15px auto 18px; }
.play-along-page .pa-ready-links { display: flex; justify-content: center; gap: 20px; margin: 10px 0; }
.play-along-page .pa-ready-links .pa-options-link { margin: 0; }
.play-along-page .pa-source-sa { border: 1px solid #d4dfc9; background: #f1f5e8; border-radius: 12px; text-align: left; padding: 18px; margin: 0 0 22px; }
.play-along-page .pa-source-sa label { font-size: 15px; font-weight: 600; }
.play-along-page .pa-source-sa .field-hint { font-size: 12px; line-height: 1.6; }
.play-along-page .pa-choose-screen > h1 { max-width: 750px; font-size: clamp(34px, 5vw, 52px); letter-spacing: -1.9px; line-height: 1.12; margin: 0 auto 18px; text-align: center; }
.play-along-page .pa-eyebrow { text-align: center; font-size: 11px; font-weight: 650; letter-spacing: 1.5px; color: #64826f; margin: 0 0 14px; }
.play-along-page .pa-lead { font-size: 17px; line-height: 1.65; color: #62756a; max-width: 540px; margin: 0 auto 28px; }
.play-along-page .pa-choose-screen > .pa-lead { text-align: center; }
.play-along-page .pa-tune-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 32px auto 18px; max-width: 870px; }
.play-along-page .pa-tune-card { padding: 28px; border: 1px solid #dbe3d8; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px #193c2410; }
.play-along-page .pa-tune-card.pa-recommended { border-color: #93b9a0; background: #fcfefb; }
.play-along-page .pa-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; color: #6c7f72; }
.play-along-page .pa-card-label { display: inline-block; font-size: 10px; color: #31745c; letter-spacing: 1px; font-weight: 750; }
.play-along-page .pa-card-top .pa-card-label { background: #e5f2e8; padding: 6px 8px; border-radius: 5px; }
.play-along-page .pa-tune-art { display: flex; align-items: center; justify-content: center; gap: 8px; height: 115px; color: #366751; }
.play-along-page .pa-tune-art > span { display: grid; place-items: center; border-radius: 12px; background: #e4efe4; width: 49px; height: 42px; font-size: 15px; font-weight: 650; }
.play-along-page .pa-tune-art > span:nth-child(2), .play-along-page .pa-tune-art > span:nth-child(4) { transform: translateY(-12px); }
.play-along-page .pa-tune-art > span:nth-child(3) { transform: translateY(-25px); background: #cde4d2; }
.play-along-page .pa-hold-art { gap: 14px; }
.play-along-page .pa-hold-art > span { width: 117px; font-size: 16px; }
.play-along-page .pa-tune-card h2 { margin: 0 0 10px; font-size: 24px; letter-spacing: -.6px; }
.play-along-page .pa-tune-card p { color: #687b6d; font-size: 14px; line-height: 1.65; min-height: 47px; margin: 0 0 24px; }
.play-along-page .pa-tune-card .button, .play-along-page .pa-tune-card .play-toggle { width: 100%; }
.play-along-page .pa-source { text-align: center; padding: 20px 0 0; }
.play-along-page .pa-source .section-title { font-size: 13px; font-weight: 400; color: #6f7f72; margin: 0 0 7px; }
.play-along-page .pa-source .file-button { font-size: 14px; min-height: 44px; padding: 8px 17px; background: transparent; }
.play-along-page .pa-source .field-hint { font-size: 11px; margin: 8px 0 0; }
.play-along-page .pa-source .pa-starter { display: none; }
.play-along-page .pa-file-name { font-size: 12px; color: #69816e; overflow-wrap: anywhere; }
.play-along-page .pa-file-name:empty { display: none; }
.play-along-page .pa-dropzone.dragover { outline: 2px dashed #3d8767; background: #e7f3e7; border-radius: 10px; }
.play-along-page .pa-privacy, .play-along-page .pa-small-copy { font-size: 12px; color: #718273; line-height: 1.65; }
.play-along-page .pa-privacy { text-align: center; margin: 28px 0 0; }
.play-along-page .pa-learning-link { text-align: center; color: #6e7e70; font-size: 13px; padding-bottom: 24px; }
.play-along-page .pa-ready-screen, .play-along-page .pa-mic-screen, .play-along-page .pa-summary-screen { max-width: 710px; }
.play-along-page .pa-ready-card, .play-along-page .pa-mic-card { background: #fff; border: 1px solid #dde4d9; border-radius: 24px; padding: 38px 44px; text-align: center; margin-top: 12px; }
.play-along-page .pa-ready-card h1, .play-along-page .pa-mic-card h1 { font-size: 37px; letter-spacing: -1.1px; line-height: 1.2; margin: 14px 0; }
.play-along-page .pa-ready-card .pa-lead, .play-along-page .pa-mic-card .pa-lead { font-size: 16px; margin-bottom: 25px; }
.play-along-page .pa-how-to { position: relative; height: 120px; background: #163238; border-radius: 13px; overflow: hidden; margin: 0 0 21px; }
.play-along-page .pa-how-line { position: absolute; left: 26%; top: 17px; bottom: 26px; width: 3px; background: #f6d47e; box-shadow: 0 0 15px #f6d47e44; }
.play-along-page .pa-how-line > span { position: absolute; bottom: -17px; left: -28px; width: 60px; font-size: 8px; letter-spacing: .8px; color: #f6d47e; }
.play-along-page .pa-demo-note { position: absolute; left: 29%; top: 49px; height: 31px; padding: 4px 13px; width: 55px; border-radius: 10px; background: #a7d3dc; color: #13383e; font-size: 16px; font-weight: 700; }
.play-along-page .pa-demo-long { left: 57%; top: 24px; width: 110px; }
.play-along-page .pa-demo-direction { position: absolute; right: 15px; bottom: 12px; color: #91b4b4; font-size: 10px; }
.play-along-page .pa-simple-instruction { color: #586f60; font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
.play-along-page .pa-ready-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.play-along-page .pa-ready-actions button { flex: 1; min-width: 180px; }
.play-along-page .pa-options-link { display: block; margin: 12px auto 0; }
.play-along-page .pa-mic-card .field { text-align: left; margin: 26px auto 20px; max-width: 370px; }
.play-along-page .field > label { display: block; font-size: 14px; font-weight: 600; color: #365243; margin-bottom: 8px; }
.play-along-page select, .play-along-page input[type="number"] { width: 100%; border: 1px solid #cbd7cd; border-radius: 8px; background: #fff; color: #2d493a; padding: 10px 12px; }
.play-along-page .field-hint { font-size: 12px; color: #6f8172; line-height: 1.7; }
.play-along-page .pa-mic-readiness { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; font-size: 13px; color: #4f6e59; }
.play-along-page .pa-mic-dot { width: 9px; height: 9px; border-radius: 50%; background: #a8b7aa; }
.play-along-page .pa-mic-dot[data-ready="true"] { background: #258b58; }
.play-along-page .pa-mic-readiness meter { width: 100%; height: 9px; }
.play-along-page #paMicAction, .play-along-page .pa-follow-button { display: block; width: 100%; max-width: 370px; margin: 16px auto 0; }
.play-along-page .pa-follow-button { background: transparent; box-shadow: none; font-weight: 400; font-size: 14px; }
.play-along-page #paAppError { position: relative; z-index: 90; margin: 12px; padding: 16px; font-size: 14px; background: #fff1d6; border: 1px solid #d6bb7c; color: #69481e; border-radius: 8px; }
.play-along-page .pa-workspace.pa-busy { cursor: progress; }
/* The performance surface fills the screen automatically. Native fullscreen is optional. */
.play-along-page :is([data-screen="play"], [data-screen="pause"]) { position: fixed; inset: 0; z-index: 50; width: 100%; height: 100dvh; max-width: none; overflow: hidden; background: #10272c; color: #eff7f3; }
.play-along-page :is([data-screen="play"], [data-screen="pause"]) .pa-stage { display: flex; flex-direction: column; height: 100%; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
.play-along-page.pa-in-play { overflow: hidden; }
.play-along-page.pa-in-play .site-header, .play-along-page.pa-in-play .footer, .play-along-page.pa-in-play .pa-learning-link, .play-along-page.pa-in-play .pa-steps { display: none; }
.play-along-page .pa-game-header { display: flex; align-items: center; gap: 20px; padding: 18px 30px; min-height: 85px; border-bottom: 1px solid #294347; }
.play-along-page .pa-game-header > div { flex: 1; min-width: 0; }
.play-along-page .pa-game-header h1 { color: #e5f3ee; font-size: 19px; letter-spacing: -.4px; margin: 4px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.play-along-page .pa-game-mode { color: #89afa4; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; }
.play-along-page .pa-icon-button { width: 46px; height: 46px; min-height: 46px; border: 1px solid #d8e1d8; background: transparent; border-radius: 10px; color: inherit; font-size: 24px; display: grid; place-items: center; flex-shrink: 0; cursor: pointer; }
.play-along-page .pa-game-header .pa-icon-button, .play-along-page .pa-game-bottom .pa-icon-button { border-color: #395457; color: #d3e8df; }
.play-along-page .pa-stage-badge { font-size: 12px; border-radius: 20px; padding: 8px 13px; background: #1d3c3e; color: #a6d3c2; white-space: nowrap; }
.play-along-page #paModePanel { flex: 1; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; min-height: 0; padding: 0 34px 12px; }
.play-along-page .pa-game-cue { display: flex; align-items: center; gap: 25px; min-height: 104px; padding: 15px 12px 4px; }
.play-along-page .pa-target { min-width: 140px; }
.play-along-page .pa-target > span, .play-along-page .pa-next-note > span { display: block; color: #94b4ad; font-size: 11px; margin-bottom: 3px; }
.play-along-page .pa-target > strong { display: block; font-size: 37px; line-height: 1.2; font-weight: 650; letter-spacing: -.7px; color: #eef7f0; }
.play-along-page .pa-feedback-cue { flex: 1; text-align: center; color: #b7d0c6; }
.play-along-page .pa-feedback-cue strong { font-weight: 500; font-size: 16px; }
.play-along-page .pa-feedback-cue[data-state="matching"] strong { color: #6fdda1; }
.play-along-page .pa-feedback-cue:is([data-state="low"],[data-state="high"],[data-state="different"],[data-state="octave"]) strong { color: #f1ca7b; }
.play-along-page .pa-next-note { min-width: 95px; text-align: right; }
.play-along-page .pa-next-note strong { font-size: 26px; color: #9fc2be; font-weight: 550; }
.play-along-page .pa-reading-hint { margin: 0 12px 16px; color: #7fa59e; font-size: 11px; }
.play-along-page .pa-performance-stage { min-width: 0; min-height: 0; height: 100%; background: linear-gradient(160deg, #112b31, #193a3c); border: 1px solid #365153; border-radius: 15px; overflow: hidden; }
.play-along-page .pa-performance-stage svg, .play-along-page .pa-review-path svg { display: block; max-width: 100%; }
.play-along-page .pa-pitch-guides line { stroke: #34514f; stroke-width: 1; }
.play-along-page .pa-pitch-guides line.is-chromatic { stroke: #274243; stroke-opacity: .55; }
.play-along-page .pa-pitch-guides line.is-tonic { stroke: #557269; }
.play-along-page .pa-pitch-guides text { fill: #a1c1b5; font: 12px system-ui, sans-serif; }
.play-along-page .pa-pitch-guides text.is-tonic { fill: #e6cd89; font-weight: 700; }
.play-along-page .pa-beat-lines { fill: none; stroke: #4d6a66; stroke-opacity: .4; stroke-dasharray: 3 8; }
.play-along-page .pa-stage-play-line { stroke: #f6d47d; filter: drop-shadow(0 0 5px #f6d47d60); }
.play-along-page .pa-play-label { fill: #e7d18e; font: 10px system-ui, sans-serif; letter-spacing: 1px; }
.play-along-page .pa-stage-note rect { fill: #98c9d6; stroke: #bddfe7; stroke-width: 1; }
.play-along-page .pa-stage-note text { fill: #17393e; font: 700 18px system-ui, sans-serif; pointer-events: none; }
.play-along-page .pa-stage-note.is-current rect { fill: #aed8e0; stroke: #ffe0a0; stroke-width: 2; filter: drop-shadow(0 0 5px #fad48130); }
.play-along-page .pa-stage-note.is-past rect { fill: #335357; stroke: #5f8180; }
.play-along-page .pa-stage-note.is-past text { fill: #b2cbc4; }
.play-along-page .pa-stage-note.is-rest rect { fill: #708c7d; fill-opacity: .065; stroke: none; }
.play-along-page .pa-stage-note.is-rest text { fill: #6d9289; font-weight: 400; font-size: 14px; }
.play-along-page .pa-onset-mark { stroke: #cce8ea; stroke-width: 1.5; }
.play-along-page .pa-stage-note.is-excluded rect { stroke-dasharray: 2 3; fill-opacity: .5; }
.play-along-page .pa-stage-note[data-result="matched"] rect { fill: #75cfa0; stroke: #a3e7bf; }
.play-along-page .pa-stage-note[data-result="matched"] text { fill: #103f2b; }
.play-along-page .pa-stage-note[data-result="needs-work"] rect { fill: #dfbb77; stroke: #edd49e; }
.play-along-page .pa-stage-note[data-result="needs-work"] text { fill: #523c1a; }
.play-along-page .pa-stage-note[data-result="unclear"] rect { fill: #3e5b59; stroke: #8ba99e; stroke-dasharray: 2 3; }
.play-along-page .pa-stage-note .pa-result-mark { font-size: 13px; }
.play-along-page .pa-stage-note.is-selected rect { stroke: #f6d47d; stroke-width: 3; }
.play-along-page .pa-pitch-trail { stroke: #d1eee2; stroke-width: 2; fill: none; stroke-linecap: round; }
.play-along-page .pa-heard-dot { fill: #edbd65; stroke: #102e30; stroke-width: 3; }
.play-along-page .pa-heard-dot[data-matching="true"] { fill: #6ce7a0; }
.play-along-page .pa-edge-cue { fill: #ffd58b; font: 11px system-ui, sans-serif; }
.play-along-page .pa-matched-coverage { fill: none; stroke: #49aa78; stroke-width: 5; }
.play-along-page .pa-unknown-coverage { fill: none; stroke: #99b3a7; stroke-width: 4; stroke-dasharray: 1 3; }
.play-along-page .pa-game-bottom { display: flex; gap: 25px; align-items: center; padding: 16px 8px 0; }
.play-along-page .pa-pause-button { min-width: 115px; color: #1c4236; background: #e3f0e6; border: 0; }
.play-along-page .pa-song-position { flex: 1; min-width: 0; }
.play-along-page .pa-overview-heading { display: flex; justify-content: space-between; color: #8bafa3; font-size: 11px; margin: 0 0 4px; font-variant-numeric: tabular-nums; }
.play-along-page #paSongOverview { width: 100%; height: 44px; display: block; background: #17383a; border-radius: 4px; cursor: pointer; touch-action: manipulation; }
.play-along-page #paSongOverview:hover { background: #23494a; }
.play-along-page #paSongOverview:focus-visible { outline: 2px solid #f1d488; outline-offset: 3px; }
.play-along-page .pa-overview-selection { fill: #203f3e; }
.play-along-page .pa-overview-activity { stroke: #577e71; stroke-width: 3; }
.play-along-page .pa-overview-playhead { stroke: #f1d488; stroke-width: 4; }
.play-along-page .pa-pause-overlay { display: none; position: absolute; inset: 0; z-index: 5; background: #061b20b8; backdrop-filter: blur(7px); padding: 24px; overflow: auto; }
.play-along-page [data-screen="pause"] .pa-pause-overlay { display: grid; place-items: center; }
.play-along-page .pa-pause-card { width: min(100%, 440px); padding: 36px; background: #fbfdf8; color: #284737; border: 1px solid #d3e3d4; border-radius: 23px; text-align: center; box-shadow: 0 15px 80px #0005; }
.play-along-page .pa-pause-card h2 { font-size: 35px; margin: 10px 0; letter-spacing: -1px; }
.play-along-page .pa-pause-card > p { font-size: 14px; line-height: 1.6; color: #6b7f6e; }
.play-along-page .pa-pause-card > .play-toggle { width: 100%; margin-top: 10px; }
.play-along-page .pa-speed-choice { display: flex; gap: 7px; margin: 24px 0 14px; }
.play-along-page .pa-speed-choice button { flex: 1; border: 1px solid #d1ded1; border-radius: 8px; background: transparent; color: #59755f; font-size: 13px; cursor: pointer; }
.play-along-page .pa-speed-choice [aria-pressed="true"] { background: #e0efdf; border-color: #9ebf9c; color: #2f6947; font-weight: 700; }
.play-along-page .pa-pause-links { display: flex; justify-content: space-between; gap: 10px; }
/* A deliberate, optional place for the existing musical tools. */
.play-along-page .pa-options { width: min(680px, calc(100vw - 32px)); max-height: min(90dvh, 900px); border: 1px solid #c7d6c7; border-radius: 18px; padding: 0 28px 28px; background: #fcfdf9; color: #2a4938; box-shadow: 0 20px 80px #0004; }
.play-along-page .pa-options::backdrop { background: #061e26b3; backdrop-filter: blur(4px); }
.play-along-page .pa-options-heading { position: sticky; top: 0; z-index: 2; background: #fcfdf9; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 0 12px; }
.play-along-page .pa-options-heading h2 { font-size: 23px; margin: 0; letter-spacing: -.5px; }
.play-along-page .pa-options .field { margin: 17px 0; }
.play-along-page .pa-options details { border-top: 1px solid #dce5d8; margin-top: 12px; }
.play-along-page .pa-options summary { min-height: 50px; padding: 16px 0; font-size: 14px; font-weight: 600; cursor: pointer; }
.play-along-page .pa-options summary span { font-size: 11px; color: #788977; font-weight: 400; margin-left: 8px; }
.play-along-page .pa-options p { font-size: 12px; line-height: 1.7; color: #6d7d6c; }
.play-along-page .pa-options .pa-paired-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.play-along-page .pa-options .pa-paired-fields .field { min-width: 0; }
.play-along-page .pa-check { display: flex; align-items: center; gap: 9px; min-height: 44px; font-size: 13px; color: #58705a; }
.play-along-page input[type="checkbox"] { width: 16px; height: 16px; accent-color: #37774f; }
.play-along-page .pa-modes { display: flex; gap: 7px; margin: 15px 0; }
.play-along-page .pa-modes button { padding: 7px 13px; border: 1px solid #c7d7c5; border-radius: 7px; color: #637b61; font-size: 12px; background: transparent; cursor: pointer; }
.play-along-page .pa-modes [aria-selected="true"] { background: #e0efdd; color: #366a3e; border-color: #8bb185; }
.play-along-page .pa-transport { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.play-along-page .pa-transport .transport-field { margin: 0; display: flex; align-items: center; gap: 10px; }
.play-along-page .pa-transport select { width: 100px; }
.play-along-page .pa-loop-handles { display: grid; grid-template-columns: 110px minmax(0,1fr); align-items: center; gap: 8px; font-size: 12px; }
.play-along-page .pa-loop-handles output { display: block; color: #70846f; }
.play-along-page input[type="range"] { width: 100%; min-height: 44px; accent-color: #558562; }
.play-along-page .pa-loop-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 15px; }
.play-along-page .pa-loop-controls .pa-check { grid-column: 1 / -1; }
.play-along-page .pa-boundary-input { display: flex; gap: 6px; }
.play-along-page .pa-boundary-input input { min-width: 0; }
.play-along-page .pa-boundary-input .button { padding: 7px 9px; font-size: 11px; }
.play-along-page .pa-loop-actions, .play-along-page .pa-octave-actions, .play-along-page .pa-mic-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.play-along-page .pa-options .button { font-size: 12px; min-height: 44px; padding: 8px 13px; }
.play-along-page .pa-meter-label { display: flex; justify-content: space-between; font-size: 12px; color: #698265; }
.play-along-page #paMicMeter { width: 100%; height: 12px; }
.play-along-page .pa-tuner { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 12px; margin: 15px 0; }
.play-along-page .pa-tuner strong { font-size: 22px; }
.play-along-page .pa-tuner > span:last-child { width: 100%; }
.play-along-page .pa-mic-error, .play-along-page .pa-warnings { background: #fbf0db; border: 1px solid #e5d2af; border-radius: 7px; color: #79613f; padding: 12px; font-size: 12px; }
.play-along-page .pa-warnings { margin: 12px auto; max-width: 600px; text-align: left; }
.play-along-page .pa-warnings ul { max-height: 180px; overflow: auto; }
.play-along-page .pa-summary-symbol { display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; width: 66px; height: 66px; background: #e6f0de; color: #4b8152; font-size: 32px; }
.play-along-page .pa-summary-score { font-size: 22px; color: #3d7752; font-weight: 650; margin-bottom: 24px; }
.play-along-page .pa-result-details { padding: 18px 0 0; }
.play-along-page .pa-result-details > summary { min-height: 48px; font-size: 13px; color: #607e60; cursor: pointer; text-align: center; }
.play-along-page .pa-review { margin-top: 16px; padding: 24px; background: #fbfdf9; border: 1px solid #d8e4d2; border-radius: 15px; }
.play-along-page .pa-review-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.play-along-page .pa-review h3 { font-size: 22px; margin: 0; }
.play-along-page .pa-review p { font-size: 12px; line-height: 1.7; color: #657a60; }
.play-along-page .pa-review .pa-stage-badge { background: #e6efdf; color: #52734b; }
.play-along-page .pa-review-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin: 20px 0; }
.play-along-page .pa-review-metrics > div { display: flex; flex-direction: column; gap: 7px; font-size: 11px; color: #66825d; }
.play-along-page .pa-review-metrics strong { font-size: 23px; color: #467141; }
.play-along-page .pa-review-metrics small { font-size: 10px; line-height: 1.5; }
.play-along-page .pa-review-path { height: 180px; background: #18383b; border-radius: 9px; overflow: hidden; }
.play-along-page .pa-review-note-controls { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; font-size: 12px; margin: 10px 0; }
.play-along-page .pa-review-note-controls button { font-size: 11px; min-height: 44px; padding: 7px 10px; }
.play-along-page .pa-review-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.play-along-page .pa-review-actions button { font-size: 13px; }
.play-along-page .pa-history-row { display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; font-size: 12px; padding: 12px 0; border-top: 1px solid #e1e9da; }
.play-along-page .pa-history-row > span:last-child { grid-column: 1 / -1; color: #74906a; }
/* Accessible score alternatives still use the same complete timeline. */
.play-along-page [data-score-view="stage"] .pa-note-details, .play-along-page [data-score-view="compact"] .pa-note-details { display: none; }
.play-along-page [data-score-view="stationary"] .pa-note-details { overflow: auto; border: 1px solid #355453; border-radius: 12px; background: #163337; padding: 24px; min-height: 0; }
.play-along-page .pa-note-details > summary { display: none; }
.play-along-page .pa-stationary-notes { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 20px; }
.play-along-page .pa-static-note { min-width: 70px; border: 1px solid #446b62; background: #234643; color: #c9e5d7; border-radius: 8px; padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; }
.play-along-page .pa-note-glyph { font-size: 24px; }
.play-along-page .pa-note-duration, .play-along-page .pa-note-result { font-size: 10px; }
.play-along-page .pa-static-note.is-current { border: 2px solid #e8d08b; }
.play-along-page .pa-static-note[data-result="matched"] { background: #3e8261; color: #e6ffea; }
.play-along-page .pa-static-note[data-result="needs-work"] { background: #98783f; color: #fff0cf; }
.play-along-page .pa-static-note.is-excluded { border-style: dashed; }
.play-along-page .pa-score-pages { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; color: #9fc2ac; }
.play-along-page .pa-score-pages button { font-size: 12px; min-height: 44px; padding: 8px 12px; }
.play-along-page .pa-ribbon { position: relative; min-height: 0; height: 100%; overflow: hidden; border-radius: 12px; background: #16363a; border: 1px solid #345655; }
.play-along-page .pa-ribbon-track { position: absolute; inset: 0; }
.play-along-page .pa-ribbon-note { position: absolute; top: 35%; height: 90px; min-width: 0; min-height: 0; padding: 8px 0; background: transparent; border: 0; border-bottom: 3px solid #68978a; color: #c7e5d5; display: flex; flex-direction: column; gap: 7px; overflow: hidden; }
.play-along-page .pa-ribbon-note.is-current { border-color: #f4d58c; color: white; }
.play-along-page .pa-ribbon-note.is-past { opacity: .6; }
.play-along-page .pa-ribbon-note[data-result="matched"] { background: #407e5d; color: #effff3; }
.play-along-page .pa-ribbon-note[data-result="needs-work"] { background: #856a3c; color: #fff1d3; }
.play-along-page .pa-ribbon-note.is-short > span { visibility: hidden; }
.play-along-page .pa-playhead { position: absolute; left: 28%; inset-block: 20px; width: 2px; background: #f4d58c; pointer-events: none; }
.play-along-page .pa-playhead span { position: absolute; bottom: 0; left: -32px; width: 70px; font-size: 10px; color: #f4d58c; }
.play-along-page .pa-score-empty { padding: 40px; color: #a7c6b0; }
@media (max-width: 650px) {
  .play-along-page .pa-steps { gap: 16px; font-size: 10px; margin: 22px 0 34px; }
  .play-along-page .pa-steps li { gap: 5px; }
  .play-along-page .pa-steps li > span { width: 23px; height: 23px; }
  .play-along-page .pa-choose-screen > h1 { font-size: 36px; letter-spacing: -1.3px; }
  .play-along-page .pa-eyebrow { font-size: 9px; letter-spacing: 1px; }
  .play-along-page .pa-lead { font-size: 15px; }
  .play-along-page .pa-tune-cards { grid-template-columns: 1fr; gap: 16px; }
  .play-along-page .pa-tune-card { padding: 23px; }
  .play-along-page .pa-tune-art { height: 85px; }
  .play-along-page .pa-tune-card p { min-height: 0; margin-bottom: 18px; }
  .play-along-page .pa-ready-card, .play-along-page .pa-mic-card { padding: 28px 22px; border-radius: 18px; }
  .play-along-page .pa-ready-card h1, .play-along-page .pa-mic-card h1 { font-size: 29px; }
  .play-along-page .pa-ready-actions { flex-direction: column; }
  .play-along-page .pa-demo-long { width: 80px; }
  .play-along-page .pa-game-header { padding: 12px 14px; gap: 12px; min-height: 73px; }
  .play-along-page .pa-game-header h1 { font-size: 16px; }
  .play-along-page .pa-game-mode { font-size: 9px; letter-spacing: .9px; }
  .play-along-page .pa-stage-badge { display: none; }
  .play-along-page #paModePanel { padding: 0 12px 12px; }
  .play-along-page .pa-game-cue { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; padding: 15px 8px 10px; }
  .play-along-page .pa-target { min-width: 0; }
  .play-along-page .pa-target > strong { font-size: 31px; }
  .play-along-page .pa-next-note { grid-column: 2; grid-row: 1; }
  .play-along-page .pa-next-note strong { font-size: 23px; }
  .play-along-page .pa-feedback-cue { grid-row: 2; grid-column: 1 / -1; text-align: left; }
  .play-along-page .pa-feedback-cue strong { font-size: 12px; }
  .play-along-page .pa-reading-hint { font-size: 10px; margin: 0 8px 12px; }
  .play-along-page .pa-game-bottom { gap: 12px; padding: 12px 4px 0; }
  .play-along-page .pa-pause-button { min-width: 85px; font-size: 14px; }
  .play-along-page .pa-pause-card { padding: 28px 22px; }
  .play-along-page .pa-options { padding: 0 20px 22px; }
  .play-along-page .pa-options .pa-paired-fields, .play-along-page .pa-loop-controls { grid-template-columns: 1fr; gap: 0; }
  .play-along-page .pa-review-metrics { grid-template-columns: 1fr 1fr; }
  .play-along-page .pa-review { padding: 18px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .play-along-page .pa-game-header { padding: 7px 20px; min-height: 61px; }
  .play-along-page .pa-game-cue { min-height: 62px; padding: 6px 8px; }
  .play-along-page .pa-target > strong { font-size: 27px; }
  .play-along-page .pa-reading-hint { display: none; }
  .play-along-page .pa-game-bottom { padding-top: 8px; }
  .play-along-page .pa-game-bottom .button { min-height: 44px; padding: 7px 15px; }
  .play-along-page .pa-pause-overlay { padding: 15px; }
  .play-along-page .pa-pause-card { max-width: 570px; padding: 18px 28px; }
  .play-along-page .pa-pause-card h2 { font-size: 28px; margin: 5px 0; }
  .play-along-page .pa-pause-card > p { margin: 8px 0; }
  .play-along-page .pa-speed-choice { margin: 14px 0 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .play-along-page *, .play-along-page *::before, .play-along-page *::after { transition: none !important; animation: none !important; }
}
.play-along-page .play-toggle::before { display: none; }
.play-along-page .pa-source .pa-file-name { display: none; }
.play-along-page .pa-game-cue { grid-row: 1; }
.play-along-page .pa-reading-hint { grid-row: 2; }
.play-along-page .pa-performance-stage, .play-along-page .pa-ribbon, .play-along-page .pa-note-details { grid-row: 3; }
.play-along-page .pa-game-bottom { grid-row: 4; }
.play-along-page .pa-review-path .pa-stage-note text { font-size: 12px; }
@media (max-height: 700px) and (min-width: 651px) {
  .play-along-page .pa-scale-card { padding: 18px 28px; }
  .play-along-page .pa-scale-card h1 { margin: 6px 0 10px; }
  .play-along-page .pa-scale-card .pa-lead { font-size: 14px; line-height: 1.5; margin-bottom: 10px; }
  .play-along-page .pa-scale-card .field-hint { font-size: 11px; margin-top: 6px; }
  .play-along-page .pa-scale-card > .pa-small-copy { font-size: 11px; margin: 8px 0; }
  .play-along-page .pa-steps { margin: 20px 0 24px; }
  .play-along-page .pa-choose-screen > h1 { font-size: 34px; margin-bottom: 12px; }
  .play-along-page .pa-choose-screen > .pa-lead { font-size: 14px; margin-bottom: 15px; }
  .play-along-page .pa-choose-screen > .pa-eyebrow { margin-bottom: 10px; }
  .play-along-page .pa-tune-cards { margin-top: 18px; }
  .play-along-page .pa-tune-card { padding: 21px; }
  .play-along-page .pa-tune-art { height: 64px; padding-top: 12px; }
  .play-along-page .pa-tune-card h2 { font-size: 21px; margin-bottom: 8px; }
  .play-along-page .pa-tune-card p { font-size: 12px; min-height: 38px; margin-bottom: 14px; }
  .play-along-page .pa-ready-card, .play-along-page .pa-mic-card { padding: 24px 32px; }
  .play-along-page .pa-ready-card h1, .play-along-page .pa-mic-card h1 { font-size: 29px; }
  .play-along-page .pa-ready-card .pa-lead { font-size: 14px; margin-bottom: 17px; }
  .play-along-page .pa-how-to { height: 93px; margin-bottom: 13px; }
  .play-along-page .pa-simple-instruction { font-size: 12px; margin-bottom: 16px; }
}
.play-along-page .pa-follow-button.play-toggle { background: #176d5a; color: #fff; border-color: #176d5a; font-size: 16px; font-weight: 600; box-shadow: 0 3px 0 #105243; }
.play-along-page .pa-feedback-setup { border: 1px solid #d8e3d4; border-radius: 10px; margin: 24px auto 18px; max-width: 440px; padding: 0 17px; text-align: left; }
.play-along-page .pa-feedback-setup > summary { min-height: 54px; padding: 16px 0; font-size: 13px; color: #4a7054; cursor: pointer; }
.play-along-page .pa-feedback-setup > summary > span { color: #899985; font-size: 10px; margin-left: 6px; }
.play-along-page .pa-feedback-setup .field { margin-top: 8px; }
.play-along-page .pa-feedback-setup #paMicAction { margin-bottom: 18px; }
.play-along-page .pa-source .file-button { width: auto; display: inline-flex; }
@media (max-height: 700px) and (min-width: 651px) {
  .play-along-page .pa-main { padding-top: 14px; }
  .play-along-page .pa-steps { margin-top: 14px; margin-bottom: 16px; }
  .play-along-page .pa-tune-art { height: 60px; }
}
