/* Querubim v1.1.6 — acabamento autenticacao, salas, menu das aulas e destaques. */
body.qer-body{overflow-x:hidden}
/* ENTRADA: o formulario ocupa uma tela propria, sem cabeçalho publico nem deslocamento lateral. */
body.qer-auth-screen{background:radial-gradient(ellipse at 65% 0%,#103b5b,#071726 60%,#04101c 100%)!important;min-width:0}
body.qer-auth-screen .qer-topbar,body.qer-auth-screen .qer-footer{display:none!important}
body.qer-auth-screen .qer-app{min-height:100svh;display:flex;align-items:center;justify-content:center}
body.qer-auth-screen .qer-gate-share{max-width:490px!important;width:100%!important;min-height:0!important;margin:0 auto!important;padding:18px 16px!important;display:block!important}
body.qer-auth-screen .qer-gate-card{max-width:450px!important;width:100%!important;margin:0 auto!important;padding:25px 24px!important;border:1px solid rgba(88,195,236,.35)!important;background:linear-gradient(150deg,#102b43,#071a2d)!important;border-radius:19px!important;box-shadow:0 20px 52px rgba(0,0,0,.33)!important;overflow:hidden!important}
body.qer-auth-screen .qer-gate-card .qer-gate-official-logo{display:block!important;width:min(205px,62%)!important;max-height:150px!important;height:auto!important;object-fit:contain!important;margin:0 auto 6px!important}
body.qer-auth-screen .qer-login-school-name{font-size:12px!important;margin:0 auto 5px!important;color:#93d7f3!important}
body.qer-auth-screen .qer-gate-card>h2{font-size:clamp(20px,3vw,24px)!important;line-height:1.12!important;letter-spacing:-.02em!important;margin:5px 0 5px!important;text-align:center!important}
body.qer-auth-screen .qer-gate-card>p{font-size:12px!important;margin:0 0 13px!important;line-height:1.35!important;text-align:center!important}
body.qer-auth-screen .qer-access-switch{margin:0 0 12px!important;min-height:42px!important}
body.qer-auth-screen .qer-access-tab{font-size:12px!important;padding:10px 9px!important}
body.qer-auth-screen .qer-gate-cols{margin:0!important;display:block!important}
body.qer-auth-screen .qer-gate-cols>div{width:100%!important;padding:0!important;border:0!important;background:transparent!important;border-radius:0!important;overflow:visible!important}
body.qer-auth-screen .qer-access-card:before{display:none!important}
body.qer-auth-screen .qer-access-card>h3{font-size:14px!important;margin:0 0 9px!important;color:#d9f5ff!important}
body.qer-auth-screen .qer-form{gap:9px!important}
body.qer-auth-screen .qer-form input:not([type=checkbox]){min-height:47px!important;font-size:14px!important;padding:12px 14px!important;width:100%!important;background:#0a2338!important;border:1px solid #2e7097!important;border-radius:11px!important;box-shadow:none!important}
body.qer-auth-screen .qer-form .qer-password-wrap{min-width:0!important}
body.qer-auth-screen .qer-password-toggle{right:5px!important;top:4px!important;height:38px!important;width:40px!important;font-size:19px!important;background:transparent!important;color:#a4e4f8!important}
body.qer-auth-screen .qer-login-utils{display:flex!important;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:1px 0 2px}
body.qer-auth-screen .qer-remember{display:flex;align-items:center;gap:7px;font-size:12px;color:#c7e4f2}
body.qer-auth-screen .qer-remember input{width:17px!important;height:17px!important;min-height:0!important;accent-color:#12c5e8}
body.qer-auth-screen .qer-forgot-link{color:#41dbf4!important;font-size:12px!important;text-decoration:underline;text-underline-offset:3px}
body.qer-auth-screen .qer-primary-btn{width:100%!important;min-height:49px!important;border-radius:12px!important;background:linear-gradient(110deg,#20d4ee,#0da9d3)!important;color:#021e31!important;box-shadow:0 10px 24px rgba(12,182,224,.2)!important}
body.qer-auth-screen .qer-gate-note{font-size:10px!important;color:#b4c9d6!important}
body.qer-auth-screen .qer-form-msg:empty{display:none!important}
/* BLOQUEIO DE SALA — card compacto nos tres menus, sem ocultar a navegacao. */
body.qer-room-locked .qer-school-cover,body.qer-room-locked .qer-school-profilebar{display:none!important}
body.qer-room-locked .qer-main{display:block!important;width:min(790px,calc(100% - 22px))!important;padding:18px 0 45px!important}
body.qer-room-locked .qer-room-gate{min-height:0!important;max-width:780px!important;padding:22px 20px 24px!important;gap:6px!important;margin:0 auto!important;border-radius:20px!important;box-shadow:0 14px 40px rgba(0,0,0,.27)!important}
body.qer-room-locked .qer-room-gate .qer-room-lock-icon{font-size:24px;color:#63e4f8;line-height:1.2}
body.qer-room-locked .qer-room-gate>h2{font-size:clamp(20px,3.2vw,26px)!important;line-height:1.18;margin:1px 0 4px!important}
body.qer-room-locked .qer-room-gate>p{font-size:13px!important;line-height:1.45!important;max-width:560px;margin:0 auto 5px!important}
body.qer-room-locked .qer-room-join-card{width:100%!important;max-width:470px!important;margin:5px auto!important;padding:12px 14px!important;box-shadow:none!important;border-radius:14px!important;background:#0b273d!important}
body.qer-room-locked .qer-room-join-icon{display:none!important}
body.qer-room-locked .qer-room-join-card h3{font-size:16px!important;margin:0 0 4px!important}
body.qer-room-locked .qer-room-join-card p{font-size:11px!important;margin:3px 0 8px!important}
body.qer-room-locked .qer-room-join-form{gap:8px!important;margin:5px auto!important}
body.qer-room-locked .qer-room-join-form label{font-size:11px!important;gap:4px!important}
body.qer-room-locked .qer-room-join-form :is(input,select){min-height:40px!important;padding:8px 10px!important;font-size:13px!important}
body.qer-room-locked .qer-room-join-form button{min-height:42px!important;padding:9px 12px!important}
body.qer-room-locked .qer-room-gate .qer-room-back{background:transparent!important;color:#69d7eb!important;border:0!important;font-size:11px!important;padding:5px 6px!important}
/* DESTAQUES: respiro real entre as miniaturas e sombreado somente na legenda. */
body.qer-body .qer-stories-shell{padding-inline:7px!important;min-width:0!important;max-width:100%!important}
body.qer-body .qer-stories{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:clamp(130px,27%,190px)!important;column-gap:20px!important;row-gap:0!important;padding:7px 5px 13px!important;scroll-padding-inline:8px!important;overflow-x:auto!important;align-items:start!important}
body.qer-body .qer-story{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;box-sizing:border-box!important;aspect-ratio:4/5!important;scroll-snap-align:start!important;box-shadow:0 4px 14px rgba(0,0,0,.16)!important}
body.qer-body .qer-story:before{background:linear-gradient(to bottom,transparent 56%,rgba(0,8,16,.12) 68%,rgba(0,8,18,.84) 100%)!important}
body.qer-body .qer-story-post strong,body.qer-body .qer-story-post small{text-shadow:0 1px 4px rgba(0,0,0,.75)!important}
/* CENTRAL PALAVRA: menu de tres pontos, acessivel somente a usuarios autorizados. */
.clx-post-head{overflow:visible!important}
.clx-post-options{margin-left:auto;position:relative;flex:0 0 auto;z-index:12}
.clx-post-options .clx-post-edit{display:grid;place-items:center;min-width:41px;height:39px;text-decoration:none!important;background:#134360;color:#e5faff!important;font-size:19px;border:1px solid #3585ac;border-radius:11px;cursor:pointer}
.clx-post-options .clx-post-edit:hover,.clx-post-options .clx-post-edit[aria-expanded=true]{background:#1a6890;border-color:#6ce6ff}
.clx-post-options-menu{position:absolute;right:0;top:calc(100% + 8px);width:165px;min-width:165px;padding:6px;display:grid;gap:4px;background:#0a2135;border:1px solid #3a84a9;box-shadow:0 14px 35px rgba(0,0,0,.55);border-radius:13px;z-index:20}
.clx-post-options-menu[hidden]{display:none!important}
.clx-post-options-menu>a,.clx-post-options-menu button{width:100%;min-height:40px;display:flex;align-items:center;gap:9px;padding:9px 11px;border:0;border-radius:9px;background:transparent;color:#e4f8ff!important;text-decoration:none;font-size:13px!important;font-weight:750;cursor:pointer;text-align:left}
.clx-post-options-menu :is(a,button):hover{background:#1b4b67}
.clx-post-options-menu button.clx-delete-trigger{color:#ffb9b9!important}.clx-post-options-menu .clx-icon{width:18px;height:18px}
.clx-confirm-delete{width:min(400px,calc(100vw - 28px));max-width:calc(100vw - 28px);border-radius:19px;padding:26px 23px;border:1px solid #3e94b6;background:linear-gradient(150deg,#12354c,#081d31);color:#edfaff;box-shadow:0 30px 90px rgba(0,0,0,.65)}
.clx-confirm-delete::backdrop{background:rgba(0,5,12,.78);backdrop-filter:blur(4px)}
.clx-confirm-delete h3{font-size:21px;color:#fff;margin:0 0 11px}
.clx-confirm-delete p{font-size:14px;color:#b9d7e8;line-height:1.5;margin:0 0 22px}
.clx-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.clx-confirm-actions button{min-height:46px;border-radius:11px;padding:10px;font-size:14px;font-weight:850;cursor:pointer}
.clx-confirm-no{background:#0e2a40;border:1px solid #4883a4;color:#e9f8ff}.clx-confirm-yes{background:#1dc6e9;border:1px solid #69eeff;color:#04283c}
/* Player WhatsApp — tempo depois das ondas, play maior e mensagem compacta. */
.clx-audio-frame{background:linear-gradient(140deg,#12364e,#103047)!important;min-width:0;gap:12px!important}
.clx-audio-play{width:62px!important;height:62px!important;flex-basis:62px!important;border:2px solid #a8f1ff!important;outline:2px solid rgba(12,210,249,.22);outline-offset:2px;box-shadow:0 5px 18px rgba(0,0,0,.3)!important;color:#082d47!important}
.clx-audio-play.is-playing{color:#0c7899!important}
.clx-audio-play svg{width:27px!important;height:27px!important}
.clx-audio-main{display:flex!important;flex:1;min-width:0}
.clx-audio-progress{display:flex;align-items:center;gap:12px;min-width:0;width:100%}
.clx-audio-wave{min-width:0;flex:1;display:flex!important;align-items:center!important;justify-content:space-between!important;height:38px!important;gap:2px!important;overflow:hidden}
.clx-audio-wave i{flex:1 1 2px;width:auto!important;max-width:5px!important;min-width:2px!important;background:#3e9dbb!important}
.clx-audio-wave i.is-played{background:#e7fbff!important}
.clx-audio-wave i.is-current{background:#29e1ff!important}
.clx-audio-time{font-size:12px!important;font-variant-numeric:tabular-nums;white-space:nowrap;color:#dcf5ff!important}
@media(max-width:700px){
 body.qer-auth-screen .qer-app{align-items:center!important}
 body.qer-auth-screen .qer-gate-share{width:100%!important;padding:8px 0!important;margin:0!important;min-height:0!important}
 body.qer-auth-screen .qer-gate-card{width:100%!important;max-width:none!important;border-radius:0!important;box-shadow:none!important;border-left:0!important;border-right:0!important;padding:13px 18px 15px!important}
 body.qer-auth-screen .qer-gate-card .qer-gate-official-logo{width:min(160px,42vw)!important;max-height:115px!important;margin-bottom:3px!important}
 body.qer-auth-screen .qer-gate-card>h2{font-size:21px!important;margin:4px 0 4px!important}
 body.qer-auth-screen .qer-gate-card>p{font-size:11px!important;margin-bottom:10px!important}
 body.qer-auth-screen .qer-login-school-name{font-size:11px!important}
 body.qer-auth-screen .qer-form input:not([type=checkbox]){min-height:45px!important;font-size:16px!important}
 body.qer-auth-screen .qer-access-card>h3{font-size:13px!important}
 body.qer-auth-screen .qer-primary-btn{min-height:46px!important}
 body.qer-room-locked .qer-main{width:100%!important;padding:8px 6px 82px!important;margin:0 auto!important}
 body.qer-room-locked .qer-room-gate{width:100%!important;padding:14px 11px!important;border-radius:14px!important;gap:4px!important}
 body.qer-room-locked .qer-room-gate>h2{font-size:20px!important}
 body.qer-room-locked .qer-room-gate>p{font-size:12px!important}
 body.qer-room-locked .qer-room-join-card{padding:12px!important;margin:6px 0!important;max-width:100%!important}
 body.qer-body .qer-stories{grid-auto-columns:calc((100% - 28px)/2.35)!important;column-gap:18px!important;padding:6px 5px 12px!important}
 .clx-audio-frame{gap:10px!important;padding:10px!important}.clx-audio-play{width:49px!important;height:49px!important;flex-basis:49px!important}.clx-audio-wave{height:30px!important}.clx-audio-progress{gap:7px}.clx-audio-time{font-size:10px!important}
}
@media(max-width:380px){
 body.qer-auth-screen .qer-gate-card{padding:10px 14px 13px!important}
 body.qer-auth-screen .qer-gate-card .qer-gate-official-logo{max-height:90px!important;width:min(130px,38vw)!important}
 body.qer-auth-screen .qer-gate-card>h2{font-size:19px!important}
 body.qer-auth-screen .qer-access-switch{min-height:39px!important;margin-bottom:9px!important}
 body.qer-auth-screen .qer-form{gap:7px!important}
 body.qer-room-locked .qer-room-gate>h2{font-size:18px!important}
}
@media(prefers-reduced-motion:reduce){.clx-audio-wave i{transition:none!important}}
