/* PolskaElita RED 1.3.16 — only account toolbar. */
.pe-topbar .wrapper {gap:12px; align-items:center; flex-wrap:wrap;}
.pe-topbar .wrapper > span {flex:1 1 250px; min-width:0; color:#d5d5da; font-size:11px;}
.pe-topbar .pe-top-auth {display:flex; align-items:center; justify-content:flex-end; flex:0 1 auto; gap:6px; flex-wrap:wrap; margin-left:auto; min-width:0; max-width:100%; font-size:12px;}
.pe-topbar .pe-top-auth .pe-top-identity {display:flex; align-items:center; gap:9px; flex-wrap:wrap; min-width:0;}
.pe-topbar .pe-top-auth .pe-top-greeting,.pe-topbar .pe-top-auth .pe-top-visit {display:inline-flex; align-items:center; gap:5px; white-space:nowrap;}
.pe-topbar .pe-top-auth .pe-top-visit {color:#d5d5da; border-left:1px solid #553239; padding-left:9px; font-size:11px;}
.pe-topbar .pe-top-auth .menu {display:flex!important; align-items:center; gap:6px; margin:0!important; padding:0!important; list-style:none; float:none;}
.pe-topbar .pe-top-auth .menu:empty {display:none!important;}
.pe-topbar .pe-top-auth .menu li {display:flex; margin:0!important; padding:0!important; float:none; list-style:none;}
.pe-topbar .pe-top-auth a:link,.pe-topbar .pe-top-auth a:visited {display:inline-flex; align-items:center; justify-content:center; gap:5px; background:#1b1215; background-image:none!important; color:#f4f4f5; border:1px solid #6f252d; border-radius:5px; min-height:28px; padding:4px 8px; line-height:1.15; box-sizing:border-box; font-weight:600; text-decoration:none; white-space:nowrap;}
.pe-topbar .pe-top-auth .pe-top-greeting a {font-size:13px; padding:4px 7px;}
.pe-topbar .pe-top-auth a:hover,.pe-topbar .pe-top-auth a:focus-visible {background:#54191f; border-color:#e0434c; color:#fff;}
.pe-topbar .pe-top-auth a:focus-visible {outline:2px solid #ff7179; outline-offset:2px;}
.pe-topbar .pe-top-auth > a[href*="action=logout"] {background:linear-gradient(#b51b26,#790a13); border-color:#d13640;}
.pe-topbar .pe-top-auth > a[href*="action=logout"]:hover {background:#c91b29;}
.pe-topbar .pe-top-auth .pe-top-pm-count {display:inline-flex; align-items:center; justify-content:center; min-width:18px; height:18px; padding:0 4px; box-sizing:border-box; border-radius:10px; background:#b70e22; color:white; font-size:10px; font-weight:700;}
.pe-topbar .pe-top-auth .pe-top-visit::before,.pe-topbar .pe-top-auth > a[href*="usercp.php"]::before,.pe-topbar .pe-top-auth > a[href*="private.php"]::before,.pe-topbar .pe-top-auth a.modcp::before,.pe-topbar .pe-top-auth a.admincp::before,.pe-topbar .pe-top-auth > a[href*="action=logout"]::before {content:""; display:inline-block; flex:0 0 14px; width:14px; height:14px; background:currentColor; mask-size:contain; mask-repeat:no-repeat; mask-position:center;}
.pe-topbar .pe-top-auth .pe-top-visit::before {mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M12%207v5l3%202%22%2F%3E%3C%2Fsvg%3E");}
.pe-topbar .pe-top-auth > a[href*="usercp.php"]::before {mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%227%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M4%2021v-2a8%208%200%200%201%2016%200v2Z%22%2F%3E%3C%2Fsvg%3E");}
.pe-topbar .pe-top-auth > a[href*="private.php"]::before {mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22m3%207%209%206%209-6%22%2F%3E%3C%2Fsvg%3E");}
.pe-topbar .pe-top-auth a.modcp::before {mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203%208%203v6c0%205-8%209-8%209s-8-4-8-9V6Z%22%2F%3E%3Cpath%20d%3D%22m9%2012%202%202%204-4%22%2F%3E%3C%2Fsvg%3E");}
.pe-topbar .pe-top-auth a.admincp::before {mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22m9%203-.5%203-2%201-3-.5-2%203%202%202v2l-2%202%202%203%203-.5%202%201%20.5%203h4l.5-3%202-1%203%20.5%202-3-2-2v-2l2-2-2-3-3%20.5-2-1-.5-3z%22%2F%3E%3C%2Fsvg%3E");}
.pe-topbar .pe-top-auth > a[href*="action=logout"]::before {mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%202v10M6%205a9%209%200%201%200%2012%200%22%2F%3E%3C%2Fsvg%3E");}
@media(max-width:1100px){.pe-topbar .wrapper > span {flex-basis:100%;}.pe-topbar .pe-top-auth {justify-content:flex-end;}}
@media(max-width:760px){.pe-topbar .pe-top-auth {justify-content:flex-start; margin-left:0; width:100%; gap:5px;}.pe-topbar .pe-top-auth .pe-top-identity {flex-basis:100%; gap:6px;}.pe-topbar .pe-top-auth .pe-top-visit {white-space:normal;}.pe-topbar .pe-top-auth a:link,.pe-topbar .pe-top-auth a:visited {min-height:32px;}.pe-topbar .pe-top-auth .menu {flex-wrap:wrap;}}

/* Logout must override the generic background-image reset. */
.pe-topbar .pe-top-auth a[href*="action=logout"]:link,
.pe-topbar .pe-top-auth a[href*="action=logout"]:visited {
  background-color:#a50e19!important;
  background-image:linear-gradient(180deg,#c6222e,#810811)!important;
  border-color:#d23a44!important;
  color:#fff!important;
  box-shadow:inset 0 1px 0 #ffffff20;
}
.pe-topbar .pe-top-auth a[href*="action=logout"]:hover,
.pe-topbar .pe-top-auth a[href*="action=logout"]:focus-visible {
  background-color:#c91b29!important;
  background-image:linear-gradient(180deg,#e03440,#a50e19)!important;
}
.pe-topbar .pe-top-auth .pe-top-pm-count.pe-top-pm-zero {background:#30292d;color:#e5e5e7;}

/* Final rendered account controls only. */
#header .pe-topbar .pe-top-auth a[data-pe-logout="1316"] {background:#a50e19 linear-gradient(180deg,#c6222e,#810811)!important;color:#fff!important;border-color:#d23a44!important;}
#header .pe-topbar .pe-top-auth a[data-pe-pm="1316"] {gap:5px;}
