/* PolskaElita RED 1.1 — ostatni post i ikony działów */
.pe-forums .pe-last-col {width:33%; min-width:240px; border-left:1px solid #392327; padding-left:12px!important;}
.pe-last {display:grid; grid-template-columns:42px minmax(0,1fr); align-items:center; gap:11px; min-width:0; text-align:left;}
.pe-last-avatar {display:block; width:42px; height:42px; flex:none;}
.pe-last .pe-last-avatar .pe-avatar {width:42px;height:42px;border-radius:50%;border:1px solid #755057;object-fit:cover;}
.pe-last-text {display:grid;grid-template-columns:minmax(0,1fr);gap:3px;min-width:0;align-content:center;}
.pe-last-text .pe-last-subject {display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.35;font-size:12px;color:#f2f2f5;}
.pe-last-text .pe-last-meta {display:block;font-size:10px;line-height:1.3;color:#b1b1b8;white-space:normal;}
.pe-last-author {display:block;min-width:0;line-height:1.3;font-size:11px;}
.pe-last-author>a {display:inline-block;max-width:100%;min-width:0;}
.pe-last-author .pe-rank {display:inline-flex;max-width:100%;gap:5px;white-space:normal;overflow-wrap:anywhere;}
.pe-forums .trow1,.pe-forums .trow2 {padding-top:8px;padding-bottom:8px;}
.pe-forums .forum_status {position:relative;display:inline-block;width:42px;height:38px;vertical-align:middle;border:1px solid #643037;border-radius:7px;background-color:#211418;background-size:25px;background-position:center;background-repeat:no-repeat;filter:none;opacity:1;box-shadow:inset 0 1px 5px #7d24282b;}
.pe-forums .forum_status:after {content:"";position:absolute;right:-3px;bottom:-3px;width:9px;height:9px;border-radius:50%;border:2px solid #16171a;background:#80838b;}
.pe-forums .forum_status.forum_on {border-color:#a74349;background-color:#32181d;}
.pe-forums .forum_status.forum_on:after {background:#6ad64c;box-shadow:0 0 5px #5ad13c66;}
.pe-forums .forum_status.forum_off {opacity:.72;border-color:#404047;background-color:#1b1d21;}
.pe-forums .forum_status.forum_offclose {background-image:url(../icons/forum-lock.svg)!important;border-color:#78363b;}
.pe-forums .forum_status.forum_offclose:after {background:#df4f57;}
.pe-forums .forum_status.forum_offlink {background-image:url(../icons/forum-link.svg)!important;border-color:#395976;}
.pe-forums .forum_status.forum_offlink:after {background:#61a7ed;}
.pe-forum-status-legend {display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;padding:9px 5px;color:#bfc0c6;font-size:11px;}
.pe-forum-status-legend span {display:inline-flex;align-items:center;gap:6px;}
.pe-state-dot {display:inline-block;width:8px;height:8px;border-radius:50%;background:#80838b;}
.pe-state-new {background:#6ad64c}.pe-state-read {background:#80838b}.pe-state-closed {background:#df4f57}.pe-state-link {background:#61a7ed}
@media(max-width:1100px){.pe-forums .pe-last-col{min-width:175px;width:34%}.pe-last{grid-template-columns:34px minmax(0,1fr);gap:7px}.pe-last-avatar,.pe-last .pe-last-avatar .pe-avatar{width:34px;height:34px}}
@media(max-width:760px){.pe-forums table.tborder>tbody>tr:has(.pe-count){grid-template-columns:42px minmax(0,1fr)}.pe-forums .forum_status{width:34px;height:32px;background-size:21px}.pe-forums table.tborder>tbody>tr:has(.pe-count)>td.pe-last-col{width:100%;min-width:0;border-left:0;padding:5px 4px!important}.pe-forums .pe-last,.pe-last{display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;align-items:center}.pe-last-text .pe-last-subject{white-space:normal;overflow-wrap:anywhere}.pe-forum-status-legend{justify-content:flex-start;gap:7px 12px}}
.pe-forums .forum_status[data-pe-forum-icon="cs16"]{background-image:url(../icons/cs16.svg)}
.pe-forums .forum_status[data-pe-forum-icon="cs2"]{background-image:url(../icons/cs2.svg)}
.pe-forums .forum_status[data-pe-forum-icon="minecraft"]{background-image:url(../icons/minecraft.svg)}
.pe-forums .forum_status[data-pe-forum-icon="server"]{background-image:url(../icons/server.svg)}
.pe-forums .forum_status[data-pe-forum-icon="forum-gamepad"]{background-image:url(../icons/forum-gamepad.svg)}
.pe-forums .forum_status[data-pe-forum-icon="forum-pickaxe"]{background-image:url(../icons/forum-pickaxe.svg)}
.pe-forums .forum_status[data-pe-forum-icon="forum-welcome"]{background-image:url(../icons/forum-welcome.svg)}
.pe-forums .forum_status[data-pe-forum-icon="forum-coffee"]{background-image:url(../icons/forum-coffee.svg)}
.pe-forums .forum_status[data-pe-forum-icon="forum-announcement"]{background-image:url(../icons/forum-announcement.svg)}
.pe-forums .forum_status[data-pe-forum-icon="forum-help"]{background-image:url(../icons/forum-help.svg)}
.pe-forums .forum_status[data-pe-forum-icon="forum-discussion"]{background-image:url(../icons/forum-discussion.svg)}
.pe-forums .forum_status[data-pe-forum-icon="forum-lock"]{background-image:url(../icons/forum-lock.svg)}
.pe-forums .forum_status[data-pe-forum-icon="forum-link"]{background-image:url(../icons/forum-link.svg)}

/* Review: topic title above author | time, with breathing room at column boundary. */
.pe-forums td.pe-last-col {padding-left:24px!important;padding-right:14px!important;width:36%;}
.pe-last {gap:12px;}
.pe-last-text {gap:6px;}
.pe-last-details {display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0;line-height:1.35;}
.pe-last-details .pe-last-author {flex:0 1 auto;min-width:0;max-width:100%;}
.pe-last-details .pe-last-meta {white-space:nowrap;display:inline-block;font-size:11px;color:#b9bbc2;}
.pe-last-divider {font-size:12px;color:#777980;flex:none;}
.pe-last-details .pe-rank {overflow-wrap:anywhere;}
@media(max-width:760px){.pe-forums td.pe-last-col {width:100%;padding-left:12px!important;padding-right:8px!important}.pe-last-details {gap:7px;}.pe-last-text {gap:4px;}}

/* Final: individual icons are already present before JavaScript, and row metadata never overlaps. */
.pe-forums .forum_status{background-image:url(../icons/forum-discussion.svg)}
.pe-forums td.pe-last-col{padding-left:24px!important;padding-right:14px!important}
.pe-last-details .pe-last-author{white-space:normal;overflow-wrap:anywhere;min-width:0}
.pe-last-details .pe-last-meta{font-size:11px}
.pe-forums .thead{position:relative}
.pe-bottom>.pe-panel{width:100%;margin-bottom:8px;display:block}
.pe-bottom .pe-activity .pe-head{display:flex;width:100%}
.pe-bottom .pe-activity .pe-chiplist{display:flex;flex-wrap:wrap;width:100%;padding:12px 14px;gap:7px}
@media(max-width:760px){.pe-forums td.pe-last-col{padding-left:12px!important;padding-right:8px!important}}

.pe-subforums{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px;row-gap:5px;margin:9px 0 3px;padding:0;max-width:100%;font-size:12px;line-height:1.45;color:#d4d4d7}.pe-subforum{display:flex;align-items:center;gap:6px;min-width:0}.pe-subforum a{min-width:0;overflow-wrap:anywhere;color:#d3d4d7!important}.pe-subforum a:hover{color:#ff696e!important}.pe-subforum .pe-rank-icon{width:13px;height:13px;opacity:.85}.pe-subforum .subforumicon{flex:none;margin:0!important}.pe-forums .pe-forum-desc{display:block}.pe-forums .trow1,.pe-forums .trow2{vertical-align:middle}.pe-forums .pe-last-col{width:31%;min-width:190px}@media(max-width:760px){.pe-subforums{column-gap:8px;font-size:11px}.pe-forums .pe-last-col{min-width:0;width:100%}}

.pe-forums .thead[data-pe-category-icon="mod"] strong a:before{background-image:url(../icons/mod.svg)}
.pe-forums .forum_status[data-pe-forum-icon="mod"]{background-image:url(../icons/mod.svg)}
.pe-forums .thead[data-pe-category-icon="admin"] strong a:before{background-image:url(../icons/admin.svg)}
.pe-forums .forum_status[data-pe-forum-icon="admin"]{background-image:url(../icons/admin.svg)}
.pe-forums .thead[data-pe-category-icon="shop"] strong a:before{background-image:url(../icons/shop.svg)}
.pe-forums .forum_status[data-pe-forum-icon="shop"]{background-image:url(../icons/shop.svg)}
.pe-forums .thead[data-pe-category-icon="friend"] strong a:before{background-image:url(../icons/friend.svg)}
.pe-forums .forum_status[data-pe-forum-icon="friend"]{background-image:url(../icons/friend.svg)}
.pe-forums .thead[data-pe-category-icon="ban"] strong a:before{background-image:url(../icons/ban.svg)}
.pe-forums .forum_status[data-pe-forum-icon="ban"]{background-image:url(../icons/ban.svg)}
.pe-forums .thead[data-pe-category-icon="stats"] strong a:before{background-image:url(../icons/stats.svg)}
.pe-forums .forum_status[data-pe-forum-icon="stats"]{background-image:url(../icons/stats.svg)}
.pe-forums .thead[data-pe-category-icon="owner"] strong a:before{background-image:url(../icons/owner.svg)}
.pe-forums .forum_status[data-pe-forum-icon="owner"]{background-image:url(../icons/owner.svg)}
.pe-forums .thead[data-pe-category-icon="minecraft"] strong a:before{background-image:url(../icons/minecraft.svg)}
.pe-forums .forum_status[data-pe-forum-icon="minecraft"]{background-image:url(../icons/minecraft.svg)}
.pe-forums .thead[data-pe-category-icon="discord"] strong a:before{background-image:url(../icons/discord.svg)}
.pe-forums .forum_status[data-pe-forum-icon="discord"]{background-image:url(../icons/discord.svg)}
.pe-forums .thead[data-pe-category-icon="forum-welcome"] strong a:before{background-image:url(../icons/forum-welcome.svg)}
.pe-forums .forum_status[data-pe-forum-icon="forum-welcome"]{background-image:url(../icons/forum-welcome.svg)}
.pe-forums .thead[data-pe-category-icon="veteran"] strong a:before{background-image:url(../icons/veteran.svg)}
.pe-forums .forum_status[data-pe-forum-icon="veteran"]{background-image:url(../icons/veteran.svg)}
.pe-forums .thead[data-pe-category-icon="forum-lock"] strong a:before{background-image:url(../icons/forum-lock.svg)}
.pe-forums .forum_status[data-pe-forum-icon="forum-lock"]{background-image:url(../icons/forum-lock.svg)}
.pe-forums .thead[data-pe-category-icon="gavel"] strong a:before{background-image:url(../icons/gavel.svg)}
.pe-forums .forum_status[data-pe-forum-icon="gavel"]{background-image:url(../icons/gavel.svg)}
.pe-forums .thead[data-pe-category-icon="pen"] strong a:before{background-image:url(../icons/pen.svg)}
.pe-forums .forum_status[data-pe-forum-icon="pen"]{background-image:url(../icons/pen.svg)}
.pe-forums .thead[data-pe-category-icon="forum-link"] strong a:before{background-image:url(../icons/forum-link.svg)}
.pe-forums .forum_status[data-pe-forum-icon="forum-link"]{background-image:url(../icons/forum-link.svg)}
.pe-forums .thead[data-pe-category-icon="diamond"] strong a:before{background-image:url(../icons/diamond.svg)}
.pe-forums .forum_status[data-pe-forum-icon="diamond"]{background-image:url(../icons/diamond.svg)}
.pe-forums .thead[data-pe-category-icon="cs2"] strong a:before{background-image:url(../icons/cs2.svg)}
.pe-forums .forum_status[data-pe-forum-icon="cs2"]{background-image:url(../icons/cs2.svg)}
.pe-forums .thead[data-pe-category-icon="vacation"] strong a:before{background-image:url(../icons/vacation.svg)}
.pe-forums .forum_status[data-pe-forum-icon="vacation"]{background-image:url(../icons/vacation.svg)}
.pe-forums .thead[data-pe-category-icon="chat"] strong a:before{background-image:url(../icons/chat.svg)}
.pe-forums .forum_status[data-pe-forum-icon="chat"]{background-image:url(../icons/chat.svg)}
.pe-forums .thead[data-pe-category-icon="forum-help"] strong a:before{background-image:url(../icons/forum-help.svg)}
.pe-forums .forum_status[data-pe-forum-icon="forum-help"]{background-image:url(../icons/forum-help.svg)}
.pe-forums .thead[data-pe-category-icon="shield"] strong a:before{background-image:url(../icons/shield.svg)}
.pe-forums .forum_status[data-pe-forum-icon="shield"]{background-image:url(../icons/shield.svg)}
.pe-forums .thead[data-pe-category-icon="junior"] strong a:before{background-image:url(../icons/junior.svg)}
.pe-forums .forum_status[data-pe-forum-icon="junior"]{background-image:url(../icons/junior.svg)}
.pe-forums .thead[data-pe-category-icon="target"] strong a:before{background-image:url(../icons/target.svg)}
.pe-forums .forum_status[data-pe-forum-icon="target"]{background-image:url(../icons/target.svg)}
.pe-forums .thead[data-pe-category-icon="forum-pickaxe"] strong a:before{background-image:url(../icons/forum-pickaxe.svg)}
.pe-forums .forum_status[data-pe-forum-icon="forum-pickaxe"]{background-image:url(../icons/forum-pickaxe.svg)}
.pe-forums .thead[data-pe-category-icon="forum-discussion"] strong a:before{background-image:url(../icons/forum-discussion.svg)}
.pe-forums .forum_status[data-pe-forum-icon="forum-discussion"]{background-image:url(../icons/forum-discussion.svg)}
.pe-forums .thead[data-pe-category-icon="palette"] strong a:before{background-image:url(../icons/palette.svg)}
.pe-forums .forum_status[data-pe-forum-icon="palette"]{background-image:url(../icons/palette.svg)}
.pe-forums .thead[data-pe-category-icon="cs16"] strong a:before{background-image:url(../icons/cs16.svg)}
.pe-forums .forum_status[data-pe-forum-icon="cs16"]{background-image:url(../icons/cs16.svg)}
.pe-forums .thead[data-pe-category-icon="forum-coffee"] strong a:before{background-image:url(../icons/forum-coffee.svg)}
.pe-forums .forum_status[data-pe-forum-icon="forum-coffee"]{background-image:url(../icons/forum-coffee.svg)}
.pe-forums .thead[data-pe-category-icon="server"] strong a:before{background-image:url(../icons/server.svg)}
.pe-forums .forum_status[data-pe-forum-icon="server"]{background-image:url(../icons/server.svg)}
.pe-forums .thead[data-pe-category-icon="radio"] strong a:before{background-image:url(../icons/radio.svg)}
.pe-forums .forum_status[data-pe-forum-icon="radio"]{background-image:url(../icons/radio.svg)}
.pe-forums .thead[data-pe-category-icon="medal"] strong a:before{background-image:url(../icons/medal.svg)}
.pe-forums .forum_status[data-pe-forum-icon="medal"]{background-image:url(../icons/medal.svg)}
.pe-forums .thead[data-pe-category-icon="forum-announcement"] strong a:before{background-image:url(../icons/forum-announcement.svg)}
.pe-forums .forum_status[data-pe-forum-icon="forum-announcement"]{background-image:url(../icons/forum-announcement.svg)}
.pe-forums .thead[data-pe-category-icon="forum-gamepad"] strong a:before{background-image:url(../icons/forum-gamepad.svg)}
.pe-forums .forum_status[data-pe-forum-icon="forum-gamepad"]{background-image:url(../icons/forum-gamepad.svg)}
.pe-forums .thead[data-pe-category-icon="user"] strong a:before{background-image:url(../icons/user.svg)}
.pe-forums .forum_status[data-pe-forum-icon="user"]{background-image:url(../icons/user.svg)}
.pe-forums .thead[data-pe-category-icon="bolt"] strong a:before{background-image:url(../icons/bolt.svg)}
.pe-forums .forum_status[data-pe-forum-icon="bolt"]{background-image:url(../icons/bolt.svg)}
.pe-forums .thead[data-pe-category-icon="recruit"] strong a:before{background-image:url(../icons/recruit.svg)}
.pe-forums .forum_status[data-pe-forum-icon="recruit"]{background-image:url(../icons/recruit.svg)}
.pe-forums .thead[data-pe-category-icon="sponsor"] strong a:before{background-image:url(../icons/sponsor.svg)}
.pe-forums .forum_status[data-pe-forum-icon="sponsor"]{background-image:url(../icons/sponsor.svg)}
.pe-forums .thead[data-pe-category-icon="clock"] strong a:before{background-image:url(../icons/clock.svg)}
.pe-forums .forum_status[data-pe-forum-icon="clock"]{background-image:url(../icons/clock.svg)}
.pe-forums .thead[data-pe-category-icon="vip"] strong a:before{background-image:url(../icons/vip.svg)}
.pe-forums .forum_status[data-pe-forum-icon="vip"]{background-image:url(../icons/vip.svg)}
