:root{--rle-bg:#162538;--rle-text:#f7f9fb;--rle-accent:#e54855;--rle-max:1280px}
*{box-sizing:border-box}body{margin:0;color:#1b2531;background:#fff;font-family:system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.6}a{color:inherit}button{font:inherit;cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}
.rle-skip{position:absolute;left:-9999px;top:0;background:white;color:black;z-index:9999;padding:10px}.rle-skip:focus{left:10px}
.rle-header{position:sticky;top:0;z-index:1000;background:var(--rle-bg);color:var(--rle-text);box-shadow:0 2px 8px #0003}
.admin-bar .rle-header{top:32px}.rle-header-inner{max-width:var(--rle-max);margin:auto;min-height:76px;padding:10px 20px;display:flex;align-items:center;gap:22px}
.rle-brand{flex:0 1 230px;min-width:0}.rle-brand img{display:block;max-height:56px;width:auto;max-width:100%}.rle-brand-name{font-size:1.1rem;font-weight:750;text-decoration:none}
.rle-player{display:flex;align-items:center;gap:10px;min-width:155px}.rle-play{background:var(--rle-accent);border:0;border-radius:50%;color:white;width:40px;height:40px;flex-shrink:0}.rle-player-label{font-size:.8rem;line-height:1.25}.rle-nav{margin-left:auto}.rle-menu,.rle-pages-menu ul{display:flex;align-items:center;gap:18px;list-style:none;padding:0;margin:0}.rle-menu li{position:relative}.rle-menu a,.rle-pages-menu a{text-decoration:none;font-size:.9rem}.rle-menu a:hover,.rle-menu a:focus-visible{text-decoration:underline}.rle-menu .sub-menu{display:none;position:absolute;top:100%;left:0;background:var(--rle-bg);list-style:none;padding:12px;min-width:180px}.rle-menu li:hover>.sub-menu,.rle-menu li:focus-within>.sub-menu{display:block}.rle-menu-toggle{display:none;background:transparent;color:white;border:1px solid #b5bdc7;border-radius:5px;padding:6px 10px}
.rle-container{max-width:1100px;padding:0 20px;margin:auto}.rle-main{min-height:65vh;padding-top:45px;padding-bottom:65px}.rle-article{margin-bottom:45px}.rle-title{font-size:clamp(1.6rem,3vw,2.3rem);line-height:1.25}.rle-title a{text-decoration:none}.rle-entry img{max-width:100%;height:auto}.rle-footer{border-top:1px solid #dfe4ea;background:#f4f6f8;padding:25px 0;font-size:.85rem}
@media(max-width:900px){.rle-header-inner{flex-wrap:wrap;gap:12px}.rle-brand{flex:1 1 130px}.rle-player{min-width:0}.rle-player-label{max-width:100px}.rle-menu-toggle{display:block;margin-left:auto}.rle-nav{display:none;width:100%;margin:0;order:4}.rle-nav.is-open{display:block}.rle-menu,.rle-pages-menu ul{flex-direction:column;align-items:stretch;gap:0}.rle-menu li a,.rle-pages-menu li a{display:block;padding:9px 0}.rle-menu .sub-menu{position:static;display:block;padding:0 0 0 15px}.admin-bar .rle-header{top:46px}}
@media(max-width:480px){.rle-header-inner{padding:8px 12px}.rle-brand img{max-height:42px}.rle-player-label{display:none}.rle-play{width:38px;height:38px}}
@media(max-width:782px){.admin-bar .rle-header{top:46px}}@media(max-width:600px){.admin-bar .rle-header{top:0}}

/* RLE-DEV-PLAYER-002: independent, responsive player inspired by the EMVC layout. */
.rle-header-inner{gap:16px}
.rle-brand{flex:0 0 76px}
.rle-brand img{max-height:62px}
.rle-player{flex:0 1 410px;min-width:235px;max-width:410px;display:flex;align-items:center;gap:12px;padding:8px 12px;border:1px solid rgba(255,255,255,.25);border-radius:14px;background:linear-gradient(110deg,#a91e30,#df4353 66%,#811a29);color:#fff;box-shadow:inset 0 1px 0 #ffffff30}
.rle-play{display:grid;place-items:center;background:#fff;color:#ad2235;width:42px;height:42px;font-weight:700;box-shadow:0 1px 5px #0003}
.rle-play:focus-visible,.rle-menu-toggle:focus-visible,.rle-player-volume input:focus-visible{outline:3px solid #fff;outline-offset:3px}
.rle-player-info{display:flex;flex-direction:column;min-width:0;flex:1;line-height:1.2}
.rle-player-title{font-size:.83rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rle-player-label{font-size:.72rem;color:#fff;max-width:none}
.rle-player-volume{display:flex;align-items:center;gap:6px}
.rle-volume-label{font-size:.7rem}
.rle-player-volume input{width:64px;accent-color:#fff;cursor:pointer}
@media(max-width:1100px){.rle-player{flex-basis:320px}.rle-player-volume .rle-volume-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}}
@media(max-width:900px){.rle-brand{flex:0 0 56px}.rle-player{flex:1 1 260px;max-width:none}.rle-player-label{max-width:none}}
@media(max-width:480px){.rle-header-inner{gap:8px}.rle-brand{flex:0 0 44px}.rle-player{flex:1 1 140px;min-width:0;padding:6px;gap:6px}.rle-player-info{min-width:0}.rle-player-title{font-size:.7rem}.rle-player-label{display:block;font-size:.66rem}.rle-play{width:36px;height:36px}.rle-player-volume{display:none}.rle-menu-toggle{padding:6px;font-size:.75rem}}

/* RLE-DEV-PLAYER-003: original STMXP interface, isolated in a responsive branded frame. */
.rle-stmxp-shell{flex:0 1 450px;max-width:450px;min-width:260px;height:70px;padding:0;gap:0;overflow:hidden;background:#f00;border:0;border-radius:8px;box-shadow:0 1px 5px #0004}
.rle-stmxp-frame{display:block;width:100%;height:70px;border:0;background:#f00}
@media(max-width:1100px){.rle-stmxp-shell{flex-basis:350px}}
@media(max-width:900px){.rle-stmxp-shell{flex:1 1 300px;max-width:none}}
@media(max-width:480px){.rle-stmxp-shell{flex:1 1 170px;min-width:0;height:70px;padding:0}.rle-stmxp-frame{height:70px}}

/* RLE-DEV-PLAYER-004: enquadramento visual, sem alterar o iframe ou a navegacao. */
:root{--rle-bg:#8597BE}
.rle-header{background:var(--rle-bg)}
.rle-header-inner{align-items:center}
.rle-brand{display:flex;align-items:center;align-self:center}
.rle-stmxp-shell{height:40px;min-height:40px;align-self:center;overflow:hidden;background:#ff0000;border-radius:7px}
.rle-stmxp-frame{height:40px;min-height:40px;display:block}
@media(max-width:480px){.rle-stmxp-shell,.rle-stmxp-frame{height:40px;min-height:40px}}

/* RLE-DEV-FOOTER-001 v0.3.1 — isolated institutional footer. */
.rle-footer{background:var(--rle-bg);color:#fff;border-top:0;padding:32px 0 16px;font-size:.88rem}
.rle-footer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;padding-bottom:25px}
.rle-footer-section h2{font-size:.98rem;line-height:1.4;margin:0 0 12px;color:#fff}
.rle-footer-section ul{list-style:none;margin:0;padding:0}
.rle-footer-section li{margin:0 0 8px}
.rle-footer-section a{color:#fff;text-decoration:none;overflow-wrap:anywhere}
.rle-footer-section a:hover,.rle-footer-section a:focus-visible{text-decoration:underline}
.rle-footer-spautores img{display:block;width:auto;height:auto;max-width:180px;max-height:90px;object-fit:contain}
.rle-footer-bottom{border-top:1px solid #ffffff60;padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.rle-footer-bottom p{margin:0}
.rle-footer-mjs{width:auto;height:auto;max-width:180px;max-height:54px;object-fit:contain}
@media(max-width:850px){.rle-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.rle-footer-grid{grid-template-columns:1fr;gap:18px}.rle-footer-bottom{flex-direction:column;align-items:flex-start;gap:12px}.rle-footer-mjs{max-width:160px}}

/* RLE-DEV-FOOTER-002 v0.3.2: footer-only overrides. */
.rle-footer-grid-v032{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:64px;row-gap:28px}
.rle-footer-stack{display:flex;flex-direction:column;gap:28px;min-width:0}
.rle-footer-icons{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.rle-footer-icons li{margin:0}
.rle-footer-icon-link,.rle-footer-app-link{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;color:#fff;border-radius:7px;text-decoration:none}
.rle-footer-icon-link svg{display:block;width:26px;height:26px}
.rle-footer-icon-link:hover,.rle-footer-app-link:hover{background:#ffffff20}
.rle-footer-icon-link:focus-visible,.rle-footer-app-link:focus-visible,.rle-footer-identity a:focus-visible{outline:2px solid #fff;outline-offset:3px}
.rle-footer-app-icons{gap:12px 18px}
.rle-footer-app-link{min-width:84px;max-width:130px;padding:5px 6px}
.rle-footer-app-image{display:block;width:auto;height:auto;max-width:110px;max-height:36px;object-fit:contain}
.rle-footer-app-fallback{font-size:.77rem;line-height:1.25;text-align:center;color:#fff}
.rle-footer-identity{display:flex;flex-direction:column;align-items:center;gap:14px}
.rle-footer-identity-item{display:flex;align-items:center;justify-content:center;width:210px;max-width:100%;min-height:80px}
.rle-footer-identity-item img{display:block;width:auto;height:auto;max-width:190px;max-height:90px;object-fit:contain}
.rle-footer-policy-links li{margin-bottom:8px}
@media(max-width:650px){.rle-footer-grid-v032{grid-template-columns:1fr;gap:28px}.rle-footer-stack{gap:24px}.rle-footer-identity{align-items:flex-start}.rle-footer-identity-item{justify-content:flex-start}}

/* RLE-DEV-FOOTER-002 v0.3.3 — reorganização aprovada */
.rle-footer-grid-v032{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);column-gap:clamp(24px,5vw,72px)}
.rle-footer-right-v033{display:grid;grid-template-columns:minmax(150px,1fr) minmax(170px,1.1fr);gap:24px;align-items:start;min-width:0}
.rle-footer-policies-v033{min-width:0}
.rle-footer-policy-links{display:flex;flex-direction:column;gap:8px}
.rle-footer-policy-links li{margin:0}
.rle-footer-banners-v033{display:flex;flex-direction:column;align-items:flex-end;gap:14px;min-width:0}
.rle-footer-banner-v033{width:100%;max-width:280px}
.rle-footer-banner-v033 img{display:block;width:100%;height:auto;object-fit:contain}
.rle-footer-social-icons svg{width:32px;height:32px}
.rle-footer-app-link{min-width:72px;max-width:145px}
.rle-footer-app-image{max-width:128px;max-height:52px}
@media(max-width:800px){.rle-footer-grid-v032{grid-template-columns:1fr;gap:28px}.rle-footer-right-v033{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:480px){.rle-footer-right-v033{grid-template-columns:1fr;gap:22px}.rle-footer-banners-v033{align-items:flex-start}.rle-footer-banner-v033{max-width:300px}}
