/* ElosPlay V7.0.5 | Minha Vez, Sua Vez — interface aprovada, independente das demais atividades. */
.ep616-game{--ep616-deep:#004f54;--ep616-ink:#07454e;--ep616-teal:#008b78;--ep616-green:#16c58e;box-sizing:border-box;min-height:100vh;min-height:100dvh;padding:0!important;overflow-x:clip;color:var(--ep616-ink);font-family:inherit;background:radial-gradient(ellipse at 50% 65%,#e9fffa 0%,#d5f0ed 69%,#b8dfde 100%)}
.ep616-game *{box-sizing:border-box}.ep616-game button{font:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.ep616-game button:disabled{opacity:.45;cursor:default}.ep616-game :is(button,summary,textarea,select):focus-visible{outline:3px solid #edb633;outline-offset:3px}
.ep616-top{height:59px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px clamp(12px,3.5vw,38px);color:white;background:linear-gradient(100deg,#00434d 5%,#087d75 72%,#005965);box-shadow:0 5px 20px #0654541b}
.ep616-brand{display:flex;align-items:center;min-width:0;gap:9px}.ep616-brand img{width:34px;height:34px;flex:0 0 auto}.ep616-brand strong{font-size:18px;letter-spacing:-.35px;color:white;white-space:nowrap}.ep616-brand span{font-size:14px;font-weight:700;color:#e0fffa;border-left:1px solid #97d4cf;padding-left:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ep616-top-tools{display:flex;align-items:center;gap:9px;flex:0 0 auto}.ep616-mode-pill{background:#d5fdf0;border-radius:30px;padding:6px 12px;color:#075d5b;font-size:12px;font-weight:800;white-space:nowrap}.ep616-exit{min-height:35px;padding:4px 16px;border:1px solid #a9dcd8;border-radius:22px;background:#ffffffed;color:#175f65;font-weight:800;font-size:12px}
.ep616-container{width:min(100%,1230px);margin:0 auto;padding:11px clamp(9px,2.2vw,26px) 18px;display:grid;gap:10px}.ep616-progress{display:flex;align-items:center;gap:16px;min-height:28px;padding:0 8px;white-space:nowrap}.ep616-progress>strong{font-size:13px;color:#14515d;font-weight:900}.ep616-progress-dots{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}.ep616-progress-dot{width:13px;height:13px;flex:0 0 auto;border:2px solid #b3dcd7;border-radius:50%;background:#bcd5d8}.ep616-progress-dot.complete{background:#08a99a;border-color:#08a99a}.ep616-progress-dot.current{background:#fff;border-color:#00ae9c;box-shadow:0 0 0 3px #39e3c44a}.ep616-time{margin-left:auto;border:1px solid #ccece4;background:#fff7;color:#076b65;border-radius:20px;padding:3px 9px;font-size:13px;font-weight:900}
.ep616-card{border-radius:26px;background:radial-gradient(ellipse at 50% 85%,#fff0c5 0%,#ddfcf5 36%,#e6fbfb 80%);border:1px solid #c0eae8;box-shadow:0 13px 35px #065a6530;overflow:hidden;position:relative;padding:12px clamp(12px,3vw,35px) 15px;isolation:isolate}
.ep616-card:before{content:'';position:absolute;z-index:-1;pointer-events:none;inset:auto -5% -140px;height:245px;background:radial-gradient(ellipse,#a7ecdd8a 4%,transparent 66%)}
.ep616-scene{display:grid;gap:4px;justify-items:stretch;min-width:0}.ep616-hero-prompt{text-align:center;position:relative;z-index:2}.ep616-hero-prompt h2{display:inline-flex;align-items:center;justify-content:center;min-width:170px;max-width:90%;padding:6px 25px;border-radius:36px;transform:rotate(-3deg);background:linear-gradient(180deg,#ffe066,#ffc83b);box-shadow:0 5px 0 #f5bd33bb,0 4px 18px #d8a73d29;color:#07566c;font-size:clamp(25px,3.5vw,43px);font-weight:1000;letter-spacing:-1px;line-height:1.14;margin:1px auto 4px}.ep616-hero-prompt p{margin:5px auto 0;color:#185d66;font-size:clamp(12px,1.4vw,15px);font-weight:800}
.ep616-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(215px,1.6fr) minmax(0,1fr);grid-template-areas:'professional drum participant';align-items:end;gap:clamp(5px,2vw,22px);width:100%;max-width:990px;margin:0 auto}
.ep616-person{position:relative;min-width:0;display:grid;align-items:end;justify-items:center;border-radius:35px 35px 28px 28px;border:2px solid #aee1e6;box-shadow:inset 0 2px 10px #fff9,0 7px 13px #22726a18;background:linear-gradient(150deg,#d4f5fc,#b2e5ed);padding:9px 9px 8px;transition:box-shadow .2s,filter .2s,border-color .2s,transform .2s;overflow:hidden}.ep616-person--professional{grid-area:professional}.ep616-person--participant{grid-area:participant}
.ep616-person.is-active{border-color:#18c97c;background:linear-gradient(145deg,#d7ffca,#a6f9d5);box-shadow:0 0 0 4px #69f8a77a,0 11px 22px #1b9f7366,inset 0 1px 16px #ecfff0}.ep616-person.is-waiting{filter:saturate(.82);opacity:.90}
.ep616-person-art{width:100%;height:clamp(120px,20vw,206px);display:grid;place-items:end center;z-index:1}.ep616-person-art img{width:100%;height:100%;max-width:270px;object-fit:contain;object-position:bottom;pointer-events:none;user-select:none}.ep616-person-label{z-index:2;margin-top:-6px;padding:6px 14px;min-width:70%;border:1px solid #93d8df;background:linear-gradient(180deg,#e9fcff,#bae9f2);color:#125267;box-shadow:0 3px 7px #0448542b;border-radius:30px;font-size:clamp(12px,1.5vw,16px);font-weight:900;text-align:center;white-space:nowrap}.ep616-person.is-active .ep616-person-label{border-color:#00bd76;background:linear-gradient(180deg,#43e89b,#00b86d);color:white}
.ep616-stage-center{grid-area:drum;position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:195px}.ep616-drum-surface{appearance:none;background:transparent;border:0;padding:0;margin:0;display:grid;place-items:center;width:min(100%,350px);max-height:265px;aspect-ratio:330/270;position:relative;transition:filter .15s,transform .15s;touch-action:manipulation}.ep616-drum-surface img{width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none}.ep616-drum-surface:where(button):hover{filter:brightness(1.05)}.ep616-drum-surface.is-struck{animation:ep616-hit .17s ease-out}@keyframes ep616-hit{40%{transform:translateY(6px) scale(.98)}100%{transform:translateY(0) scale(1)}}
.ep616-note{position:absolute;z-index:-1;pointer-events:none;font-size:clamp(22px,3vw,38px);font-weight:900;line-height:1;user-select:none}.ep616-note-a{left:5%;top:14%;color:#00a5cb;transform:rotate(-20deg)}.ep616-note-b{right:3%;top:6%;color:#c050eb;transform:rotate(12deg)}.ep616-note-c{left:3%;top:51%;color:#009aab;transform:rotate(22deg)}.ep616-note-d{right:7%;top:44%;color:#f4b41f;transform:rotate(20deg)}
.ep616-main-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:0 auto;width:100%;padding-top:1px}.ep616-primary,.ep616-next{min-height:48px;padding:9px 25px;border-radius:32px;font-size:clamp(15px,1.65vw,19px);font-weight:1000;letter-spacing:.1px}.ep616-primary{border:0;background:linear-gradient(180deg,#04bfa4,#007c72);color:white;box-shadow:inset 0 2px #56e9ce,0 5px 0 #00655b,0 9px 18px #066a6550}.ep616-primary:active{transform:translateY(3px);box-shadow:0 2px 0 #00655b}.ep616-play{min-width:min(220px,100%)}.ep616-play span{font-size:24px;vertical-align:middle;margin-right:9px}.ep616-next{min-width:192px;border:1.5px solid #058776;background:#e6f9f4;color:#075c60;box-shadow:0 4px 11px #137b6b16}.ep616-next span{font-size:13px;margin-right:8px;letter-spacing:-5px}.ep616-next:hover{background:#d2f8ec}.ep616-feedback{min-height:18px;max-width:600px;text-align:center;margin:5px auto 0;font-size:12px;color:#4c8588;font-weight:650}.ep616-physical{display:grid;gap:2px;text-align:center;background:#fffbdc;border-radius:15px;border:1px solid #e8daa0;padding:8px 14px;color:#67531a}.ep616-physical strong{font-size:14px}.ep616-physical span{font-size:12px}
.ep616-bottom{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0}.ep616-controls{display:flex;align-items:center;gap:9px;flex:0 0 auto}.ep616-controls button{min-height:38px;padding:8px 15px;background:#effbf9;color:#12666b;border:1px solid #b6dedb;border-radius:25px;font-weight:800;font-size:12px}.ep616-controls button:hover:not(:disabled){background:white}.ep616-professional{min-width:0;flex:1;max-width:680px;border:1px solid #c5e1de;background:#ffffff80;border-radius:14px;padding:0 14px;color:#0c6168}.ep616-professional summary{cursor:pointer;min-height:38px;display:flex;align-items:center;font-size:12px;font-weight:850;list-style:none}.ep616-professional summary::-webkit-details-marker{display:none}.ep616-professional summary:before{content:'›';font-size:21px;line-height:0;padding-right:9px}.ep616-professional[open] summary:before{transform:rotate(90deg)}.ep616-professional-body{display:grid;grid-template-columns:minmax(160px,1fr) minmax(230px,2fr);gap:10px;padding:10px 0 12px;border-top:1px solid #cce9e4}.ep616-professional label{font-size:12px;font-weight:750}.ep616-professional :is(select,textarea){display:block;width:100%;border:1px solid #aad6d0;border-radius:10px;padding:9px;color:#185c63;font:inherit;font-size:14px;min-height:42px;margin-top:4px;background:white}.ep616-session-summary{grid-column:1/-1;font-size:12px;color:#47777b;margin:0}
.ep616-observation{max-width:740px;margin:13px auto 0;border:1px solid #bedcd5;border-radius:15px;padding:10px 15px;background:#f4fdfa}.ep616-observation summary{cursor:pointer;font-weight:900;font-size:13px;color:#075f65}.ep616-observation summary span{font-size:11px;color:#688c8e;margin-left:7px;font-weight:600}.ep616-observation p{font-size:12px;margin:7px 0;color:#447c82}.ep616-observe-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.ep616-observe-grid button{min-height:44px;border-radius:11px;border:1px solid #afd9d4;background:white;color:#09666b;font-size:12px;font-weight:700}.ep616-observe-grid button.selected{background:#008876;color:white;border-color:#007b6b}
.ep616-idle{display:grid;place-content:center;justify-items:center;gap:10px;text-align:center;min-height:340px}.ep616-idle img{width:min(210px,55vw);height:auto}.ep616-idle h2{margin:0;font-size:clamp(22px,3.5vw,32px);color:#066675}.ep616-idle p{margin:0 0 5px;max-width:400px;color:#33747a;font-size:14px}.ep616-idle .ep616-primary{min-width:185px}.ep616-error{padding:12px;background:#fff5f5;border:1px solid #e6aaaa;border-radius:12px;color:#982f39}
.ep616-config{border:1px solid #bce5de;border-radius:12px;padding:14px;min-width:0}.ep616-config legend{font-weight:900;color:#075f64}.ep616-config p{font-size:13px;margin:3px 0 12px;color:#41787b}.ep616-config-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.ep616-config-grid label{font-weight:750}.ep616-config-grid select{width:100%}.ep616-config small{display:block;margin-top:10px;color:#48747b}
.ep616-game.high-contrast .ep616-person.is-active{border:4px solid #00774a}.ep616-game.high-contrast .ep616-primary{background:#00665d}.ep616-game.calm .ep616-person{transition:none}.ep616-game.calm .ep616-drum-surface.is-struck{animation:none}
@media(max-width:800px){.ep616-top{height:55px}.ep616-brand strong{font-size:16px}.ep616-brand span{font-size:12px}.ep616-stage{grid-template-columns:minmax(0,1fr) minmax(180px,1.35fr) minmax(0,1fr)}.ep616-stage-center{min-height:145px}.ep616-person-art{height:clamp(110px,19vw,172px)}}
@media(max-width:600px){.ep616-top{height:54px;padding:6px 11px;gap:7px}.ep616-brand img{height:30px;width:30px}.ep616-brand{gap:6px}.ep616-brand span{max-width:125px;font-size:11px;border-left:0;padding-left:1px}.ep616-mode-pill{display:none}.ep616-exit{padding:5px 11px;font-size:11px;min-height:33px}.ep616-container{padding:8px 8px 14px;gap:8px}.ep616-progress{gap:11px;padding:0 6px;min-height:27px}.ep616-progress>strong{font-size:12px}.ep616-progress-dots{gap:7px}.ep616-progress-dot{width:11px;height:11px;border-width:2px}.ep616-card{border-radius:21px;padding:10px 9px 11px}.ep616-hero-prompt h2{font-size:26px;min-width:148px;padding:6px 21px}.ep616-hero-prompt p{font-size:12px}.ep616-stage{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:'professional participant' 'drum drum';align-items:center;max-width:425px;column-gap:15px;row-gap:0}.ep616-person{border-radius:25px 25px 18px 18px;padding:4px 5px 5px;max-width:175px;width:100%;justify-self:center}.ep616-person-art{height:clamp(82px,27vw,135px)}.ep616-person-label{min-width:75%;font-size:12px;padding:4px 8px;margin-top:-5px}.ep616-stage-center{min-height:0;max-height:196px;justify-self:center;width:100%;max-width:285px;margin-top:-7px}.ep616-drum-surface{width:100%;max-height:192px}.ep616-note{font-size:23px}.ep616-note-a{left:0}.ep616-note-b{right:2%}.ep616-note-c{left:2%}.ep616-note-d{right:1%}.ep616-main-actions{display:grid;justify-items:center;gap:7px}.ep616-primary,.ep616-next{min-height:45px;font-size:15px}.ep616-play{min-width:min(255px,100%)}.ep616-next{min-width:min(255px,100%)}.ep616-feedback{font-size:11px;min-height:14px;margin:5px auto 0;max-width:300px}.ep616-bottom{flex-direction:column;align-items:stretch;gap:7px}.ep616-controls{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:7px}.ep616-controls button{min-height:38px}.ep616-professional{width:100%;max-width:none}.ep616-professional summary{min-height:36px}.ep616-professional-body{grid-template-columns:1fr}.ep616-observe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ep616-config-grid{grid-template-columns:1fr}}
@media(max-width:360px){.ep616-brand span{max-width:100px}.ep616-person-art{height:90px}.ep616-person-label{font-size:11px}.ep616-progress-dot{width:9px;height:9px}.ep616-stage-center{max-height:165px}.ep616-drum-surface{max-height:165px}.ep616-hero-prompt h2{font-size:24px}.ep616-card{padding:9px 6px 10px}}
@media(max-height:710px) and (max-width:600px){.ep616-person-art{height:82px}.ep616-stage-center,.ep616-drum-surface{max-height:145px}.ep616-card{padding-top:7px;padding-bottom:8px}.ep616-scene{gap:1px}.ep616-main-actions{gap:4px}}
@media(prefers-reduced-motion:reduce){.ep616-game .ep616-person,.ep616-game .ep616-drum-surface{transition:none}.ep616-game .ep616-drum-surface.is-struck{animation:none}}

/* V7.0.5: identificação mais direta e maior legibilidade nos painéis Eu/Você. */
.ep616-person-label{min-width:62%;font-size:clamp(16px,2.2vw,23px);letter-spacing:.3px}
.ep616-game .ep616-time{font-variant-numeric:tabular-nums;min-width:42px;text-align:center}
@media(max-width:600px){.ep616-person-label{font-size:clamp(16px,5vw,20px);padding:5px 9px}}
@media(max-width:360px){.ep616-person-label{font-size:16px}}

/* V7.0.6 – referência sonora para a alternância automática */
.ep616-reference-config{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(150px,.8fr);gap:13px;padding:14px;margin-top:12px;border-radius:16px;border:1px solid #c8e4e2;background:linear-gradient(120deg,#f0fbf9,#f8fcfa);align-items:center}
.ep616-reference-check{display:flex!important;align-items:center;gap:12px;min-width:0;cursor:pointer}
.ep616-reference-check input{width:20px;height:20px;flex:0 0 auto;accent-color:#068879}
.ep616-reference-check span{display:grid;gap:2px}
.ep616-reference-check small{display:block;margin-top:0!important;font-weight:500;line-height:1.4}
.ep616-reference-speed{min-width:0;display:grid;gap:5px}
.ep616-controls{flex-wrap:wrap}
.ep616-controls .ep616-reference-control{border:1px solid #97d8cc;background:#effbf7;color:#006c62;font-weight:800}
.ep616-controls .ep616-reference-control[aria-pressed="true"]{background:#d6f8e8;border-color:#57bfa4}
.ep616-reference-status{font-size:12px;text-align:center;color:#2e666c;font-weight:700;margin:4px 0 0}
@media(max-width:620px){.ep616-reference-config{grid-template-columns:1fr}.ep616-controls:has(.ep616-reference-control){grid-template-columns:1fr 1fr}.ep616-reference-control{grid-column:1/-1}.ep616-reference-status{font-size:11px}}
