:root{
  --ui-zoom:1;--en-bar-bg:#fff;--en-bar-text:#172033;--en-bar-muted:#667085;--en-bar-border:#e3e8ef;--en-brand:#1f4f8f;
}
:root[data-theme="dark"]{--en-bar-bg:#111827;--en-bar-text:#f8fafc;--en-bar-muted:#a9b4c4;--en-bar-border:#283548;--en-brand:#8ab4f8}
.educanexo-global-bar{height:38px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 12px;background:var(--en-bar-bg);color:var(--en-bar-text);border-bottom:1px solid var(--en-bar-border);font:600 13px/1.2 Segoe UI,Arial,sans-serif;position:sticky;top:0;z-index:10050}
.educanexo-global-bar.global-hidden{display:none}.en-left,.en-actions,.en-brand{display:flex;align-items:center}.en-left{min-width:0;gap:7px}.en-brand{gap:6px;color:var(--en-brand);text-decoration:none;font-weight:800}.en-brand img{width:19px;height:19px}.en-sep{color:var(--en-bar-border)}.en-module{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.en-actions{gap:4px}.en-actions button{height:28px;min-width:28px;border:1px solid transparent;background:transparent;color:var(--en-bar-text);border-radius:8px;padding:0 8px;font:700 12px Segoe UI,Arial;cursor:pointer}.en-actions button:hover{background:color-mix(in srgb,var(--en-bar-text) 8%,transparent)}
.educanexo-auth-dialog{border:0;padding:0;border-radius:18px;width:min(420px,92vw);color:#172033;box-shadow:0 26px 80px #0007}.educanexo-auth-dialog::backdrop{background:#0f172a99}.en-auth-box{padding:22px;background:#fff}.en-auth-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:18px}.en-auth-head strong{display:block;font-size:1.25rem}.en-auth-head small{display:block;color:#667085;margin-top:4px;line-height:1.35}.en-auth-head button{border:0;background:#eef2f7;border-radius:8px;width:32px;height:32px;cursor:pointer}.en-auth-box>button{width:100%;padding:11px 13px;border-radius:10px;border:1px solid #d7dfeb;background:#f8fafc;font-weight:800;cursor:pointer}.en-auth-box .en-auth-primary{background:#1f4f8f;color:#fff;border-color:#1f4f8f}.en-auth-divider{display:flex;align-items:center;gap:8px;color:#98a2b3;margin:14px 0}.en-auth-divider:before,.en-auth-divider:after{content:"";height:1px;background:#e4e7ec;flex:1}.en-auth-box label{display:grid;gap:6px;font-weight:700;margin-bottom:10px}.en-auth-box input{padding:11px;border:1px solid #d0d5dd;border-radius:10px;font-size:1rem}.en-auth-message{min-height:20px;color:#b42318;font-weight:700;margin-bottom:0}
.ui-core-bar{position:sticky;top:38px;z-index:9999;display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 12px;background:var(--en-bar-bg);color:var(--en-bar-text);border-bottom:1px solid var(--en-bar-border);box-shadow:0 2px 10px #0002;font-family:Segoe UI,Arial}.ui-core-bar a,.ui-core-bar button{border:1px solid var(--en-bar-border);border-radius:9px;padding:8px 10px;background:color-mix(in srgb,var(--en-bar-text) 7%,transparent);color:var(--en-bar-text);text-decoration:none;font-weight:700;cursor:pointer}.ui-core-bar button:hover,.ui-core-bar a:hover{background:color-mix(in srgb,var(--en-bar-text) 12%,transparent)}.ui-core-title{margin-right:auto;font-weight:800}.ui-core-zoom{display:flex;align-items:center;gap:4px}.ui-core-zoom span{min-width:48px;text-align:center;font-weight:800;cursor:pointer}.ui-core-content{transform:scale(var(--ui-zoom));transform-origin:top center;width:calc(100% / var(--ui-zoom));margin-inline:auto}.ui-core-dialog{border:0;border-radius:16px;padding:0;max-width:420px;width:calc(100% - 28px);box-shadow:0 20px 60px #0005}.ui-core-dialog::backdrop{background:#020617aa}.ui-core-dialog .box{padding:20px}.ui-core-dialog h2{margin-top:0}.ui-core-dialog button{border:0;border-radius:10px;padding:10px 12px;font-weight:700;cursor:pointer}.ui-core-actions{display:grid;gap:8px}.ui-core-actions button{background:#e2e8f0;color:#172033}.ui-core-close{margin-top:12px;width:100%;background:#2563eb!important;color:#fff!important}.ui-core-content>header{display:none!important}
html.fullscreen-active.fullscreen-hide-bar .educanexo-global-bar{display:none}html.fullscreen-active.fullscreen-hide-bar .ui-core-bar{top:0}
@media(max-width:700px){.en-brand span{display:none}.educanexo-global-bar{padding:0 7px}.en-module{max-width:130px;font-size:12px}.en-actions button{padding:0 6px}.ui-core-bar{justify-content:center}.ui-core-title{width:100%;order:-1;text-align:center}}

/* Rede de Caminhos: ações do professor na faixa superior fixa, acima do título do jogo. */
.ui-core-bar .rede-teacher-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-left:auto}
.ui-core-bar .rede-teacher-actions button{font-size:.81rem;white-space:normal;text-align:center}
@media(max-width:600px){.ui-core-bar .rede-teacher-actions{justify-content:center;width:100%;margin-left:0}.ui-core-bar .rede-teacher-actions button{flex:1;min-width:135px}}

.ui-core-bar .rede-copy-feedback{font-size:.78rem;font-weight:700;flex-basis:100%;text-align:right;color:var(--en-bar-text)}

.ui-core-bar .rede-code-status{font-size:.8rem;flex-basis:100%;line-height:1.4;overflow-wrap:anywhere}.ui-core-bar .rede-code-status:empty{display:none}
