.echo-shell{--echo-ink:#74533f;--echo-line:#d7b99d;--echo-width:410px;display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,31%);overflow:hidden;border:1px solid var(--echo-line);border-radius:18px;color:var(--echo-ink);background:#fffaf1}.echo-main{display:flex;flex-direction:column;align-items:center;gap:13px;padding:22px;min-width:0;border-right:1px solid var(--echo-line);background:#f6e7d4}.echo-main>*{width:min(100%,410px)}.echo-scoreboard{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}.echo-scoreboard>div:nth-child(2){text-align:center}.echo-scoreboard>div:last-child{text-align:right}.echo-scoreboard span{display:flex;align-items:center;gap:4px;color:#94715b;font-size:12px;font-weight:850}.echo-scoreboard>div:nth-child(2) span{justify-content:center}.echo-scoreboard>div:last-child span{justify-content:end}.echo-scoreboard strong{display:block;font-family:Fredoka Variable,sans-serif;font-size:32px;line-height:1.15;font-weight:550}.echo-scoreboard small{color:#9b7c64;font-family:Nunito Variable,sans-serif;font-size:12px}.echo-stage{position:relative;width:min(100%,var(--echo-width));aspect-ratio:1}.echo-board{position:absolute;inset:0;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:12px;padding:12px;border:2px solid #bc9a79;border-radius:50%;background:#e4d0b8;box-shadow:0 5px #bc9a793d,inset 0 2px #fff6e6}.echo-board:focus-visible{outline:3px solid #89664e;outline-offset:3px}.echo-pad{position:relative;display:grid;place-items:center;min-width:0;min-height:0;padding:12px;overflow:hidden;border:2px solid #b29165;border-radius:95% 14% 16% 14%;background:#e8ce91;color:#755b38;box-shadow:inset 0 3px #fff4c65c,0 3px #a5866266;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background-color 80ms,box-shadow 80ms}.echo-pad[data-pad="1"]{border-radius:14% 95% 14% 16%;border-color:#9ea77b;background:#c4d3ac;color:#526242}.echo-pad[data-pad="2"]{border-radius:14% 16% 14% 95%;border-color:#b68f9e;background:#e8c0cc;color:#80596d}.echo-pad[data-pad="3"]{border-radius:16% 14% 95% 14%;border-color:#9b8caf;background:#cfc0e1;color:#6f5883}.echo-pad>svg{width:76%;height:76%;opacity:.83;pointer-events:none}.echo-pad b{position:absolute;display:grid;place-items:center;width:28px;height:28px;border:1px solid;border-radius:50%;background:#fff8e9;font-size:18px;line-height:1;right:17%;bottom:15%}.echo-pad:nth-child(2) b{right:auto;left:17%}.echo-pad:nth-child(3) b{bottom:auto;top:15%}.echo-pad:nth-child(4) b{right:auto;bottom:auto;top:15%;left:17%}.echo-pad:disabled{opacity:1;cursor:default}.echo-pad:not(:disabled):hover{box-shadow:inset 0 0 0 3px #fff7df,0 3px #a5866266}.echo-pad:focus-visible{outline:3px solid #624633;outline-offset:-6px}.echo-glint{position:absolute;top:16%;right:15%;opacity:0;color:#624633;font-size:26px}.echo-pad[data-lit=true]{background:#fff9dd;box-shadow:inset 0 0 0 5px #fffefa,0 0 0 3px currentColor}.echo-pad[data-lit=true]>svg{opacity:1;transform:translateY(-3px)}.echo-pad[data-lit=true] .echo-glint{opacity:1}.echo-pad[data-wrong=true]{box-shadow:inset 0 0 0 5px #a65349}.echo-center{position:absolute;z-index:1;display:grid;place-items:center;width:50px;height:50px;left:50%;top:50%;transform:translate(-50%,-50%);border:2px solid #bc9a79;border-radius:50%;background:#fff8e8;font-family:Fredoka Variable,sans-serif;font-size:26px;pointer-events:none}.echo-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px}.echo-tools button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:8px 10px;border:1px solid #bd9b7b;border-radius:9px;color:#805e44;background:#fff9ef;font-size:14px;font-weight:900;touch-action:manipulation}.echo-tools button:disabled{opacity:.5}.echo-sound[aria-pressed=true]{background:#f3d49f}.echo-status{min-height:42px;color:#8e6d51;font-size:14px;font-weight:800;line-height:1.4;text-align:center}.echo-overlay,.echo-status{display:flex;justify-content:center;align-items:center}.echo-overlay{position:absolute;z-index:3;inset:0;padding:12px;border-radius:50%;background:#f7e9d8b8}.echo-card{width:100%;max-width:310px;max-height:100%;overflow:auto;padding:23px 17px;border:1px solid #d6b897;border-radius:17px;background:#fffbf1f7;text-align:center;box-shadow:0 4px 18px #88634817}.echo-kicker{color:#9d7b60;font-size:9px;font-weight:950;letter-spacing:.8px}.echo-card h2{margin-block:10px;font-size:31px;line-height:1.1}.echo-card p{color:#937258;font-size:14px;line-height:1.5}.echo-start.button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;margin:17px auto 0;padding:8px 16px;font-size:14px;background:#a97c53;border-color:#8e6240}.echo-side{display:flex;flex-direction:column;gap:23px;min-width:0;padding:28px 23px}.echo-notes{display:flex;align-items:center;justify-content:center;gap:7px;margin-bottom:18px}.echo-notes>svg{width:95px;height:95px;transform:rotate(-9deg)}.echo-notes>span{color:#a58cae;font-size:37px;transform:rotate(12deg)}.echo-notes>span:first-child{color:#9da970;transform:rotate(-13deg)}.echo-eyebrow{color:#aa8869;font-size:10px;font-weight:950;letter-spacing:.8px}.echo-note h2{margin-block:9px 13px;font-size:35px;line-height:1.05;letter-spacing:-.5px}.echo-guide p,.echo-note p{color:#94765d;font-size:14px;line-height:1.65}.echo-guide{padding-block:18px;border-block:1px solid #e4d2bc}.echo-guide h3{font-size:19px;line-height:1.3}.echo-guide p{margin-top:11px}.echo-guide .echo-shortcuts{font-size:12px;font-weight:850}.echo-save{display:flex;align-items:start;gap:6px;margin-top:auto;color:#9d836b;font-size:12px;line-height:1.5}.echo-save>svg{flex-shrink:0;margin-top:2px}.echo-audio-note{color:#94624e;font-size:12px;line-height:1.5}@media (min-width:761px) and (min-height:541px){.game-frame-echo.is-expanded .echo-shell{--echo-width:min(560px,calc(100dvh - 116px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));grid-template-columns:minmax(0,1fr) minmax(250px,31%);grid-template-rows:auto auto 1fr;gap:18px 28px;padding:20px;align-content:start}.game-frame-echo.is-expanded .echo-main{display:contents}.game-frame-echo.is-expanded .echo-stage{grid-column:1;grid-row:1/4;justify-self:center}.game-frame-echo.is-expanded .echo-scoreboard{grid-column:2;grid-row:1}.game-frame-echo.is-expanded .echo-tools{grid-column:2;grid-row:2}.game-frame-echo.is-expanded .echo-status{grid-column:2;grid-row:3;align-self:start}.game-frame-echo.is-expanded .echo-side{display:none}}@media (max-width:760px){.echo-shell{--echo-width:min(390px,calc(100svh - 240px));grid-template-columns:minmax(0,1fr);border-radius:12px}.echo-main{gap:8px;padding:10px 8px;border-right:0}.echo-scoreboard span{font-size:11px}.echo-scoreboard strong{font-size:27px}.echo-scoreboard small{font-size:10px}.echo-board{gap:8px;padding:8px}.echo-pad{padding:7px}.echo-pad b{width:24px;height:24px;font-size:16px}.echo-center{width:40px;height:40px;font-size:23px}.echo-tools button{min-height:44px;font-size:13px}.echo-status{min-height:34px;font-size:12px}.echo-side{padding:10px 12px;border-top:1px solid var(--echo-line)}.echo-guide,.echo-note{display:none}.echo-save{justify-content:center;font-size:11px}.echo-overlay{padding:9px}.echo-card{padding:15px 11px}.echo-card h2{font-size:25px;margin-block:8px}.echo-card p{font-size:12px}.echo-start.button{margin-top:12px}.echo-kicker{font-size:8px}.game-frame-echo.is-expanded .echo-shell{--echo-width:min(420px,calc(100dvh - 230px - env(safe-area-inset-top) - env(safe-area-inset-bottom)))}.game-frame-echo.is-expanded .echo-side{display:none}}@media (orientation:landscape) and (max-height:540px){.echo-shell,.game-frame-echo.is-expanded .echo-shell{--echo-width:min(400px,calc(100dvh - 94px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));grid-template-columns:minmax(0,1fr) minmax(225px,42%);grid-template-rows:auto auto 1fr;gap:12px 20px;padding:10px;align-content:start}.echo-main{display:contents}.echo-stage{grid-column:1;grid-row:1/4;justify-self:center}.echo-scoreboard{grid-column:2;grid-row:1}.echo-tools{grid-column:2;grid-row:2}.echo-status{grid-column:2;grid-row:3;align-self:start;font-size:13px}.echo-side{display:none}.echo-card{padding:12px 10px}.echo-card h2{font-size:24px}.echo-card p{font-size:12px}.echo-kicker{font-size:8px}}@media (prefers-reduced-motion:reduce){.echo-pad{transition:none}.echo-pad[data-lit=true]>svg{transform:none}}