/* ElosPlay Experience V4.5 – interação na tela, com materiais físicos ou híbrida.
   Camada aditiva; não altera os motores de jogo e mantém CAA isolada. */
.ep45-interaction{display:block;min-width:0;margin:5px 0 8px;padding:17px 18px;border-radius:17px;border:1px solid #c9e7e5;background:linear-gradient(120deg,#f2fcfa,#f7fbff)}
.ep45-interaction legend{font-weight:850;font-size:15px;color:#174756;padding:0 6px}
.ep45-interaction>p{font-size:12px;line-height:1.45;color:#5c7986;margin:0 0 13px}
.ep45-interaction-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ep45-interaction-option{position:relative;display:flex;min-width:0;cursor:pointer;font-weight:inherit!important}
.ep45-interaction-option>input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.ep45-option-content{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0;min-height:111px;width:100%;padding:14px 15px;border:2px solid #d8e8e9;border-radius:14px;background:#fff;box-shadow:0 3px 8px #164c5610;transition:background .14s,border-color .14s,box-shadow .14s}
.ep45-option-content>strong{font-size:13px;line-height:1.2;color:#1a4554;font-weight:850}
.ep45-option-content>small{font-size:11px;line-height:1.4;color:#66838d;font-weight:570}
.ep45-interaction-option>input:checked+.ep45-option-content{border-color:#139b8b;background:#e6f8f1;box-shadow:0 0 0 2px #139b8b1a}
.ep45-interaction-option>input:focus-visible+.ep45-option-content{outline:3px solid #0b6476;outline-offset:3px}
.ep45-interaction-option>input:disabled+.ep45-option-content{opacity:.52;cursor:not-allowed;background:#f4f7f7}
.ep45-interaction-option>input:not(:disabled):hover+.ep45-option-content{border-color:#2bb9a6}
.ep45-interaction .ep45-access-hint{margin:11px 0 0;color:#6b7f83}
.ep45-external-panel{display:flex;flex-direction:column;min-width:0;gap:9px;margin:15px 0 2px;padding:16px;border:1px solid #b9ded8;background:linear-gradient(155deg,#f1fcf8,#f5fbff);border-radius:17px;box-shadow:0 5px 17px #104c4f0c}
.ep45-external-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px}
.ep45-external-head span:first-child{display:block;font-size:10px;letter-spacing:.11em;font-weight:860;color:#197b71}
.ep45-external-head h3{margin:3px 0 0;font-size:15px;line-height:1.3;font-weight:850;color:#173f50}
.ep45-external-head .ep45-observation-tag{font-size:10px;font-weight:750;color:#46767b;background:#e0f3ef;padding:5px 9px;border-radius:30px;letter-spacing:0;white-space:normal}
.ep45-external-panel>p{font-size:12px;line-height:1.5;color:#52727f;margin:0}
.ep45-observe-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ep45-observe-button{width:100%;min-height:47px;padding:8px 10px;border:1px solid #bfdcd9;border-radius:11px;background:#fff;font-size:12px;line-height:1.25;font-weight:800;color:#285764;cursor:pointer;touch-action:manipulation;box-shadow:0 2px 6px #12424a0b}
.ep45-observe-button.ep45-observe-positive{background:#0c8179;color:#fff;border-color:#0c8179}
.ep45-observe-button:hover:not(:disabled){border-color:#10968a;box-shadow:0 4px 12px #0e797f1e}
.ep45-observe-button:focus-visible,.ep45-rhythm-footer button:focus-visible{outline:3px solid #005564;outline-offset:2px}
.ep45-observe-button:disabled{opacity:.52;cursor:not-allowed}
.ep45-rhythm-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:3px;padding-top:9px;border-top:1px solid #d5e8e7}
.ep45-rhythm-footer>span{flex:1 1 180px;font-size:11px;line-height:1.35;color:#567883}
.ep45-rhythm-footer>.button{min-height:44px;white-space:normal;background:#fff;border:1px solid #9fcfcd;font-weight:800;color:#176a67}
.ep45-manual-feedback:empty{display:none}
.ep45-manual-feedback{font-weight:700;font-size:12px;color:#176b68;padding:7px 0 0;line-height:1.4}
.ep44-colors-game .ep45-external-panel{margin:15px 0 2px;box-shadow:none}
.ep44-colors-game .ep44-note-key:disabled{opacity:.58}
.game-shell .game-content .ep45-external-panel{grid-column:1/-1}
.game-shell .game-content .ep45-observe-button{min-height:51px}
.game-shell .game-content .ep45-rhythm-footer button{min-height:45px}
@media(max-width:980px){.ep45-interaction-grid{grid-template-columns:repeat(1,minmax(0,1fr))}.ep45-option-content{min-height:0;padding:12px 14px;gap:4px}.ep45-interaction{padding:14px}}
@media(max-width:760px){.ep45-external-panel{padding:12px}.ep45-external-head h3{font-size:14px}}
@media(max-width:390px){.ep45-observe-buttons{gap:6px}.ep45-observe-button{padding:8px 6px;font-size:11px}.ep45-external-panel{padding:11px}.ep45-external-head .ep45-observation-tag{font-size:9px}}
@media(prefers-reduced-motion:reduce){.ep45-option-content{transition:none!important}}
@media(max-width:480px){.ep44-colors-game .ep44-stats{white-space:normal;overflow-wrap:anywhere;line-height:1.4}.ep44-colors-game .ep44-play-toolbar{min-width:0}}
.ep45-reference-notes{display:flex;flex-wrap:wrap;gap:7px;align-items:center;justify-content:center;max-width:640px;margin:12px auto;padding:10px;background:#f4faf9;border:1px solid #d6e9e7;border-radius:14px}
.ep45-reference-item{display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:5px 8px;background:white;border:1px solid #d8e7e8;border-radius:9px;font-size:12px;font-weight:800;color:#315562}
.ep45-reference-item i{display:inline-block;width:15px;height:15px;border-radius:5px;box-shadow:inset 0 -2px 0 #0002}
.ep45-reference-item small{font-size:10px;color:#7d939a}
