/* ElosPlay — ETAPA 2/3: UX, intuitividade e interatividade.
   Camada visual aditiva, sem mexer em regras, dados clínicos ou motores CAA. */
:root{--ep2-ink:#14394a;--ep2-secondary:#507382;--ep2-mint:#0d877d;--ep2-line:#dce9eb;--ep2-shadow:0 12px 32px rgba(18,59,74,.09)}
.ep2-shell .sidebar{width:250px;flex-basis:250px;padding:25px 14px 15px;overflow:hidden;background:linear-gradient(163deg,#0e2f43 0%,#124853 65%,#125955 100%)}
.ep2-shell .sidebar .brand{margin-bottom:27px;padding-left:11px}
.ep2-shell .nav-label{margin-bottom:9px;color:#abd4d5}
.ep2-shell .nav-menu{display:block;overflow-y:auto;overflow-x:hidden;min-height:0;scrollbar-width:thin;scrollbar-color:#4c858b transparent;padding-right:3px;padding-bottom:12px}
.ep2-nav-group{border-bottom:1px solid #ffffff17;margin-bottom:3px;padding:4px 0 9px}
.ep2-nav-group>summary{display:flex;align-items:center;gap:10px;list-style:none;color:#c8dce1;font-size:13px;font-weight:770;padding:11px 10px;border-radius:11px;cursor:pointer;min-height:43px;transition:background .15s}
.ep2-nav-group>summary::-webkit-details-marker{display:none}
.ep2-nav-group>summary:hover,.ep2-nav-group[open]>summary{background:#ffffff12;color:#fff}
.ep2-nav-group>summary .nav-symbol{font-size:17px;color:#a8e5dd}
.ep2-nav-chevron{margin-left:auto;font-size:18px;color:#87b9bc;transform:rotate(0);transition:transform .16s}
.ep2-nav-group[open] .ep2-nav-chevron{transform:rotate(180deg)}
.ep2-nav-items{padding:5px 0 0 10px;display:grid;gap:3px}
.ep2-nav-items .nav-item{min-height:39px;font-size:12.4px;padding:7px 10px 7px 11px;border-radius:9px;gap:10px;color:#c4dce0}
.ep2-nav-items .nav-item .nav-symbol{font-size:17px;width:17px}
.ep2-nav-items .nav-item.active{background:linear-gradient(95deg,#208f86,#1c7379);color:#fff}
.ep2-nav-items .ep2-nav-link{display:flex;line-height:1.35}
.ep2-shell .sidebar-bottom{padding-top:10px;background:linear-gradient(0deg,#125a55 55%,rgba(18,90,85,0));position:relative}
.ep2-caa-shortcut{display:flex;gap:12px;align-items:center;padding:12px 11px;margin:9px 2px 0;border:1px solid #b7ece233;background:#ffffff12;color:#e9fdfc;border-radius:12px;font-weight:750;font-size:12px;min-height:54px}
.ep2-caa-shortcut>span:first-child{font-size:23px;color:#86e2d9}
.ep2-caa-shortcut>span:last-child{margin-left:auto;color:#b2e3e1}
.ep2-caa-shortcut small{display:block;color:#afd0d3;font-weight:500;font-size:10px;line-height:1.5}
.ep2-caa-shortcut:hover{background:#ffffff22}
.ep2-shell .main-content{max-width:1600px}
.ep2-shell .topbar{height:70px}
.ep2-sidebar-scrim{display:none}
/* Primeira decisão em destaque; manter todos os filtros avançados existentes. */
.ep2-shell .v2-library{gap:15px}
.ep2-shell .v2-library .page-header{padding:1px 0 6px}
.ep2-shell .v2-library .page-header h1{font-size:clamp(27px,3vw,40px)}
.ep2-shell .v2-library-filters{border-radius:19px;box-shadow:var(--ep2-shadow)!important}
.ep2-shell .v2-library-filters .library-search-field input{background:#fff;border:2px solid #bddcd9;min-height:50px;font-size:14px}
.ep2-shell .v2-patient-pick{border-radius:16px;box-shadow:0 6px 20px #12394a0a!important}
.ep2-genre-tabs{display:flex;gap:9px;align-items:center;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;max-width:100%;padding:3px 3px 7px;scroll-snap-type:x proximity}
.ep2-genre-chip{flex:0 0 auto;border:1px solid #d3e6e8;background:#fff;border-radius:99px;padding:10px 15px;font-weight:720;color:#4c6f7a;min-height:42px;scroll-snap-align:start;white-space:nowrap}
.ep2-genre-chip.selected,.ep2-genre-chip[aria-pressed="true"]{border-color:#0f8c7e;background:#dff5f0;color:#075c56;box-shadow:0 3px 12px #1a887a18}
.ep2-genre-chip:hover{background:#eef9f6}
.ep2-library-status{flex:0 0 auto;padding:7px 11px;border:1px solid #d4e7e5;color:#316a6b;background:#f4fbf9;border-radius:50px;font-weight:720;font-size:11px}
.ep2-shell .v302-results-head{align-items:center;padding:8px 1px 1px}
.ep2-shell .v302-results-head p{color:#4c6e79;line-height:1.55}
.ep2-shell .v302-results-head p strong{color:#285365}
.ep2-shell .v2-card{border-radius:19px!important;box-shadow:0 10px 28px #12394a13!important}
.ep2-shell .v2-card .activity-art.v2-cover{height:170px}
.ep2-shell .v2-card .v2-card-body h3{font-size:19px}
.ep2-shell .v2-card .v2-card-actions .button.primary{background:linear-gradient(95deg,#0d897c,#0a726e);font-weight:800;box-shadow:0 6px 15px #0b7f7925}
.ep2-shell .v2-card .v2-card-actions .button.ghost{font-weight:730}
.ep2-shell .v2-card .v24-card-guide{order:5}
.ep2-shell .v2-card .v24-card-guide .button{background:transparent;border:0;min-height:30px;font-size:11.5px;color:#376b7b;text-decoration:underline;text-underline-offset:3px}
.ep2-shell .v2-card .v2-card-actions{order:4;margin-top:6px}
.ep2-shell .v2-card .v30-card-actions{order:6}
/* Configuração em 3 passos: maior destaque para preparar e iniciar; bloco técnico permanece recolhível. */
.ep2-steps{display:flex;gap:7px;flex-wrap:wrap;padding:3px 0 6px}
.ep2-steps>span{font-weight:650;font-size:11.5px;color:#496d79;background:#f3f8f9;border:1px solid #e0ebee;padding:9px 11px;border-radius:10px;display:flex;align-items:center;gap:7px}
.ep2-steps b{display:grid;place-items:center;width:22px;height:22px;flex:0 0 22px;border-radius:50%;background:#d9f3ec;color:#086d62;font-size:12px}
.ep2-steps>span:nth-child(3){background:#eaf7f1;border-color:#c8e7dc;color:#136d5a}
.ep2-shell #config-form{box-shadow:var(--ep2-shadow)}
.ep2-shell #config-form .form-actions>.button.primary{font-size:15px;min-height:54px}
.ep2-shell #config-form .form-actions>.button.primary:after{content:' →'}
.ep2-shell .v115-info .v21-experience-help{line-height:1.55}
/* Apresentação da atividade: não alterar cores-notas, regras, pontuação nem resultados. */
#app[data-experience] .game-shell .game-body{max-width:1480px}
#app[data-experience] .game-shell .game-intro h1{font-weight:850;letter-spacing:-.04em}
#app[data-experience] .game-shell .game-arena{border:1px solid #d5e7e9;box-shadow:0 24px 58px #163e5014}
#app[data-experience] .game-shell .game-footer{border-top:1px solid #dce8eb;margin-top:12px}
#app[data-experience] .game-shell .musical-pad:focus-visible{outline:4px solid #127e76;outline-offset:3px}
#app[data-experience="colors"] .game-shell .cue-color,#app[data-experience="colorquest"] .game-shell .cue-color{width:clamp(82px,10vw,117px);height:clamp(82px,10vw,117px);box-shadow:0 0 0 2px #e4eff1,0 11px 25px #173c4d23}
#app[data-experience="colors"] .game-shell .game-cue{min-height:155px}
#app[data-experience="colors"] .game-shell .musical-pad .pad-inner{height:clamp(66px,9vw,102px);width:min(102px,80%)}
#app[data-experience="echo"] .game-shell .game-cue,#app[data-experience="listen"] .game-shell .therapy-cue{background:linear-gradient(125deg,#e9f6f4,#f7faff);border-radius:19px;padding:20px}
#app[data-experience="rhythm"] .game-shell .game-cue,#app[data-experience="stopgo"] .game-shell .guided-cue{background:linear-gradient(115deg,#effaf5,#fcfbef);border-radius:19px;padding:16px}
#app[data-experience="turns"] .game-shell .turn-main{border-width:2px}
#app[data-experience="turns"] .game-shell .turn-next{background:linear-gradient(90deg,#0d827d,#0d6b75);color:#fff}
#app[data-experience="memory"] .game-shell .cognitive-card,#app[data-experience="reveal_memory"] .game-shell .v26-card{min-height:78px}
#app[data-experience="syllables"] .game-shell .exp-choice{min-height:58px}
#app[data-experience="vehicle"] .game-shell .selection-option{min-height:110px}
/* Alvos de toque, navegação e teclado */
.ep2-shell .nav-item:focus-visible,.ep2-shell .ep2-nav-group>summary:focus-visible,.ep2-shell .ep2-caa-shortcut:focus-visible,.ep2-genre-chip:focus-visible{outline:3px solid #77e2d7;outline-offset:2px}
.ep2-shell .v2-card .button{min-height:42px}
@media(max-width:1100px){.ep2-shell .sidebar{width:226px;flex-basis:226px}.ep2-library-status{display:none}}
@media(max-width:790px){
 .ep2-shell .sidebar{width:min(290px,85vw);flex-basis:unset;z-index:61;position:fixed;transform:translateX(-105%);overflow:hidden}
 .ep2-shell .sidebar.open{transform:translateX(0)}
 .ep2-shell .ep2-sidebar-scrim{position:fixed;inset:0;z-index:60;background:#0b293d7d;border:0;border-radius:0}
 .ep2-shell:has(.sidebar.open) .ep2-sidebar-scrim{display:block}
 .ep2-shell .topbar{height:62px}
 .ep2-shell .main-content{padding:21px 15px 65px}
 .ep2-shell .v2-library{gap:12px}
 .ep2-shell .v2-library .page-header h1{font-size:29px}
 .ep2-shell .v302-results-head h2{font-size:21px}
 .ep2-shell .v2-library-filters{padding:14px!important}
 .ep2-shell .v2-card .activity-art.v2-cover{height:170px}
 .ep2-steps{display:grid;grid-template-columns:1fr;gap:6px}
 .ep2-steps>span{padding:7px 9px}
}
@media(max-width:390px){
 .ep2-shell .v2-library .page-header h1{font-size:26px}
 .ep2-shell .v2-card .v2-card-actions .button{font-size:12px;min-height:46px}
 .ep2-shell .v2-library-filters input,.ep2-shell .v2-library-filters select{font-size:14px}
 .ep2-genre-chip{padding:9px 12px;font-size:12px}
 #app[data-experience="colors"] .game-shell .game-arena{padding:13px 9px}
}
@media(prefers-reduced-motion:reduce){.ep2-genre-chip,.ep2-nav-chevron,.ep2-shell .v2-card{transition:none!important}}
/* Legibilidade: não depender de microtextos para decisões principais. */
.ep2-shell .v2-card .v2-mechanic-tag,.ep2-shell .v2-card .v2-time{font-size:11.5px}
.ep2-shell .v2-card .v2-skill-list span{font-size:11px}
.ep2-shell .v2-card .v2-card-description{font-size:13px}
.ep2-shell .v2-library .page-header p{font-size:13px}
