:root{color-scheme:light dark;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;line-height:1.6;background-color:#0f172a;color:#e2e8f0}body{margin:0;min-height:100vh;display:flex;justify-content:center;background:radial-gradient(circle at top,rgba(30,64,175,.35),transparent 50%),radial-gradient(circle at bottom,rgba(59,130,246,.25),transparent 60%),#020617}main{width:min(720px,92vw);background:rgba(15,23,42,.85);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:1px solid rgba(148,163,184,.2);box-shadow:0 30px 80px rgba(15,23,42,.6);border-radius:24px;padding:48px clamp(24px,6vw,56px);margin:clamp(32px,6vh,80px) auto;color:inherit}h1{display:flex;align-items:center;gap:12px;font-size:clamp(2rem,5vw,2.8rem);margin-top:0;margin-bottom:24px;font-weight:700;letter-spacing:-.03em}.card-grid{display:grid;grid-gap:24px;gap:24px}fieldset{border:1px solid rgba(148,163,184,.2);border-radius:18px;padding:20px 24px;margin:0}legend{padding:0 12px;font-weight:600;color:#cbd5f5}label{display:flex;flex-direction:column;gap:8px;font-size:.95rem;margin-bottom:16px}input[type=number],input[type=range],select{width:100%;background:rgba(15,23,42,.7);color:inherit;padding:12px 16px;box-sizing:border-box;border:1px solid rgba(148,163,184,.3);border-radius:12px;font-size:1rem;margin:0}input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{margin:0;-webkit-appearance:none;appearance:none}.error-input{border-color:hsla(0,91%,71%,.7);box-shadow:0 0 0 3px hsla(0,91%,71%,.15)}.error-input:focus{border-color:rgba(239,68,68,.9);box-shadow:0 0 0 3px rgba(239,68,68,.25)}button{all:unset;display:inline-flex;justify-content:center;align-items:center;gap:12px;min-width:140px;padding:14px 20px;border-radius:999px;font-weight:600;cursor:pointer;transition:transform .2s ease,background .2s ease}.primary-button{background:linear-gradient(135deg,#38bdf8,#818cf8);color:#0f172a}.primary-button:hover{transform:translateY(-1px)}.secondary-button{background:rgba(148,163,184,.15)}.secondary-button:hover{background:rgba(148,163,184,.25)}.pitch-warning-slot{min-height:56px;margin-top:12px;display:flex;align-items:center;justify-content:center}.fieldset-disabled{opacity:.65}.player-placeholder{width:100%;padding:16px;border-radius:12px;border:1px dashed rgba(148,163,184,.4);background:rgba(15,23,42,.4);text-align:center;font-size:.95rem;color:rgba(226,232,240,.9)}.microphone-button{min-width:0;padding-inline:16px}.microphone-button--error{border:1px solid hsla(0,91%,71%,.8);background:hsla(0,91%,71%,.18);color:#fee2e2}.microphone-button--error:hover{background:hsla(0,91%,71%,.28)}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.toggle-row p{margin:0;font-weight:500}.toggle-group{display:inline-flex;align-items:center;gap:6px;padding:4px;border-radius:999px;border:1px solid rgba(148,163,184,.35);background:rgba(15,23,42,.65)}.toggle-option{min-width:unset;padding:10px 14px;border-radius:999px;background:transparent;color:inherit;font-size:.95rem;font-weight:600;transition:background .2s ease,color .2s ease}.toggle-option:hover{background:rgba(148,163,184,.18)}.toggle-option.active{background:linear-gradient(135deg,#38bdf8,#818cf8);color:#0f172a}.note-display{margin:12px 0 0;font-weight:500;font-size:1.05rem}.feedback{padding:12px 16px;border-radius:12px;margin-top:18px}.feedback.success{background:rgba(34,197,94,.1);border:1px solid rgba(34,197,94,.4);color:#bbf7d0}.feedback.info{background:rgba(59,130,246,.1);border:1px solid rgba(59,130,246,.4);color:#bfdbfe}.feedback.warning{background:hsla(0,91%,71%,.1);border:1px solid hsla(0,91%,71%,.4);color:#fecaca}.flash-button{animation:flashPulse 1s linear infinite}@keyframes flashPulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}.player-card{margin-top:32px;padding:24px;border-radius:18px;border:1px solid rgba(148,163,184,.2);background:rgba(15,23,42,.75)}audio{width:100%;margin-top:18px}