:root{color:#f4efe7;background:#101316;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;overscroll-behavior:none;-webkit-tap-highlight-color:transparent}button,select{font:inherit;touch-action:manipulation}button{cursor:pointer;-webkit-user-select:none;user-select:none}.app{--col: 560px;--note-size: clamp(84px, 13vh, 170px);--rail-h: clamp(62px, 8.6vh, 120px);--string-h: clamp(54px, 7.4vh, 84px);--bpm-size: clamp(96px, 15vh, 190px);--art-scale: .68;--console-gap: 8px;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;gap:10px;padding-top:env(safe-area-inset-top,0px);padding-bottom:max(10px,env(safe-area-inset-bottom,0px));overflow-x:hidden;color:#f4efe7;background:linear-gradient(180deg,rgba(255,255,255,.04),transparent 28%),radial-gradient(circle at 50% 9%,rgba(207,58,35,.22),transparent 32%),radial-gradient(circle at 16% 82%,rgba(37,126,113,.2),transparent 28%),linear-gradient(145deg,#101316,#181714 42%,#0e1416)}.app>:not(.sheet-layer){width:min(var(--col),calc(100% - 32px));flex-shrink:0}.app-header{min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:6px}.brand{display:flex;align-items:center;gap:9px;min-width:0}.brand-mark{width:32px;height:32px;flex:none;display:inline-flex;border:1px solid rgba(255,248,236,.14);border-radius:8px;overflow:hidden;box-shadow:0 8px 20px #00000057}.brand-mark img{width:100%;height:100%;object-fit:cover;display:block}.brand-name{font-size:1rem;font-weight:900;color:#fff8ec;white-space:nowrap}.segmented{display:grid;grid-template-columns:1fr 1fr;height:40px;padding:3px;border:1px solid rgba(255,248,236,.14);border-radius:10px;background:#fff8ec14;flex:none}.segmented button{padding:0 13px;border:0;border-radius:7px;background:transparent;color:#bfb6a9;font-size:.85rem;font-weight:900;white-space:nowrap}.segmented .active{background:#f0c985;color:#151414}.settings-chip{min-height:46px;display:flex;align-items:center;gap:9px;padding:0 14px;border:1px solid rgba(255,248,236,.14);border-radius:12px;background:#fff8ec12;box-shadow:inset 0 1px #ffffff0f;color:#fff8ec;font-size:.94rem;font-weight:800;text-align:left}.settings-chip svg{width:17px;height:17px;flex:none;color:#f0c985}.settings-chip .chevron{color:#bfb6a9}.settings-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-text i{margin:0 7px;font-style:normal;color:#958b7f}.tuner-console{position:relative;display:flex;flex-direction:column;align-items:center;gap:var(--console-gap);padding:14px;border:1px solid rgba(255,248,236,.12);border-radius:16px;background:linear-gradient(180deg,#fff8ec17,#fff8ec08),#0e1214d6;box-shadow:0 24px 60px #0006,inset 0 1px #ffffff12;transition:border-color .22s ease,box-shadow .22s ease,background .22s ease}.tap-ready .tuner-console{border-color:#f0c98552}.tuner-console.good{border-color:#61e0c199;background:radial-gradient(circle at 50% 28%,rgba(97,224,193,.2),transparent 62%),linear-gradient(180deg,#61e0c114,#fff8ec08),#0e1615e6;box-shadow:0 0 0 1px #61e0c138,0 0 60px #61e0c133,0 24px 60px #0006}.console-top{width:100%;min-height:26px;display:flex;align-items:center;justify-content:space-between;gap:8px}.eyebrow{display:inline-flex;align-items:center;gap:7px;margin:0;color:#f0c985;font-size:.72rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.live-dot{width:7px;height:7px;border-radius:50%;background:#61e0c1;box-shadow:0 0 10px #61e0c1e6}.live-dot.gold{background:#f0c985;box-shadow:0 0 10px #f0c985e6}.mode-chips{display:inline-flex;gap:6px}.mode-chip{min-height:26px;display:inline-flex;align-items:center;gap:5px;padding:0 10px;border:1px solid rgba(97,224,193,.45);border-radius:999px;background:#61e0c114;color:#61e0c1;font-size:.72rem;font-weight:900;text-transform:uppercase;white-space:nowrap}.mode-chip svg{width:12px;height:12px}.mode-chip.manual{border-color:#f0c985b3;background:#f0c9851a;color:#f0c985;text-transform:none}button.mode-chip.ghost{min-height:32px;border-color:#fff8ec38;background:transparent;color:#bfb6a9;text-transform:none}.complete-banner{margin:0 auto;min-height:26px;display:inline-flex;align-items:center;gap:6px;padding:0 12px;border:1px solid rgba(97,224,193,.5);border-radius:999px;background:#61e0c12e;color:#8ff0d6;font-size:.8rem;font-weight:900}.complete-banner svg{width:14px;height:14px;stroke-width:3}.note-name{margin:2px 0 0;font-size:var(--note-size);font-weight:900;line-height:.84;letter-spacing:-.02em;color:#fff8ec;text-shadow:0 14px 40px rgba(0,0,0,.45);transition:color .22s ease,text-shadow .22s ease}.tuner-console.good .note-name{color:#f0fffa;text-shadow:0 0 34px rgba(97,224,193,.55),0 14px 40px rgba(0,0,0,.4)}.guide{margin:0;min-height:38px;display:inline-flex;align-items:center;gap:8px;padding:0 16px;border:1px solid rgba(240,201,133,.26);border-radius:11px;background:#f0c9851a;color:#d9c29a;font-size:1.15rem;font-weight:900;transition:color .16s ease,background .16s ease,border-color .16s ease}.guide-mark{display:inline-flex;font-size:1.3rem;line-height:1}.guide-mark svg{width:19px;height:19px;stroke-width:3}.guide.flat{border-color:#64c1dd52;background:#64c1dd1f;color:#8fe0f4}.guide.sharp{border-color:#ff936f52;background:#ff936f1f;color:#ffb083}.guide.good{border-color:#61e0c173;background:#61e0c129;color:#61e0c1}.instrument-visual{width:100%}.art-stage{position:absolute;top:0;left:50%;width:320px;height:116px;transform:translate(-50%) scale(var(--art-scale, 1));transform-origin:top center}.instrument-art{--wood-1: #a9542c;--wood-2: #5a2418;--wood-3: #d28a51;position:relative;width:100%;height:calc(116px * var(--art-scale, 1));overflow:hidden;border:1px solid rgba(255,248,236,.1);border-radius:8px;background:linear-gradient(90deg,rgba(255,248,236,.05),transparent 22%,transparent 78%,rgba(255,248,236,.04)),#fff8ec09;box-shadow:inset 0 1px #ffffff0d}.instrument-art:before{content:"";position:absolute;inset:13px 20px;border-radius:6px;background:linear-gradient(90deg,transparent,rgba(240,201,133,.11),transparent),repeating-linear-gradient(90deg,transparent 0 35px,rgba(255,248,236,.045) 35px 36px)}.head,.neck,.body{position:absolute;left:50%;transform:translate(-50%)}.head{top:8px;width:118px;height:42px;border:1px solid rgba(255,248,236,.34);border-radius:12px 12px 16px 16px;background:linear-gradient(90deg,rgba(255,248,236,.16),transparent 22%,transparent 78%,rgba(255,248,236,.1)),linear-gradient(180deg,var(--wood-3),var(--wood-1) 48%,var(--wood-2));box-shadow:0 14px 30px #00000042}.scroll{display:none}.peg{position:absolute;top:11px;width:22px;height:12px;border:1px solid rgba(255,248,236,.22);border-radius:999px;background:linear-gradient(180deg,#d8d2c8,#585955);box-shadow:0 5px 10px #00000042}.peg-a,.peg-c{left:-13px}.peg-b,.peg-d{right:-13px}.peg-c,.peg-d{top:27px}.neck{top:35px;width:164px;height:78px;border-radius:6px;background:linear-gradient(90deg,rgba(255,248,236,.12),transparent 18%,transparent 82%,rgba(255,248,236,.08)),linear-gradient(180deg,#3f2018,#211311);box-shadow:inset 0 0 0 1px #fff8ec14}.visual-string{position:absolute;top:-26px;bottom:0;left:calc(50% + ((var(--string-index) - ((var(--string-count) - 1) / 2)) * 13px));width:2px;transform:translate(-50%);border-radius:999px;background:linear-gradient(180deg,#fbf5ea,#8d918b);opacity:.62;box-shadow:0 0 0 1px #0000002e}.visual-string.active{width:4px;opacity:1;background:linear-gradient(180deg,#fff8ec,#f0c985 56%,#61e0c1);box-shadow:0 0 0 2px #61e0c124,0 0 24px #61e0c161}.body{bottom:-50px;width:188px;height:86px;border:1px solid rgba(255,248,236,.28);border-radius:56% 56% 44% 44%;background:radial-gradient(circle at 35% 28%,rgba(255,248,236,.17),transparent 24%),linear-gradient(90deg,rgba(255,248,236,.1),transparent 22%,transparent 78%,rgba(255,248,236,.08)),linear-gradient(180deg,var(--wood-3),var(--wood-1) 46%,var(--wood-2))}.sound-hole{position:absolute;top:26px;left:50%;width:42px;height:28px;transform:translate(-50%);border-radius:50%;background:#110b09c2;box-shadow:inset 0 0 0 2px #f0c9852e}.instrument-visual.bass .head{width:132px;border-radius:16px 12px 18px}.instrument-visual.bass .neck{width:176px}.instrument-visual.ukulele .head{width:96px}.instrument-visual.ukulele .neck{width:134px}.instrument-visual.ukulele .body{width:150px}.instrument-visual.mandolin .head{width:104px;height:36px;border-radius:24px 24px 14px 14px}.instrument-visual.mandolin .body{width:172px;border-radius:48% 48% 52% 52%}.instrument-visual.banjo .body{width:150px;height:72px;border-color:#fff8ec70;border-radius:50%;background:radial-gradient(circle,#fff8ec52 0 46%,#574739e0 48% 52%,#221c1ac7 54%),linear-gradient(180deg,#d0c0aa,#756253)}.instrument-visual.banjo .sound-hole{display:none}.instrument-visual.bowed .instrument-art{--wood-1: #b86634;--wood-2: #5f2719;--wood-3: #d99158}.instrument-visual.bowed .head{top:7px;width:72px;height:44px;border-radius:28px 28px 15px 15px}.instrument-visual.bowed .scroll{position:absolute;top:-5px;left:50%;display:block;width:30px;height:24px;transform:translate(-50%);border:3px solid rgba(255,248,236,.28);border-left-color:transparent;border-radius:50%}.instrument-visual.bowed .peg{width:18px;height:13px;background:linear-gradient(180deg,#493936,#171514)}.instrument-visual.bowed .neck{top:42px;width:94px;height:80px;border-radius:20px 20px 6px 6px;background:linear-gradient(90deg,rgba(255,248,236,.12),transparent 24%,transparent 76%,rgba(255,248,236,.08)),linear-gradient(180deg,#8c4626,#251717)}.instrument-visual.bowed .body{bottom:-62px;width:128px;height:94px;border-radius:44% 44% 52% 52%}.instrument-visual.bowed .sound-hole{width:10px;height:32px;top:19px;left:39%;border-radius:50%;background:#110b0985;box-shadow:28px 0 #110b0985}.instrument-visual.violin .head{width:62px;height:40px}.instrument-visual.violin .neck{width:78px}.instrument-visual.violin .body{width:112px;height:88px;border-radius:42% 42% 54% 54%}.instrument-visual.viola .head{width:70px}.instrument-visual.viola .neck{width:88px}.instrument-visual.viola .body{width:126px;height:92px;border-radius:45% 45% 52% 52%}.instrument-visual.cello .head{width:82px;height:48px}.instrument-visual.cello .neck{top:40px;width:108px;height:86px}.instrument-visual.cello .body{bottom:-66px;width:150px;height:110px;border-radius:40% 40% 56% 56%}.instrument-visual.doubleBass .head{width:90px;height:50px;border-radius:24px 24px 18px 18px}.instrument-visual.doubleBass .neck{top:38px;width:120px;height:90px}.instrument-visual.doubleBass .body{bottom:-70px;width:170px;height:118px;border-radius:36% 36% 58% 58%}.instrument-visual.doubleBass .sound-hole{height:36px;left:37%;box-shadow:34px 0 #110b0985}.meter{--meter-edge: 14px;width:100%;display:grid;gap:5px}.meter-scale{position:relative;height:14px;margin:0 var(--meter-edge);color:#958b7f;font-size:.7rem;font-weight:900}.meter-scale span{position:absolute;top:0;transform:translate(-50%)}.meter-scale span:nth-child(1){left:0}.meter-scale span:nth-child(2){left:25%}.meter-scale span:nth-child(3){left:50%;color:#f0c985}.meter-scale span:nth-child(4){left:75%}.meter-scale span:nth-child(5){left:100%}.rail{position:relative;height:var(--rail-h);overflow:hidden;border:1px solid rgba(255,248,236,.13);border-radius:12px;background:#fff8ec0d;transition:border-color .22s ease,background .22s ease}.tuner-console.good .rail{border-color:#61e0c180;background:#61e0c112}.rail-track{--tick-major: rgba(255, 248, 236, .3);--tick-minor: rgba(255, 248, 236, .16);position:absolute;top:0;bottom:0;left:var(--meter-edge);right:var(--meter-edge);background:linear-gradient(90deg,var(--tick-major) 0 1.5px,transparent 1.5px 100%) 0 7px / 25% 14px repeat-x,linear-gradient(90deg,var(--tick-major) 0 1.5px,transparent 1.5px 100%) 0 calc(100% - 7px) / 25% 14px repeat-x,linear-gradient(var(--tick-major),var(--tick-major)) 100% 7px / 1.5px 14px no-repeat,linear-gradient(var(--tick-major),var(--tick-major)) 100% calc(100% - 7px) / 1.5px 14px no-repeat,linear-gradient(90deg,var(--tick-minor) 0 1.5px,transparent 1.5px 100%) 0 7px / 5% 8px repeat-x,linear-gradient(90deg,var(--tick-minor) 0 1.5px,transparent 1.5px 100%) 0 calc(100% - 7px) / 5% 8px repeat-x}.in-tune-zone{position:absolute;top:6px;bottom:6px;left:46%;width:8%;border:1px solid rgba(97,224,193,.35);border-radius:6px;background:#61e0c121;transition:background .22s ease,border-color .22s ease,box-shadow .22s ease}.tuner-console.good .in-tune-zone{border-color:#8ff0d6cc;background:#61e0c152;box-shadow:0 0 26px #61e0c18c}.rail-fill{position:absolute;top:40%;bottom:40%;width:50%;border-radius:6px;opacity:0;transform:scaleX(var(--fill-scale, 0));transition:transform .2s cubic-bezier(.25,.6,.3,1),opacity .16s ease;will-change:transform}.rail-fill.flat{right:50%;transform-origin:right center;background:linear-gradient(90deg,#64c1ddcc,#64c1dd26)}.rail-fill.sharp{left:50%;transform-origin:left center;background:linear-gradient(90deg,#ff936f26,#ff936fcc)}.rail-track.flat .rail-fill.flat,.rail-track.sharp .rail-fill.sharp{opacity:1}.needle{position:absolute;inset:8px 0;pointer-events:none;transform:translate(calc(var(--needle-position, 50%) - 50%));transition:transform .2s cubic-bezier(.25,.6,.3,1),opacity .2s ease;will-change:transform}.needle:before{content:"";position:absolute;top:0;bottom:0;left:50%;width:8px;transform:translate(-50%);border-radius:99px;background:linear-gradient(180deg,#fff1c7,#f0c985 45%,#c98245);box-shadow:0 0 0 2px #fff8ecb8,0 0 18px #f0c98575,0 5px 18px #0006;transition:background .18s ease,box-shadow .18s ease}.needle.idle{opacity:.35}.needle.good:before{background:linear-gradient(180deg,#d9fff2,#61e0c1 45%,#2aa98b);box-shadow:0 0 0 2px #d9fff2c7,0 0 26px #61e0c1cc,0 5px 18px #0006}.cents{display:flex;align-items:baseline;justify-content:center;gap:6px}.cents span{min-width:3ch;color:#958b7f;font-size:2.1rem;font-weight:950;line-height:1.05;font-variant-numeric:tabular-nums;text-align:center}.cents.flat span{color:#8fe0f4}.cents.sharp span{color:#ffb083}.cents.good span{color:#61e0c1}.cents small{color:#958b7f;font-size:.75rem;font-weight:900}.detail-line{margin:0;display:flex;flex-wrap:wrap;justify-content:center;gap:4px 12px;color:#958b7f;font-size:.72rem;font-weight:800}.detail-line em{color:#d7c5aa;font-style:normal;font-variant-numeric:tabular-nums}.error{margin:0;color:#ff9a82;font-size:.85rem;font-weight:850;text-align:center}.flex-spacer{flex:1 1 0;min-height:0}.strings{display:grid;gap:6px}.strings-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 2px;color:#958b7f;font-size:.72rem;font-weight:900}.strings-progress{color:#61e0c1;white-space:nowrap}.strings-row{display:grid;grid-template-columns:repeat(var(--string-count),minmax(0,1fr));gap:6px}.string-button{position:relative;height:var(--string-h);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:0;border:1px solid rgba(255,248,236,.12);border-radius:11px;background:linear-gradient(180deg,#fff8ec17,#fff8ec08),#161b1d;color:#fff8ec}.string-button small{color:#9b9184;font-size:.66rem;font-weight:900}.string-button strong{font-size:1.2rem;font-weight:950}.string-button.current{border-color:#61e0c1bf;background:linear-gradient(180deg,#61e0c133,#fff8ec08),#121b1b;box-shadow:inset 0 0 0 1.5px #61e0c14d}.string-button.selected{border-color:#f0c985d9;background:linear-gradient(180deg,#f0c9852e,#fff8ec08),#1a1814;box-shadow:inset 0 0 0 1.5px #f0c9854d}.string-done{position:absolute;top:4px;right:4px;width:15px;height:15px;display:grid;place-items:center;border-radius:50%;background:#2aa98b;color:#07120f}.string-done svg{width:10px;height:10px;stroke-width:3.6}.string-lock{position:absolute;top:5px;left:5px;display:flex;color:#f0c985}.string-lock svg{width:11px;height:11px;stroke-width:2.6}.bottom-bar{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:10px}.input-level{display:inline-flex;align-items:center;gap:8px;color:#958b7f;font-size:.75rem;font-weight:900}.input-level>svg{width:16px;height:16px;color:#61e0c1}.level-bars{display:flex;align-items:flex-end;gap:3px;height:18px}.level-bars i{width:4px;border-radius:2px;background:#fff8ec2e}.level-bars i:nth-child(1){height:6px}.level-bars i:nth-child(2){height:9px}.level-bars i:nth-child(3){height:12px}.level-bars i:nth-child(4){height:15px}.level-bars i:nth-child(5){height:18px}.level-bars i.on{background:#61e0c1}.mic-button{min-height:42px;display:inline-flex;align-items:center;gap:7px;padding:0 15px;border:1px solid transparent;border-radius:10px;background:linear-gradient(180deg,#f0c985,#d99b56);color:#161616;font-size:.85rem;font-weight:900;box-shadow:0 12px 26px #f0c98533}.mic-button.live{border-color:#ff7a5f73;background:#ff7a5f1a;color:#ff9a82;box-shadow:none}.mic-button svg{width:16px;height:16px}.sheet-layer{position:fixed;inset:0;z-index:50;display:flex;align-items:flex-end;justify-content:center}.sheet-backdrop{position:absolute;inset:0;background:#0406079e;animation:sheet-fade .18s ease}.sheet{position:relative;width:min(560px,100%);max-height:calc(100dvh - env(safe-area-inset-top,0px) - 24px);overflow-y:auto;overscroll-behavior:contain;padding:10px 16px calc(24px + env(safe-area-inset-bottom,0px));border-top:1px solid rgba(255,248,236,.16);border-radius:24px 24px 0 0;background:linear-gradient(180deg,#23221f,#191b1c);box-shadow:0 -20px 60px #00000080;animation:sheet-up .24s cubic-bezier(.2,.8,.2,1)}@keyframes sheet-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes sheet-fade{0%{opacity:0}to{opacity:1}}.sheet-handle{width:40px;height:5px;margin:0 auto 10px;border-radius:3px;background:#fff8ec47}.sheet-title{display:flex;align-items:center;justify-content:space-between}.sheet-title h2{margin:0;color:#fff8ec;font-size:1.15rem;font-weight:900}.sheet-done{min-height:44px;padding:0 4px;border:0;background:none;color:#f0c985;font-size:1rem;font-weight:900}.sheet-label{margin:16px 2px 8px;color:#958b7f;font-size:.75rem;font-weight:900}.instrument-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.instrument-grid button{min-height:74px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:4px;padding:9px 10px;border:1px solid rgba(255,248,236,.12);border-radius:12px;background:#fff8ec0d;color:#fff8ec;text-align:left}.instrument-grid strong{display:block;font-size:.88rem;font-weight:900}.instrument-grid small{display:block;color:#958b7f;font-size:.7rem;font-weight:800}.instrument-grid code{color:#d7c5aa;font:800 .64rem ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.04em}.instrument-grid button.on{border-color:#f0c985d9;background:#f0c9851f;box-shadow:inset 0 0 0 1.5px #f0c98540}.chip-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.chip{min-height:42px;padding:0 16px;border:1px solid rgba(255,248,236,.14);border-radius:10px;background:#fff8ec12;color:#bfb6a9;font-size:.9rem;font-weight:900}.chip.on{border-color:#f0c985;background:#f0c985;color:#151414}.stepper{height:44px;display:inline-flex;align-items:center;overflow:hidden;border:1px solid rgba(255,248,236,.16);border-radius:10px;background:#fff8ec12}.stepper button{width:44px;height:100%;border:0;background:transparent;color:#fff8ec;font-size:1.15rem;font-weight:900}.stepper button:disabled{opacity:.3;cursor:default}.stepper strong{min-width:82px;color:#fff8ec;font-weight:900;text-align:center;font-variant-numeric:tabular-nums}.sheet-hint{margin:8px 2px 0;color:#958b7f;font-size:.75rem;font-weight:700}.toggle-row{width:100%;display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid rgba(255,248,236,.12);border-radius:12px;background:#fff8ec0d;color:#fff8ec;text-align:left}.toggle-row>svg{width:18px;height:18px;flex:none;color:#f0c985}.toggle-row>span:not(.switch){flex:1;display:grid;gap:2px}.toggle-row strong{font-size:.92rem;font-weight:900}.toggle-row small{color:#958b7f;font-size:.72rem;font-weight:700}.switch{position:relative;width:50px;height:30px;flex:none;border-radius:999px;background:#fff8ec2e;transition:background .18s ease}.switch:after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff8ec;box-shadow:0 2px 6px #00000059;transition:transform .18s ease}.switch.on{background:#2aa98b}.switch.on:after{transform:translate(20px)}.sheet-version{margin:20px 0 0;color:#f4efe74d;font-size:.66rem;font-weight:700;letter-spacing:.05em;text-align:center}.metronome-console{gap:16px;padding:18px 16px 22px}.bpm-readout{margin-top:4px;color:#fff8ec;font-size:var(--bpm-size);font-weight:900;line-height:.84;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.tempo-name{margin:0;color:#d9c29a;font-size:.9rem;font-weight:900}.tempo-name span{color:#958b7f;font-weight:800}.beat-dots{width:100%;display:grid;grid-template-columns:repeat(var(--beat-count),minmax(0,54px));justify-content:center;gap:10px}.beat-dot{aspect-ratio:1;display:grid;place-items:center;border:1.5px solid rgba(255,248,236,.22);border-radius:50%;background:#fff8ec12;color:#958b7f;font-size:.95rem;font-weight:900;transition:transform 90ms ease,background 90ms ease,box-shadow 90ms ease}.beat-dot.accent{border-color:#f0c985bf;color:#f0c985}.beat-dot.on{border-color:#61e0c1;background:#61e0c1;color:#08130f;box-shadow:0 0 22px #61e0c1a6;transform:scale(1.1)}.beat-dot.accent.on{border-color:#f0c985;background:#f0c985;color:#151414;box-shadow:0 0 26px #f0c985bf}.bpm-controls{width:100%;display:flex;align-items:center;gap:12px}.bpm-step{min-width:52px;min-height:44px;padding:0 4px;border:1px solid rgba(255,248,236,.16);border-radius:10px;background:#fff8ec14;color:#fff8ec;font-weight:900;flex-shrink:0}.bpm-controls input[type=range]{flex:1;min-width:60px;height:44px;accent-color:#f0c985;background:transparent}.metro-row{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:10px}.beats-stepper{display:flex;align-items:center;justify-content:space-between;overflow:hidden;border:1px solid rgba(255,248,236,.16);border-radius:10px;background:#fff8ec14}.beats-stepper button{width:46px;min-height:48px;border:0;background:transparent;color:#fff8ec;font-size:1.15rem;font-weight:900}.beats-stepper span{color:#fff8ec;font-weight:900;text-align:center;white-space:nowrap}.tap-tempo{min-height:48px;border:1px solid rgba(240,201,133,.45);border-radius:10px;background:#f0c9851f;color:#f0c985;font-weight:950;letter-spacing:.08em}.metro-toggles{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.metro-toggles button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 8px;border:1px solid rgba(255,248,236,.14);border-radius:10px;background:#fff8ec0f;color:#bfb6a9;font-weight:900;white-space:nowrap}.metro-toggles button svg{width:15px;height:15px;flex:none}.metro-toggles button.on{border-color:#61e0c180;background:#61e0c11f;color:#61e0c1}.big-action{min-height:64px;display:flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:18px;background:linear-gradient(180deg,#f0c985,#d99b56);color:#161616;font-size:1.2rem;font-weight:950;box-shadow:0 14px 30px #f0c98538}.big-action.stop{background:linear-gradient(180deg,#ff7a5f,#c94737);color:#fff8ec;box-shadow:0 14px 30px #c947374d}.big-action svg{width:20px;height:20px}.metro-flash{position:fixed;top:env(safe-area-inset-top,0px);right:0;bottom:env(safe-area-inset-bottom,0px);left:0;z-index:60;background:#fff;opacity:0;pointer-events:none}@media(min-width:640px)and (min-height:900px){.app{--col: 720px;--art-scale: 1;--console-gap: 16px;--note-size: clamp(120px, 15vh, 220px);--rail-h: clamp(90px, 10vh, 140px);--string-h: clamp(72px, 8vh, 100px);--bpm-size: clamp(130px, 17vh, 230px)}.tuner-console{padding:22px}.tuner-console{margin-block:auto}.flex-spacer{flex:0 0 0}.guide{font-size:1.35rem;min-height:46px}.cents span{font-size:2.6rem}.string-button strong{font-size:1.6rem}}@media(min-width:640px)and (min-height:900px)and (max-height:1000px){.app{--console-gap: 12px;--art-scale: .85}}@media(min-width:1000px)and (min-height:1200px){.app{--col: 820px}}@media(min-width:700px){.sheet-layer{align-items:center}.sheet{max-height:90dvh;padding-bottom:24px;border:1px solid rgba(255,248,236,.16);border-radius:24px}}@media(max-height:720px){.app{--art-scale: .5;--console-gap: 6px;gap:8px}.tuner-console{padding:10px 12px}.guide{min-height:34px;font-size:1.02rem}.detail-line{display:none}.metronome-console{gap:12px}}@media(max-width:400px){.brand{gap:7px}.brand-mark{width:30px;height:30px}.brand-name{font-size:.92rem}.segmented button{padding:0 10px;font-size:.8rem}}@media(max-width:359px){.brand-name{display:none}}@media(prefers-reduced-motion:reduce){.needle,.needle:before,.rail-fill,.guide,.sheet,.sheet-backdrop{transition:none;animation:none}}
