.violin-stage{max-width:960px;margin:28px auto;border:1px solid #634080;border-radius:24px;background:linear-gradient(140deg,#191329,#080e1e);padding:clamp(16px,3vw,32px)}.violin-stage h2{margin:0;color:#f5c842;font-family:'Righteous',sans-serif;font-size:clamp(1.8rem,5vw,2.8rem)}.stage-sub{color:#d6cee6;margin:4px 0 20px}.stage-options,.stage-stats,.stage-actions{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}.stage-options label{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:.875rem}.violin-stage button,.violin-stage select{font:inherit;color:#f0eeff;background:#2c203e;border:1px solid #8863a4;border-radius:10px;min-height:44px;padding:8px 14px}.violin-stage button{cursor:pointer}.violin-stage button:disabled{opacity:.55;cursor:default}.violin-stage :focus-visible{outline:3px solid #00f0ff;outline-offset:3px}.stage-stats{margin:20px 0 12px;color:#d9cef0;font-size:.875rem}.stage-stats b{color:#00f0ff}.stage-track{position:relative;height:300px;overflow:hidden;border:1px solid #61477f;border-radius:12px 12px 0 0;background:repeating-linear-gradient(to right,transparent 0,transparent calc(20% - 1px),#ffffff18 calc(20% - 1px),#ffffff18 20%),linear-gradient(#0b1023,#281735)}.stage-track:after{content:'';position:absolute;left:0;right:0;bottom:var(--hit-line-bottom,38px);height:var(--hit-line-height,3px);background:#f5c842;box-shadow:0 0 18px #f5c842;pointer-events:none}.falling-note{position:absolute;top:0;width:20%;height:var(--note-height,28px);display:flex;align-items:center;justify-content:center;color:#0b1023;background:var(--lane-color);border:3px solid #ffffffa0;border-radius:100px;font-size:.875rem;font-weight:700;will-change:transform}.stage-keys{display:grid;grid-template-columns:repeat(5,1fr);gap:4px}.violin-stage .stage-key{border-radius:0 0 12px 12px;border-top:3px solid var(--lane-color);padding:12px 2px;touch-action:manipulation;user-select:none;background:#21182f}.stage-key b,.stage-key span{display:block}.stage-key b{color:var(--lane-color);font-size:1.3rem}.stage-key span{font-size:.875rem}.stage-key kbd{font:inherit;color:#d6cee6;font-size:.875rem}.stage-feedback{min-height:56px;margin:18px 0 8px;color:#f5c842}.stage-actions button:first-child{background:#941ac1}.stage-help{color:#d6cee6;font-size:.875rem;line-height:1.7}.violin-stage progress{width:100%;height:8px;accent-color:#00f0ff;margin-bottom:12px}.string-practice{max-width:960px;margin:32px auto}.string-practice summary{cursor:pointer;font-size:1.2rem;color:#00f0ff;padding:16px;border:1px solid #634080;border-radius:12px}.stage-track-label{position:absolute;bottom:4px;left:0;right:0;text-align:center;font-size:.875rem;color:#e2d7ec}@media(max-width:540px){.stage-track{height:260px}.stage-key span,.stage-key kbd{font-size:.75rem}.violin-stage{padding:14px}.stage-options{gap:12px}.stage-stats{gap:10px}}

/* A gold concert invitation and an original, engraved violin cabinet. */
.stage-launch{text-align:center;margin:24px 0 28px}.violin-stage .stage-start{min-height:84px;width:min(100%,460px);padding:18px 32px;border:2px solid #d6a845;border-radius:18px;background:radial-gradient(ellipse at top,#432453,#160e26 75%);color:#f5c842;font-family:'Righteous',sans-serif;font-size:clamp(1.65rem,5vw,2.5rem);letter-spacing:.08em;text-shadow:0 2px 0 #694217,0 0 25px #f5c84255;box-shadow:inset 0 0 0 4px #1a1026,inset 0 0 0 5px #bd914f66,0 0 36px #b026ff22,0 12px 30px #0005;transition:transform .2s,box-shadow .2s}.violin-stage .stage-start:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 4px #1a1026,inset 0 0 0 5px #e6c36c,0 0 40px #f5c84233,0 12px 30px #0005}.violin-stage h2{text-shadow:0 2px 0 #694217,0 0 25px #f5c84222}.violin-shell{position:relative;margin:4px -16px 0;padding:154px 18% 190px;isolation:isolate}.violin-frame{position:absolute;inset:0;width:100%;height:100%;z-index:-1;filter:drop-shadow(0 12px 20px #0009);pointer-events:none}.violin-playfield{border:1px solid #c79b5266;border-radius:14px;background:#0b0b17;box-shadow:0 0 30px #0009;overflow:hidden}.violin-playfield .stage-track{height:310px;border:0;border-radius:0;background:repeating-linear-gradient(to right,transparent 0,transparent calc(20% - 1px),#e1c69433 calc(20% - 1px),#e1c69433 20%),linear-gradient(#0a0b16ee,#25142fee)}.violin-playfield .stage-keys{gap:2px}.violin-stage .violin-playfield .stage-key{padding:10px 1px;border-radius:0;border-left:0;border-right:0;border-bottom:0}.violin-signature{position:absolute;bottom:90px;left:15%;right:15%;text-align:center;transform:rotate(-7deg);font-family:'Pirata One',Georgia,serif;font-size:clamp(2rem,5.5vw,3.6rem);line-height:1;color:#e7c58d;text-shadow:2px 2px 0 #100b16,-1px -1px 0 #966636;letter-spacing:.02em}.violin-signature span{display:block;font-size:1.1rem;margin-top:10px;color:#ad8455}.stage-actions{justify-content:center}.stage-actions button:first-child{background:#2c203e}.stage-feedback{text-align:center}@media(max-width:600px){.violin-shell{margin:6px -12px 0;padding:110px 12% 145px}.violin-playfield .stage-track{height:270px}.violin-signature{bottom:68px;font-size:clamp(1.8rem,7vw,2.5rem)}.violin-stage .violin-playfield .stage-key span{font-size:.75rem}.violin-stage .violin-playfield .stage-key b{font-size:1.1rem}.stage-key kbd{font-size:.75rem}}@media(prefers-reduced-motion:reduce){.violin-stage .stage-start{transition:none}.violin-stage .stage-start:hover{transform:none}}

/* Keep the score with the notes, and make every tap target unmistakable. */
.violin-playfield .stage-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0;padding:10px;background:#0a0813;border-bottom:1px solid #d4ab5d77;text-align:center}.stage-stats>span{display:flex;flex-direction:column;align-items:center;padding:8px 4px;border:1px solid #a17c4666;border-radius:10px;background:linear-gradient(#33233c,#171222);font-size:.875rem;font-weight:600;color:#f0e7fa;letter-spacing:.04em}.violin-playfield .stage-stats b{font-family:'Righteous',sans-serif;font-size:clamp(1.5rem,4vw,2.2rem);line-height:1.15;color:#ffe28c;text-shadow:0 0 18px #f5c84244;font-variant-numeric:tabular-nums}.violin-stage .stage-key b.note-target{display:flex;align-items:center;justify-content:center;width:clamp(40px,5vw,64px);height:clamp(40px,5vw,64px);margin:2px auto 10px;border:3px solid var(--lane-color);border-radius:50%;background:radial-gradient(circle at 35% 25%,#ffffff20,#0d0b17 80%);box-shadow:0 0 13px color-mix(in srgb,var(--lane-color) 35%,transparent),inset 0 0 12px #ffffff15;color:var(--lane-color);font-size:clamp(1.1rem,2vw,1.5rem);transition:background .12s,box-shadow .12s,transform .12s}.stage-key:hover .note-target,.stage-key:focus-visible .note-target{background:var(--lane-color)!important;color:#100b1b!important;box-shadow:0 0 22px var(--lane-color)!important}.stage-key:active .note-target{transform:scale(.91)}.stage-options{margin:16px 0 24px;padding:20px 16px;border:1px solid #634080;border-radius:14px;background:#0e0b1a}.stage-options label{font-size:1rem}.stage-options input{width:20px;height:20px;accent-color:#f5c842}.violin-shell{padding-top:174px}.stage-actions{margin-bottom:20px}@media(max-width:600px){.violin-playfield .stage-stats{padding:6px;gap:4px}.stage-stats>span{padding:7px 2px;font-size:.75rem}.violin-playfield .stage-stats b{font-size:1.55rem}.violin-stage .stage-key b.note-target{width:40px;height:40px;border-width:2px}.stage-options{padding:16px;align-items:stretch;gap:16px}.stage-options label{justify-content:space-between;width:100%}.stage-options select{max-width:77%}.stage-options label:last-child{justify-content:flex-start}.violin-shell{padding-top:120px}}@media(prefers-reduced-motion:reduce){.violin-stage .stage-key b.note-target{transition:none}}

.violin-stage .violin-playfield .stage-key{padding:12px 1px}.violin-stage .stage-key b.note-target{margin:2px auto}

.stage-options{justify-content:flex-start}.stage-options label:first-child{flex-basis:100%}.stage-options label:first-child select{max-width:100%}.falling-note.note-forfeited{background:#ffb36b!important;color:#241209;border-style:dashed;box-shadow:none}
