/* V6.17 Jardim das Melodias — arte final: cenário lúdico, trilha, notas e controles diretos. */
.ep617-game,.ep617-game *{box-sizing:border-box}
.ep617-game{--ink:#07525c;--dark:#005d63;--mint:#d9fff0;--shadow:0 12px 30px #09586122;display:block;position:relative;max-width:1480px;min-width:0;margin:0 auto;padding:0 0 24px;background:#f7fcfc;color:var(--ink);font-family:inherit;overflow:hidden;border-radius:0 0 24px 24px;min-height:calc(100dvh - 16px)}
.ep617-game button{font:inherit;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,filter .12s ease;touch-action:manipulation}
.ep617-game button:hover:not(:disabled){filter:brightness(1.04)}
.ep617-game button:active:not(:disabled){transform:translateY(2px)}
.ep617-game button:disabled{cursor:not-allowed;opacity:.48}
.ep617-game button:focus-visible,.ep617-game summary:focus-visible{outline:3px solid #f1b43a;outline-offset:3px}
.ep617-top{min-height:84px;padding:13px clamp(16px,4vw,36px);display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(120deg,#05444c,#00796e);color:#fff;position:relative;z-index:2}
.ep617-brand{min-width:0;display:flex;align-items:center;gap:12px;white-space:nowrap;letter-spacing:-.5px}.ep617-brand strong{font-size:clamp(17px,2vw,26px);font-weight:850}.ep617-brand b{font-size:clamp(14px,2vw,21px);overflow:hidden;text-overflow:ellipsis}.ep617-divider{width:1px;height:30px;background:#adf4ed8a;margin:0 6px}
.ep617-top-status{display:flex;align-items:center;gap:10px;flex-shrink:0}.ep617-progress,.ep617-mode{background:#e3fff8;color:#075963;font-size:13px;font-weight:850;border-radius:999px;padding:11px 14px;white-space:nowrap}.ep617-dots{display:inline-flex;align-items:center;gap:4px;margin-left:11px}.ep617-dots i{width:10px;height:10px;display:block;background:#badcde;border-radius:50%}.ep617-dots i.on{background:#05b38d}
.ep617-main{padding:0 clamp(11px,3vw,28px) 16px;position:relative}
.ep617-garden-scene{position:relative;height:246px;margin:0 -1px;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;background:linear-gradient(180deg,#a9e9f1,#d7f5bc);background-image:url('ep617-garden/scenery.svg?v=6.17');background-position:center;background-size:cover;border-radius:0 0 22px 22px;text-align:center}
.ep617-garden-scene:before,.ep617-garden-scene:after{content:"";position:absolute;pointer-events:none;bottom:-77px;left:-8%;height:150px;width:65%;background:#8dd78e;border-radius:60% 55% 0 0;transform:rotate(-5deg)}
.ep617-garden-scene:after{left:auto;right:-8%;height:134px;width:64%;background:#b0df85;transform:rotate(5deg)}
.ep617-bird{position:absolute;z-index:2;bottom:14px;left:4.3%;width:min(205px,19vw);height:auto;filter:drop-shadow(0 6px 2px #195e4a22)}
.ep617-sign{z-index:3;position:relative;margin-top:30px;background:linear-gradient(175deg,#ffe4a0,#eab66d 55%,#d9974d);border:3px solid #d28e44;padding:12px 24px 10px;border-radius:17px;box-shadow:0 8px 0 #ac6b38aa,0 11px 25px #7b482c32;color:#18505a;transform:rotate(-1deg);max-width:90%}
.ep617-sign:before,.ep617-sign:after{content:"";position:absolute;bottom:100%;width:3px;height:32px;background:#d1ab78;border-left:1px solid #855b48;left:16%;}.ep617-sign:after{left:auto;right:16%}
.ep617-sign strong{font-size:clamp(24px,3.3vw,41px);font-weight:900;letter-spacing:-1px;line-height:1.12}
.ep617-garden-scene p{z-index:3;color:#125960;font-size:clamp(13px,1.5vw,18px);font-weight:750;margin:29px auto 0;padding:0 160px;line-height:1.3}
.ep617-cloud{position:absolute;width:60px;height:24px;border-radius:100px;background:#ffffffd1;top:42px;right:17%;box-shadow:22px -12px 0 5px #ffffffc4,45px 0 0 5px #ffffffb6}.ep617-cloud-two{right:auto;left:22%;transform:scale(.7);top:16px}
.ep617-flower{position:absolute;z-index:4;bottom:5px;right:4%;color:#fa668c;font-size:56px;text-shadow:0 3px 0 #e9437594}
.ep617-composer{background:linear-gradient(180deg,#f1fffa,#fff 58%);border:1px solid #d4eee7;border-radius:24px;padding:16px 20px 15px;margin:13px 0 0;position:relative;box-shadow:var(--shadow)}
.ep617-track{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px;margin:0 auto 12px;padding:12px;min-height:113px;max-width:1100px;border:2px solid #baebdf;border-radius:22px;background:linear-gradient(120deg,#dffff2,#edfff9);box-shadow:0 5px 10px #00796d0a;position:relative}
.ep617-step,.ep617-add-slot{width:clamp(58px,8vw,102px);height:76px;min-width:0;flex:0 0 auto;border-radius:15px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:900;font-size:19px;line-height:1.05;color:var(--key-text,#fff);background:var(--key,#50b7a1);border:2px solid #fff9;box-shadow:0 4px 0 #12433a34,0 3px 9px #12544720;text-align:center}
.ep617-step>span{font-size:27px;line-height:1.1}.ep617-step strong{font-size:clamp(12px,1.6vw,19px)}.ep617-step.ep617-rest{background:#dbe8ed;color:#215a69;border-color:#afd2d8}.ep617-add-slot{border:3px dashed #95c5bb;background:#fff;color:#128d77;font-size:41px;box-shadow:none}
.ep617-step[data-action]{position:relative}.ep617-step.is-selected{outline:4px solid #eab72a;outline-offset:2px}.ep617-step.is-playing{outline:4px solid #f3b828;filter:brightness(1.12);transform:scale(1.04)}
.ep617-instruments{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1100px;margin:auto}.ep617-notes{display:flex;flex-wrap:wrap;align-items:center;gap:9px;justify-content:center;flex:1;min-width:0}
.ep617-note{--key:#19a98c;--key-text:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;width:clamp(60px,6.6vw,88px);height:clamp(60px,6.6vw,88px);border-radius:50%;color:var(--key-text);background:linear-gradient(165deg,#ffffff33,transparent 55%),var(--key);border:4px solid white;box-shadow:0 3px 0 #0c534433,0 6px 11px #18545322;font-size:17px;font-weight:900}.ep617-note span{font-size:26px;line-height:1}.ep617-note strong{font-size:15px}
.ep617-listen{min-height:61px;border:0;border-radius:32px;background:linear-gradient(180deg,#00a98b,#007c70);box-shadow:0 5px 0 #005e5540,0 7px 16px #13645a2b;padding:13px 22px;color:#fff;font-size:clamp(14px,1.5vw,19px)!important;font-weight:900!important;white-space:nowrap}
.ep617-arrange{display:flex;align-items:center;justify-content:center;gap:12px;margin:13px auto 0;color:#275e61;font-size:13px;font-weight:700}.ep617-arrange button{border:1px solid #c0dfdb;border-radius:9px;background:#e9fbf6;color:#006f63;padding:5px 14px;font-size:20px}
.ep617-physical{margin:11px auto;max-width:810px;padding:9px 14px;background:#f1fbfb;border:1px solid #c8e1de;border-radius:14px}.ep617-physical summary{font-weight:800;cursor:pointer}.ep617-key-row{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:12px 0}.ep617-physical-key{background:#e1f4f1;border:1px solid #a8d8d0;color:#075861;border-radius:12px;padding:10px 13px;font-weight:850!important}
.ep617-physical small{display:block;text-align:center;color:#567e84;margin:8px auto}
.ep617-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:9px;margin:18px auto 0}.ep617-actions button{border:1px solid #bfe1e6;background:linear-gradient(#e8faff,#d7f4f7);border-radius:999px;color:#125a65;padding:10px 17px;min-height:45px;font-size:15px;font-weight:850;box-shadow:0 3px 0 #15616c13}.ep617-actions .ep617-finish{background:#d3f9ed;border-color:#90dbc6;color:#006b61}
.ep617-feedback{text-align:center;color:#326e75;font-size:13px;margin:12px auto 2px;min-height:18px}.ep617-pro{border:1px solid #c9e5e8;background:#e7f7fa;color:#0c5965;border-radius:13px;margin:12px auto 0;max-width:1200px}.ep617-pro summary{cursor:pointer;font-weight:800;padding:13px 17px}.ep617-pro-body{display:grid;grid-template-columns:minmax(180px,1fr) minmax(200px,2fr);gap:13px;padding:12px 17px 17px;border-top:1px solid #c9e5e8}.ep617-pro-body label{font-weight:750;font-size:13px}.ep617-pro-body select,.ep617-pro-body textarea{display:block;width:100%;font:inherit;border-radius:10px;background:#fff;border:1px solid #b4dce1;padding:8px;color:#134d55;margin-top:6px}.ep617-pro-body small{grid-column:1/-1;color:#587d83}
.ep617-overlay{position:absolute;inset:0;background:#ffffffef;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;padding:24px;min-height:330px}.ep617-overlay-symbol{width:78px;height:78px;border-radius:50%;background:#d8fcf0;display:grid;place-items:center;color:#008574;font-size:43px}.ep617-overlay strong{font-size:clamp(24px,4vw,32px)}.ep617-overlay p{max-width:540px;margin:0;color:#4b7379}.ep617-overlay .ep617-listen{margin:5px auto}.ep617-config p{color:#547d83;margin:5px 0 3px;font-size:13px}
.ep617-game.calm *{animation:none!important;transition:none!important}.ep617-game.high-contrast{--ink:#063842;--dark:#003c42}.ep617-game.high-contrast .ep617-step,.ep617-game.high-contrast .ep617-note{border-color:#073f47}
@media(max-width:950px){.ep617-top{padding:11px 16px}.ep617-garden-scene{height:208px}.ep617-bird{width:145px;left:3%;bottom:3px}.ep617-garden-scene p{padding:0 120px}.ep617-sign{margin-top:26px}.ep617-instruments{flex-direction:column}.ep617-listen{width:min(100%,390px)}.ep617-note{width:78px;height:78px}}
@media(max-width:670px){.ep617-game{border-radius:0;min-height:100dvh;padding-bottom:14px}.ep617-top{min-height:105px;display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:10px 12px}.ep617-brand{gap:7px}.ep617-brand img{width:24px;height:24px}.ep617-brand strong{font-size:18px}.ep617-brand b{font-size:16px}.ep617-divider{height:18px;margin:0 3px}.ep617-top-status{justify-content:space-between}.ep617-progress,.ep617-mode{font-size:11px;padding:7px 10px}.ep617-dots{gap:3px;margin-left:7px}.ep617-dots i{width:8px;height:8px}.ep617-main{padding:0 7px 11px}.ep617-garden-scene{height:181px;border-radius:0 0 17px 17px}.ep617-bird{width:110px;left:-6px;bottom:9px}.ep617-sign{margin-top:20px;padding:10px 13px 7px;max-width:76%}.ep617-sign:before,.ep617-sign:after{height:20px}.ep617-sign strong{font-size:clamp(19px,5.6vw,26px)}.ep617-garden-scene p{margin:26px 1% 0 auto;font-size:12px;max-width:68%;padding:0 6px;line-height:1.25}.ep617-flower{font-size:34px;right:2%;bottom:2px}.ep617-composer{margin-top:8px;padding:11px 8px 10px;border-radius:17px}.ep617-track{gap:6px;padding:10px 6px;min-height:120px;border-radius:15px}.ep617-step,.ep617-add-slot{width:clamp(40px,13.2vw,56px);height:53px;border-radius:10px;box-shadow:0 2px 0 #12433a2b}.ep617-step>span{font-size:19px}.ep617-step strong{font-size:11px}.ep617-add-slot{font-size:31px}.ep617-instruments{gap:12px}.ep617-notes{gap:5px;width:100%}.ep617-note{width:clamp(46px,16vw,63px);height:clamp(46px,16vw,63px);border-width:3px}.ep617-note span{font-size:20px}.ep617-note strong{font-size:11px}.ep617-listen{height:51px;min-height:0;width:min(96%,350px);font-size:14px!important;padding:10px}.ep617-actions{gap:7px;margin-top:13px}.ep617-actions button{min-height:40px;flex:1 1 calc(45% - 7px);font-size:12px;padding:8px 7px}.ep617-feedback{font-size:11px;margin:11px 5px 0}.ep617-pro{margin-top:10px}.ep617-pro summary{padding:12px;font-size:12px}.ep617-pro-body{grid-template-columns:1fr}.ep617-pro-body small{grid-column:1}.ep617-overlay{padding:17px;min-height:300px}}
@media(max-width:350px){.ep617-progress,.ep617-mode{padding:6px 8px;font-size:10px}.ep617-brand b{font-size:14px}.ep617-garden-scene{height:166px}.ep617-bird{width:88px}.ep617-sign strong{font-size:18px}.ep617-garden-scene p{max-width:76%;font-size:11px}.ep617-track{gap:4px}.ep617-step,.ep617-add-slot{width:41px;height:48px}.ep617-note{width:47px;height:47px}.ep617-note span{font-size:18px}.ep617-note strong{font-size:10px}}
