.top-cs-bg {
    background: rgba(8, 8, 8, 0.82);
    border-bottom: 1px solid rgba(255, 42, 42, 0.18);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    position: relative;
    z-index: 50;
}

.top-cs-bg .wrapper.classsrasz {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 78px;
}

.left-bottomnav {
    display: flex;
    align-items: center;
    gap: 100px;
}

.menu-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.menu-logo img {
    display: block;
    width: auto;
    height: 44px;
    max-width: 150px;
    object-fit: contain;
}

.menu-links.desktop-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-element {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: 0.25s ease;
}

.menu-element:hover {
    color: #ff3b3b;
    background: rgba(255, 42, 42, 0.08);
    border-color: rgba(255, 42, 42, 0.20);
    box-shadow: 0 0 10px rgba(255, 42, 42, 0.10);
}

.right-top-cs {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 120px;
}

/* ukrycie zepsutego obrazka przy loginie */
.right-top-cs img.enmenu-img {
    display: none !important;
}

/* duże logo główne */
.logo-bg.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 18px auto 16px auto;
}

.logo-bg.wrapper .logotyp {
    display: block;
    max-width: 560px;
    width: 100%;
    height: auto;
}

/* mobile */
.mobile-menu-wrap {
    display: none;
}

@media (max-width: 768px) {
    .menu-links.desktop-menu {
        display: none;
    }

    .mobile-menu-wrap {
        display: block;
    }

    .top-cs-bg .wrapper.classsrasz {
        min-height: 70px;
    }

    .menu-logo img {
        height: 36px;
        max-width: 120px;
    }

    .logo-bg.wrapper .logotyp {
        max-width: 320px;
    }
}

.top-cs-bg {
    position: relative !important;
    z-index: 50 !important;
    background: rgba(8, 8, 8, 0.88) !important;
    border-bottom: 1px solid rgba(255, 42, 42, 0.18) !important;
    min-height: 74px !important;
}

.logo-bg.wrapper {
    margin-top: 22px !important;
    position: relative !important;
    z-index: 1 !important;
}

.logotyp {
    display: block !important;
    max-width: 560px !important;
    width: 100% !important;
    height: auto !important;
}
shoutbox-home #shoutbox.front {
    background: rgba(8, 8, 8, 0.28) !important;
    border: 1px solid rgba(255, 45, 45, 0.18) !important;
    border-radius: 12px !important;
    padding: 12px !important;
    backdrop-filter: blur(2px) !important;
    box-shadow: 0 0 18px rgba(255, 0, 0, 0.06) !important;
}

.shoutbox-home #shoutbox .head {
    background: transparent !important;
    border: 0 !important;
    color: #ff3b3b !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
}

.shoutbox-home #shoutbox .window {
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    overflow-y: auto !important;
    background: rgba(0, 0, 0, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-radius: 10px !important;
    padding: 8px !important;
}

.shoutbox-home #shoutbox .data {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.shoutbox-home #shoutbox .entry {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 10px !important;
    margin: 0 !important;
    background: rgba(0, 0, 0, 0.16) !important;
    border: 1px solid rgba(255, 45, 45, 0.08) !important;
    border-radius: 8px !important;
    line-height: 1.35 !important;
}

.shoutbox-home #shoutbox .entry .user a {
    color: #63ff68 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.shoutbox-home #shoutbox .entry .text {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    color: #f2f2f2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
    padding: 0 !important;
}

.shoutbox-home #shoutbox .entry .info {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    color: rgba(255,255,255,0.65) !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    text-align: right !important;
}

.shoutbox-home #shoutbox .panel {
    margin-top: 12px !important;
}
.shoutbox-home {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto 80px auto !important;
    padding: 0;
}
/* === SHOUTBOX HOME === */
.shoutbox-home {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto 80px auto !important;
    padding: 0;
    position: relative;
    z-index: 2;
}

.shoutbox-home #shoutbox.front {
    background: rgba(8, 8, 8, 0.38) !important;
    border: 1px solid rgba(255, 45, 45, 0.18) !important;
    border-radius: 14px !important;
    padding: 14px !important;
    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(3px) !important;
    box-shadow: 0 0 18px rgba(255, 0, 0, 0.06) !important;
}

.shoutbox-home #shoutbox .head {
    background: transparent !important;
    border: 0 !important;
    color: #ff3b3b !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
}

.shoutbox-home #shoutbox .body {
    background: transparent !important;
}

/* okno wiadomości */
.shoutbox-home #shoutbox .window {
    height: 210px !important;
    min-height: 210px !important;
    max-height: 210px !important;
    overflow-y: auto !important;
    background: rgba(0, 0, 0, 0.20) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-radius: 10px !important;
    padding: 8px !important;
    margin-bottom: 12px !important;
}

.shoutbox-home #shoutbox .data {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.shoutbox-home #shoutbox .entry {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 10px !important;
    margin: 0 !important;
    background: rgba(0, 0, 0, 0.14) !important;
    border: 1px solid rgba(255, 45, 45, 0.07) !important;
    border-radius: 8px !important;
    line-height: 1.35 !important;
}

.shoutbox-home #shoutbox .entry .user a {
    color: #63ff68 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.shoutbox-home #shoutbox .entry .text {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    color: #f2f2f2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
    padding: 0 !important;
}

.shoutbox-home #shoutbox .entry .info {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    color: rgba(255,255,255,0.65) !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    text-align: right !important;
}

/* pole wpisywania */
.shoutbox-home #shoutbox .panel {
    margin-top: 0 !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}

.shoutbox-home #shoutbox .panel input[type="text"],
.shoutbox-home #shoutbox .panel textarea,
.shoutbox-home #shoutbox .panel .textbox {
    width: 100% !important;
    height: 42px !important;
    display: block !important;
    background: rgba(0, 0, 0, 0.34) !important;
    border: 1px solid rgba(255, 45, 45, 0.22) !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    padding: 0 14px !important;
    outline: none !important;
    box-shadow: none !important;
}

.shoutbox-home #shoutbox .panel input[type="text"]::placeholder,
.shoutbox-home #shoutbox .panel textarea::placeholder {
    color: rgba(255,255,255,0.55) !important;
}

/* scrollbar */
.shoutbox-home #shoutbox .window::-webkit-scrollbar {
    width: 8px !important;
}

.shoutbox-home #shoutbox .window::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.18) !important;
    border-radius: 8px !important;
}

.shoutbox-home #shoutbox .window::-webkit-scrollbar-thumb {
    background: rgba(255, 45, 45, 0.30) !important;
    border-radius: 8px !important;
}

.top-cs-bg {
    background: rgba(8, 8, 8, 0.88) !important;
    border-bottom: 1px solid rgba(255, 42, 42, 0.18) !important;
    min-height: 68px !important;
    position: relative !important;
    z-index: 50 !important;
}

.top-cs-bg .wrapper.classsrasz {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    min-height: 68px !important;
}

.menu-links.desktop-menu {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.menu-element {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 14px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    border: 1px solid transparent !important;
    transition: 0.25s ease !important;
}

.menu-element:hover {
    color: #ff3b3b !important;
    background: rgba(255, 42, 42, 0.08) !important;
    border-color: rgba(255, 42, 42, 0.20) !important;
}

.right-top-cs img.enmenu-img {
    display: none !important;
}

.logo-bg.wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 24px auto 16px auto !important;
}

.logo-bg.wrapper .logotyp {
    display: block !important;
    max-width: 560px !important;
    width: 100% !important;
    height: auto !important;
}

@media (max-width: 768px) {
    .menu-links.desktop-menu {
        display: none !important;
    }

    .mobile-menu-wrap {
        display: block !important;
    }

    .logo-bg.wrapper .logotyp {
        max-width: 320px !important;
    }
}
.top-cs-bg {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    min-height: auto !important;
}

.top-cs-bg .wrapper.classsrasz {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.menu-element {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.menu-element:hover {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #ff3b3b !important;
}
.logo-bg.wrapper {
    display: block !important;
    height: 570px !important;
    margin: 0 auto 18px auto !important;
}

.logo-bg.wrapper a,
.logo-bg.wrapper img,
.logo-bg.wrapper .logotyp {
    display: none !important;
}
a.register,
a.register_button,
.register-button,
.button-register,
a[href*="action=register"] {
    background: #c91515 !important;
    border: 1px solid #ff3b3b !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(255, 59, 59, 0.22) !important;
}

a.register:hover,
a.register_button:hover,
.register-button:hover,
.button-register:hover,
a[href*="action=register"]:hover {
    background: #e02020 !important;
    border-color: #ff5a5a !important;
    color: #ffffff !important;
    box-shadow: 0 0 16px rgba(255, 59, 59, 0.32) !important;
}
/* ===== PASEK KATEGORII NA CAŁĄ SZEROKOŚĆ ===== */
.thead-statistic,
.thead-sidebox,
.forum-category-line,
.information-line,
.informacje-line {
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* jeśli ten konkretny pasek ma inną klasę tła */
.stat-y .thead-statistic,
.right-content .thead-sidebox {
    width: 100% !important;
}

/* ===== BOX EKIPY ===== */
.team-slider-box .contents-sidebox {
    position: relative;
    min-height: 250px;
}

.team-slider {
    position: relative;
}

.team-slide {
    display: none;
    animation: fadeTeam 0.35s ease;
}

.team-slide.active {
    display: block;
}

@keyframes fadeTeam {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.team-rank {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.rank-owner {
    color: #ff2a2a;
}

.rank-mod {
    color: #39ff14;
}

.rank-admin {
    color: #3da5ff;
}

.team-name {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.team-desc {
    color: rgba(255,255,255,0.88);
    line-height: 1.7;
    min-height: 88px;
    margin-bottom: 16px;
    font-weight: 600;
}

.team-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.team-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 700;
    transition: 0.25s ease;
}

.team-btn-profile {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #ffffff !important;
}

.team-btn-profile:hover {
    background: rgba(255,255,255,0.10);
}

.team-btn-pm {
    background: rgba(255, 42, 42, 0.12);
    border: 1px solid rgba(255, 42, 42, 0.28);
    color: #ff4a4a !important;
}

.team-btn-pm:hover {
    background: rgba(255, 42, 42, 0.18);
    color: #ffffff !important;
}

.team-dots {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.team-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    cursor: pointer;
    transition: 0.25s ease;
}

.team-dot.active {
    background: #ff2a2a;
    box-shadow: 0 0 10px rgba(255, 42, 42, 0.35);
}
.stat-y {
    width: 100% !important;
}

.stat-y .thead-statistic {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
    background-size: 100% 100% !important;
}
/* CAŁY PASEK */
.forum-content .thead-content {
	position: relative !important;
	z-index: 2 !important;
}

.forum-content .thead-content a {
	position: relative !important;
	z-index: 3 !important;
	display: inline-block !important;
}

.forum-content .thead-effect {
	position: relative !important;
	z-index: 1 !important;
	width: 140% !important;
	max-width: none !important;
	pointer-events: none !important;
}

.forum-content .thead-effect img {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	height: 70px !important;
	object-fit: fill !important;
}

//*Rangi *//
.memberprofil-rank-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.memberprofil-stars {
	line-height: 1;
}

.memberprofil-stars img {
	display: inline-block;
	height: 28px;
	width: auto;
	margin: 0 4px 2px 0;
	vertical-align: middle;
}
.memberprofil-rank-line {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
}

.memberprofil-rank-badge {
	height: 26px !important;
	width: auto !important;
	display: inline-block !important;
	filter: drop-shadow(0 0 6px rgba(255, 42, 42, 0.28));
}

.memberprofil-rang {
	font-size: 22px;
	font-weight: 800;
	color: #ffcf3a;
	text-shadow: 0 0 10px rgba(255, 207, 58, 0.28);
	letter-spacing: 0.3px;
}
/* ===== MOBILE: HEADER / LOGO / MENU / SERVER ===== */
@media (max-width: 768px) {

  body {
    overflow-x: hidden !important;
  }

  .wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }

  .top-cs-bg {
    background: rgba(8, 8, 8, 0.92) !important;
    border-bottom: 1px solid rgba(255, 42, 42, 0.16) !important;
    min-height: 64px !important;
    position: relative !important;
    z-index: 100 !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
  }

  .top-cs-bg .wrapper.classsrasz {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    min-height: 64px !important;
  }

  .menu-links.desktop-menu {
    display: none !important;
  }

  .mobile-menu-wrap {
    display: block !important;
    position: relative !important;
    z-index: 200 !important;
  }

  .mobile-menu-checkbox {
    display: none !important;
  }

  .mobile-menu-toggle {
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 5px !important;
    cursor: pointer !important;
  }

  .mobile-menu-toggle span {
    display: block !important;
    width: 24px !important;
    height: 2px !important;
    background: #ffffff !important;
    border-radius: 2px !important;
  }

  .mobile-menu-dropdown {
    display: none !important;
    position: absolute !important;
    top: 48px !important;
    left: 0 !important;
    width: 220px !important;
    padding: 8px !important;
    background: #0b0b0b !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 28px rgba(0,0,0,0.35) !important;
  }

  .mobile-menu-checkbox:checked + .mobile-menu-toggle + .mobile-menu-dropdown {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  .mobile-menu-dropdown .menu-element {
    display: block !important;
    width: 100% !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,0.03) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    box-sizing: border-box !important;
  }

  .right-top-cs {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    min-width: 0 !important;
    margin-left: auto !important;
    text-align: right !important;
  }

  .right-top-cs img.enmenu-img {
    display: none !important;
  }

  .right-top-cs,
  .right-top-cs a,
  .right-top-cs span,
  .right-top-cs div {
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  .logo-bg.wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 10px auto 10px auto !important;
    padding: 0 12px !important;
  }

  .logo-bg.wrapper a {
    display: block !important;
  }

  .logo-bg.wrapper .logotyp,
  .logotyp {
    display: block !important;
    width: 170px !important;
    max-width: 58vw !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  .tab-server.wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .elitacs-server-premium {
    padding: 14px !important;
    border-radius: 14px !important;
  }

  .first-item-server,
  .elitacs-server-livebox,
  .item-server-ip,
  .item-buttons-server {
    width: 100% !important;
    text-align: center !important;
  }

  .item-nameserver {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }

  .item-server-subtitle {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  .elitacs-server-count {
    font-size: 28px !important;
    line-height: 1 !important;
  }

  .item-server-ip {
    font-size: 13px !important;
    word-break: break-word !important;
  }

  .elitacs-server-buttons {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-top: 10px !important;
  }

  .button-serverlist {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}
/* ===== MOBILE: zamiast logo obrazka daj prosty napis ===== */
@media (max-width: 768px) {

  .logo-bg.wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 8px auto 10px auto !important;
    padding: 10px 12px !important;
    position: relative !important;
  }

  .logo-bg.wrapper a,
  .logo-bg.wrapper img,
  .logo-bg.wrapper .logotyp {
    display: none !important;
  }

  .logo-bg.wrapper::before {
    content: "ELITA CS";
    display: block;
    text-align: center;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 59, 59, 0.28);
    line-height: 1;
  }

  .logo-bg.wrapper::after {
    content: "Only DD2 • Czysta gra • Dobra ekipa";
    display: block;
    width: 100%;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.72);
    margin-top: 6px;
  }
}
@media (max-width: 768px) {

  body {
    background: #000 !important;
    background-image: none !important;
  }

  .logo-bg,
  .logo-bg.wrapper,
  .top-cs-bg {
    background-image: none !important;
    box-shadow: none !important;
  }
}

/* podstawowe przyciski */
.hero-btn,
.hero-buttons a {
  background: #111 !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 10px !important;
  transition: all 0.2s ease;
}

/* hover */
.hero-btn:hover,
.hero-buttons a:hover {
  background: linear-gradient(180deg, #ff3a3a 0%, #a11414 100%) !important;
  color: #fff !important;
  box-shadow: 0 0 12px rgba(255, 40, 40, 0.25) !important;
}
/* ========================================
   ELITACS - czerwony styl wszystkich kafli
======================================== */

/* wszystkie kafle w górnym menu */
.menu-element,
.menu-right-element,
.button-serverlist {
  background: rgba(10, 10, 10, 0.88) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
  transition: all 0.22s ease !important;
}

/* hover na wszystkich */
.menu-element:hover,
.menu-right-element:hover,
.button-serverlist:hover {
  background: linear-gradient(180deg, #ff3a3a 0%, #a11414 100%) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 0 14px rgba(255, 40, 40, 0.28) !important;
  text-decoration: none !important;
}

/* aktywny / kliknięty / zaznaczony */
.menu-element.active,
.menu-right-element.active,
.button-serverlist.active,
.menu-element.current,
.menu-right-element.current,
.button-serverlist.current {
  background: linear-gradient(180deg, #ff3a3a 0%, #a11414 100%) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 0 14px rgba(255, 40, 40, 0.28) !important;
}

/* żeby linki w środku nie robiły własnych kolorów */
.menu-element:link,
.menu-element:visited,
.menu-right-element:link,
.menu-right-element:visited,
.button-serverlist:link,
.button-serverlist:visited {
  color: #ffffff !important;
}

/* jakby któryś kafel miał focus */
.menu-element:focus,
.menu-right-element:focus,
.button-serverlist:focus {
  background: linear-gradient(180deg, #ff3a3a 0%, #a11414 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(255, 40, 40, 0.28) !important;
  outline: none !important;
}
/* ===== SHOUTBOX AVATAR - MALY OKRAGLY JAK NA SCREENIE ===== */
.shoutbox-home #shoutbox .entry .avatar {
    display: flex !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow: 0 0 8px rgba(0,0,0,0.18) !important;
}

.shoutbox-home #shoutbox .entry .avatar a {
    display: block !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
}

.shoutbox-home #shoutbox .entry .avatar img {
    display: block !important;
    width: 34px !important;
    height: 34px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}
/* ===== SHOUTBOX DUZY BOX EMOJI ===== */
.shoutbox-home #shoutbox .dvz-sb-input-wrap {
    position: relative !important;
}

.shoutbox-home #shoutbox .panel input.text {
    padding-right: 52px !important;
}

.shoutbox-home #shoutbox .dvz-sb-emoji-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 8px !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,0.04) !important;
    color: #fff !important;
    font-size: 18px !important;
    cursor: pointer !important;
    z-index: 6 !important;
}

.shoutbox-home #shoutbox .dvz-sb-emoji-toggle:hover {
    background: rgba(255, 59, 59, 0.14) !important;
    border-color: rgba(255, 59, 59, 0.28) !important;
}

.shoutbox-home #shoutbox .dvz-sb-emoji-box {
    display: none !important;
    position: absolute !important;
    right: 0 !important;
    bottom: 48px !important;
    width: 320px !important;
    max-height: 300px !important;
    overflow-y: auto !important;
    padding: 12px !important;
    background: rgba(10,10,10,0.98) !important;
    border: 1px solid rgba(255, 45, 45, 0.18) !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 28px rgba(0,0,0,0.38) !important;
    z-index: 30 !important;
}

.shoutbox-home #shoutbox .dvz-sb-emoji-box.active {
    display: block !important;
}

.shoutbox-home #shoutbox .dvz-sb-emoji-section + .dvz-sb-emoji-section {
    margin-top: 12px !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
}

.shoutbox-home #shoutbox .dvz-sb-emoji-title {
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: rgba(255,255,255,0.62) !important;
    margin-bottom: 8px !important;
}

.shoutbox-home #shoutbox .dvz-sb-emoji-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 8px !important;
}

.shoutbox-home #shoutbox .dvz-sb-emoji {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important;
    border-radius: 10px !important;
    background: rgba(255,255,255,0.03) !important;
    cursor: pointer !important;
    font-size: 22px !important;
    transition: 0.2s ease !important;
}

.shoutbox-home #shoutbox .dvz-sb-emoji:hover {
    background: rgba(255, 59, 59, 0.12) !important;
    transform: scale(1.05) !important;
}

.shoutbox-home #shoutbox .dvz-sb-emoji-box::-webkit-scrollbar {
    width: 8px !important;
}

.shoutbox-home #shoutbox .dvz-sb-emoji-box::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.18) !important;
    border-radius: 8px !important;
}

.shoutbox-home #shoutbox .dvz-sb-emoji-box::-webkit-scrollbar-thumb {
    background: rgba(255, 45, 45, 0.30) !important;
    border-radius: 8px !important;
}

@media (max-width: 768px) {
    .shoutbox-home #shoutbox .dvz-sb-emoji-box {
        width: 280px !important;
        right: 0 !important;
    }

    .shoutbox-home #shoutbox .dvz-sb-emoji-grid {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}
.shoutbox-home #shoutbox .panel,
.shoutbox-home #shoutbox .panel form,
.shoutbox-home #shoutbox .dvz-sb-input-wrap {
    overflow: visible !important;
}

.shoutbox-home #shoutbox .dvz-sb-emoji-box.active {
    display: block !important;
}
/* ===== FIX ULOZENIA INPUTA I PRZYCISKU EMOJI ===== */
.shoutbox-home #shoutbox .panel {
    margin-top: 0 !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.shoutbox-home #shoutbox .panel form {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.shoutbox-home #shoutbox .dvz-sb-input-wrap {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    overflow: visible !important;
}

.shoutbox-home #shoutbox .panel input.text {
    width: 100% !important;
    height: 42px !important;
    display: block !important;
    box-sizing: border-box !important;
    padding: 0 52px 0 14px !important;
    margin: 0 !important;
}

.shoutbox-home #shoutbox .dvz-sb-emoji-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 8px !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
}
/* ===== SHOUTBOX - poprawny układ: nick + tekst do daty ===== */
.shoutbox-home #shoutbox .entry {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.shoutbox-home #shoutbox .entry .avatar {
    flex: 0 0 34px !important;
}

.shoutbox-home #shoutbox .entry .user {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}

.shoutbox-home #shoutbox .entry .text {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

.shoutbox-home #shoutbox .entry .info {
    flex: 0 0 92px !important;
    width: 92px !important;
    min-width: 92px !important;
    text-align: right !important;
    white-space: nowrap !important;
    margin-left: auto !important;
}

.shoutbox-home #shoutbox .entry .info a,
.shoutbox-home #shoutbox .entry .info .date {
    display: inline-block !important;
    white-space: nowrap !important;
}
/* ===== TOP USER - AVATAR PRZY NICKU ===== */
.menu-avatar {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    margin-right: 8px !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    background: rgba(255,255,255,0.04) !important;
    vertical-align: middle !important;
}

.menu-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* ===== NICK + STRZALKA ===== */
#show-hidden2 {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    vertical-align: middle !important;
}

/* ===== DROPDOWN USERA ===== */
.login-form2.open2 {
    background: #0d0d0f !important;
    border: 1px solid rgba(255, 45, 45, 0.18) !important;
    border-radius: 4px !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35) !important;
    position: absolute !important;
    z-index: 555 !important;
}

/* ===== ZOLTY -> CZERWONY DOL ===== */
.login-form2.open2::after {
    content: "" !important;
    display: block !important;
    width: calc(100% - 28px) !important;
    height: 2px !important;
    margin: 16px auto 0 !important;
    background: linear-gradient(90deg, #8f1111 0%, #ff2a2a 50%, #8f1111 100%) !important;
    border-radius: 999px !important;
}

/* ===== GORA BOXA ===== */
.userbox-top {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 4px 0 14px 0 !important;
    margin-bottom: 8px !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

.userbox-avatar {
    display: flex !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    flex: 0 0 46px !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    background: rgba(255,255,255,0.04) !important;
}

.userbox-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.userbox-meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    min-width: 0 !important;
}

.przywitanie-kaya {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    margin: 0 !important;
}

.userbox-pw {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #ff4d4d !important;
    font-size: 13px !important;
    text-decoration: none !important;
}

.userbox-pw:hover {
    color: #fff !important;
}

/* ===== LINKI W MENU ===== */
.login-form2.open2 a.x {
    display: block !important;
    color: #fff !important;
    text-decoration: none !important;
    padding: 10px 0 !important;
    font-size: 14px !important;
    transition: 0.2s ease !important;
}

.login-form2.open2 a.x:hover {
    color: #ff4d4d !important;
    padding-left: 6px !important;
}

/* ===== MCP / ACP ===== */
.login-form2.open2 a.xc,
.login-form2.open2 a.xe {
    display: block !important;
    color: #ff6b6b !important;
    text-decoration: none !important;
    padding: 10px 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.login-form2.open2 a.xc:hover,
.login-form2.open2 a.xe:hover {
    color: #fff !important;
}
/* avatar przy nicku u góry */
.menu-avatar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-right: 8px;
    text-decoration: none;
}

.enmenu-img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
}

/* nick + strzałka */
.nick-topnav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    vertical-align: middle;
}

/* czerwony akcent zamiast żółtego */
.login-form2.open2 {
    border-bottom: 2px solid #b31313 !important;
}
.pm-link {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.pm-link i {
    color: #fff;
    transition: 0.2s ease;
}

.pm-link.has-unread i {
    color: #e01919 !important;
    text-shadow: 0 0 10px rgba(224, 25, 25, 0.45);
}
.stars-post-classic {
    margin-top: 6px;
    text-align: center;
}

.stars-post-classic img {
    width: 16px;
    height: auto;
    margin: 0 1px;
    vertical-align: middle;
}
.memberprofil-stars {
    margin-top: 6px;
}

.memberprofil-stars img {
    width: 16px;
    height: auto;
    margin: 0 1px;
    vertical-align: middle;
}
.memberprofil-rank-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.memberprofil-stars {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 2px;
}

.memberprofil-star-img {
    width: 18px;
    height: auto;
    display: block;
}
/* ===== ELITACS LIKE BUTTON ===== */

.add_tyl_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	padding: 0 14px;
	border-radius: 8px;
	background: linear-gradient(180deg, #ff3b3b 0%, #b80f18 100%);
	border: 1px solid rgba(255,255,255,.10);
	box-shadow: 0 8px 18px rgba(184,15,24,.28);
	text-decoration: none !important;
	transition: .18s ease;
	margin-left: 8px;
	vertical-align: middle;
}

.add_tyl_button:hover {
	transform: translateY(-1px);
	background: linear-gradient(180deg, #ff4d4d 0%, #c3141d 100%);
	box-shadow: 0 10px 22px rgba(184,15,24,.34);
}

.add_tyl_button .tyl_btn_inner,
.add_tyl_button span {
	color: #fff !important;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .6px;
	text-transform: uppercase;
	line-height: 1;
}

/* sekcja przycisków pod postem */
.allbutons-post-classic {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

/* prawa strona - przyciski moderacyjne/odpowiedź */
.allbutons-post-classic .postbit_buttons.post_management_buttons {
	margin-left: auto;
	float: none !important;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

/* blok z listą polubień pod postem */
.tyllist,
.tyllist_classic {
	margin-top: 12px;
	padding: 12px 14px;
	border-radius: 10px;
	background: rgba(255,255,255,.03);
	border: 1px solid rgba(255,255,255,.06);
	color: #cfd8ff;
	font-size: 12px;
	line-height: 1.55;
}

.tyl_collapsible_summary {
	display: inline-block;
	margin-bottom: 6px;
	color: #ffffff;
	font-weight: 700;
}

.tyl_data_line {
	display: block;
	padding-left: 0 !important;
}

.tyllist a,
.tyllist_classic a {
	color: #7fd6ff !important;
	text-decoration: none;
	font-weight: 700;
}

.tyllist a:hover,
.tyllist_classic a:hover {
	color: #ffffff !important;
}

/* jeśli chcesz, żeby sam button był na samym końcu po prawej */
.add_tyl_button {
	order: 99;
}
.postbit_buttons .add_tyl_button,
.postbit_buttons .del_tyl_button,
.postbit_buttons .add_tyl_button span,
.postbit_buttons .del_tyl_button span,
a.add_tyl_button,
a.del_tyl_button,
a.add_tyl_button span,
a.del_tyl_button span {
	background-image: none !important;
}

.postbit_buttons .add_tyl_button span,
.postbit_buttons .del_tyl_button span,
a.add_tyl_button span,
a.del_tyl_button span {
	padding-left: 0 !important;
}
/* ===== ELITACS PREMIUM BUTTONS ===== */

.postbit_buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.postbit_buttons a,
.postbit_buttons input,
.postbit_buttons button,
.postbit_buttons .add_tyl_button,
.postbit_buttons .del_tyl_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	padding: 0 14px;
	border-radius: 10px;
	background: linear-gradient(180deg, rgba(18,24,38,.96) 0%, rgba(10,14,24,.98) 100%) !important;
	border: 1px solid rgba(255,255,255,.08) !important;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 6px 16px rgba(0,0,0,.28);
	color: #eaf1ff !important;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .45px;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: .18s ease;
	margin-left: 0 !important;
	position: relative;
	overflow: hidden;
}

/* cienki czerwony akcent u góry */
.postbit_buttons a::before,
.postbit_buttons input::before,
.postbit_buttons button::before,
.postbit_buttons .add_tyl_button::before,
.postbit_buttons .del_tyl_button::before {
	content: "";
	position: absolute;
	left: 10px;
	right: 10px;
	top: 0;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(255,59,59,.0) 0%, rgba(255,59,59,.95) 50%, rgba(255,59,59,.0) 100%);
	opacity: .9;
}

/* hover */
.postbit_buttons a:hover,
.postbit_buttons input:hover,
.postbit_buttons button:hover,
.postbit_buttons .add_tyl_button:hover,
.postbit_buttons .del_tyl_button:hover {
	transform: translateY(-1px);
	background: linear-gradient(180deg, rgba(24,31,48,.98) 0%, rgba(12,17,28,1) 100%) !important;
	border-color: rgba(255,59,59,.22) !important;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 10px 24px rgba(0,0,0,.34);
	color: #ffffff !important;
}

/* aktywny klik */
.postbit_buttons a:active,
.postbit_buttons input:active,
.postbit_buttons button:active,
.postbit_buttons .add_tyl_button:active,
.postbit_buttons .del_tyl_button:active {
	transform: translateY(0);
}

/* tekst */
.postbit_buttons a span,
.postbit_buttons .add_tyl_button span,
.postbit_buttons .del_tyl_button span {
	color: #eef3ff !important;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .45px;
	text-transform: uppercase;
	line-height: 1;
	background-image: none !important;
	padding-left: 0 !important;
}

/* usuń stare ikonki/sprite */
.postbit_buttons a::after,
.postbit_buttons .add_tyl_button::after,
.postbit_buttons .del_tyl_button::after,
.postbit_buttons a span::before,
.postbit_buttons a span::after,
.postbit_buttons .add_tyl_button span::before,
.postbit_buttons .add_tyl_button span::after,
.postbit_buttons .del_tyl_button span::before,
.postbit_buttons .del_tyl_button span::after {
	content: none !important;
	background-image: none !important;
}

/* like - lekko wyróżniony, ale nie odpustowy */
.postbit_buttons .add_tyl_button,
.postbit_buttons .del_tyl_button {
	border-color: rgba(255,59,59,.16) !important;
}

.postbit_buttons .add_tyl_button:hover,
.postbit_buttons .del_tyl_button:hover {
	border-color: rgba(255,59,59,.30) !important;
}

/* opcjonalnie: mniejsze przyciski na węższych miejscach */
@media (max-width: 768px) {
	.postbit_buttons {
		gap: 6px;
	}

	.postbit_buttons a,
	.postbit_buttons input,
	.postbit_buttons button,
	.postbit_buttons .add_tyl_button,
	.postbit_buttons .del_tyl_button {
		height: 32px;
		padding: 0 12px;
		border-radius: 9px;
		font-size: 10px;
	}
}
/* ===== ELITACS PREMIUM HOVER - DELIKATNE CZERWONE PODŚWIETLENIE ===== */

.postbit_buttons a:hover,
.postbit_buttons input:hover,
.postbit_buttons button:hover,
.postbit_buttons .add_tyl_button:hover,
.postbit_buttons .del_tyl_button:hover {
	transform: translateY(-1px);
	border-color: rgba(255,59,59,.35) !important;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.05),
		0 0 0 1px rgba(255,59,59,.12),
		0 0 10px rgba(255,59,59,.18),
		0 8px 20px rgba(0,0,0,.34) !important;
	color: #ffffff !important;
}

.postbit_buttons a:hover::before,
.postbit_buttons input:hover::before,
.postbit_buttons button:hover::before,
.postbit_buttons .add_tyl_button:hover::before,
.postbit_buttons .del_tyl_button:hover::before {
	background: linear-gradient(90deg, rgba(255,59,59,0) 0%, rgba(255,59,59,.92) 50%, rgba(255,59,59,0) 100%) !important;
	opacity: 1 !important;
}
/* ===== LUBIĘ TO NA KOŃCU PO PRAWEJ ===== */

.postbit_buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}


.postbit_buttons .add_tyl_button,
.postbit_buttons .del_tyl_button {
	margin-left:  auto !important;
}
/* ===== ELITACS LIKE ACHIEVEMENTS ===== */

.avatar-post-classic {
	position: relative;
	border-radius: 16px;
	padding: 4px;
	transition: .2s ease;
}

.avatar-post-classic img {
	display: block;
	border-radius: 12px;
}

/* badge */
.elitacs-like-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 24px;
	padding: 0 10px;
	margin-top: 8px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .5px;
	text-transform: uppercase;
	border: 1px solid rgba(255,255,255,.08);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

/* 10 */
.elitacs-frame-znany {
	background: linear-gradient(180deg, #8a909c 0%, #535965 100%);
	box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 8px 18px rgba(0,0,0,.28);
}
.elitacs-frame-znany-badge {
	background: linear-gradient(180deg, #8a909c 0%, #535965 100%);
	color: #fff;
}

/* 20 */
.elitacs-frame-mocny {
	background: linear-gradient(180deg, #2f6b45 0%, #183926 100%);
	box-shadow: 0 0 0 1px rgba(74,153,102,.20), 0 8px 18px rgba(0,0,0,.28);
}
.elitacs-frame-mocny-badge {
	background: linear-gradient(180deg, #2f6b45 0%, #183926 100%);
	color: #eafff0;
}

/* 50 */
.elitacs-frame-swojak {
	background: linear-gradient(180deg, #3f5f96 0%, #1f3152 100%);
	box-shadow: 0 0 0 1px rgba(96,145,230,.20), 0 8px 18px rgba(0,0,0,.28);
}
.elitacs-frame-swojak-badge {
	background: linear-gradient(180deg, #3f5f96 0%, #1f3152 100%);
	color: #eef4ff;
}

/* 100 */
.elitacs-frame-rozpoznawalny {
	background: linear-gradient(180deg, #6c4aa5 0%, #362253 100%);
	box-shadow: 0 0 0 1px rgba(163,121,235,.22), 0 8px 18px rgba(0,0,0,.28);
}
.elitacs-frame-rozpoznawalny-badge {
	background: linear-gradient(180deg, #6c4aa5 0%, #362253 100%);
	color: #f5edff;
}

/* 200 */
.elitacs-frame-elita {
	background: linear-gradient(180deg, #a32732 0%, #561118 100%);
	box-shadow: 0 0 0 1px rgba(255,80,80,.22), 0 10px 22px rgba(0,0,0,.30);
}
.elitacs-frame-elita-badge {
	background: linear-gradient(180deg, #a32732 0%, #561118 100%);
	color: #fff0f1;
}

/* 300 */
.elitacs-frame-wyjadacz {
	background: linear-gradient(180deg, #7c2437 0%, #3a1019 100%);
	box-shadow: 0 0 0 1px rgba(189,82,110,.22), 0 10px 22px rgba(0,0,0,.30);
}
.elitacs-frame-wyjadacz-badge {
	background: linear-gradient(180deg, #7c2437 0%, #3a1019 100%);
	color: #fff1f5;
}

/* 500 */
.elitacs-frame-legenda {
	background: linear-gradient(180deg, #c8a24a 0%, #6c5220 100%);
	box-shadow: 0 0 0 1px rgba(255,214,108,.28), 0 10px 24px rgba(0,0,0,.32);
}
.elitacs-frame-legenda-badge {
	background: linear-gradient(180deg, #c8a24a 0%, #6c5220 100%);
	color: #fff8e7;
}

/* 750 */
.elitacs-frame-ikona {
	background:
		linear-gradient(180deg, #d5b15d 0%, #7b5a1f 100%);
	box-shadow:
		0 0 0 1px rgba(255,220,128,.32),
		0 0 14px rgba(255,72,72,.18),
		0 12px 26px rgba(0,0,0,.34);
}
.elitacs-frame-ikona-badge {
	background: linear-gradient(180deg, #d5b15d 0%, #7b5a1f 100%);
	color: #fff8e8;
}

/* lepsze ułożenie napisu */
.rang-nick-post-classic .elitacs-like-badge {
	margin-left: auto;
	margin-right: auto;
	max-width: max-content;
}

/* ===== ELITACS PREMIUM AVATAR BADGE ===== */

.post-classic-left {
	text-align: center;
}

.avatar-post-classic {
	position: relative;
	display: inline-block;
	padding: 4px;
	border-radius: 999px;
	margin: 0 auto 18px auto;
}

.avatar-post-classic img {
	display: block;
	border-radius: 999px !important;
	position: relative;
	z-index: 1;
}

/* badge przyklejony do avatara */
.rang-nick-post-classic {
	position: relative;
	margin-top: -6px;
	z-index: 3;
}

.elitacs-like-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 22px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .7px;
	text-transform: uppercase;
	line-height: 1;
	color: #f4f7ff;
	border: 1px solid rgba(255,255,255,.08);
	background: linear-gradient(180deg, rgba(16,20,30,.96) 0%, rgba(8,10,18,.98) 100%);
	box-shadow:
		0 8px 18px rgba(0,0,0,.32),
		inset 0 1px 0 rgba(255,255,255,.04);
	max-width: 132px;
	margin: 0 auto 8px auto;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* napis rangi zwykłej */
.rang-post-classic {
	display: block;
	margin-bottom: 6px;
}

/* gwiazdki niżej */
.rank-stars-post-classic {
	margin-top: 6px;
}

/* ===== PREMIUM RAMKI ===== */

/* 10 */
.elitacs-frame-znany {
	background: linear-gradient(180deg, #7f8691 0%, #434952 100%);
	box-shadow:
		0 0 0 1px rgba(255,255,255,.07),
		0 10px 24px rgba(0,0,0,.30);
}
.elitacs-frame-znany-badge {
	border-color: rgba(160,168,180,.20);
	box-shadow:
		0 8px 18px rgba(0,0,0,.32),
		0 0 0 1px rgba(160,168,180,.08),
		inset 0 1px 0 rgba(255,255,255,.04);
}

/* 20 */
.elitacs-frame-mocny {
	background: linear-gradient(180deg, #24543a 0%, #11281c 100%);
	box-shadow:
		0 0 0 1px rgba(79,168,114,.16),
		0 10px 24px rgba(0,0,0,.30);
}
.elitacs-frame-mocny-badge {
	border-color: rgba(79,168,114,.22);
	box-shadow:
		0 8px 18px rgba(0,0,0,.32),
		0 0 0 1px rgba(79,168,114,.10),
		inset 0 1px 0 rgba(255,255,255,.04);
}

/* 50 */
.elitacs-frame-swojak {
	background: linear-gradient(180deg, #34598e 0%, #182b47 100%);
	box-shadow:
		0 0 0 1px rgba(102,160,255,.16),
		0 10px 24px rgba(0,0,0,.30);
}
.elitacs-frame-swojak-badge {
	border-color: rgba(102,160,255,.22);
	box-shadow:
		0 8px 18px rgba(0,0,0,.32),
		0 0 0 1px rgba(102,160,255,.10),
		inset 0 1px 0 rgba(255,255,255,.04);
}

/* 100 */
.elitacs-frame-rozpoznawalny {
	background: linear-gradient(180deg, #68449b 0%, #2c1b46 100%);
	box-shadow:
		0 0 0 1px rgba(177,121,255,.18),
		0 10px 24px rgba(0,0,0,.30);
}
.elitacs-frame-rozpoznawalny-badge {
	border-color: rgba(177,121,255,.24);
	box-shadow:
		0 8px 18px rgba(0,0,0,.32),
		0 0 0 1px rgba(177,121,255,.10),
		inset 0 1px 0 rgba(255,255,255,.04);
}

/* 200 */
.elitacs-frame-elita {
	background: linear-gradient(180deg, #8e2430 0%, #431016 100%);
	box-shadow:
		0 0 0 1px rgba(255,86,86,.18),
		0 10px 24px rgba(0,0,0,.32);
}
.elitacs-frame-elita-badge {
	border-color: rgba(255,86,86,.24);
	box-shadow:
		0 8px 18px rgba(0,0,0,.32),
		0 0 0 1px rgba(255,86,86,.10),
		inset 0 1px 0 rgba(255,255,255,.04);
}

/* 300 */
.elitacs-frame-wyjadacz {
	background: linear-gradient(180deg, #6c2130 0%, #321017 100%);
	box-shadow:
		0 0 0 1px rgba(191,86,120,.18),
		0 10px 24px rgba(0,0,0,.32);
}
.elitacs-frame-wyjadacz-badge {
	border-color: rgba(191,86,120,.24);
	box-shadow:
		0 8px 18px rgba(0,0,0,.32),
		0 0 0 1px rgba(191,86,120,.10),
		inset 0 1px 0 rgba(255,255,255,.04);
}

/* 500 */
.elitacs-frame-legenda {
	background: linear-gradient(180deg, #b8923f 0%, #5b4317 100%);
	box-shadow:
		0 0 0 1px rgba(255,216,120,.22),
		0 10px 24px rgba(0,0,0,.34);
}
.elitacs-frame-legenda-badge {
	border-color: rgba(255,216,120,.28);
	box-shadow:
		0 8px 18px rgba(0,0,0,.34),
		0 0 0 1px rgba(255,216,120,.12),
		inset 0 1px 0 rgba(255,255,255,.04);
}

/* 750 */
.elitacs-frame-ikona {
	background: linear-gradient(180deg, #d1ad58 0%, #6c4f18 100%);
	box-shadow:
		0 0 0 1px rgba(255,220,128,.26),
		0 0 14px rgba(255,62,62,.10),
		0 12px 26px rgba(0,0,0,.34);
}
.elitacs-frame-ikona-badge {
	border-color: rgba(255,220,128,.30);
	box-shadow:
		0 8px 18px rgba(0,0,0,.34),
		0 0 0 1px rgba(255,220,128,.14),
		inset 0 1px 0 rgba(255,255,255,.04);
}
/* ===== DOPIESZCZENIE BADGE I RAMKI ===== */

.avatar-post-classic {
	margin: 0 auto 12px auto !important;
}

.elitacs-like-badge {
	min-height: 20px !important;
	padding: 0 9px !important;
	font-size: 8px !important;
	letter-spacing: .8px !important;
	margin: 0 auto 6px auto !important;
}

.avatar-post-classic.elitacs-frame-znany,
.avatar-post-classic.elitacs-frame-mocny,
.avatar-post-classic.elitacs-frame-swojak,
.avatar-post-classic.elitacs-frame-rozpoznawalny,
.avatar-post-classic.elitacs-frame-elita,
.avatar-post-classic.elitacs-frame-wyjadacz,
.avatar-post-classic.elitacs-frame-legenda,
.avatar-post-classic.elitacs-frame-ikona {
	padding: 3px !important;
}

/* =========================================================
   ELITACS - TYLKO MOBILE
   bez ruszania desktopu
========================================================= */
@media (max-width: 768px) {

  html, body {
    overflow-x: hidden !important;
  }

  body {
    background:
      radial-gradient(circle at top center, rgba(130, 12, 12, 0.16) 0%, rgba(0,0,0,0) 32%),
      linear-gradient(180deg, #050505 0%, #090909 45%, #050505 100%) !important;
    background-attachment: scroll !important;
    background-repeat: no-repeat !important;
  }

  .wrapper,
  .content-bg,
  .tab-server.wrapper,
  .shoutbox-home {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* ===== HEADER MOBILE ===== */
  .menu-links.desktop-menu {
    display: none !important;
  }

  .mobile-menu-wrap {
    display: block !important;
    position: relative !important;
    z-index: 300 !important;
  }

  .mobile-menu-checkbox {
    display: none !important;
  }

  .top-cs-bg {
    background: rgba(8, 8, 8, 0.92) !important;
    border-bottom: 1px solid rgba(255, 42, 42, 0.14) !important;
    min-height: 64px !important;
    position: relative !important;
    z-index: 120 !important;
    box-shadow: none !important;
  }

  .top-cs-bg .wrapper.classsrasz {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    min-height: 64px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .mobile-menu-toggle {
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    cursor: pointer !important;
    background: rgba(14,14,14,0.92) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 12px !important;
  }

  .mobile-menu-toggle span {
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    background: #fff !important;
    border-radius: 999px !important;
  }

  .mobile-menu-dropdown {
    display: none !important;
    position: absolute !important;
    top: 48px !important;
    left: 0 !important;
    width: 220px !important;
    padding: 8px !important;
    background: #0b0b0b !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 28px rgba(0,0,0,0.35) !important;
  }

  .mobile-menu-checkbox:checked + .mobile-menu-toggle + .mobile-menu-dropdown {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  .mobile-menu-dropdown .menu-element {
    display: flex !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 40px !important;
    padding: 10px 12px !important;
    background: rgba(255,255,255,0.03) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
    border-radius: 10px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    box-sizing: border-box !important;
  }

  .right-top-cs {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    min-width: 0 !important;
    margin-left: auto !important;
    max-width: calc(100% - 64px) !important;
    overflow: hidden !important;
  }

  .right-top-cs,
  .right-top-cs a,
  .right-top-cs span,
  .right-top-cs div {
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  .right-top-cs img.enmenu-img {
    display: none !important;
  }

  /* ===== LOGO MOBILE ===== */
  .logo-bg.wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 12px auto 10px auto !important;
    padding: 0 12px !important;
    background: transparent !important;
  }

  .logo-bg.wrapper a,
  .logo-bg.wrapper img,
  .logo-bg.wrapper .logotyp {
    display: none !important;
  }

  .logo-bg.wrapper::before {
    content: "ELITA CS";
    display: block !important;
    text-align: center !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 1px !important;
    color: #ffffff !important;
    text-shadow: 0 0 12px rgba(255, 59, 59, 0.25) !important;
  }

  .logo-bg.wrapper::after {
    content: "Only DD2 • Czysta gra • Dobra ekipa";
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,0.72) !important;
    margin-top: 6px !important;
  }

  /* ===== BOX SERWERA MOBILE ===== */
  .server-item.elitacs-server-premium,
  .elitacs-server-premium {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    padding: 14px !important;
    border-radius: 16px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    background: rgba(8, 8, 8, 0.76) !important;
    border: 1px solid rgba(255, 42, 42, 0.12) !important;
    box-shadow: 0 8px 22px rgba(0,0,0,0.22) !important;
    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(3px) !important;
  }

  .item-nameserver {
    font-size: 20px !important;
    line-height: 1.15 !important;
  }

  .item-server-subtitle {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  .elitacs-server-count {
    font-size: 28px !important;
    line-height: 1 !important;
  }

  .item-server-ip {
    font-size: 13px !important;
    word-break: break-word !important;
  }

  .elitacs-server-buttons {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .button-serverlist {
    min-height: 40px !important;
  }

  /* ===== CZERWONE SEPARATORY MOBILE ===== */
  .tab-server.wrapper::after,
  .shoutbox-home::after,
  .right-content::after {
    content: "" !important;
    display: block !important;
    width: calc(100% - 24px) !important;
    height: 2px !important;
    margin: 18px auto 0 auto !important;
    border-radius: 999px !important;
    background: linear-gradient(
      90deg,
      rgba(255, 40, 40, 0) 0%,
      rgba(255, 40, 40, 0.18) 18%,
      rgba(255, 40, 40, 0.88) 50%,
      rgba(255, 40, 40, 0.18) 82%,
      rgba(255, 40, 40, 0) 100%
    ) !important;
    box-shadow: 0 0 10px rgba(255, 40, 40, 0.18) !important;
  }

  /* ===== SHOUTBOX MOBILE ===== */
  .shoutbox-home {
    width: 100% !important;
    max-width: 100% !important;
    margin: 14px auto 20px auto !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }

  .shoutbox-home #shoutbox.front {
    background: rgba(8, 8, 8, 0.76) !important;
    border: 1px solid rgba(255, 45, 45, 0.14) !important;
    border-radius: 16px !important;
    padding: 12px !important;
    box-shadow: 0 8px 22px rgba(0,0,0,0.22) !important;
    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(3px) !important;
  }

  .shoutbox-home #shoutbox .head {
    font-size: 16px !important;
    margin-bottom: 8px !important;
  }

  .shoutbox-home #shoutbox .window {
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    padding: 8px !important;
    background: rgba(0,0,0,0.18) !important;
    border-radius: 12px !important;
  }

  .shoutbox-home #shoutbox .entry {
    display: grid !important;
    grid-template-columns: 30px 1fr auto !important;
    gap: 8px !important;
    align-items: start !important;
    padding: 8px !important;
    border-radius: 12px !important;
    background: rgba(0,0,0,0.16) !important;
  }

  .shoutbox-home #shoutbox .entry .avatar,
  .shoutbox-home #shoutbox .entry .avatar a,
  .shoutbox-home #shoutbox .entry .avatar img {
    width: 30px !important;
    height: 30px !important;
  }

  .shoutbox-home #shoutbox .entry .user {
    grid-column: 2 / 3 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  .shoutbox-home #shoutbox .entry .text {
    grid-column: 2 / 4 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: break-word !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  .shoutbox-home #shoutbox .entry .info {
    grid-column: 3 / 4 !important;
    width: auto !important;
    min-width: 0 !important;
    font-size: 11px !important;
    text-align: right !important;
  }

  .shoutbox-home #shoutbox .panel input[type="text"],
  .shoutbox-home #shoutbox .panel textarea,
  .shoutbox-home #shoutbox .panel .textbox,
  .shoutbox-home #shoutbox .panel input.text {
    height: 40px !important;
    font-size: 13px !important;
    padding: 0 48px 0 12px !important;
  }

  /* ===== UKŁAD STRONY MOBILE ===== */
  .content-bg {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
  }

  .left-content,
  .right-content {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* ===== KATEGORIE / ODDZIELENIA MOBILE ===== */
  .left-content .tborder,
  .left-content .forum-content,
  .left-content .forum-content-forum,
  .left-content .forum-forum,
  .left-content .forumbit_post,
  .right-content .sidebox-content,
  .right-content .team-slider-box,
  .right-content .stat-y {
    background: rgba(8, 8, 8, 0.72) !important;
    border: 1px solid rgba(255, 45, 45, 0.10) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 22px rgba(0,0,0,0.20) !important;
    overflow: hidden !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
  }

  .left-content .thead,
  .left-content .thead-statistic,
  .left-content .thead-sidebox,
  .left-content .forum-category-line,
  .left-content .information-line,
  .left-content .informacje-line,
  .right-content .thead-sidebox,
  .right-content .thead-statistic {
    position: relative !important;
    padding: 14px 16px !important;
    border-bottom: 1px solid rgba(255, 45, 45, 0.12) !important;
    background: rgba(255,255,255,0.02) !important;
  }

  .left-content .thead::after,
  .left-content .thead-statistic::after,
  .left-content .thead-sidebox::after,
  .left-content .forum-category-line::after,
  .left-content .information-line::after,
  .left-content .informacje-line::after,
  .right-content .thead-sidebox::after,
  .right-content .thead-statistic::after {
    content: "" !important;
    display: block !important;
    width: calc(100% - 12px) !important;
    height: 1px !important;
    margin: 12px auto 0 auto !important;
    background: linear-gradient(
      90deg,
      rgba(255,40,40,0) 0%,
      rgba(255,40,40,0.20) 20%,
      rgba(255,40,40,0.72) 50%,
      rgba(255,40,40,0.20) 80%,
      rgba(255,40,40,0) 100%
    ) !important;
  }

  .left-content td {
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  .left-content tr:last-child td {
    border-bottom: 0 !important;
  }

  /* ===== BOX EKIPY MOBILE ===== */
  .team-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .team-btn {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .team-dots {
    justify-content: center !important;
  }
}
/* =========================================
/* =========================================================
   MOBILE - SEPARATORY WSZYSTKICH GŁÓWNYCH KATEGORII
========================================================= */
@media (max-width: 768px) {

  /* główne boxy kategorii */
  .left-content .tborder,
  .left-content .forum-content,
  .left-content .forum-content-forum,
  .left-content .forum-forum,
  .left-content .forumbit_post,
  .left-content table.tborder {
    position: relative !important;
    margin-bottom: 24px !important;
    overflow: visible !important;
  }

  /* separator pod każdą główną kategorią */
  .left-content .tborder::after,
  .left-content .forum-content::after,
  .left-content .forum-content-forum::after,
  .left-content .forum-forum::after,
  .left-content .forumbit_post::after,
  .left-content table.tborder::after {
    content: "" !important;
    display: block !important;
    width: calc(100% - 36px) !important;
    height: 2px !important;
    margin: 18px auto 0 auto !important;
    border-radius: 999px !important;
    background: linear-gradient(
      90deg,
      rgba(255, 40, 40, 0) 0%,
      rgba(255, 40, 40, 0.14) 18%,
      rgba(255, 40, 40, 0.95) 50%,
      rgba(255, 40, 40, 0.14) 82%,
      rgba(255, 40, 40, 0) 100%
    ) !important;
    box-shadow:
      0 0 8px rgba(255, 40, 40, 0.16),
      0 0 16px rgba(255, 40, 40, 0.10) !important;
  }

  /* ostatnia kategoria bez kreski */
  .left-content .tborder:last-of-type::after,
  .left-content .forum-content:last-of-type::after,
  .left-content .forum-content-forum:last-of-type::after,
  .left-content .forum-forum:last-of-type::after,
  .left-content .forumbit_post:last-of-type::after,
  .left-content table.tborder:last-of-type::after {
    display: none !important;
  }

  /* dodatkowy oddech dla samych nazw kategorii */
  .left-content .thead,
  .left-content .thead-statistic,
  .left-content .thead-content,
  .left-content .thead-sidebox,
  .left-content .forum-category-line,
  .left-content .information-line,
  .left-content .informacje-line {
    padding-bottom: 14px !important;
  }
}
@media (min-width: 769px) {
  .top-cs-bg,
  .top-cs-bg .wrapper.classsrasz {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* =========================================
   DESKTOP - CZAT Z ZAWIJANIEM WIADOMOŚCI
========================================= */
@media (min-width: 769px) {

  .shoutbox-home #shoutbox .entry {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
  }

  .shoutbox-home #shoutbox .entry .user {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }

  .shoutbox-home #shoutbox .entry .text {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    line-height: 1.35 !important;
  }

  .shoutbox-home #shoutbox .entry .info {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    white-space: nowrap !important;
    align-self: flex-start !important;
  }
}
@media (min-width: 769px) {
  .shoutbox-home #shoutbox .window {
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
  }
}
.daily-stats-box {
	width: 100%;
	max-width: 1120px;
	margin: 26px auto 24px auto;
	padding: 22px;
	background: linear-gradient(180deg, rgba(10,10,10,0.92) 0%, rgba(6,6,6,0.96) 100%);
	border: 1px solid rgba(255, 50, 50, 0.18);
	border-radius: 14px;
	box-shadow:
		0 0 18px rgba(255, 0, 0, 0.08),
		inset 0 1px 0 rgba(255,255,255,0.03);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.daily-stats-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}

.daily-stats-title {
	font-size: 26px;
	font-weight: 800;
	color: #ffffff;
	letter-spacing: -0.3px;
	line-height: 1;
}

.daily-stats-subtitle {
	font-size: 13px;
	font-weight: 500;
	color: rgba(255,255,255,0.58);
	text-align: right;
}

.daily-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.daily-stats-card {
	position: relative;
	padding: 16px 16px 14px 16px;
	background: linear-gradient(180deg, rgba(20,20,20,0.95) 0%, rgba(11,11,11,0.98) 100%);
	border: 1px solid rgba(255,255,255,0.05);
	border-radius: 12px;
	box-shadow:
		0 10px 24px rgba(0,0,0,0.24),
		inset 0 1px 0 rgba(255,255,255,0.03);
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
	overflow: hidden;
}

.daily-stats-card::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, rgba(255,40,40,0) 0%, rgba(255,40,40,0.9) 50%, rgba(255,40,40,0) 100%);
	opacity: 0.95;
}

.daily-stats-card:hover {
	transform: translateY(-2px);
	border-color: rgba(255, 60, 60, 0.20);
	box-shadow:
		0 14px 30px rgba(0,0,0,0.28),
		0 0 16px rgba(255,0,0,0.08);
}

.daily-stats-card-top {
	margin-bottom: 14px;
}

.daily-stats-label {
	display: inline-block;
	font-size: 15px;
	font-weight: 800;
	color: #ffffff;
	letter-spacing: 0.2px;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(255, 35, 35, 0.10);
	border: 1px solid rgba(255, 35, 35, 0.16);
	box-shadow: 0 0 12px rgba(255,0,0,0.06);
}

.daily-stats-values {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.daily-stats-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255,255,255,0.04);
}

.daily-stats-row:last-child {
	border-bottom: 0;
	padding-bottom: 2px;
}

.daily-stats-row span {
	font-size: 14px;
	font-weight: 600;
	color: rgba(255,255,255,0.72);
}

.daily-stats-row strong {
	font-size: 22px;
	font-weight: 900;
	color: #ffffff;
	line-height: 1;
	text-shadow: 0 0 10px rgba(255,0,0,0.18);
}

@media (max-width: 1100px) {
	.daily-stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.daily-stats-box {
		padding: 16px;
		margin: 20px auto 18px auto;
		border-radius: 12px;
	}

	.daily-stats-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		margin-bottom: 14px;
	}

	.daily-stats-title {
		font-size: 22px;
	}

	.daily-stats-subtitle {
		text-align: left;
		font-size: 12px;
	}

	.daily-stats-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.daily-stats-card {
		padding: 14px;
	}

	.daily-stats-row strong {
		font-size: 20px;
	}
}
.right-content {
	display: flex;
	flex-direction: column;
	gap: 18px;
	align-items: center;
}

.right-content .sidebox-content {
	width: 100%;
	max-width: 360px;
}

.server-info-box {
	order: 1;
}

.team-slider-box {
	order: 2;
}

.latest-topics-box {
	order: 3;
}

.latest-topics-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.latest-topic-item {
	padding: 14px 14px 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	background: linear-gradient(180deg, rgba(16,16,16,0.92) 0%, rgba(9,9,9,0.96) 100%);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
	transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.latest-topic-item:hover {
	border-color: rgba(255, 50, 50, 0.22);
	transform: translateY(-1px);
	box-shadow: 0 0 14px rgba(255, 0, 0, 0.08);
}

.latest-topic-title {
	display: block;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
	color: #ffffff;
	text-decoration: none;
	margin-bottom: 8px;
}

.latest-topic-title:hover {
	color: #ff4d4d;
	text-decoration: none;
}

.latest-topic-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	line-height: 1.4;
	margin-bottom: 6px;
}

.latest-topic-forum,
.latest-topic-author a {
	color: #cfcfcf;
	text-decoration: none;
	font-weight: 600;
}

.latest-topic-forum:hover,
.latest-topic-author a:hover {
	color: #ff4d4d;
	text-decoration: none;
}

.latest-topic-sep {
	color: rgba(255,255,255,0.25);
}

.latest-topic-date {
	font-size: 12px;
	color: rgba(255,255,255,0.52);
}

.latest-topic-empty {
	padding: 14px;
	border-radius: 12px;
	background: rgba(12,12,12,0.92);
	border: 1px solid rgba(255,255,255,0.05);
	color: rgba(255,255,255,0.68);
	font-size: 13px;
}
.announcements-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.announcement-item {
	padding: 14px 14px 12px 14px;
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 12px;
	background: linear-gradient(180deg, rgba(16,16,16,0.92) 0%, rgba(9,9,9,0.96) 100%);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
	transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.announcement-item:hover {
	border-color: rgba(255, 50, 50, 0.22);
	transform: translateY(-1px);
	box-shadow: 0 0 14px rgba(255, 0, 0, 0.08);
}

.announcement-title {
	display: block;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
	color: #ffffff;
	text-decoration: none;
	margin-bottom: 8px;
}

.announcement-title:hover {
	color: #ff4d4d;
	text-decoration: none;
}

.announcement-date {
	font-size: 12px;
	color: rgba(255,255,255,0.52);
}

.announcement-empty {
	padding: 14px;
	border-radius: 12px;
	background: rgba(12,12,12,0.92);
	border: 1px solid rgba(255,255,255,0.05);
	color: rgba(255,255,255,0.68);
	font-size: 13px;
}


.daily-stats-box,
.daily-stats-box *,
.daily-stats-card,
.daily-stats-card * {
	box-sizing: border-box;
}

@media (max-width: 640px) {
	.daily-stats-box {
		width: calc(100% - 24px);
		max-width: calc(100% - 24px);
		margin: 20px 12px 18px 12px;
		padding: 14px;
		border-radius: 12px;
		overflow: hidden;
	}

	.daily-stats-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		margin-bottom: 14px;
	}

	.daily-stats-title {
		font-size: 22px;
	}

	.daily-stats-subtitle {
		text-align: left;
		font-size: 12px;
	}

	.daily-stats-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.daily-stats-card {
		width: 100%;
		padding: 14px 12px;
	}

	.daily-stats-row {
		width: 100%;
		gap: 10px;
	}

	.daily-stats-row span {
		font-size: 13px;
	}

	.daily-stats-row strong {
		font-size: 19px;
		flex: 0 0 auto;
		text-align: right;
	}
}
/* Tytuły kategorii forum */
.thead-content {
	position: relative;
	padding: 18px 22px 16px;
}

.thead-content a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 28px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	line-height: 1;
	color: #ff3b3b !important;
	text-decoration: none !important;
	text-shadow:
		0 0 6px rgba(255, 50, 50, 0.35),
		0 0 14px rgba(255, 0, 0, 0.18);
}

.thead-content a:hover {
	color: #ff5a5a !important;
	text-shadow:
		0 0 8px rgba(255, 80, 80, 0.45),
		0 0 18px rgba(255, 0, 0, 0.24);
}

.thead-content::after {
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	margin-top: 12px;
	border-radius: 999px;
	background: linear-gradient(
		90deg,
		rgba(255, 0, 0, 0) 0%,
		rgba(255, 70, 70, 0.55) 18%,
		rgba(255, 255, 255, 0.95) 50%,
		rgba(255, 70, 70, 0.55) 82%,
		rgba(255, 0, 0, 0) 100%
	);
	box-shadow:
		0 0 10px rgba(255, 40, 40, 0.25),
		0 0 22px rgba(255, 0, 0, 0.12);
}

.thead-content .category_icon {
	transform: scale(1.08);
	filter: drop-shadow(0 0 6px rgba(255, 50, 50, 0.28));
}

/* mobilka */
@media (max-width: 640px) {
	.thead-content {
		padding: 14px 16px 14px;
	}

	.thead-content a {
		font-size: 20px;
		letter-spacing: 1px;
	}
}

/* UKRYCIE GRAFIKI NAD TYTUŁEM KATEGORII */
.thead-effect,
.thead-effect img {
	display: none !important;
}

/* TYTUŁY KATEGORII */
.thead-content {
	position: relative;
	padding: 16px 22px 14px !important;
}

.thead-content a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 28px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	line-height: 1;
	color: #c91515 !important;
	text-decoration: none !important;
	text-shadow:
		0 0 4px rgba(201, 21, 21, 0.30),
		0 0 10px rgba(120, 0, 0, 0.18);
}

.thead-content a:hover {
	color: #e11b1b !important;
	text-shadow:
		0 0 6px rgba(225, 27, 27, 0.38),
		0 0 14px rgba(140, 0, 0, 0.22);
}

.thead-content::after {
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	margin-top: 12px;
	border-radius: 999px;
	background: linear-gradient(
		90deg,
		rgba(255, 0, 0, 0) 0%,
		rgba(120, 0, 0, 0.55) 12%,
		rgba(201, 21, 21, 0.95) 35%,
		rgba(255, 235, 235, 0.92) 50%,
		rgba(201, 21, 21, 0.95) 65%,
		rgba(120, 0, 0, 0.55) 88%,
		rgba(255, 0, 0, 0) 100%
	);
	box-shadow:
		0 0 8px rgba(201, 21, 21, 0.20),
		0 0 18px rgba(120, 0, 0, 0.12);
}

.thead-content .category_icon {
	transform: scale(1.04);
	filter: drop-shadow(0 0 4px rgba(201, 21, 21, 0.20));
}

/* MOBILKA */
@media (max-width: 640px) {
	.thead-content {
		padding: 14px 16px 12px !important;
	}

	.thead-content a {
		font-size: 21px;
		letter-spacing: 0.8px;
	}
}
/* legenda grup - bez ikonek */
.legends span i,
.legends span svg,
.legends .fa,
.legends .fas,
.legends .far,
.legends .fab {
	display: none !important;
}

.legends span {
	background-image: none !important;
	padding-left: 0 !important;
}

.legends-premium {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 12px;
	align-items: center;
}

.legends-premium .legend-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: linear-gradient(180deg, rgba(18,18,18,0.96) 0%, rgba(10,10,10,0.98) 100%);
	border: 1px solid rgba(255,255,255,0.06);
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,0.03),
		0 0 10px rgba(0,0,0,0.18);
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.2px;
	white-space: nowrap;
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.legends-premium .legend-badge:hover {
	transform: translateY(-1px);
	border-color: rgba(255, 50, 50, 0.16);
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,0.03),
		0 0 12px rgba(255,0,0,0.08);
}

@media (max-width: 640px) {
	.legends-premium {
		gap: 8px;
	}

	.legends-premium .legend-badge {
		padding: 7px 10px;
		font-size: 13px;
	}
}
.rank-owner {
	color: #ff2a2a;
	text-shadow: 0 0 8px rgba(255, 42, 42, 0.28);
}

.rank-owner-server {
	color: #3d86ff;
	text-shadow: 0 0 8px rgba(61, 134, 255, 0.28);
}

.rank-mod {
	color: #27d94f;
	text-shadow: 0 0 8px rgba(39, 217, 79, 0.28);
}

.rank-admin {
	color: #ff7b1f;
	text-shadow: 0 0 8px rgba(255, 123, 31, 0.28);
}
.memberprofil-nickline {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.memberprofil-groupbadge {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(255, 42, 42, 0.10);
	border: 1px solid rgba(255, 42, 42, 0.18);
	color: #ff4a4a;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	box-shadow: 0 0 10px rgba(255, 42, 42, 0.08);
}
.memberprofil-nickline {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.memberprofil-groupbadge {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(255, 42, 42, 0.10);
	border: 1px solid rgba(255, 42, 42, 0.18);
	color: #ff4a4a;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	box-shadow: 0 0 10px rgba(255, 42, 42, 0.08);
}

.memberprofil-nickline {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.memberprofil-groupbadge {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
}

/* Właściciel forum */
.memberprofil-groupbadge.badge-owner-forum {
	background: rgba(255, 42, 42, 0.10);
	border: 1px solid rgba(255, 42, 42, 0.20);
	color: #ff4a4a;
	box-shadow: 0 0 10px rgba(255, 42, 42, 0.10);
}

/* Właściciel serwera */
.memberprofil-groupbadge.badge-owner-server {
	background: rgba(61, 134, 255, 0.10);
	border: 1px solid rgba(61, 134, 255, 0.20);
	color: #3d86ff;
	box-shadow: 0 0 10px rgba(61, 134, 255, 0.10);
}

/* Moderator */
.memberprofil-groupbadge.badge-mod {
	background: rgba(39, 217, 79, 0.10);
	border: 1px solid rgba(39, 217, 79, 0.20);
	color: #27d94f;
	box-shadow: 0 0 10px rgba(39, 217, 79, 0.10);
}

/* Admin DD2 */
.memberprofil-groupbadge.badge-admin-dd2 {
	background: rgba(255, 123, 31, 0.10);
	border: 1px solid rgba(255, 123, 31, 0.20);
	color: #ff7b1f;
	box-shadow: 0 0 10px rgba(255, 123, 31, 0.10);
}
/* ===== LICZNIK LAJKÓW + HOVER KTO DAŁ ===== */

.allbutons-post-classic {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.elitacs-like-meta {
	position: relative;
	margin-left: auto;
}

.elitacs-like-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 34px;
	padding: 0 12px;
	border-radius: 10px;
	background: linear-gradient(180deg, rgba(18,24,38,.96) 0%, rgba(10,14,24,.98) 100%);
	border: 1px solid rgba(255,255,255,.08);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 6px 16px rgba(0,0,0,.28);
	color: #f2f5ff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .4px;
	cursor: default;
	position: relative;
}

.elitacs-like-count::before {
	content: "";
	position: absolute;
	left: 10px;
	right: 10px;
	top: 0;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(255,59,59,0) 0%, rgba(255,59,59,.75) 50%, rgba(255,59,59,0) 100%);
	opacity: .8;
}

.elitacs-like-popup {
	display: none;
	position: absolute;
	right: 0;
	bottom: calc(100% + 10px);
	width: 260px;
	padding: 0;
	border-radius: 12px;
	background: linear-gradient(180deg, rgba(18,24,38,.98) 0%, rgba(8,10,18,.99) 100%);
	border: 1px solid rgba(255,255,255,.08);
	box-shadow: 0 14px 30px rgba(0,0,0,.40);
	z-index: 99;
	overflow: hidden;
}

.elitacs-like-meta:hover .elitacs-like-popup {
	display: block;
}

.elitacs-like-hoverbox {
	padding: 12px;
}

.elitacs-like-hovertitle {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: #ffffff;
	margin-bottom: 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(255,255,255,.06);
}

.elitacs-like-hoverlist {
	font-size: 12px;
	line-height: 1.7;
	color: #cfd8ff;
}

.elitacs-like-hoverlist a {
	color: #8cc8ff !important;
	text-decoration: none;
	font-weight: 700;
}

.elitacs-like-hoverlist a:hover {
	color: #ffffff !important;
}

@media (max-width: 768px) {
	.elitacs-like-popup {
		right: auto;
		left: 0;
		width: 220px;
	}
}
.thread-status-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 3px 9px;
	margin-right: 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	line-height: 1;
	vertical-align: middle;
	position: relative;
	top: -1px;
}

.thread-status-open {
	background: rgba(67, 176, 71, 0.12);
	border: 1px solid rgba(67, 176, 71, 0.35);
	color: #8ee08f;
	box-shadow: 0 0 8px rgba(67, 176, 71, 0.12);
}

.thread-status-closed {
	background: rgba(196, 27, 27, 0.12);
	border: 1px solid rgba(196, 27, 27, 0.35);
	color: #ff7b7b;
	box-shadow: 0 0 8px rgba(196, 27, 27, 0.12);
}
@media (max-width: 768px) {
  .name-threadlist .multipage,
  .name-threadlist .pagination {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    gap: 4px;
    margin-left: 8px;
    vertical-align: middle;
  }

  .name-threadlist .multipage a,
  .name-threadlist .multipage span {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1;
  }

  .thread-threadlist,
  .items-threadlist,
  .items-threadlist1 {
    overflow: visible !important;
  }

  .name-threadlist {
    display: block !important;
    white-space: normal !important;
    overflow: visible !important;
  }
}
/* =========================
   SHOWTHREAD MOBILE FIX
   paginacja + moderacja
========================= */
@media (max-width: 768px) {

  /* ogólne kontenery */
  .tborder12,
  #posts_container,
  #posts,
  .butson,
  .float_right,
  .float_left {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* przycisk nowej odpowiedzi */
  .butson,
  .float_right {
    float: none !important;
    display: block !important;
    text-align: left !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
  }

  .butson .button,
  .butson a,
  .float_right .button,
  .float_right a,
  .new_reply_button,
  a.new_reply_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: 100% !important;
  }

  /* PAGINACJA TEMATU */
  .pagination,
  .multipage {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 10px 0 14px 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
    float: none !important;
    clear: both !important;
    position: static !important;
  }

  .pagination a,
  .pagination span,
  .pagination strong,
  .multipage a,
  .multipage span,
  .multipage strong {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 34px !important;
    height: 34px !important;
    padding: 0 10px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }

  /* aktywna strona */
  .pagination strong,
  .pagination .pagination_current,
  .multipage strong,
  .multipage .current_page {
    background: rgba(255, 59, 59, 0.14) !important;
    border: 1px solid rgba(255, 59, 59, 0.35) !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(255, 59, 59, 0.14) !important;
  }

  /* zwykłe strony */
  .pagination a,
  .multipage a {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: #dfe7ff !important;
  }

  .pagination a:hover,
  .multipage a:hover {
    background: rgba(255, 59, 59, 0.10) !important;
    border-color: rgba(255, 59, 59, 0.25) !important;
    color: #ffffff !important;
  }

  /* żeby ten samotny kafel "3" nie wisiał gdzieś z boku */
  .pagination .pages,
  .multipage .pages {
    display: inline-flex !important;
    align-items: center !important;
    margin-right: 4px !important;
    color: rgba(255,255,255,0.72) !important;
    font-size: 12px !important;
  }

  /* dół: moderacja zbiorowa / opcje moderatora */
  .float_right form,
  .float_right fieldset,
  .moderation_options,
  .inlinemod,
  .forum_management {
    width: 100% !important;
    max-width: 100% !important;
  }

  .float_right[style*="text-align: right"] {
    float: none !important;
    text-align: left !important;
    width: 100% !important;
    margin-top: 16px !important;
  }

  .float_right select,
  .float_right input[type="text"],
  .float_right input[type="submit"],
  .float_right button {
    width: 100% !important;
    max-width: 100% !important;
    margin: 6px 0 0 0 !important;
    box-sizing: border-box !important;
  }

  /* select + przyciski pod sobą zamiast obok */
  .float_right select {
    min-height: 42px !important;
  }

  .float_right input[type="submit"],
  .float_right button {
    min-height: 42px !important;
  }

  /* szybka odpowiedź i dodatki */
  #quick_reply_form,
  #quick_reply_form .tborder,
  #quick_reply_form textarea,
  #quick_reply_form input[type="text"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* odstęp od stopki sekcji */
  br.clear {
    display: block !important;
    clear: both !important;
  }
}
/* =========================================
   ELITACS - PAGINACJA I MOBILE TEMATÓW
========================================= */

/* ---------- LISTA TEMATÓW ---------- */
.name-threadlist .multipage,
.name-threadlist .pages {
	display: inline-flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 4px !important;
	margin-left: 8px !important;
	vertical-align: middle !important;
}

.name-threadlist .multipage a,
.name-threadlist .multipage strong,
.name-threadlist .multipage span,
.name-threadlist .pages a,
.name-threadlist .pages strong,
.name-threadlist .pages span {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 24px !important;
	height: 24px !important;
	padding: 0 7px !important;
	border-radius: 6px !important;
	font-size: 11px !important;
	line-height: 1 !important;
	text-decoration: none !important;
	box-sizing: border-box !important;
}

.name-threadlist .multipage a,
.name-threadlist .pages a {
	background: rgba(255,255,255,0.04) !important;
	border: 1px solid rgba(255,255,255,0.08) !important;
	color: #dfe7ff !important;
}

.name-threadlist .multipage strong,
.name-threadlist .multipage .pagination_current,
.name-threadlist .pages strong,
.name-threadlist .pages .pagination_current {
	background: rgba(255, 59, 59, 0.14) !important;
	border: 1px solid rgba(255, 59, 59, 0.35) !important;
	color: #ffffff !important;
	box-shadow: 0 0 10px rgba(255, 59, 59, 0.14) !important;
}

/* ---------- SHOWTHREAD DÓŁ ---------- */
.showthread-bottom-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 14px 0 18px 0;
}

.showthread-bottom-reply,
.showthread-bottom-pagination {
	display: block;
}

.showthread-bottom-pagination .pagination,
.showthread-bottom-pagination .multipage {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: flex-end !important;
	gap: 6px !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	width: 100% !important;
}

.showthread-bottom-pagination .pagination a,
.showthread-bottom-pagination .pagination strong,
.showthread-bottom-pagination .pagination span,
.showthread-bottom-pagination .multipage a,
.showthread-bottom-pagination .multipage strong,
.showthread-bottom-pagination .multipage span {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 34px !important;
	height: 34px !important;
	padding: 0 10px !important;
	border-radius: 8px !important;
	font-size: 13px !important;
	line-height: 1 !important;
	text-decoration: none !important;
	box-sizing: border-box !important;
}

.showthread-bottom-pagination .pagination a,
.showthread-bottom-pagination .multipage a {
	background: rgba(255,255,255,0.04) !important;
	border: 1px solid rgba(255,255,255,0.08) !important;
	color: #dfe7ff !important;
}

.showthread-bottom-pagination .pagination strong,
.showthread-bottom-pagination .pagination .pagination_current,
.showthread-bottom-pagination .multipage strong,
.showthread-bottom-pagination .multipage .pagination_current {
	background: rgba(255, 59, 59, 0.14) !important;
	border: 1px solid rgba(255, 59, 59, 0.35) !important;
	color: #ffffff !important;
	box-shadow: 0 0 10px rgba(255, 59, 59, 0.14) !important;
}

/* ---------- MODERACJA ---------- */
.showthread-bottom-moderation {
	width: 100%;
	margin-top: 12px;
}

.showthread-bottom-moderation,
.showthread-bottom-moderation * {
	box-sizing: border-box;
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {

	/* lista tematów */
	.name-threadlist {
		display: block !important;
		white-space: normal !important;
		line-height: 1.5 !important;
	}

	.name-threadlist .multipage,
	.name-threadlist .pages {
		display: flex !important;
		flex-wrap: wrap !important;
		gap: 4px !important;
		margin: 8px 0 0 0 !important;
	}

	/* dół tematu */
	.showthread-bottom-actions {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 12px !important;
	}

	.showthread-bottom-reply,
	.showthread-bottom-pagination {
		width: 100% !important;
	}

	.showthread-bottom-reply a,
	.showthread-bottom-reply .button,
	.showthread-bottom-reply .new_reply_button {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: auto !important;
		max-width: 100% !important;
	}

	.showthread-bottom-pagination .pagination,
	.showthread-bottom-pagination .multipage {
		justify-content: flex-start !important;
		width: 100% !important;
		overflow: visible !important;
	}

	.showthread-bottom-pagination .pagination a,
	.showthread-bottom-pagination .pagination strong,
	.showthread-bottom-pagination .pagination span,
	.showthread-bottom-pagination .multipage a,
	.showthread-bottom-pagination .multipage strong,
	.showthread-bottom-pagination .multipage span {
		min-width: 32px !important;
		height: 32px !important;
		padding: 0 8px !important;
		font-size: 12px !important;
	}

	/* moderacja pod sobą */
	.showthread-bottom-moderation .float_right,
	.showthread-bottom-moderation form,
	.showthread-bottom-moderation select,
	.showthread-bottom-moderation input[type="text"],
	.showthread-bottom-moderation input[type="submit"],
	.showthread-bottom-moderation button {
		width: 100% !important;
		max-width: 100% !important;
		float: none !important;
		margin: 6px 0 0 0 !important;
	}

	.showthread-bottom-moderation {
		text-align: left !important;
	}
}
@media (min-width: 769px) {
  .subforum-category-1 {
    justify-content: flex-start !important;
    gap: 18px !important;
    padding: 15px 18px !important;
  }
}
/* ===== ELITACS - główne boxy po przebudowie struktury ===== */
@media (min-width: 769px) {/* ===== ELITACS - naprawa układu głównego boxa forum ===== */
@media (min-width: 769px) {
  .subforum-category-1 {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 18px !important;
    padding: 15px 18px !important;
  }

  .content-forums {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    flex: 1 1 auto !important;
    flex-basis: auto !important;
    width: auto !important;
    min-width: 0 !important;
  }

 .name-forums,
.description-forums {
  display: block !important;
  width: 100% !important;
}

.subforums-forums {
  display: block !important;
  width: auto !important;
}

  .reply-forums {
    flex: 0 0 70px !important;
    width: 70px !important;
    text-align: center !important;
  }

  .information-forums {
    flex: 0 0 240px !important;
    width: 240px !important;
    min-width: 240px !important;
    overflow: hidden !important;
  }
}
.subforums-forums {
	display: block !important;
	width: 100% !important;
	margin-top: 10px !important;
	line-height: 1.8 !important;
	font-size: 0 !important;
}

.subforums-forums a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 8px 8px 0 !important;
	padding: 7px 12px !important;
	border-radius: 999px !important;
	background: rgba(255,255,255,0.04) !important;
	border: 1px solid rgba(255,0,0,0.22) !important;
	color: #d9d9d9 !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	transition: all .2s ease !important;
}

.subforums-forums a:hover {
	background: rgba(255,0,0,0.12) !important;
	border-color: rgba(255,0,0,0.45) !important;
	color: #fff !important;
	box-shadow: 0 0 10px rgba(255,0,0,0.15) !important;
	transform: translateY(-1px) !important;
}

.subforums-forums .subforumicon,
.subforums-forums i {
	display: none !important;
}
.subforums-forums a {
	padding: 6px 11px !important;
	margin: 0 6px 6px 0 !important;
	border-radius: 999px !important;
	background: rgba(255,255,255,0.03) !important;
	border: 1px solid rgba(255,0,0,0.20) !important;
	color: #e7e7e7 !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	transition: all .18s ease !important;
}

.subforums-forums a:hover {
	background: rgba(255,0,0,0.14) !important;
	border-color: rgba(255,0,0,0.42) !important;
	color: #ffffff !important;
	box-shadow: 0 0 8px rgba(255,0,0,0.12) !important;
	transform: translateY(-1px) !important;
}/* lewa część kafla */
.subforum-category-1 {
	align-items: center !important;
}

.content-forums {
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	gap: 12px !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
}

/* tytuł forum */
.name-forums a {
	font-size: 17px !important;
	font-weight: 800 !important;
	color: #fff !important;
}

/* siatka subfor */
.subforums-forums {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(150px, 1fr)) !important;
	gap: 12px !important;
	margin-top: 10px !important;
	max-width: 620px !important;
	width: 100% !important;
}

/* pojedynczy kafelek subforum */
.subforums-forums a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 48px !important;
	padding: 12px 14px !important;
	border-radius: 12px !important;
	background: rgba(255, 255, 255, 0.03) !important;
	border: 1px solid rgba(255, 0, 0, 0.22) !important;
	color: #f2f2f2 !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	text-align: center !important;
	line-height: 1.25 !important;
	text-decoration: none !important;
	transition: all .18s ease !important;
	box-sizing: border-box !important;
	white-space: normal !important;
}

.subforums-forums a:hover {
	background: rgba(255, 0, 0, 0.14) !important;
	border-color: rgba(255, 0, 0, 0.42) !important;
	color: #fff !important;
	box-shadow: 0 0 10px rgba(255, 0, 0, 0.16) !important;
	transform: translateY(-1px) !important;
}

/* usuwamy śmieci typu przecinki / strzałki jeśli się pojawiają */
.subforums-forums {
	font-size: 0 !important;
}

.subforums-forums a {
	font-size: 14px !important;
}

/* tablet */
@media (max-width: 1200px) {
	.subforums-forums {
		grid-template-columns: repeat(2, minmax(150px, 1fr)) !important;
		max-width: 500px !important;
	}
}

/* mobile */
@media (max-width: 768px) {
	.subforum-category-1 {
		flex-direction: column !important;
		align-items: flex-start !important;
	}

	.subforums-forums {
		grid-template-columns: repeat(2, minmax(130px, 1fr)) !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	.subforums-forums a {
		min-height: 44px !important;
		font-size: 13px !important;
	}
}
/* ===== AWARYJNIE: na telefonie użyj bardziej desktopowego układu ===== */
@media (max-width: 768px) {
  .wrapper,
  .content-bg,
  .left-content,
  .forum-content,
  .forums-content,
  .subforum-category-1 {
    width: 1120px !important;
    max-width: 1120px !important;
  }

  body {
    overflow-x: auto !important;
  }
}

/* ELITACS - ramki za lajki */

.avatar-post-classic.elitacs-like-frame-znany {
    border: 2px solid #8b8b8b;
    box-shadow: 0 0 12px rgba(180, 180, 180, 0.35);
}

.avatar-post-classic.elitacs-like-frame-mocny {
    border: 2px solid #3fa9ff;
    box-shadow: 0 0 14px rgba(63, 169, 255, 0.45);
}

.avatar-post-classic.elitacs-like-frame-swojak {
    border: 2px solid #35d07f;
    box-shadow: 0 0 14px rgba(53, 208, 127, 0.45);
}

.avatar-post-classic.elitacs-like-frame-rozpoznawalny {
    border: 2px solid #c77dff;
    box-shadow: 0 0 15px rgba(199, 125, 255, 0.5);
}

.avatar-post-classic.elitacs-like-frame-elita {
    border: 2px solid #ff3333;
    box-shadow: 0 0 17px rgba(255, 51, 51, 0.55);
}

.avatar-post-classic.elitacs-like-frame-wyjadacz {
    border: 2px solid #ff8c1a;
    box-shadow: 0 0 18px rgba(255, 140, 26, 0.6);
}

.avatar-post-classic.elitacs-like-frame-legenda {
    border: 2px solid #ffd84d;
    box-shadow: 0 0 20px rgba(255, 216, 77, 0.7);
}

.avatar-post-classic.elitacs-like-frame-ikona {
    border: 2px solid #ff1f4f;
    box-shadow:
        0 0 14px rgba(255, 31, 79, 0.75),
        0 0 28px rgba(255, 31, 79, 0.45);
}

/* ELITACS - badge pod rangą */

.elitacs-like-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.elitacs-like-frame-znany-badge {
    background: linear-gradient(135deg, #555, #888);
}

.elitacs-like-frame-mocny-badge {
    background: linear-gradient(135deg, #0074d9, #3fa9ff);
}

.elitacs-like-frame-swojak-badge {
    background: linear-gradient(135deg, #12824d, #35d07f);
}

.elitacs-like-frame-rozpoznawalny-badge {
    background: linear-gradient(135deg, #7b2cbf, #c77dff);
}

.elitacs-like-frame-elita-badge {
    background: linear-gradient(135deg, #9b0000, #ff3333);
}

.elitacs-like-frame-wyjadacz-badge {
    background: linear-gradient(135deg, #b94f00, #ff8c1a);
}

.elitacs-like-frame-legenda-badge {
    color: #1a1400;
    background: linear-gradient(135deg, #ffb700, #ffe680);
}

.elitacs-like-frame-ikona-badge {
    background: linear-gradient(135deg, #8b001b, #ff1f4f, #ff6b8a);
    box-shadow: 0 0 14px rgba(255, 31, 79, 0.45);
}

/* ELITACS - Discord pod listą serwerów */

.tab-server.wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.elitacs-discord-premium {
    background:
        linear-gradient(90deg, rgba(88, 101, 242, 0.20), rgba(10, 12, 18, 0.92)),
        rgba(10, 12, 18, 0.92);
    border: 1px solid rgba(88, 101, 242, 0.42);
    box-shadow:
        0 0 22px rgba(88, 101, 242, 0.22),
        inset 0 0 20px rgba(0, 0, 0, 0.35);
}

.elitacs-discord-premium .item-nameserver {
    color: #ffffff;
}

.elitacs-discord-premium .item-server-subtitle {
    color: #cfd3ff;
}

.elitacs-discord-livebox .elitacs-server-count {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(88, 101, 242, 0.75);
}

.elitacs-discord-info {
    color: #d8dcff;
    font-weight: 800;
}

.elitacs-discord-join {
    background: linear-gradient(180deg, #5865f2, #3943b7) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 0 18px rgba(88, 101, 242, 0.42);
}

.elitacs-discord-join:hover {
    background: linear-gradient(180deg, #6d78ff, #4854d6) !important;
    box-shadow: 0 0 26px rgba(88, 101, 242, 0.65);
}

/* ELITACS - premium czerwona obwódka dla kafli serwerów */

.server-item.elitacs-server-premium {
    border: 1px solid rgba(255, 51, 51, 0.48) !important;
    box-shadow:
        0 0 22px rgba(255, 51, 51, 0.24),
        inset 0 0 20px rgba(0, 0, 0, 0.38) !important;
}

.server-item.elitacs-server-premium:hover {
    border-color: rgba(255, 51, 51, 0.75) !important;
    box-shadow:
        0 0 28px rgba(255, 51, 51, 0.34),
        inset 0 0 22px rgba(0, 0, 0, 0.42) !important;
}

.pm-link {
    position: relative;
}

.pm-link.has-unread i {
    color: #ff2b45 !important;
    text-shadow: 0 0 12px rgba(255, 43, 69, .75);
    animation: elitacsPmPulse 1.4s infinite;
}

.pm-unread-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff2b45, #a60018);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    line-height: 17px;
    text-align: center;
    box-shadow: 0 0 14px rgba(255, 43, 69, .7);
}

.pm-menu-count {
    float: right;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff2b45, #a60018);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 0 12px rgba(255, 43, 69, .45);
}

@keyframes elitacsPmPulse {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.13);
        filter: brightness(1.25);
    }

    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}
/
/* ELITACS - ukrycie starego paska powiadomień PW MyBB */
.pm_alert,
.pm_notice,
#pm_notice,
.pm_alert_new,
div[class*="pm_alert"],
div[class*="pm_notice"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}
/* ELITACS - koperta PW: zawsze biała, licznik czerwony */
.icon-topnav.pm-link,
.pm-link {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    overflow: visible !important;
    text-decoration: none !important;
    vertical-align: middle !important;
}

.icon-topnav.pm-link i,
.pm-link i,
.icon-topnav.pm-link.has-unread i,
.pm-link.has-unread i {
    position: relative !important;
    z-index: 2 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    line-height: 1 !important;
    text-shadow: none !important;
    animation: none !important;
    filter: none !important;
    transform: none !important;
}

.icon-topnav.pm-link::after,
.pm-link::after,
.icon-topnav.pm-link.has-unread::after,
.pm-link.has-unread::after {
    display: none !important;
    content: none !important;
}

.elitacs-pm-count {
    position: absolute !important;
    top: -7px !important;
    right: -8px !important;
    z-index: 50 !important;

    min-width: 17px !important;
    height: 17px !important;
    padding: 0 5px !important;

    align-items: center !important;
    justify-content: center !important;

    border-radius: 999px !important;
    background: linear-gradient(135deg, #ff2b45, #9b0018) !important;
    color: #ffffff !important;

    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 17px !important;
    text-align: center !important;

    box-shadow:
        0 0 8px rgba(255, 43, 69, .85),
        0 0 16px rgba(255, 43, 69, .45) !important;

    pointer-events: none !important;
}

/* stare liczniki, gdyby jeszcze gdzieś zostały */
.pm-unread-badge,
.pm-menu-count {
    display: none !important;
}

/* stare powiadomienie PW MyBB */
.pm_alert,
.pm_notice,
#pm_notice,
.pm_alert_new,
div[class*="pm_alert"],
div[class*="pm_notice"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* żeby licznik nie był ucinany */
.upper,
.header,
#header,
.menu,
.topnav,
.login-container2,
.login-form2 {
    overflow: visible !important;
}

/* ELITACS - koperta PW */
.pm-unread-badge,
.pm-menu-count {
    display: none !important;
}

.icon-topnav.pm-link,
.pm-link {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    overflow: visible !important;
    text-decoration: none !important;
    vertical-align: middle !important;
}

.icon-topnav.pm-link i,
.pm-link i {
    position: relative !important;
    z-index: 2 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    line-height: 1 !important;
}

.icon-topnav.pm-link.has-unread i,
.pm-link.has-unread i {
    color: #ff2b45 !important;
    text-shadow:
        0 0 8px rgba(255, 43, 69, .95),
        0 0 18px rgba(255, 43, 69, .65),
        0 0 30px rgba(255, 43, 69, .35) !important;
    animation: elitacsPmPulse 1.4s infinite;
}

.icon-topnav.pm-link.has-unread::after,
.pm-link.has-unread::after {
    content: "";
    position: absolute;
    top: 5px;
    right: 5px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff2b45;
    box-shadow:
        0 0 8px rgba(255, 43, 69, .95),
        0 0 16px rgba(255, 43, 69, .55);
    z-index: 3;
    pointer-events: none;
}

@keyframes elitacsPmPulse {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.16);
        filter: brightness(1.35);
    }

    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

/* stare powiadomienie PW MyBB */
.pm_alert,
.pm_notice,
#pm_notice,
.pm_alert_new,
div[class*="pm_alert"],
div[class*="pm_notice"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* żeby menu użytkownika i koperta nie były ucinane */
.upper,
.header,
#header,
.menu,
.topnav,
.login-container2,
.login-form2 {
    overflow: visible !important;
}

/* ELITACS - NOWA WIADOMOŚĆ PW V2 */
.ec-send-shell {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    max-width: 100vw;
    padding: 0 0 34px;
    box-sizing: border-box;
}

.ec-send-wrap {
    width: 100%;
    min-height: calc(100vh - 8px);
    background:
        linear-gradient(180deg, rgba(2,6,14,.12), rgba(2,6,14,.97) 36%, #02050b 100%),
        radial-gradient(circle at 12% 10%, rgba(255,32,67,.18), transparent 28%),
        radial-gradient(circle at 86% 18%, rgba(74,99,255,.09), transparent 30%),
        url(https://elitacs.pl/css/elitacs-hero.png) center top / cover no-repeat,
        #030711;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    overflow: hidden;
}

.ec-send-head {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 34px 24px;
    background:
        linear-gradient(135deg, rgba(8,12,22,.95), rgba(11,15,28,.82)),
        linear-gradient(90deg, rgba(180,0,32,.24), transparent 58%);
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 18px 50px rgba(0,0,0,.30);
}

.ec-send-head:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #ff244d, #8c1026);
    box-shadow: 0 0 26px rgba(255,36,77,.55);
}

.ec-send-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d9e2f1 !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .55px;
    padding: 10px 13px;
    border-radius: 10px;
    background: rgba(0,0,0,.38);
    border: 1px solid rgba(255,255,255,.09);
    margin-bottom: 18px;
}

.ec-send-back:hover {
    color: #fff !important;
    border-color: rgba(255,36,77,.38);
    box-shadow: 0 0 22px rgba(255,36,77,.14);
}

.ec-send-head h1 {
    margin: 0;
    color: #fff;
    font-size: 36px;
    line-height: 1.08;
    font-weight: 900;
    text-shadow: 0 3px 18px rgba(0,0,0,.55);
}

.ec-send-head p {
    margin: 9px 0 0;
    color: #aab7ce;
    font-size: 14px;
}

.ec-send-badge {
    align-self: flex-start;
    display: inline-flex;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    color: #dce6f7;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.ec-send-body {
    padding: 34px;
    background:
        linear-gradient(180deg, rgba(3,7,14,.88), rgba(3,7,14,.97)),
        radial-gradient(circle at center, rgba(255,255,255,.025), transparent 45%);
}

.ec-send-card {
    max-width: 1380px;
    margin: 0 auto;
    padding: 26px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)),
        rgba(5,12,22,.95);
    border: 1px solid rgba(255,255,255,.09);
    box-shadow: 0 18px 42px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.04);
}

.ec-grid-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}

.ec-field {
    margin-bottom: 20px;
}

.ec-field label {
    display: block;
    margin-bottom: 7px;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.ec-field-note {
    margin-bottom: 9px;
    color: #8fa0bd;
    font-size: 12px;
    line-height: 1.45;
}

.ec-field input[type="text"],
.ec-field textarea,
.ec-send-card input.textbox,
.ec-send-card textarea#to,
.ec-send-card textarea#bcc {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255,255,255,.11) !important;
    background: #040a12 !important;
    color: #edf4ff !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    outline: none !important;
    min-height: 48px !important;
}

.ec-field input[type="text"]:focus,
.ec-field textarea:focus,
.ec-send-card input.textbox:focus,
.ec-send-card textarea#to:focus,
.ec-send-card textarea#bcc:focus {
    border-color: rgba(255,42,76,.68) !important;
    box-shadow: 0 0 0 3px rgba(255,42,76,.10) !important;
}

.ec-bcc-actions {
    margin: -4px 0 18px;
}

.ec-bcc-toggle {
    border: 0;
    border-radius: 10px;
    padding: 9px 13px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.09);
    color: #dce6f7;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.ec-bcc-toggle:hover {
    border-color: rgba(255,36,77,.35);
    color: #fff;
}

.ec-icons,
.ec-send-card tr,
.ec-send-card td {
    border: 0 !important;
}

.ec-message-field {
    margin-top: 8px;
}

.ec-editor-clean {
    display: block;
    width: 100%;
}

/* SCEditor - kontener */
.ec-editor-clean .sceditor-container {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,.11) !important;
    background: #050b14 !important;
    box-shadow: 0 18px 36px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.04) !important;
}

/* SCEditor - pasek narzędzi */
.ec-editor-clean .sceditor-toolbar {
    background: #0b1422 !important;
    border-bottom: 1px solid rgba(255,255,255,.10) !important;
    padding: 8px !important;
}

/* SCEditor - grupy przycisków */
.ec-editor-clean .sceditor-group {
    background: rgba(255,255,255,.04) !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 8px !important;
    margin: 2px 4px 2px 0 !important;
}

/* SCEditor - edytor */
.ec-editor-clean iframe,
.ec-editor-clean textarea#message {
    width: 100% !important;
    min-height: 390px !important;
    background: #f7f7f7 !important;
}

/* textarea zanim JS odpali edytor */
.ec-editor-clean > textarea#message {
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 390px !important;
    padding: 16px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255,255,255,.11) !important;
    background: #040a12 !important;
    color: #edf4ff !important;
}

.ec-options {
    display: grid;
    gap: 9px;
    margin-top: 20px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.07);
    color: #dce6f7;
    font-size: 13px;
}

.ec-options label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ec-send-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

.ec-send-submit,
.ec-send-secondary {
    border: 0 !important;
    border-radius: 13px !important;
    padding: 14px 22px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .4px !important;
    cursor: pointer !important;
}

.ec-send-submit {
    background: linear-gradient(135deg, #ff2b59, #bc102f 55%, #7d1025) !important;
    box-shadow: 0 16px 32px rgba(188,16,47,.28), inset 0 1px 0 rgba(255,255,255,.15) !important;
}

.ec-send-secondary {
    background: rgba(255,255,255,.06) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    color: #dce6f7 !important;
}

.ec-send-submit:hover,
.ec-send-secondary:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

/* ukrycie starych śmieci MyBB w compose */
.ec-send-form table,
.ec-send-form .tborder,
.ec-send-form .trow1,
.ec-send-form .trow2,
.ec-send-form .thead {
    background: transparent !important;
    border: 0 !important;
}

@media (max-width: 900px) {
    .ec-send-head {
        flex-direction: column;
        padding: 20px 16px 18px;
    }

    .ec-send-head h1 {
        font-size: 25px;
    }

    .ec-send-body {
        padding: 18px 10px 24px;
    }

    .ec-send-card {
        padding: 16px;
    }

    .ec-grid-top {
        grid-template-columns: 1fr;
    }

    .ec-send-actions {
        flex-direction: column;
    }

    .ec-send-submit,
    .ec-send-secondary {
        width: 100%;
    }
}
/* === PROFIL: przycisk wiadomości premium === */

.memberprofile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.memberprofile-top-items {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
}

.memberproifile-top-item {
    display: flex;
    align-items: center;
}

.memberproifile-top-item:first-child {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    min-width: 0;
}

.memberproifile-top-item:last-child {
    margin-left: auto;
    align-self: center;
}

.memberprofil-nickline {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.memberprofil-nickname {
    font-size: 22px;
    font-weight: 900;
    line-height: 1.1;
}

.memberprofil-rank-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.memberprofil-rang {
    font-size: 14px;
    font-weight: 800;
    color: #f3c64f;
}

/* sam przycisk PW - lekka wersja */
.memberprofile-sendpm-elitacs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 38px;
    padding: 0 14px;

    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 43, 89, 0.34);

    color: #ffffff !important;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .35px;
    text-decoration: none !important;
    white-space: nowrap;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 8px 20px rgba(0,0,0,.18);

    transition: .18s ease;
}

.memberprofile-sendpm-elitacs i {
    font-size: 13px;
    color: #ff3b5f !important;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255,43,89,.35);
}

.memberprofile-sendpm-elitacs:hover {
    color: #fff !important;
    text-decoration: none !important;

    background: rgba(255, 43, 89, 0.10);
    border-color: rgba(255, 43, 89, 0.55);

    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.10),
        0 12px 24px rgba(0,0,0,.24),
        0 0 18px rgba(255,43,89,.16);
}

.memberprofile-sendpm-elitacs:active {
    transform: translateY(0);
}

/* ELITACS - naprawa mikroskopijnej czcionki w edytorze odpowiedzi */
.sceditor-container,
.sceditor-container iframe,
.sceditor-container textarea,
.sceditor-container body {
    font-size: 15px !important;
    line-height: 1.5 !important;
}

.sceditor-container textarea {
    color: #111 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}
.elitacs-tests-premium {
    margin-bottom: 14px;
    border-color: rgba(255, 80, 35, 0.55) !important;
    background: linear-gradient(
        90deg,
        rgba(50, 12, 6, 0.78),
        rgba(15, 12, 12, 0.88),
        rgba(50, 12, 6, 0.78)
    ) !important;
    box-shadow: 0 0 22px rgba(255, 35, 20, 0.16);
}

.elitacs-tests-premium .item-nameserver,
.elitacs-tests-premium .elitacs-server-label,
.elitacs-tests-premium .elitacs-server-count {
    color: #ffffff !important;
}

.elitacs-tests-premium .item-server-subtitle,
.elitacs-tests-premium .elitacs-server-live-bottom,
.elitacs-tests-premium .elitacs-tests-info {
    color: #ffd5cc !important;
}

.elitacs-tests-button {
    background: linear-gradient(135deg, #e53328, #8f1111) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 100, 80, 0.45) !important;
    box-shadow: 0 0 14px rgba(255, 35, 25, 0.22);
}

.elitacs-tests-button:hover {
    background: linear-gradient(135deg, #ff4035, #b51515) !important;
    box-shadow: 0 0 20px rgba(255, 45, 35, 0.38);
}
.elitacs-progress-wrap {
    margin-top: 10px;
    width: 100%;
    max-width: 230px;
}

.elitacs-progress-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 800;
    color: rgba(255,255,255,0.78);
    text-transform: uppercase;
}

.elitacs-progress-top strong {
    color: #ff4a3d;
    font-size: 12px;
}

.elitacs-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.10);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 4px rgba(0,0,0,0.5);
}

.elitacs-progress-fill {
    width: 0%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #8f1111, #ff2d2d, #ff8a3d);
    box-shadow: 0 0 14px rgba(255, 45, 35, 0.45);
    transition: width 0.8s ease;
}

.elitacs-gamefuture-countdown {
    min-width: 150px;
    min-height: 86px;
    padding: 12px 18px;
    border-radius: 18px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    color: #8f0000;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
    text-align: center;
    white-space: nowrap;
}

.elitacs-countdown-number {
    font-size: 34px;
    line-height: 1;
    font-weight: 950;
    color: #8f0000;
}

.elitacs-countdown-text {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: rgba(143, 0, 0, 0.82);
}

@media (max-width: 720px) {
    .elitacs-gamefuture-countdown {
        width: 100%;
        min-height: 72px;
    }

    .elitacs-countdown-number {
        font-size: 30px;
    }
}