@import url("../../prosilver/theme/stylesheet.css");

/* Obcy — baza */
html,
body {
    background: #000;
    color: #fff;
    font-family: Verdana, Arial, sans-serif;
}

#wrap {
    background: #000;
}

a,
a:link,
a:visited {
    color: #0000ff;
}

a:hover,
a:focus {
    color: aqua;
}

.forumbg,
.forabg,
.panel,
.bg1,
.bg2,
.bg3 {
    background: #000;
    color: #fff;
}

li.row {
    border-color: #0000ff;
}

.header a,
.header dt,
.header dd {
    color: #fff;
}

/* Obcy — wykorzystuj pełną szerokość ekranu */
.wrap {
    max-width: none;
    width: auto;
    margin: 0;
    padding: 4px 8px;
    border: 0;
    border-radius: 0;
    background: #000;
}

/* Obcy — lista tematów jak w starym forum */
li.row:hover {
    background-color: #000;
}

li.row:hover dd {
    border-left-color: inherit;
}

a.topictitle:hover {
    color: aqua;
    text-decoration: none;
}

/* Autor i data będą w osobnej kolumnie "Utworzony" */
.topic-poster {
    display: none !important;
}

/* Obcy — zwarta lista tematów jak w phpBB2 */
.forumbg,
.forumbg .inner {
    border-radius: 0;
}

/* Zamknięcie tabeli z lewej i prawej */
.forumbg ul.topiclist {
    border-left: 1px solid #0000ff;
    border-right: 1px solid #0000ff;
}

/* Nagłówek tabeli */
.forumbg ul.topiclist li.header {
    border-top: 1px solid #0000ff;
    border-bottom: 1px solid #0000ff;
}

/* Jeden separator między wierszami */
.forumbg ul.topiclist li.row {
    border-top: 0;
    border-bottom: 1px solid #0000ff;
}

/* Pionowe linie kolumn */
.forumbg ul.topiclist dd,
.forumbg li.row:hover dd {
    border-left: 1px solid #0000ff;
}

/* Niższe wiersze */
.forumbg dl.row-item dt,
.forumbg dl.row-item dd {
    min-height: 22px;
}

.forumbg .row .list-inner {
    padding-top: 2px;
    padding-bottom: 2px;
}

.forumbg ul.topiclist li.row dd {
    padding-top: 2px;
    padding-bottom: 999px;
    margin-bottom: -997px;
}

/* Mała ikona stanu tematu */
.forumbg dl.row-item {
    background-size: 11px 15px;
    background-position: 6px 50%;
}

.forumbg dl.row-item dt .list-inner {
    padding-left: 23px;
}

/* Klikalny obszar ikonki */
.forumbg dl a.row-item-link {
    width: 16px;
    height: 20px;
    left: 2px;
    margin-left: 0;
    margin-top: -10px;
}

/* Obcy — kolumny jak w starym forum */
.forumbg ul.topiclist dl.row-item {
    display: grid;
    grid-template-columns: minmax(0, 60fr) 5fr 5fr 15fr 15fr;
}

.forumbg ul.topiclist dt,
.forumbg ul.topiclist dd {
    float: none;
    width: auto;
    margin: 0;
}

.forumbg ul.topiclist dt,
.forumbg li.header dt {
    width: auto;
    margin-right: 0;
}

.forumbg ul.topiclist dt .list-inner,
.forumbg li.header dt .list-inner {
    margin-right: 0;
}

.forumbg dd.created,
.forumbg dd.lastpost {
    width: auto;
    text-align: center;
    font-size: 1.1em;
}

.forumbg dd.created > span,
.forumbg dd.lastpost > span {
    display: block;
    padding: 2px 4px;
}

.forumbg dd.posts,
.forumbg dd.views {
    width: auto;
}

/* Obcy — typografia listy tematów */
.forumbg .topictitle {
    font-family: Verdana, Arial, sans-serif;
    font-size: 12px;
    font-weight: normal;
    line-height: 16px;
}

.forumbg dd.posts,
.forumbg dd.views,
.forumbg dd.created,
.forumbg dd.lastpost {
    font-family: Verdana, Arial, sans-serif;
    font-size: 10px;
    line-height: 14px;
}

/* Bez kolorów grup na liście tematów */
.forumbg dd.created .username,
.forumbg dd.created .username-coloured,
.forumbg dd.lastpost .username,
.forumbg dd.lastpost .username-coloured {
    color: #0000ff !important;
    font-weight: bold;
}

.forumbg dd.created a:hover,
.forumbg dd.lastpost a:hover {
    color: aqua !important;
}

/* Jeszcze trochę ciaśniej */
.forumbg dl.row-item dt,
.forumbg dl.row-item dd {
    min-height: 18px;
}

.forumbg .row .list-inner {
    padding-top: 1px;
    padding-bottom: 1px;
}

/* Obcy — nagłówek starego forum */
.obcy-header {
    margin: 0 0 12px 0;
    padding: 0;
    background: #000;
}

.obcy-header-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.obcy-header-image img {
    display: block;
    width: 403px;
    height: 170px;
    border: 0;
}

.obcy-header-links {
    padding-top: 8px;
    font-family: Verdana, Arial, sans-serif;
    font-size: 12px;
    line-height: 18px;
    color: #fff;
}

.obcy-header-links a {
    font-size: 18px;
    color: #0000ff;
    text-decoration: none;
}

.obcy-header-links a:hover {
    color: aqua;
}

.obcy-menu {
    margin-top: 12px;
    font-family: Verdana, Arial, sans-serif;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
}

.obcy-menu a {
    color: #0000ff;
    text-decoration: none;
}

.obcy-menu a:hover {
    color: aqua;
}

/* nie pokazuj już elementów nagłówka prosilver */
.headerbar,
.navbar {
    display: none;
}

@media (max-width: 700px) {
    .obcy-header-top {
        display: block;
    }

    .obcy-header-image img {
        max-width: 100%;
        height: auto;
    }

    .obcy-header-links {
        margin-top: 6px;
    }
}

/* Obcy — pasek nad listą tematów */
.obcy-forum-topbar {
    display: grid;
    grid-template-columns: 40% 20% 40%;
    align-items: center;
    margin: 4px 0 8px 0;
    font-family: Verdana, Arial, sans-serif;
    font-size: 10px;
    color: #fff;
}

.obcy-forum-users {
    text-align: left;
}

.obcy-forum-pagination {
    text-align: center;
}

.obcy-forum-newtopic {
    text-align: right;
}

.obcy-forum-newtopic a {
    color: #0000ff;
    font-weight: bold;
    text-decoration: none;
}

.obcy-forum-newtopic a:hover {
    color: aqua;
}

/* Obcy — zwarta paginacja */
.obcy-forum-pagination .pagination {
    float: none;
    width: auto;
    text-align: center;
    white-space: nowrap;
}

.obcy-forum-pagination .pagination > ul {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 3px;
}

/* Nie potrzebujemy dużego "skocz do strony" */
.obcy-forum-pagination .pagination li.page-jump {
    display: none;
}

.obcy-forum-pagination .pagination li a,
.obcy-forum-pagination .pagination li span {
    min-width: 0;
    padding: 0 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-family: Verdana, Arial, sans-serif;
    font-size: 10px;
    line-height: 14px;
    color: #0000ff;
}

.obcy-forum-pagination .pagination li.active span {
    background: transparent;
    border: 0;
    color: #fff;
}

.obcy-forum-pagination .pagination li a:hover {
    background: transparent;
    border: 0;
    color: aqua;
}

.obcy-forum-pagination .pagination li.ellipsis span {
    color: #fff;
}

/* Obcy — dół forum */
.obcy-display-options {
    margin: 6px 0;
    text-align: center;
    font-size: 10px;
}

.obcy-forum-bottombar {
    display: grid;
    grid-template-columns: 40% 20% 40%;
    align-items: center;
    margin: 6px 0 12px;
}

.obcy-forum-bottom-info {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    margin-top: 8px;
    font-family: Verdana, Arial, sans-serif;
    font-size: 10px;
    color: #fff;
}

.obcy-online {
    text-align: left;
}

.obcy-permissions {
    text-align: left;
    white-space: nowrap;
}

.obcy-forum-bottom-info a {
    color: #0000ff;
}

.obcy-forum-bottom-info a:hover {
    color: aqua;
}

/* Obcy — kolory listy tematów jak w starym forum */
.forumbg ul.topiclist,
.forumbg ul.topiclist li,
.forumbg ul.topiclist dt,
.forumbg ul.topiclist dd {
    color: #fff;
}

/* Tytuły tematów */
.forumbg a.topictitle,
.forumbg a.topictitle:visited {
    color: #fff;
}

.forumbg a.topictitle:hover {
    color: aqua;
}

/* Autor utworzenia i ostatniego posta */
.forumbg dd.created .username,
.forumbg dd.created .username-coloured,
.forumbg dd.lastpost .username,
.forumbg dd.lastpost .username-coloured {
    color: #fff !important;
}

.forumbg dd.created a:hover,
.forumbg dd.lastpost a:hover {
    color: aqua !important;
}

/* Mała paginacja przy wielostronicowym temacie pozostaje niebieska */
.forumbg .row .pagination li a,
.forumbg .row .pagination li span {
    color: #0000ff !important;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.forumbg .row .pagination li a:hover {
    color: aqua !important;
}

/* Obcy — legenda tematów jak w phpBB2 */
.obcy-topic-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 24px;
}

.obcy-topic-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.obcy-topic-legend img {
    max-width: 11px;
    max-height: 15px;
}

/* Obcy — stare ikony tematów phpBB2 */
.forumbg dl.row-item.topic_read,
.forumbg dl.row-item.topic_read_mine {
    background-image: url("./images/folder.gif");
}

.forumbg dl.row-item.topic_unread,
.forumbg dl.row-item.topic_unread_mine {
    background-image: url("./images/folder_new.gif");
}

.forumbg dl.row-item.topic_read_hot,
.forumbg dl.row-item.topic_read_hot_mine {
    background-image: url("./images/folder_hot.gif");
}

.forumbg dl.row-item.topic_unread_hot,
.forumbg dl.row-item.topic_unread_hot_mine {
    background-image: url("./images/folder_new_hot.gif");
}

.forumbg dl.row-item.sticky_read,
.forumbg dl.row-item.sticky_read_mine {
    background-image: url("./images/folder_sticky.gif");
}

.forumbg dl.row-item.sticky_unread,
.forumbg dl.row-item.sticky_unread_mine {
    background-image: url("./images/folder_sticky_new.gif");
}

.forumbg dl.row-item.announce_read,
.forumbg dl.row-item.announce_read_mine,
.forumbg dl.row-item.global_read,
.forumbg dl.row-item.global_read_mine {
    background-image: url("./images/folder_announce.gif");
}

.forumbg dl.row-item.announce_unread,
.forumbg dl.row-item.announce_unread_mine,
.forumbg dl.row-item.global_unread,
.forumbg dl.row-item.global_unread_mine {
    background-image: url("./images/folder_announce_new.gif");
}

.forumbg dl.row-item.topic_read_locked,
.forumbg dl.row-item.topic_read_locked_mine,
.forumbg dl.row-item.sticky_read_locked,
.forumbg dl.row-item.sticky_read_locked_mine,
.forumbg dl.row-item.announce_read_locked,
.forumbg dl.row-item.announce_read_locked_mine,
.forumbg dl.row-item.global_read_locked,
.forumbg dl.row-item.global_read_locked_mine {
    background-image: url("./images/folder_lock.gif");
}

.forumbg dl.row-item.topic_unread_locked,
.forumbg dl.row-item.topic_unread_locked_mine,
.forumbg dl.row-item.sticky_unread_locked,
.forumbg dl.row-item.sticky_unread_locked_mine,
.forumbg dl.row-item.announce_unread_locked,
.forumbg dl.row-item.announce_unread_locked_mine,
.forumbg dl.row-item.global_unread_locked,
.forumbg dl.row-item.global_unread_locked_mine {
    background-image: url("./images/folder_lock_new.gif");
}

/* Obcy — pionowe wyrównanie wierszy tematów */
.forumbg dl.row-item {
    background-position: 7px 50% !important;
    background-size: 11px 15px !important;
    background-repeat: no-repeat;
}

.forumbg dl.row-item dt {
    display: flex;
    align-items: center;
}

.forumbg dl.row-item dt .list-inner {
    width: 100%;
    padding-top: 2px;
    padding-bottom: 2px;
}


/* Obcy — paginacja tematu jak w starym phpBB2 */
.obcy-topic-pages {
    display: flex;
    align-items: center;
    margin-top: 1px;
    font-family: Verdana, Arial, sans-serif;
    font-size: 9px;
    line-height: 11px;
    color: #fff;
}

.obcy-topic-pages img {
    display: inline-block;
    margin-right: 3px;
    vertical-align: middle;
}

.obcy-topic-pages ul {
    display: inline-flex;
    margin: 0 0 0 3px;
    padding: 0;
    list-style: none;
}

.obcy-topic-pages li {
    display: inline;
    margin: 0;
    padding: 0;
}

.obcy-topic-pages li:not(:last-child)::after {
    content: ",";
    color: #fff;
    margin-right: 3px;
}

.obcy-topic-pages a,
.obcy-topic-pages span {
    padding: 0;
    border: 0;
    background: none;
    font-size: 9px;
    color: #0000ff;
    text-decoration: none;
}

.obcy-topic-pages a:hover {
    color: aqua;
}

/* Obcy — bardziej zwarte wiersze tematów */
.forumbg ul.topiclist li.row dd {
    padding-top: 1px;
    padding-bottom: 1px;
    margin-bottom: 0;
}

.forumbg dl.row-item dt .list-inner {
    padding-top: 1px;
    padding-bottom: 1px;
}

.forumbg .topictitle {
    line-height: 14px;
}

.forumbg dd.posts,
.forumbg dd.views,
.forumbg dd.created,
.forumbg dd.lastpost {
    line-height: 12px;
}

.forumbg dd.created > span,
.forumbg dd.lastpost > span {
    padding: 1px 3px;
}

.obcy-topic-pages {
    margin-top: 0;
    line-height: 10px;
}

/* Obcy — statystyki forum */
.obcy-forum-stats {
    margin-top: 16px;
    font-family: Verdana, Arial, sans-serif;
    font-size: 10px;
    line-height: 15px;
    color: #fff;
}

.obcy-forum-stats a,
.obcy-forum-stats a:visited {
    color: #fff !important;
    text-decoration: none;
}

.obcy-forum-stats a:hover {
    color: aqua !important;
}

/* Obcy — osobna kolumna z ikoną tematu */
.forumbg ul.topiclist dl.row-item {
    grid-template-columns:
        minmax(0, 2fr)
        minmax(0, 58fr)
        5fr 5fr 15fr 15fr;
}

/* Niebieski separator za ikoną */
.forumbg ul.topiclist dd.obcy-topic-icon,
.forumbg li.row:hover dd.obcy-topic-icon {
    border-left: 0 !important;
    border-right: 1px solid #0000ff;
    padding: 0 !important;
    margin: 0 !important;
}

/* Wyśrodkowanie starej grafiki w kolumnie 2% */
.forumbg dl.row-item {
    background-position: calc(1% - 5px) 50% !important;
}

/* Tytuł nie potrzebuje już miejsca na ikonę */
.forumbg ul.topiclist dt .list-inner {
    padding-left: 6px;
}

/* Obcy — wyśrodkowanie liczby odpowiedzi i odsłon */
.forumbg ul.topiclist li.row dd.posts,
.forumbg ul.topiclist li.row dd.views {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
}

.forumbg ul.topiclist li.row dd.posts dfn,
.forumbg ul.topiclist li.row dd.views dfn {
    display: none;
}

/* Obcy — rozmiar paginacji pod tytułem */
.obcy-topic-pages {
    font-size: 10px;
    line-height: 12px;
}

.obcy-topic-pages a,
.obcy-topic-pages span {
    font-size: 10px;
}

/* Obcy — ostatnio zarejestrowany użytkownik */
.obcy-forum-stats a.username,
.obcy-forum-stats a.username-coloured,
.obcy-forum-stats a.username:visited,
.obcy-forum-stats a.username-coloured:visited {
    color: #fff !important;
    font-weight: bold;
}

.obcy-forum-stats a.username:hover,
.obcy-forum-stats a.username-coloured:hover {
    color: aqua !important;
}

/* Obcy — prosta stopka jak w phpBB2 */
.obcy-footer {
    margin: 20px 0 8px;
    padding: 0;
    background: #000;
    color: #fff;
    text-align: center;
    font-family: Verdana, Arial, sans-serif;
    font-size: 10px;
    line-height: 15px;
}

.obcy-footer p {
    margin: 2px 0;
    padding: 0;
}

.obcy-footer a,
.obcy-footer a:visited {
    color: #0000ff;
}

.obcy-footer a:hover {
    color: aqua;
}

.obcy-footer-links {
    margin-top: 6px !important;
}

/* Obcy — widok postów */
.post .postprofile {
    float: left;
    width: 10%;
    box-sizing: border-box;
    margin: 0;
    padding: 4px;
    border-left: 0;
    border-right: 1px solid #0000ff;
    color: #fff;
}

.post .postbody {
    float: right;
    width: 90%;
    box-sizing: border-box;
    margin: 0;
    padding: 4px;
}

.post .postbody .content,
.post .postbody .author,
.post .postprofile,
.post .postprofile .profile-rank {
    color: #fff;
}

/* Obcy — ramki postów jak w phpBB2 */
.section-viewtopic .post {
    background: #000;
    border: 1px solid #0000ff;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
}

.section-viewtopic .post + .post {
    border-top: 0;
}

/* Obcy — profil i treść na pełną wysokość posta */
.section-viewtopic .post > .inner {
    display: flex;
    align-items: stretch;
}

.section-viewtopic .post > .inner > .postprofile {
    float: none;
    flex: 0 0 10%;
    min-width: 0;
}

.section-viewtopic .post > .inner > .postbody {
    float: none;
    flex: 1 1 0;
    min-width: 0;
}

/* Obcy — profil autora posta */
.section-viewtopic .postprofile {
    text-align: left;
    font-family: Verdana, Arial, sans-serif;
    font-size: 10px;
    line-height: 14px;
}

.section-viewtopic .postprofile dt,
.section-viewtopic .postprofile dd {
    display: block;
    float: none;
    clear: both;
    width: auto;
    margin: 0;
    padding: 0;
    text-align: left;
    color: #fff;
}

.section-viewtopic .postprofile dt .username,
.section-viewtopic .postprofile dt .username-coloured {
    color: #fff !important;
    font-size: 12px;
    font-weight: bold;
}

.section-viewtopic .postprofile dd.profile-posts a {
    color: #fff;
}

.section-viewtopic .postprofile a:hover {
    color: aqua !important;
}

/* Obcy — proporcje kolumn postu */
.section-viewtopic .post > .inner > .postprofile {
    flex: 0 0 14%;
    width: 14%;
}

.section-viewtopic .post > .inner > .postbody {
    flex: 1 1 0;
    width: auto;
}

/* Obcy — stała szerokość profilu */
.section-viewtopic .post > .inner > .postprofile {
    flex: 0 0 158px;
    width: 158px;
    min-width: 158px;
    max-width: 158px;
    box-sizing: border-box;
}

/* Obcy — białe informacje w profilu */
.section-viewtopic .postprofile dt,
.section-viewtopic .postprofile dd.profile-joined,
.section-viewtopic .postprofile dd.profile-posts,
.section-viewtopic .postprofile dd.profile-posts a,
.section-viewtopic .postprofile dd.profile-joined strong,
.section-viewtopic .postprofile dd.profile-posts strong {
    color: #fff !important;
    text-align: left;
}
/* Obcy — avatar pod nickiem */
.section-viewtopic .postprofile .avatar-container {
    display: block;
    float: none;
    margin: 8px 0;
}
/* Obcy — historyczny opis użytkownika */
.section-viewtopic .obcy-cytat {
    color: #fff;
    font-family: Verdana, Arial, sans-serif;
    font-size: 10px;
    font-weight: normal;
    line-height: 14px;
    margin: 2px 0 8px;
}

/* Obcy — cytaty w postach */
.section-viewtopic .post .content blockquote {
    background: #101010;
    border: 1px solid #0000ff;
    border-radius: 0;
    color: #fff;
}

.section-viewtopic .post .content blockquote .content,
.section-viewtopic .post .content blockquote cite {
    color: #fff;
}

.section-viewtopic .post .content blockquote a {
    color: #0000ff;
}

.section-viewtopic .post .content blockquote a:hover {
    color: aqua;
}

/* Obcy — biały tytuł posta */
.section-viewtopic .postbody h3 a,
.section-viewtopic .postbody h3 a:visited {
    color: #fff;
}

.section-viewtopic .postbody h3 a:hover {
    color: aqua;
}

/* Obcy — nick autora w nagłówku posta */
.section-viewtopic .postbody .author a.username,
.section-viewtopic .postbody .author a.username-coloured {
    color: #fff !important;
    font-weight: bold;
}

.section-viewtopic .postbody .author a.username:hover,
.section-viewtopic .postbody .author a.username-coloured:hover {
    color: aqua !important;
}

/* Obcy — oryginalny przycisk Cytuj */
.section-viewtopic .post-buttons .obcy-quote-button {
    display: block;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

.section-viewtopic .obcy-quote-button img {
    display: block;
    border: 0;
}

/* Obcy — przycisk Edytuj */
.section-viewtopic .post-buttons .obcy-edit-button {
    display: block;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

.section-viewtopic .obcy-edit-button img {
    display: block;
    border: 0;
}

/* Obcy — przycisk Usuń */
.section-viewtopic .post-buttons .obcy-delete-button {
    display: block;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

.section-viewtopic .obcy-delete-button img {
    display: block;
    border: 0;
}

/* Obcy — dolny pasek posta */
.section-viewtopic .post > .inner {
    flex-wrap: wrap;
}

.section-viewtopic .obcy-post-footer {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: 158px minmax(0, 1fr);
    border-top: 1px solid #0000ff;
    background: #000;
    font: 10px Verdana, Arial, sans-serif;
    color: #fff;
}

.section-viewtopic .obcy-post-footer-left {
    border-right: 1px solid #0000ff;
    padding: 4px;
}

.section-viewtopic .obcy-post-date {
    text-align: center;
    margin-bottom: 8px;
}

.section-viewtopic .obcy-post-contact {
    display: flex;
    gap: 4px;
    align-items: center;
}

.section-viewtopic .obcy-post-footer-right {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 4px;
}

.section-viewtopic .obcy-post-footer img {
    display: block;
    border: 0;
}

/* Obcy — zwarty dolny pasek posta */
.section-viewtopic .obcy-post-footer {
    grid-template-columns: 158px minmax(0, 1fr) auto;
    align-items: center;
    min-height: 24px;
}

.section-viewtopic .obcy-post-footer-left {
    display: contents;
}

.section-viewtopic .obcy-post-date {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    border-right: 1px solid #0000ff;
    margin: 0;
    padding: 2px;
    white-space: nowrap;
}

.section-viewtopic .obcy-post-contact {
    padding: 2px 4px;
}

.section-viewtopic .obcy-post-footer-right {
    align-items: center;
    padding: 2px 4px;
}

.section-viewtopic .post .back2top {
    display: none;
}

/* Obcy — przyciski w dolnym pasku */
.section-viewtopic .obcy-post-footer-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.section-viewtopic .obcy-post-footer-right .post-buttons {
    position: static;
    float: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.section-viewtopic .obcy-post-footer-right .post-buttons li {
    float: none;
    margin: 0;
    padding: 0;
}

.section-viewtopic .obcy-post-footer-right .post-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 20px;
}

/* Obcy — historyczny przycisk IP */
.section-viewtopic .post-buttons .obcy-info-button {
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

.section-viewtopic .obcy-info-button img {
    display: block;
    border: 0;
}

/* Obcy — wyrównanie dolnych przycisków */
.section-viewtopic .obcy-post-footer-right > a,
.section-viewtopic .obcy-post-footer-right .post-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    margin: 0;
    padding: 0;
}

.section-viewtopic .obcy-post-footer-right .post-buttons {
    gap: 4px;
}

/* Przyciski bez historycznych odpowiedników */
.section-viewtopic .obcy-post-footer-right .button-icon-only {
    width: 20px;
    min-width: 20px;
    border: 1px solid #0000ff;
    border-radius: 0;
    background: #000;
    box-shadow: none;
    color: #fff;
}

.section-viewtopic .obcy-post-footer-right .button-icon-only:hover {
    color: aqua;
}

.section-viewtopic .obcy-post-footer-right img {
    display: block;
    max-height: 20px;
    width: auto;
}

/* Obcy — sygnatura i informacja o edycji */
.section-viewtopic .postbody .signature,
.section-viewtopic .postbody .notice {
    color: #fff;
}

.section-viewtopic .postbody .signature a,
.section-viewtopic .postbody .signature a:visited,
.section-viewtopic .postbody .notice a,
.section-viewtopic .postbody .notice a:visited {
    color: #fff !important;
}

.section-viewtopic .postbody .signature a:hover,
.section-viewtopic .postbody .notice a:hover {
    color: aqua !important;
}

/* Obcy — oryginalny przycisk Odpowiedz */
.section-viewtopic .action-bar .obcy-reply-button {
    display: inline-block;
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

.section-viewtopic .action-bar .obcy-reply-button img {
    display: block;
    border: 0;
}

/* Obcy — przyciski Tematy, Nowy temat, Odpowiedz */
.section-viewtopic .action-bar .obcy-topic-nav {
    display: flex;
    float: right;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.section-viewtopic .action-bar .obcy-topic-nav a {
    display: inline-block;
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

.section-viewtopic .action-bar .obcy-topic-nav img {
    display: block;
    border: 0;
}

/* Obcy — tytuł tematu */
.section-viewtopic h2.topic-title,
.section-viewtopic h2.topic-title a,
.section-viewtopic h2.topic-title a:visited {
    color: #fff !important;
}

.section-viewtopic h2.topic-title a:hover {
    color: aqua !important;
}

/* Obcy — górna nawigacja tematu */
.section-viewtopic .action-bar.bar-top .obcy-top-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    width: 100%;
    clear: both;
}

.section-viewtopic .obcy-topic-prevnext {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    justify-self: start;
    font: 11px Verdana, Arial, sans-serif;
}

.section-viewtopic .obcy-topic-prevnext a {
    color: #fff;
    text-decoration: none;
}

.section-viewtopic .obcy-topic-prevnext a:hover {
    color: aqua;
}

.section-viewtopic .obcy-top-pagination {
    justify-self: center;
    text-align: center;
}

.section-viewtopic .obcy-top-pagination .pagination {
    float: none;
    margin: 0;
}

.section-viewtopic .action-bar.bar-top
.obcy-top-controls .obcy-topic-nav {
    justify-self: end;
    float: none;
    margin: 0;
}

/* Obcy — kolory poprzedni/następny temat */
.section-viewtopic .obcy-topic-prevnext a,
.section-viewtopic .obcy-topic-prevnext a:visited {
    color: #0000ff !important;
    text-decoration: none;
    font-weight: bold;
}

.section-viewtopic .obcy-topic-prevnext a:hover {
    color: aqua !important;
}

.section-viewtopic .obcy-topic-prevnext .obcy-prevnext-sep {
    color: #fff;
    font-weight: bold;
}

/* Obcy — tekstowa paginacja u góry */
.section-viewtopic .obcy-top-pagination,
.section-viewtopic .obcy-top-pagination .pagination,
.section-viewtopic .obcy-top-pagination .pagination li,
.section-viewtopic .obcy-top-pagination .pagination a,
.section-viewtopic .obcy-top-pagination .pagination strong,
.section-viewtopic .obcy-top-pagination .pagination span,
.section-viewtopic .obcy-top-pagination .pagination .page-number,
.section-viewtopic .obcy-top-pagination .pagination .button {
    color: #0000ff !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.section-viewtopic .obcy-top-pagination .pagination a:hover {
    color: aqua !important;
}

/* Obcy — paginacja jak w phpBB2 */
.section-viewtopic .obcy-top-pagination .pagination {
    font: 12px/1.4 Verdana, Arial, sans-serif;
    color: #fff !important;
}

.section-viewtopic .obcy-top-pagination .pagination li,
.section-viewtopic .obcy-top-pagination .pagination a,
.section-viewtopic .obcy-top-pagination .pagination span {
    font-size: 12px !important;
    line-height: 1.4;
}

.section-viewtopic .obcy-top-pagination .pagination a,
.section-viewtopic .obcy-top-pagination .pagination a:visited {
    color: #0000ff !important;
    font-weight: bold;
}

/* Biała aktualnie wybrana strona */
.section-viewtopic .obcy-top-pagination .pagination li.active,
.section-viewtopic .obcy-top-pagination .pagination li.active span {
    color: #fff !important;
    font-weight: bold;
}

/* Biały tekst informacyjny */
.section-viewtopic .obcy-top-pagination .pagination .page-number,
.section-viewtopic .obcy-top-pagination .pagination .page-number span {
    color: #fff !important;
}

.section-viewtopic .obcy-top-pagination .pagination a:hover {
    color: aqua !important;
}

/* Obcy — viewtopic: paginacja jak na viewforum */
.section-viewtopic .obcy-top-pagination .pagination ul {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 3px;
}

.section-viewtopic .obcy-top-pagination .pagination li.page-jump {
    display: none;
}

.section-viewtopic .obcy-top-pagination .pagination li a,
.section-viewtopic .obcy-top-pagination .pagination li span {
    min-width: 0;
    padding: 0 2px;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    font-family: Verdana, Arial, sans-serif;
    font-size: 10px !important;
    line-height: 14px !important;
}

.section-viewtopic .obcy-top-pagination .pagination li a,
.section-viewtopic .obcy-top-pagination .pagination li a:visited {
    color: #0000ff !important;
    font-weight: normal;
}

.section-viewtopic .obcy-top-pagination .pagination li.active span {
    color: #fff !important;
    font-weight: normal;
}

.section-viewtopic .obcy-top-pagination .pagination li.ellipsis span {
    color: #fff !important;
}

.section-viewtopic .obcy-top-pagination .pagination li a:hover {
    color: aqua !important;
}

/* Obcy — dolna paginacja viewtopic */
.section-viewtopic .pagination.obcy-bottom-pagination {
    float: none;
    text-align: center;
    margin: 0;
    color: #fff;
    font: 10px/14px Verdana, Arial, sans-serif;
}

.section-viewtopic .pagination.obcy-bottom-pagination ul {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 3px;
}

.section-viewtopic .pagination.obcy-bottom-pagination li.page-jump {
    display: none;
}

.section-viewtopic .pagination.obcy-bottom-pagination li a,
.section-viewtopic .pagination.obcy-bottom-pagination li span {
    min-width: 0;
    padding: 0 2px;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    font-family: Verdana, Arial, sans-serif;
    font-size: 10px !important;
    line-height: 14px !important;
}

.section-viewtopic .pagination.obcy-bottom-pagination li a,
.section-viewtopic .pagination.obcy-bottom-pagination li a:visited {
    color: #0000ff !important;
    font-weight: normal;
}

.section-viewtopic .pagination.obcy-bottom-pagination li.active span {
    color: #fff !important;
    font-weight: normal;
}

.section-viewtopic .pagination.obcy-bottom-pagination li.ellipsis span {
    color: #fff !important;
}

.section-viewtopic .pagination.obcy-bottom-pagination li a:hover {
    color: aqua !important;
}

/* Obcy — układ dolnego paska viewtopic */
.section-viewtopic .action-bar.bar-bottom {
    position: relative;
    min-height: 28px;
}

.section-viewtopic .action-bar.bar-bottom
.pagination.obcy-bottom-pagination {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    white-space: nowrap;
}

/* Obcy — profil użytkownika */
.section-memberlist h2.memberlist-title {
    display: none;
}

.section-memberlist .obcy-profile {
    width: 100%;
    border: 1px solid #0000ff;
    background: #000;
    box-sizing: border-box;
    font-family: Verdana, Arial, sans-serif;
    font-size: 12px;
    color: #fff;
}

.section-memberlist .obcy-profile-header {
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #0000ff;
    font-weight: bold;
    color: #fff;
}

.section-memberlist .obcy-profile-columns {
    display: grid;
    grid-template-columns: 40% 60%;
}

.section-memberlist .obcy-profile-left {
    border-right: 1px solid #0000ff;
}

.section-memberlist .obcy-profile-section-title {
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    box-sizing: border-box;
    border-bottom: 1px solid #0000ff;
    font-weight: bold;
    color: #fff;
}

.section-memberlist .obcy-profile-avatar {
    min-height: 130px;
    padding: 6px;
    box-sizing: border-box;
    text-align: center;
    border-bottom: 1px solid #0000ff;
}

.section-memberlist .obcy-profile-avatar img {
    max-width: 100%;
    height: auto;
}

.section-memberlist .obcy-profile-rank,
.section-memberlist .obcy-profile-rank-img {
    margin-top: 4px;
    color: #fff;
}

.section-memberlist .obcy-profile-details {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0;
    margin: 0;
    padding: 6px;
}

.section-memberlist .obcy-profile-details dt,
.section-memberlist .obcy-profile-details dd {
    margin: 0;
    padding: 3px;
    color: #fff;
}

.section-memberlist .obcy-profile-details dt {
    text-align: right;
    white-space: nowrap;
    font-weight: normal;
}

.section-memberlist .obcy-profile-details dd {
    text-align: left;
}

.section-memberlist .obcy-profile a,
.section-memberlist .obcy-profile a:visited {
    color: #0000ff;
    text-decoration: none;
}

.section-memberlist .obcy-profile a:hover {
    color: aqua;
}

.section-memberlist .obcy-profile-contact {
    min-height: 90px;
}

.section-memberlist .obcy-profile-right .obcy-profile-section-title {
    justify-content: flex-start;
    padding-left: 8px;
}

/* Obcy — profil: informacje wyrównane do lewej */
.section-memberlist .obcy-profile-right .obcy-profile-details {
    grid-template-columns: max-content minmax(0, 1fr);
    justify-content: start;
}

.section-memberlist .obcy-profile-right .obcy-profile-details dt {
    text-align: left;
}

.section-memberlist .obcy-profile-right .obcy-profile-details dd {
    text-align: left;
}

/* Obcy — historyczny opis/cytat użytkownika */
.section-memberlist .obcy-profile-cytat {
    margin-top: 2px;
    color: #fff;
    font-size: 11px;
    font-weight: normal;
}

/* Obcy — cytat w profilu jak w viewtopic */
.section-memberlist .obcy-profile-cytat {
    margin: 0 0 5px;
    color: #fff;
    font: normal 10px/1.2 Verdana, Arial, sans-serif;
    text-align: center;
}

/* Obcy — lista użytkowników */
.section-memberlist .forumbg.forumbg-table {
    margin: 0;
    padding: 0;
    border: 1px solid #0000ff;
    border-radius: 0;
    background: #000;
    box-shadow: none;
}

.section-memberlist table.memberlist {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background: #000;
    font-family: Verdana, Arial, sans-serif;
    font-size: 11px;
    color: #fff;
}

.section-memberlist table.memberlist thead,
.section-memberlist table.memberlist tbody,
.section-memberlist table.memberlist tr,
.section-memberlist table.memberlist th,
.section-memberlist table.memberlist td {
    background: #000 !important;
}

.section-memberlist table.memberlist th,
.section-memberlist table.memberlist td {
    padding: 3px 5px;
    border-right: 1px solid #0000ff;
    border-bottom: 1px solid #0000ff;
    color: #fff;
}

.section-memberlist table.memberlist th:last-child,
.section-memberlist table.memberlist td:last-child {
    border-right: 0;
}

.section-memberlist table.memberlist tbody tr:last-child td {
    border-bottom: 0;
}

.section-memberlist table.memberlist th {
    font-weight: bold;
    text-align: center;
}

.section-memberlist table.memberlist th a,
.section-memberlist table.memberlist th a:visited {
    color: #fff !important;
    font-weight: bold;
}

.section-memberlist table.memberlist td {
    vertical-align: middle;
}

/* Nick */
.section-memberlist table.memberlist td:first-child a,
.section-memberlist table.memberlist td:first-child a:visited {
    color: #fff !important;
    font-weight: bold;
}

/* Liczba postów */
.section-memberlist table.memberlist td.posts a,
.section-memberlist table.memberlist td.posts a:visited {
    color: #fff !important;
    font-weight: bold;
}

/* Pozostałe linki w danych użytkownika */
.section-memberlist table.memberlist td.info a,
.section-memberlist table.memberlist td.info a:visited {
    color: #fff !important;
    font-weight: normal;
}

.section-memberlist table.memberlist a:hover {
    color: aqua !important;
}

/* Obcy — paginacja listy użytkowników */
.section-memberlist .action-bar .pagination {
    float: none;
    color: #fff;
    font: 10px/14px Verdana, Arial, sans-serif;
}

.section-memberlist .action-bar .pagination ul {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 3px;
}

.section-memberlist .action-bar .pagination li.page-jump {
    display: none;
}

.section-memberlist .action-bar .pagination li a,
.section-memberlist .action-bar .pagination li span {
    min-width: 0;
    padding: 0 2px;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    font-family: Verdana, Arial, sans-serif;
    font-size: 10px !important;
    line-height: 14px !important;
}

.section-memberlist .action-bar .pagination li a,
.section-memberlist .action-bar .pagination li a:visited {
    color: #0000ff !important;
    font-weight: normal;
}

.section-memberlist .action-bar .pagination li.active span {
    color: #fff !important;
    font-weight: normal;
}

.section-memberlist .action-bar .pagination li.ellipsis span,
.section-memberlist .action-bar .pagination .page-number,
.section-memberlist .action-bar .pagination .page-number span {
    color: #fff !important;
}

.section-memberlist .action-bar .pagination li a:hover {
    color: aqua !important;
}

/* Obcy — memberlist: hover nicków */
.section-memberlist table.memberlist td:first-child a:hover {
    color: aqua !important;
    text-decoration: underline;
}

/* Obcy — memberlist: paginacja wyśrodkowana */
.section-memberlist .action-bar {
    position: relative;
    min-height: 28px;
}

.section-memberlist .action-bar .pagination {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    margin: 0;
    white-space: nowrap;
}

/* Obcy — wyniki wyszukiwania: posty */
.section-search .search.post {
    margin: 8px 0;
    padding: 0;
    border: 1px solid #0000ff;
    border-radius: 0;
    background: #000 !important;
    box-shadow: none;
}

.section-search .search.post > .inner {
    padding: 6px;
    background: #000;
}

/* Lewa kolumna z informacjami o poście */
.section-search .search.post .postprofile {
    border-right: 1px solid #0000ff;
    color: #fff;
}

/* Tekst */
.section-search .search.post .postbody,
.section-search .search.post .content,
.section-search .search.post .postprofile,
.section-search .search.post .searchresults {
    color: #fff;
}

/* Linki */
.section-search .search.post a,
.section-search .search.post a:visited {
    color: #fff !important;
    font-weight: bold;
    text-decoration: none;
}

.section-search .search.post a:hover {
    color: aqua !important;
    text-decoration: underline;
}

/* Tytuł wyniku */
.section-search .search.post h3 a,
.section-search .search.post h3 a:visited {
    color: #fff !important;
    font-weight: bold;
}

.section-search .search.post h3 a:hover {
    color: aqua !important;
}

/* Obcy — search: dopracowanie układu posta */
.section-search .search.post > .inner {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    grid-template-rows: auto auto;
    padding: 0;
}

.section-search .search.post .postprofile {
    grid-column: 1;
    grid-row: 1 / span 2;
    float: none;
    width: auto;
    margin: 0;
    padding: 8px;
    box-sizing: border-box;
    border-right: 1px solid #0000ff;
    color: #fff !important;
}

.section-search .search.post .postbody {
    grid-column: 2;
    grid-row: 1;
    float: none;
    width: auto;
    padding: 8px;
    box-sizing: border-box;
    color: #fff !important;
}

.section-search .search.post ul.searchresults {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    padding: 4px 8px 8px;
    color: #fff;
}

/* Zwykły tekst i wartości */
.section-search .search.post .content,
.section-search .search.post .postprofile dd,
.section-search .search.post .postprofile dt,
.section-search .search.post strong {
    color: #fff !important;
}

/* Kolor nicków niezależnie od koloru grupy */
.section-search .search.post .username,
.section-search .search.post .username-coloured {
    color: #fff !important;
    font-weight: bold;
}

.section-search .search.post a:hover .username,
.section-search .search.post a:hover .username-coloured {
    color: aqua !important;
}

/* Tytuł strony i teksty pomocnicze */
.section-search h2.searchresults-title {
    color: #c0c0c0 !important;
}

.section-search .advanced-search-link,
.section-search .search-result-date {
    color: #c0c0c0;
}

/* Obcy — paginacja wyników wyszukiwania */
.section-search .action-bar {
    position: relative;
    min-height: 32px;
}

.section-search .action-bar .pagination {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    margin: 0;
    white-space: nowrap;
    color: #fff;
    font: 10px/14px Verdana, Arial, sans-serif;
}

.section-search .action-bar .pagination ul {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin: 0;
    padding: 0;
}

.section-search .action-bar .pagination li.page-jump {
    display: none;
}

.section-search .action-bar .pagination li a,
.section-search .action-bar .pagination li span {
    min-width: 0;
    padding: 0 2px;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    font: normal 10px/14px Verdana, Arial, sans-serif !important;
}

.section-search .action-bar .pagination li a,
.section-search .action-bar .pagination li a:visited {
    color: #0000ff !important;
}

.section-search .action-bar .pagination li.active span,
.section-search .action-bar .pagination li.ellipsis span {
    color: #fff !important;
}

.section-search .action-bar .pagination li a:hover {
    color: aqua !important;
}

/* Obcy — prywatne wiadomości / UCP */
.section-ucp .panel-container .panel,
.section-ucp .cp-main .pm,
.section-ucp .cp-main .pm-message,
.section-ucp .cp-mini {
    color: #000;
}

/* Obcy — treść otwartej wiadomości prywatnej */
.section-ucp .pm-message .postbody,
.section-ucp .pm-message .postbody .content,
.section-ucp .pm-message .postbody .author,
.section-ucp .pm-message blockquote,
.section-ucp .pm-message blockquote .content,
.section-ucp .pm-message blockquote cite {
    color: #000;
}

/* Obcy — otwarta wiadomość prywatna */
.cp-main .post.pm .postbody,
.cp-main .post.pm .postbody .content,
.cp-main .post.pm .postbody .author,
.cp-main .post.pm .postprofile,
.cp-main .post.pm .postprofile .profile-rank,
.cp-main .post.pm .postbody blockquote,
.cp-main .post.pm .postbody blockquote cite {
    color: #000;
}

/* Obcy — tytuł strony UCP */
.section-ucp .cp-main h2 {
    color: #c0c0c0;
}

/* Obcy — lista prywatnych wiadomości */
.section-ucp .cp-main ul.pmlist li.row {
    background: #181818;
}

/* Obcy — panel nagłówkowy prywatnych wiadomości */
.section-ucp #viewfolder > .panel {
    background: #d8d8d8;
    color: #000;
}

/* Obcy — linki na liście prywatnych wiadomości */
.section-ucp .pmlist a.topictitle,
.section-ucp .pmlist a.username {
    color: #fff;
    font-weight: bold;
}

.section-ucp .pmlist a.topictitle:hover,
.section-ucp .pmlist a.username:hover {
    color: aqua;
}

/* Obcy — tabela prywatnych wiadomości */
.section-ucp .obcy-pm-table {
	width: 100%;
	border-collapse: collapse;
	background: #000;
	color: #c0c0c0;
}

.section-ucp .obcy-pm-table th,
.section-ucp .obcy-pm-table td {
	border: 1px solid #0000ff;
	padding: 4px 6px;
	vertical-align: middle;
}

.section-ucp .obcy-pm-table th {
	background: #000;
	color: #fff;
	font-weight: bold;
	text-align: left;
}

.section-ucp .obcy-pm-table .obcy-pm-date {
	width: 145px;
	white-space: nowrap;
}

.section-ucp .obcy-pm-table .obcy-pm-author {
	width: 160px;
}

.section-ucp .obcy-pm-table .obcy-pm-mark {
	width: 55px;
	text-align: center;
}

.section-ucp .obcy-pm-table .obcy-pm-author a,
.section-ucp .obcy-pm-table .obcy-pm-subject a.topictitle {
	color: #fff;
	font-weight: bold;
}

.section-ucp .obcy-pm-table .obcy-pm-author a:hover,
.section-ucp .obcy-pm-table .obcy-pm-subject a.topictitle:hover {
	color: aqua;
}


/* Obcy — nagłówki tabeli PW */
.section-ucp .obcy-pm-table th {
	color: #c0c0c0;
}


/* Obcy — kolor nagłówków tabeli PW */
.section-ucp .panel-container table.obcy-pm-table thead th {
	color: #c0c0c0;
}


/* Obcy — viewforum mobile */
@media (max-width: 700px) {
    .section-viewforum .forumbg ul.topiclist dl.row-item {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .section-viewforum .forumbg ul.topiclist dt {
        grid-column: 1;
        min-width: 0;
        width: auto;
        margin: 0;
    }

    .section-viewforum .forumbg ul.topiclist dt .list-inner {
        margin: 0;
        padding: 6px;
        min-width: 0;
    }

    .section-viewforum .forumbg ul.topiclist dd.obcy-topic-icon,
    .section-viewforum .forumbg ul.topiclist dd.posts,
    .section-viewforum .forumbg ul.topiclist dd.views,
    .section-viewforum .forumbg ul.topiclist dd.lastpost {
        display: none !important;
    }
}

/* Obcy — viewforum mobile topbar */
@media (max-width: 700px) {
    .section-viewforum .obcy-forum-topbar {
        grid-template-columns: 1fr auto;
        gap: 6px;
        align-items: center;
    }

    .section-viewforum .obcy-forum-users {
        grid-column: 1 / -1;
    }

    .section-viewforum .obcy-forum-pagination {
        grid-column: 1;
        text-align: left;
    }

    .section-viewforum .obcy-forum-newtopic {
        grid-column: 2;
        text-align: right;
        white-space: nowrap;
    }
}

/* Obcy — viewforum mobile bottombar */
@media (max-width: 700px) {
    .section-viewforum .obcy-forum-bottombar {
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    .section-viewforum .obcy-forum-bottombar .obcy-display-options {
        grid-column: 1;
        justify-self: start;
        text-align: left;
        margin: 0;
    }

    .section-viewforum .obcy-forum-bottombar .obcy-forum-pagination {
        grid-column: 2;
        justify-self: center;
        text-align: center;
    }

    .section-viewforum .obcy-forum-bottombar .obcy-forum-newtopic {
        grid-column: 3;
        justify-self: end;
        text-align: right;
    }
}

@media (max-width: 700px) {
    .section-viewforum a {
        color: #6699ff;
    }
}
/* Obcy — viewforum mobile topic row */
.obcy-mobile-topic-meta {
    display: none;
}

@media (max-width: 700px) {
    .section-viewforum .forumbg ul.topiclist dl.row-item {
        grid-template-columns: 26px minmax(0, 1fr);
        background-position: 7px 50% !important;
    }

    .section-viewforum .forumbg ul.topiclist dd.obcy-topic-icon {
        display: block !important;
        grid-column: 1;
        grid-row: 1;
        align-self: stretch;
        min-height: 48px;
        border-right: 1px solid #0000ff !important;
    }

    .section-viewforum .forumbg ul.topiclist dt {
        grid-column: 2;
        grid-row: 1;
    }

    .section-viewforum .forumbg ul.topiclist dd.posts,
    .section-viewforum .forumbg ul.topiclist dd.views,
    .section-viewforum .forumbg ul.topiclist dd.created,
    .section-viewforum .forumbg ul.topiclist dd.lastpost {
        display: none !important;
    }

    .section-viewforum .forumbg .list-inner > div.responsive-show,
    .section-viewforum .forumbg .list-inner > span.responsive-show {
        display: none !important;
    }

    .section-viewforum .obcy-mobile-topic-meta {
        display: block;
        margin-top: 2px;
        color: #6699ff;
        font-size: 10px;
        line-height: 14px;
    }

    .section-viewforum .obcy-mobile-topic-author,
    .section-viewforum .obcy-mobile-topic-author a,
    .section-viewforum .obcy-mobile-topic-author .username,
    .section-viewforum .obcy-mobile-topic-author .username-coloured {
        color: #6699ff !important;
        font-weight: bold;
    }

    .section-viewforum .obcy-mobile-topic-posts {
        color: #fff;
    }

    .section-viewforum .forumbg a.topictitle {
        color: #fff !important;
        font-weight: bold;
    }

    .section-viewforum .forumbg a.topictitle:hover,
    .section-viewforum .forumbg a.topictitle:focus {
        color: aqua !important;
    }
}

/* Obcy — viewtopic mobile: profil nad treścią */
@media (max-width: 700px) {
    .section-viewtopic .post > .inner {
        display: flex;
        flex-direction: column;
    }

    .section-viewtopic .post > .inner > .postprofile {
        flex: none;
        width: auto;
        min-width: 0;
        margin: 0;
        padding: 6px 8px;
        border-right: 0 !important;
        border-bottom: 1px solid #0000ff;
    }

    .section-viewtopic .post > .inner > .postbody {
        flex: none;
        width: auto;
        min-width: 0;
        margin: 0;
        padding: 8px;
    }
}

/* Obcy — viewtopic mobile: obrazki w treści i sygnaturze */
@media (max-width: 700px) {
    .section-viewtopic .postbody .content img,
    .section-viewtopic .postbody .signature img,
    .section-viewtopic .postbody .inline-attachment img {
        max-width: 100%;
        height: auto;
    }

    .section-viewtopic .postbody .signature {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

/* Obcy — viewtopic mobile: obrazki w sygnaturze */
@media (max-width: 700px) {
    .section-viewtopic .postbody .signature img.postimage {
        max-width: 220px;
        height: auto;
    }
}

@media (max-width: 700px) {
    .section-viewtopic .postbody .signature img.postimage {
        max-width: 220px;
        max-height: 120px;
        width: auto;
        height: auto;
    }
}
/* Obcy — viewtopic mobile: zwarty profil autora */
@media (max-width: 700px) {
    .section-viewtopic .postprofile {
        position: relative;
        padding-right: 82px !important;
        min-height: 68px;
    }

    .section-viewtopic .postprofile dt {
        position: static;
    }

    .section-viewtopic .postprofile .avatar-container {
        position: absolute;
        top: 6px;
        right: 8px;
        margin: 0;
        padding: 0;
    }

    .section-viewtopic .postprofile .avatar img {
        max-width: 64px;
        max-height: 64px;
        width: auto;
        height: auto;
    }

    .section-viewtopic .postprofile dd.profile-rank,
    .section-viewtopic .postprofile dd.profile-joined,
    .section-viewtopic .postprofile dd.profile-posts {
        line-height: 13px;
    }
}

/* Obcy — viewtopic mobile: pełna szerokość profilu */
@media (max-width: 700px) {
    .section-viewtopic .post > .inner > .postprofile {
        width: 100% !important;
        max-width: none !important;
        flex-basis: auto !important;
        box-sizing: border-box;
    }

    .section-viewtopic .postprofile dt {
        width: auto !important;
        max-width: none !important;
        margin: 0;
    }
}

/* Obcy — viewtopic mobile: górna nawigacja */
@media (max-width: 700px) {
    .section-viewtopic .action-bar.bar-top .obcy-top-controls {
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 8px;
        width: 100%;
    }

    .section-viewtopic .obcy-topic-prevnext {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        gap: 8px;
    }

    .section-viewtopic .obcy-topic-prevnext a:first-child {
        text-align: left;
    }

    .section-viewtopic .obcy-topic-prevnext a:last-child {
        text-align: right;
    }

    .section-viewtopic .obcy-topic-prevnext .obcy-prevnext-sep {
        display: none;
    }

    .section-viewtopic .obcy-top-pagination {
        justify-self: center;
        text-align: center;
    }

    .section-viewtopic .action-bar.bar-top
    .obcy-top-controls .obcy-topic-nav {
        width: 100%;
        justify-self: stretch;
        justify-content: flex-end;
        float: none;
        gap: 6px;
    }
}

/* Obcy — viewtopic mobile: jaśniejsze linki */
@media (max-width: 700px) {
    .section-viewtopic a,
    .section-viewtopic a:visited {
        color: #6699ff;
    }

    .section-viewtopic a:hover,
    .section-viewtopic a:focus,
    .section-viewtopic a:active {
        color: aqua;
    }
}

/* Obcy — viewtopic mobile: kolor nawigacji i paginacji */
@media (max-width: 700px) {
    .section-viewtopic .obcy-topic-prevnext a,
    .section-viewtopic .obcy-topic-prevnext a:visited,
    .section-viewtopic .obcy-top-pagination .pagination a,
    .section-viewtopic .obcy-top-pagination .pagination a:visited {
        color: #6699ff !important;
    }

    .section-viewtopic .obcy-topic-prevnext a:hover,
    .section-viewtopic .obcy-topic-prevnext a:focus,
    .section-viewtopic .obcy-top-pagination .pagination a:hover,
    .section-viewtopic .obcy-top-pagination .pagination a:focus {
        color: aqua !important;
    }
}

@media (max-width: 700px) {
    .section-viewtopic .obcy-top-pagination .pagination a.button,
    .section-viewtopic .obcy-top-pagination .pagination li a.button {
        color: #6699ff !important;
    }

    .section-viewtopic .obcy-top-pagination .pagination a.button:hover,
    .section-viewtopic .obcy-top-pagination .pagination a.button:focus {
        color: aqua !important;
    }
}

/* Obcy — viewtopic mobile: poprzednia/następna strona */
@media (max-width: 700px) {
    .section-viewtopic .obcy-top-pagination .pagination li.arrow a,
    .section-viewtopic .obcy-top-pagination .pagination li.arrow a:visited {
        color: #6699ff !important;
    }

    .section-viewtopic .obcy-top-pagination .pagination li.arrow a:hover,
    .section-viewtopic .obcy-top-pagination .pagination li.arrow a:focus {
        color: aqua !important;
    }
}

/* Obcy — viewtopic mobile: dolny pasek */
@media (max-width: 700px) {
    .section-viewtopic .action-bar.bar-bottom {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
        min-height: 0;
    }

    .section-viewtopic .action-bar.bar-bottom .obcy-topic-nav {
        order: 1;
        width: 100%;
        float: none;
        justify-content: flex-end;
        margin: 0;
    }

    .section-viewtopic .action-bar.bar-bottom
    .pagination.obcy-bottom-pagination {
        order: 2;
        position: static;
        transform: none;
        width: 100%;
        margin: 0;
        text-align: center;
        white-space: nowrap;
    }

    .section-viewtopic .action-bar.bar-bottom > .dropdown-container,
    .section-viewtopic .action-bar.bar-bottom > form,
    .section-viewtopic .action-bar.bar-bottom > .quickmod {
        order: 3;
        margin: 0;
    }
}

/* Obcy — mobile: kolory paginacji */
@media (max-width: 700px) {
    /* viewforum — góra i dół */
    .section-viewforum .obcy-forum-pagination .pagination li a,
    .section-viewforum .obcy-forum-pagination .pagination li a:visited {
        color: #6699ff !important;
    }

    .section-viewforum .obcy-forum-pagination .pagination li a:hover,
    .section-viewforum .obcy-forum-pagination .pagination li a:focus {
        color: aqua !important;
    }

    /* viewtopic — dół */
    .section-viewtopic .pagination.obcy-bottom-pagination li a,
    .section-viewtopic .pagination.obcy-bottom-pagination li a:visited {
        color: #6699ff !important;
    }

    .section-viewtopic .pagination.obcy-bottom-pagination li a:hover,
    .section-viewtopic .pagination.obcy-bottom-pagination li a:focus {
        color: aqua !important;
    }
}

/* Obcy — licznik nowych prywatnych wiadomości */
.obcy-pm-count {
	color: #ff0000;
	font-weight: bold;
}

/* Obcy — spoiler */
.section-viewtopic .post .content details.spoiler {
    margin: 8px 0;
    padding: 0;
    border: 1px solid #0000ff;
    background: #000;
    color: #fff;
}

.section-viewtopic .post .content details.spoiler > summary {
    padding: 4px 6px;
    cursor: pointer;
    color: #0000ff;
    font-weight: bold;
    list-style-position: inside;
}

.section-viewtopic .post .content details.spoiler > summary:hover {
    color: aqua;
}

.section-viewtopic .post .content details.spoiler[open] > summary {
    border-bottom: 1px solid #0000ff;
}

.section-viewtopic .post .content .spoiler-content {
    padding: 6px;
    color: #fff;
}
