/* V0.3.8: estilos isolados do cabeçalho único */
#portalHeader,#portalHeader *{box-sizing:border-box}
#portalHeader{position:relative;z-index:55;background:#0d1421f5;border-bottom:1px solid #2a3850;color:#ecf3ff;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
#portalHeader a{text-decoration:none;color:inherit}#portalHeader button{font:inherit;cursor:pointer}
#portalHeader .pdl-row{width:min(1500px,calc(100% - 36px));min-height:76px;margin:auto;display:flex;align-items:center;gap:13px}
#portalHeader .pdl-brand{display:flex;align-items:center;gap:10px;min-width:202px;flex-shrink:0}
#portalHeader .pdl-logo{height:41px;width:41px;background:linear-gradient(130deg,#4e9df0,#8771f4);color:white;border-radius:12px;display:grid;place-items:center;font-size:21px;font-weight:900}
#portalHeader .pdl-brand strong,#portalHeader .pdl-brand small{display:block;white-space:nowrap}
#portalHeader .pdl-brand strong{font-size:14px;font-weight:850;letter-spacing:-.025em}
#portalHeader .pdl-brand small{color:#a1b0c9;font-size:10px;margin-top:5px}
#portalHeader .pdl-links{display:flex;align-items:center;gap:2px;margin-left:auto}
#portalHeader .pdl-link{display:block;color:#adbbd2;padding:10px 9px;border-radius:10px;border:1px solid transparent;font-size:12px;font-weight:730;white-space:nowrap}
#portalHeader .pdl-link:hover{background:#23354e;color:white}
#portalHeader .pdl-link.active{background:#1e2c44;border-color:#354865;color:white}
#portalHeader .pdl-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
#portalHeader .pdl-post{background:linear-gradient(120deg,#4388e5,#7568ed);border:1px solid #648ffc;color:white;border-radius:10px;padding:11px 13px;font-size:12px;font-weight:840;min-height:43px;white-space:nowrap}
#portalHeader .pdl-post:hover{filter:brightness(1.13)}
#portalHeader .pdl-account{display:flex;align-items:center;gap:8px;padding:5px 9px;background:#172438;border:1px solid #364b6a;border-radius:10px;min-height:43px;color:white;text-align:left}
#portalHeader .pdl-avatar{width:31px;height:31px;border-radius:9px;background:#2c4266;display:grid;place-items:center;overflow:hidden;font-size:13px}
#portalHeader .pdl-avatar img{width:30px;height:30px;display:block}
#portalHeader .pdl-account-text{display:block;max-width:110px}
#portalHeader .pdl-account-text b,#portalHeader .pdl-account-text small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#portalHeader .pdl-account-text b{font-size:11px}#portalHeader .pdl-account-text small{font-size:10px;color:#99adc8;margin-top:3px}
#portalHeader .pdl-logout{border:1px solid #805261;background:#392330;color:#ffc2cc;border-radius:10px;padding:11px 12px;min-height:42px;font-weight:750;font-size:12px;white-space:nowrap}
#portalHeader .pdl-logout:hover,#portalHeader .pdl-logout-mobile:hover{background:#603241}
#portalHeader .pdl-menu-btn{display:none;border:1px solid #3d5373;background:#1e2c44;color:white;border-radius:10px;padding:10px 12px;min-height:42px;font-size:13px;white-space:nowrap}
#portalHeader .pdl-menu{position:absolute;right:max(14px,calc((100vw - 1500px)/2));top:100%;width:min(350px,calc(100vw - 25px));padding:12px;background:#101a2b;border:1px solid #344963;border-radius:0 0 16px 16px;box-shadow:0 18px 45px #020609b0;max-height:calc(100dvh - 80px);overflow-y:auto}
#portalHeader .pdl-menu nav{display:flex;flex-direction:column;gap:3px}
#portalHeader .pdl-menu .pdl-link{padding:13px;font-size:13px}
#portalHeader .pdl-post-mobile{margin-top:8px;display:block;text-align:center;border:1px solid #5c7ceb;border-radius:10px;background:#32487c;padding:12px;font-size:13px;font-weight:790}
#portalHeader .pdl-logout-mobile{display:block;border:1px solid #784955;background:#3c2530;color:#ffd1d9;border-radius:10px;padding:13px;text-align:left;font-weight:820;font-size:13px;margin-top:4px}
#portalHeader [hidden]{display:none!important}
#portalHeader a:focus-visible,#portalHeader button:focus-visible{outline:2px solid #88baff;outline-offset:3px}
@media(max-width:1320px){#portalHeader .pdl-row{gap:9px}#portalHeader .pdl-brand{min-width:184px}#portalHeader .pdl-link{padding-inline:7px;font-size:11px}#portalHeader .pdl-account-text{max-width:83px}}
@media(max-width:1190px){#portalHeader .pdl-links{display:none}#portalHeader .pdl-row{min-height:69px}#portalHeader .pdl-actions{margin-left:auto}#portalHeader .pdl-menu-btn{display:block}}
@media(max-width:600px){#portalHeader .pdl-row{min-height:65px;width:calc(100% - 22px);gap:6px}#portalHeader .pdl-brand{gap:7px;min-width:0}#portalHeader .pdl-logo{width:35px;height:35px;font-size:18px}#portalHeader .pdl-brand strong{font-size:13px}#portalHeader .pdl-brand small{display:none}#portalHeader .pdl-post{display:none}#portalHeader .pdl-account{padding:4px;min-height:38px}#portalHeader .pdl-account-text{display:none}#portalHeader .pdl-logout{padding:9px;min-height:37px}#portalHeader .pdl-logout span,#portalHeader .pdl-menu-btn span{display:none}#portalHeader .pdl-menu-btn{padding:8px 10px;min-height:38px}}
@media(max-width:350px){#portalHeader .pdl-brand strong{font-size:11px}#portalHeader .pdl-actions{gap:4px}}

/* V0.3.16 — identidade loot/guilda: acabamento editorial, contraste quente e sem botões genéricos. */
#portalHeader{background:#0b1319;border-bottom:1px solid #3a4038;box-shadow:0 2px 0 #0b0f12}
#portalHeader .pdl-row{min-height:80px;gap:16px;width:min(1460px,calc(100% - 40px))}
#portalHeader .pdl-brand{gap:12px;min-width:254px}
#portalHeader .pdl-logo{width:46px;height:46px;border-radius:0;background:none;object-fit:contain;filter:drop-shadow(0 3px 10px #dcae4f20)}
#portalHeader .pdl-brand strong{font-size:14px;font-weight:900;letter-spacing:.06em;font-family:Georgia,"Times New Roman",serif}
#portalHeader .pdl-brand strong em{font-style:normal;color:#e9bd77}
#portalHeader .pdl-brand small{font-size:8px;letter-spacing:.15em;color:#92a9a8;margin-top:6px}
#portalHeader .pdl-brand small span{color:#d4a665}
#portalHeader .pdl-links{gap:5px}
#portalHeader .pdl-link{color:#b8c7c7;border-radius:5px;padding:10px 11px;font-size:12px;font-weight:650}
#portalHeader .pdl-link:hover{background:#1e2a30}
#portalHeader .pdl-link.active{background:#1d292d;border-color:#4d5a50;color:#f0d1a1}
#portalHeader .pdl-post{border-radius:5px;border:1px solid #e0b275;color:#171713;background:#e9ba77;box-shadow:none;font-size:12px}
#portalHeader .pdl-post:hover{background:#ffd594;filter:none}
#portalHeader .pdl-account{border-radius:5px;background:#172226;border:1px solid #354947}
#portalHeader .pdl-avatar{background:#263a3b;border-radius:5px;color:#e8bb7f}
#portalHeader .pdl-logout{border-radius:5px}
#portalHeader .pdl-menu-btn{border-radius:5px}
#portalHeader .pdl-post-mobile{background:#58432a;border-color:#ad8750;border-radius:5px}
@media(max-width:1410px){#portalHeader .pdl-row{gap:7px}#portalHeader .pdl-brand{min-width:228px}#portalHeader .pdl-link{padding-inline:8px;font-size:11px}}
@media(max-width:1240px){#portalHeader .pdl-links{display:none}#portalHeader .pdl-actions{margin-left:auto}#portalHeader .pdl-menu-btn{display:block}}
@media(max-width:600px){#portalHeader .pdl-row{min-height:67px;width:calc(100% - 24px)}#portalHeader .pdl-brand{min-width:0;gap:8px}#portalHeader .pdl-logo{width:39px;height:39px}#portalHeader .pdl-brand strong{font-size:12px}#portalHeader .pdl-brand small{font-size:7px;letter-spacing:.06em}}

/* V0.3.18: contador discreto, escondido até validação da sessão. */
#portalHeader .pdl-link .pdl-notifications{display:inline-flex;min-width:18px;height:18px;padding:0 5px;margin-left:6px;align-items:center;justify-content:center;vertical-align:middle;border:1px solid #d7a45f;border-radius:9px;background:#a94134;color:#fff3e2;font:800 10px/1 system-ui,sans-serif;letter-spacing:0}
#portalHeader .pdl-link .pdl-notifications[hidden]{display:none!important}
