.beat-page{background:#faf7f2;padding:48px 24px 60px;min-height:calc(100vh - 110px)}
.beat-shell{max-width:1160px;margin:auto;color:#33272f}.beat-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px}.beat-eyebrow{font-size:12px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:#89694f;margin-bottom:10px}.beat-heading h1{font-size:clamp(42px,6vw,64px);line-height:1.05;font-weight:900;margin-bottom:12px;letter-spacing:-2px}.beat-heading h1 span{color:#d69a70}.beat-heading p:not(.beat-eyebrow){color:#776971;font-size:17px}
.beat-page button,.beat-picker button{font:inherit;cursor:pointer}.beat-page a{color:#4b2247}.beat-shop-link{display:inline-flex;align-items:center;justify-content:center;border:1px solid #e3d2bf;background:#f7e7d1;border-radius:999px;padding:12px 20px;color:#4b2247;text-decoration:none;font-weight:800;font-size:14px}.beat-shop-link:hover{background:#eed8bd}
.beat-page .beat-primary,.beat-page .beat-secondary{font-weight:800;font-size:14px}
.beat-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:26px;align-items:start}.beat-machine{border:1px solid #e6d9ca;border-radius:26px;background:white;padding:22px;box-shadow:0 12px 36px #684c3410}.beat-machine-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.beat-machine-top h2{font-size:18px;font-weight:900}.beat-machine-top button{border:1px solid #e5dbd0;background:#faf7f2;border-radius:999px;padding:8px 13px;font-size:13px;font-weight:800;color:#4b2247}
.beat-hud{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;gap:12px;margin-bottom:20px}.beat-hud>div{border:1px solid #eee7de;border-radius:12px;background:#fcfaf7;padding:10px}.beat-hud span{display:block;font-size:11px;text-transform:uppercase;font-weight:800;color:#89766a;letter-spacing:.08em}.beat-hud strong{display:block;font-size:25px;font-weight:900;margin-top:2px;font-variant-numeric:tabular-nums}
.beat-stage{position:relative;height:420px;background:#f5f0e9;border:1px solid #e5d9cb;border-radius:18px 18px 0 0;overflow:hidden}.beat-tracks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:100%;gap:4px;padding:0 4px}.beat-lane{position:relative;background:linear-gradient(180deg,#ffffff90,transparent);border-left:1px solid #fff9;border-right:1px solid #fff9} .beat-note{position:absolute;top:0;left:50%;margin-left:-32px;width:64px;height:64px;z-index:2;pointer-events:none;border:2px solid #b78d75;border-radius:13px;background:#f8eee3;box-shadow:0 4px 0 #72514c2b;overflow:hidden;will-change:transform}.beat-note img{display:block;width:100%;height:100%;object-fit:contain}
.beat-note[hidden]{display:none}.beat-hit-line{position:absolute;bottom:69px;height:3px;left:0;right:0;background:#89694f77;pointer-events:none}.beat-hit-line span{position:absolute;right:8px;bottom:6px;color:#806d62;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.1em}.beat-overlay{position:absolute;inset:0 0 115px;background:#faf7f2ed;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:25px;z-index:3}.beat-overlay[hidden]{display:none}.beat-overlay-icon{font-size:42px;color:#b88061;margin-bottom:12px}.beat-overlay h3{font-size:28px;font-weight:900;line-height:1.15;margin-bottom:12px}.beat-overlay p{font-size:15px;line-height:1.7;color:#796c70}.beat-feedback{position:absolute;top:30%;left:0;right:0;text-align:center;font-size:29px;font-weight:900;color:#4b2247;text-shadow:0 1px 6px #fff;pointer-events:none;z-index:4}.beat-feedback[data-judgment="perfect"]{color:#46694e}
.beat-pads{position:absolute;bottom:8px;left:0;right:0;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:0 4px}
.beat-pad{position:relative;background:#f6f2ec;border:1px solid #e0d5ca;border-radius:13px;box-shadow:0 4px 0 #ded3c7;padding:5px 5px 9px;touch-action:none;-webkit-user-select:none;user-select:none;transition:background .08s,transform .08s}.beat-pad img{width:100%;height:64px;object-fit:contain;pointer-events:none;display:block}.beat-pad kbd{display:inline-block;font:900 13px 'Nunito Sans',sans-serif;line-height:1.6;min-width:24px;color:#77606d;border:1px solid #d9ccc2;border-radius:5px;background:#fff9}.beat-pad.pressed{transform:translateY(3px);box-shadow:0 1px 0 #ded3c7;background:#efdbc6}
.beat-progress{height:5px;border-radius:5px;overflow:hidden;background:#eee5da;margin:19px 0 17px}.beat-progress span{display:block;height:100%;width:0;background:#bd8d71}.beat-controls{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.beat-primary,.beat-secondary{font:800 14px 'Nunito Sans',sans-serif;padding:11px 21px;border-radius:999px;border:1px solid #ded0c4;text-decoration:none}.beat-primary{background:#4b2247;color:white;border-color:#4b2247}.beat-primary:hover{background:#64325d}.beat-secondary{background:#fcf8f2;color:#4b2247}.beat-secondary:hover{background:#f4e8da}.beat-page button:disabled{cursor:default;opacity:.5}.beat-status{text-align:center;min-height:23px;margin-top:15px;font-size:13px;color:#776670}.beat-tip{text-align:center;font-size:12px;line-height:1.8;color:#918078;margin-top:7px}.beat-tip kbd{font:800 12px 'Nunito Sans',sans-serif}
.beat-sidebar{display:grid;gap:18px}.beat-sidebar fieldset,.beat-how,.beat-product{border:1px solid #e6d9ca;background:white;border-radius:20px;padding:21px;min-width:0}.beat-sidebar legend{font-size:17px;font-weight:900;padding:0 7px}.beat-field{display:block;margin-bottom:17px;font-size:13px;font-weight:800;color:#685361}.beat-field select,.beat-custom-key select{display:block;width:100%;font:inherit;color:#4b2247;padding:9px 10px;border:1px solid #ddcec0;background:#faf7f2;border-radius:9px;margin-top:7px}.beat-field input{display:block;width:100%;accent-color:#4b2247;margin-top:9px}.beat-choice{display:flex;gap:7px;margin-top:8px}.beat-choice button{flex:1;font-size:13px;font-weight:800;padding:9px 5px;border:1px solid #dfd2c6;border-radius:9px;background:#fcfaf6;color:#684857}.beat-choice button[aria-pressed=true]{border-color:#4b2247;background:#f1e7ee}.beat-field-label{font-size:13px;font-weight:800;color:#685361;margin-bottom:9px}.beat-customize{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:19px}.beat-custom-key{min-width:0}.beat-cat-choice{position:relative;width:100%;height:80px;border:1px solid #e6d8ca;border-radius:12px;background:#faf7f2}.beat-cat-choice img{height:62px;width:100%;object-fit:contain}.beat-cat-choice span{position:absolute;bottom:2px;right:7px;font-size:11px;font-weight:800;color:#745665}.beat-custom-key label{font-size:11px;font-weight:800;color:#796573}.beat-custom-key select{font-size:12px;padding:6px;margin:4px 0 0}.beat-small{font-size:11px;line-height:1.5;color:#918078}.beat-how h2,.beat-product h2{font-size:17px;font-weight:900;margin-bottom:10px}.beat-how ol{margin-left:18px;color:#75646d;font-size:13px;line-height:1.8}.beat-how p,.beat-product p{color:#85736b;font-size:12px;line-height:1.65;margin-top:10px}.beat-product{overflow:hidden}.beat-product>img{width:100%;height:140px;object-fit:contain;mix-blend-mode:multiply;margin-bottom:8px}.beat-product .beat-shop-link{margin-top:16px;width:100%}
.beat-results{margin-top:24px;padding:25px;background:#f3e6d9;border:1px solid #e0cdbb;border-radius:20px;display:flex;justify-content:space-between;align-items:center;gap:20px}.beat-results[hidden]{display:none}.beat-results h2{font-size:26px;font-weight:900;margin-bottom:9px}.beat-results p:not(.beat-eyebrow){font-size:14px;line-height:1.7;color:#75616a}.beat-result-actions{display:flex;gap:8px;flex-wrap:wrap}.beat-bottom{text-align:center;font-size:12px;line-height:1.7;color:#948378;margin-top:26px}.beat-bottom a{white-space:nowrap;margin-left:8px}
.beat-picker{padding:22px;border:1px solid #ddcab9;border-radius:20px;max-width:600px;width:calc(100% - 32px);max-height:85vh;margin:auto;color:#4b2247;background:#fffdfa;font-family:'Nunito Sans',sans-serif}.beat-picker::backdrop{background:#36233170}.beat-picker-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.beat-picker h2{font-size:20px}.beat-picker-top button{border:0;background:#f2e8de;border-radius:50%;width:35px;height:35px;font-size:25px;color:#4b2247}#beat-picker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}#beat-picker-grid button{border:1px solid #ddcec0;border-radius:12px;padding:8px;background:#faf7f2;color:#735365;font-weight:800;font-size:12px}#beat-picker-grid button[aria-pressed=true]{border:2px solid #4b2247}#beat-picker-grid img{width:100%;height:82px;object-fit:contain;display:block;margin-bottom:6px}
.beat-page :focus-visible,.beat-picker :focus-visible{outline:3px solid #a87559;outline-offset:4px}.beat-page [hidden]{display:none!important}
@media(max-width:900px){.beat-layout{grid-template-columns:minmax(0,1fr) 270px;gap:16px}.beat-page{padding:30px 18px}.beat-machine{padding:16px}.beat-pad img{height:64px}}
@media(max-width:700px){.beat-layout{grid-template-columns:1fr}.beat-heading{align-items:start;flex-direction:column;gap:16px}.beat-heading h1{font-size:48px}.beat-stage{height:360px}.beat-sidebar{grid-template-columns:1fr 1fr}.beat-sidebar fieldset{grid-column:1 / -1}.beat-customize{grid-template-columns:repeat(4,minmax(0,1fr))}.beat-custom-key select{font-size:11px;padding:6px 2px}.beat-how,.beat-product{padding:16px}.beat-product>img{height:100px}.beat-results{align-items:start;flex-direction:column}.beat-hud strong{font-size:22px}.beat-pad img{height:64px}.beat-heading p:not(.beat-eyebrow){font-size:15px}}
@media(max-width:380px){.beat-page{padding:25px 12px}.beat-machine{padding:12px}.beat-customize{grid-template-columns:repeat(2,minmax(0,1fr))}.beat-sidebar{grid-template-columns:1fr}.beat-pad img{height:64px}#beat-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.beat-pad{transition:none}.beat-note{will-change:auto}}

.beat-custom-options{margin:0 0 18px;border-top:1px solid #eee2d5;padding-top:13px}.beat-custom-options .beat-field-label{font-size:13px;font-weight:800;color:#685361}.beat-custom-options .beat-customize{grid-template-columns:repeat(4,minmax(0,1fr));margin:12px 0 0;gap:6px}.beat-custom-options .beat-cat-choice{height:65px}.beat-custom-options .beat-cat-choice img{height:48px}.beat-custom-options .beat-cat-choice span{font-size:10px;right:4px}.beat-custom-key label,.beat-custom-key select{display:none}

#beat-song-credit{margin:-8px 0 17px}

/* Keep photo colors intact and match each tile to its chosen keycap. */
.beat-pad,.beat-pad.pressed,.beat-note,.beat-cat-choice,#beat-picker-grid button{background:var(--keycap-background,#f5f3f1)}
