:root {
  --gtx-bg: #080a10;
  --gtx-bg-soft: #0d1019;
  --gtx-surface: rgba(17, 21, 33, 0.92);
  --gtx-surface-2: rgba(24, 29, 44, 0.95);
  --gtx-border: rgba(154, 173, 216, 0.16);
  --gtx-border-strong: rgba(87, 223, 255, 0.34);
  --gtx-text: #f4f6fb;
  --gtx-muted: #9aa4ba;
  --gtx-cyan: #58ddff;
  --gtx-blue: #5f8cff;
  --gtx-purple: #a45cff;
  --gtx-pink: #ef4ca6;
  --gtx-yellow: #ffd65a;
  --gtx-green: #55e39a;
  --gtx-danger: #ff6a7a;
  --gtx-radius: 18px;
  --gtx-radius-sm: 12px;
  --gtx-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --gtx-container: 1540px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.gtx-site {
  min-height: 100vh;
  margin: 0;
  color: var(--gtx-text);
  background:
    radial-gradient(circle at 12% 0%, rgba(67, 198, 255, 0.10), transparent 30rem),
    radial-gradient(circle at 88% 8%, rgba(184, 69, 255, 0.10), transparent 32rem),
    linear-gradient(180deg, #090b12 0%, #07090e 100%);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.gtx-site::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.container-xxl { max-width: var(--gtx-container); }

a { color: var(--gtx-cyan); text-decoration: none; }
a:hover { color: #a8efff; }

img { max-width: 100%; height: auto; }

.gtx-skip-link {
  position: fixed;
  left: 1rem;
  top: -100px;
  z-index: 9999;
  padding: .75rem 1rem;
  border-radius: 8px;
  color: #05070b;
  background: var(--gtx-yellow);
  font-weight: 800;
}
.gtx-skip-link:focus { top: 1rem; }

/* Header */
.gtx-header {
  position: relative;
  z-index: 1050;
  overflow: visible;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(105deg, #0a0d15 0%, #151126 52%, #241023 100%);
}
.gtx-header__glow {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gtx-cyan), var(--gtx-purple), var(--gtx-pink), var(--gtx-yellow));
  box-shadow: 0 0 30px rgba(164, 92, 255, .6);
}
.gtx-header__skyline {
  position: absolute;
  inset: 0;
  opacity: .28;
  /* Zachowujemy proporcje panoramy. Jej wysokość dopasowuje się do nagłówka,
     szerokość pozostaje automatyczna, a grafika powtarza się poziomo na
     monitorach ultrawide zamiast rozciągać budynki. */
  background-image: url("images/skyline.svg");
  background-position: left bottom;
  background-size: auto 100%;
  background-repeat: repeat-x;
}
.gtx-header__inner {
  position: relative;
  min-height: 126px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}
.gtx-brand { display: inline-flex; align-items: center; }
.gtx-brand img { width: min(318px, 28vw); min-width: 230px; }
.gtx-header__copy { display: flex; flex-direction: column; gap: .25rem; }
.gtx-header__copy strong { color: var(--gtx-yellow); font-size: .82rem; letter-spacing: .14em; }
.gtx-header__copy span { color: #b5bdd0; font-size: .93rem; }
.gtx-account {
  position: relative;
  z-index: 20;
  justify-self: end;
  min-width: 0;
  overflow: visible;
  color: var(--gtx-muted);
}

/* e107 {SIGNIN}: konto użytkownika i rozwijane menu */
.gtx-account > .navbar-nav,
.gtx-account .navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gtx-account .dropdown,
.gtx-account .dropdown-avatar {
  position: relative;
}

.gtx-account .dropdown-avatar > .nav-link,
.gtx-account .navbar-nav > .dropdown > .nav-link {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: .42rem .72rem !important;
  border: 1px solid rgba(154, 173, 216, .22);
  border-radius: 13px;
  color: #eef2ff !important;
  background: rgba(10, 13, 22, .72);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  font-size: .84rem;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.gtx-account .dropdown-avatar > .nav-link:hover,
.gtx-account .dropdown-avatar > .nav-link:focus,
.gtx-account .dropdown-avatar > .nav-link.show,
.gtx-account .dropdown-avatar > .nav-link[aria-expanded="true"],
.gtx-account .navbar-nav > .dropdown > .nav-link:hover,
.gtx-account .navbar-nav > .dropdown > .nav-link:focus,
.gtx-account .navbar-nav > .dropdown > .nav-link.show,
.gtx-account .navbar-nav > .dropdown > .nav-link[aria-expanded="true"] {
  border-color: rgba(88, 221, 255, .52);
  color: #fff !important;
  background: rgba(19, 24, 39, .96);
  box-shadow: 0 0 0 3px rgba(88, 221, 255, .08), 0 14px 34px rgba(0, 0, 0, .34);
}

.gtx-account .dropdown-avatar > .nav-link img,
.gtx-account .navbar-nav > .dropdown > .nav-link img {
  width: 30px !important;
  height: 30px !important;
  flex: 0 0 30px;
  border: 1px solid rgba(88, 221, 255, .38);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px rgba(164, 92, 255, .10);
}

.gtx-account .dropdown-toggle::after {
  margin-left: .1rem;
  color: var(--gtx-cyan);
  border-top-color: currentColor;
  opacity: .9;
}

.gtx-account .dropdown-menu {
  z-index: 1300;
  min-width: 255px;
  max-width: min(340px, calc(100vw - 2rem));
  max-height: min(70vh, 520px);
  margin-top: .65rem !important;
  padding: .55rem;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(88, 221, 255, .24);
  border-radius: 14px;
  color: #dce2ef;
  background: rgba(15, 19, 31, .98) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .52), 0 0 0 1px rgba(164, 92, 255, .08);
  backdrop-filter: blur(18px);
}

.gtx-account .dropdown-menu-end {
  right: 0;
  left: auto;
}

.gtx-account .dropdown-menu > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gtx-account .dropdown-item,
.gtx-account .dropdown-menu > li > a {
  display: flex;
  align-items: center;
  gap: .68rem;
  min-height: 42px;
  padding: .62rem .72rem;
  border: 0;
  border-radius: 9px;
  color: #dce2ef !important;
  background: transparent !important;
  font-size: .88rem;
  font-weight: 650;
  line-height: 1.25;
  white-space: normal;
}

.gtx-account .dropdown-item .fa,
.gtx-account .dropdown-menu > li > a .fa {
  width: 1.15rem;
  flex: 0 0 1.15rem;
  color: var(--gtx-cyan);
  text-align: center;
}

.gtx-account .dropdown-item:hover,
.gtx-account .dropdown-item:focus,
.gtx-account .dropdown-item.active,
.gtx-account .dropdown-menu > li > a:hover,
.gtx-account .dropdown-menu > li > a:focus {
  color: #fff !important;
  background: linear-gradient(90deg, rgba(88, 221, 255, .13), rgba(164, 92, 255, .12)) !important;
}

.gtx-account .dropdown-menu .divider,
.gtx-account .dropdown-menu .dropdown-divider {
  height: 1px;
  margin: .42rem .25rem;
  overflow: hidden;
  border: 0;
  background: rgba(154, 173, 216, .16);
}

.gtx-account .dropdown-menu > li:last-child > .dropdown-item,
.gtx-account .dropdown-menu > li:last-child > a {
  color: #ff9aa8 !important;
}

/* Formularz logowania renderowany przez ten sam shortcode {SIGNIN}. */
.gtx-account .dropdown-menu.col-sm-12 {
  padding: .9rem !important;
  padding-bottom: .9rem !important;
}

.gtx-account .dropdown-menu p {
  margin: 0 0 .65rem;
}

.gtx-account .dropdown-menu .form-control,
.gtx-account .dropdown-menu input[type="text"],
.gtx-account .dropdown-menu input[type="email"],
.gtx-account .dropdown-menu input[type="password"] {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(154, 173, 216, .22);
  border-radius: 9px;
  color: #f4f6fb;
  background: #0b0e17;
}

.gtx-account .dropdown-menu .form-control:focus,
.gtx-account .dropdown-menu input:focus {
  border-color: rgba(88, 221, 255, .58);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(88, 221, 255, .10);
}

.gtx-account .dropdown-menu .btn {
  border-radius: 9px;
}

/* Navigation */
.gtx-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 60px;
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(8, 10, 16, .92);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 28px rgba(0,0,0,.24);
}
.gtx-nav .container-xxl { min-height: 60px; }
.gtx-nav__mobile-brand { display: none; color: #fff; font-weight: 900; letter-spacing: .05em; }
.gtx-nav__mobile-brand span { color: var(--gtx-yellow); }
.gtx-nav .navbar-nav { gap: .15rem; }
.gtx-nav .nav-link,
.gtx-nav .navbar-nav > li > a {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 0 1.05rem !important;
  border-bottom: 2px solid transparent;
  color: #dce2ef !important;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .055em;
  text-transform: uppercase;
  transition: .2s ease;
}
.gtx-nav .nav-link:hover,
.gtx-nav .nav-link.active,
.gtx-nav .navbar-nav > li.active > a,
.gtx-nav .navbar-nav > li > a:hover {
  color: #fff !important;
  border-bottom-color: var(--gtx-cyan);
  background: rgba(88, 221, 255, .07);
}
.gtx-nav .dropdown-menu {
  padding: .55rem;
  border: 1px solid var(--gtx-border);
  border-radius: 14px;
  background: #111522;
  box-shadow: var(--gtx-shadow);
}
.gtx-nav .dropdown-item { border-radius: 9px; color: #dce2ef; }
.gtx-nav .dropdown-item:hover { color: #fff; background: rgba(88,221,255,.12); }

/* Hero */
.gtx-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--gtx-border);
  background: linear-gradient(100deg, #080b12 0%, #0b0e18 46%, #2f153d 100%);
}

/* Linie geometryczne są osobną warstwą nad gradientem. Wcześniej znajdowały
   się pod ciemnym gradientem i ich realna widoczność spadała niemal do zera. */
.gtx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .68;
  background: url("images/hero-lines.svg") center / 100% 100% no-repeat;
  filter: brightness(1.35) saturate(1.2);
}

.gtx-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 34rem;
  height: 34rem;
  right: -9rem;
  top: -15rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,76,166,.22), transparent 64%);
  filter: blur(2px);
  pointer-events: none;
}
.gtx-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 3rem;
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
}
.gtx-hero__content { max-width: 850px; }
.gtx-kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  color: var(--gtx-yellow);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .2em;
}
.gtx-kicker::before { content: ""; width: 36px; height: 2px; background: var(--gtx-cyan); }
.gtx-hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.25rem, 4vw, 4.6rem);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.gtx-hero p { max-width: 760px; margin: 1.35rem 0 1.8rem; color: #b9c1d2; font-size: clamp(1rem, 1.3vw, 1.25rem); }
.gtx-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.gtx-hero__badge {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(88,221,255,.11), rgba(164,92,255,.12));
  box-shadow: inset 0 0 80px rgba(255,255,255,.03), 0 30px 90px rgba(0,0,0,.35);
  transform: rotate(3deg);
}
.gtx-hero__badge::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 28px;
}
.gtx-hero__badge span { font-size: 5rem; line-height: 1; font-weight: 1000; letter-spacing: -.09em; }
.gtx-hero__badge strong {
  position: absolute;
  right: 2.2rem;
  bottom: 2rem;
  padding: .32rem .55rem;
  border-radius: 7px;
  color: #080a10;
  background: var(--gtx-yellow);
  font-size: 1rem;
  letter-spacing: .08em;
}

/* Buttons */
.gtx-btn,
.gtx-site .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .72rem 1.15rem;
  border: 1px solid var(--gtx-border);
  border-radius: 11px;
  font-weight: 850;
  line-height: 1;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.gtx-btn:hover,
.gtx-site .btn:hover { transform: translateY(-2px); }
.gtx-btn--primary,
.gtx-site .btn-primary {
  color: #05080d !important;
  border-color: transparent;
  background: linear-gradient(135deg, var(--gtx-cyan), #7d9cff 55%, #b36cff);
  box-shadow: 0 12px 30px rgba(88,221,255,.18);
}
.gtx-btn--ghost { color: #fff; background: rgba(255,255,255,.035); }
.gtx-btn--ghost:hover { border-color: var(--gtx-border-strong); background: rgba(88,221,255,.08); }
.gtx-btn--small { min-height: 40px; padding: .62rem .9rem; font-size: .88rem; }

/* Layout */
.gtx-page { padding-top: 2rem; padding-bottom: 3.6rem; }
.gtx-home-grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 300px;
  align-items: start;
  gap: 1.35rem;
}
.gtx-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 1.5rem;
}
.gtx-full-layout { max-width: var(--gtx-container); }
.gtx-main { min-width: 0; }
.gtx-sidebar { min-width: 0; }
.gtx-home-bottom { padding-bottom: 3rem; }

.gtx-page-heading {
  margin-bottom: 1.25rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--gtx-border);
  border-radius: var(--gtx-radius);
  background: linear-gradient(135deg, rgba(17,21,33,.96), rgba(20,17,35,.92));
}
.gtx-page-heading h1 { margin: 0; font-size: clamp(1.6rem, 2.5vw, 2.5rem); font-weight: 950; letter-spacing: -.03em; }
.gtx-page-heading .breadcrumb { margin: .55rem 0 0; }

/* Panels and e107 tablestyle */
.gtx-panel,
.gtx-welcome,
.gtx-auth-card,
.gtx-main-content > .card,
.gtx-main-content .news-item,
.gtx-main-content .news-list-item {
  margin-bottom: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--gtx-border);
  border-radius: var(--gtx-radius);
  background: linear-gradient(160deg, rgba(18,22,34,.96), rgba(12,15,24,.95));
  box-shadow: 0 18px 52px rgba(0,0,0,.22);
}
.gtx-panel__header {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 49px;
  padding: .85rem 1rem .8rem 1.15rem;
  border-bottom: 1px solid var(--gtx-border);
  background: linear-gradient(90deg, rgba(88,221,255,.10), rgba(164,92,255,.09));
}
.gtx-panel__header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 11px;
  width: 3px;
  border-radius: 4px;
  background: linear-gradient(var(--gtx-cyan), var(--gtx-purple));
}
.gtx-panel__header h2 { margin: 0; color: #f4f7ff; font-size: .85rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.gtx-panel__body { padding: 1rem; color: #c7cede; }
.gtx-panel__footer { padding: .8rem 1rem; border-top: 1px solid var(--gtx-border); color: var(--gtx-muted); background: rgba(0,0,0,.13); }
.gtx-panel__body > :last-child { margin-bottom: 0; }

.gtx-welcome { padding: 1.4rem 1.5rem; border-color: rgba(88,221,255,.24); background: linear-gradient(125deg, rgba(23,35,49,.95), rgba(36,20,48,.92)); }
.gtx-welcome__title { margin: 0 0 .5rem; font-size: 1.5rem; font-weight: 900; }
.gtx-welcome__body { color: #c8d0e1; }

.gtx-main-content { min-width: 0; }
.gtx-main-content > :first-child { margin-top: 0; }
.gtx-main-content h1,
.gtx-main-content h2,
.gtx-main-content h3 { color: #f5f7fc; font-weight: 900; letter-spacing: -.025em; }
.gtx-main-content .card { color: var(--gtx-text); background: var(--gtx-surface); }
.gtx-main-content .card-header,
.gtx-main-content .card-footer { border-color: var(--gtx-border); background: rgba(255,255,255,.025); }

/* Quick links */
.gtx-quick-links { display: grid; gap: .6rem; }
.gtx-quick-links a {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  align-items: center;
  gap: .75rem;
  padding: .75rem;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #eef2fb;
  background: rgba(255,255,255,.025);
  transition: .2s ease;
}
.gtx-quick-links a:hover { border-color: var(--gtx-border-strong); background: rgba(88,221,255,.07); transform: translateX(3px); }
.gtx-quick-links i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--gtx-cyan); background: rgba(88,221,255,.09); }
.gtx-quick-links span { display: flex; flex-direction: column; font-weight: 800; }
.gtx-quick-links small { margin-top: .05rem; color: var(--gtx-muted); font-size: .73rem; font-weight: 500; }

/* TeamSpeak */
.gtx-ts-panel { border-color: rgba(85,227,154,.24); }
.gtx-status { display: flex; align-items: center; gap: .45rem; margin-bottom: .55rem; color: var(--gtx-green); font-size: .76rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.gtx-status span { width: 9px; height: 9px; border-radius: 50%; background: var(--gtx-green); box-shadow: 0 0 12px var(--gtx-green); }
.gtx-ts-address { display: block; color: #fff; font-size: 1.17rem; word-break: break-word; }
.gtx-ts-panel p { color: var(--gtx-muted); font-size: .9rem; }

/* Core lists and menu content */
.gtx-panel ul:not(.dropdown-menu),
.gtx-panel ol { margin: 0; padding-left: 1.15rem; }
.gtx-panel li + li { margin-top: .4rem; }
.gtx-panel .list-group { --bs-list-group-bg: transparent; --bs-list-group-color: #dce2ef; --bs-list-group-border-color: var(--gtx-border); }
.gtx-panel .list-group-item { padding: .75rem .9rem; color: #dce2ef; background: rgba(255,255,255,.018); border-color: var(--gtx-border); }
.gtx-panel .list-group-item:hover { background: rgba(88,221,255,.06); }
.gtx-panel table { margin-bottom: 0; }

/* Forms */
.gtx-site .form-control,
.gtx-site .form-select,
.gtx-site textarea,
.gtx-site input[type="text"],
.gtx-site input[type="email"],
.gtx-site input[type="password"],
.gtx-site input[type="search"] {
  color: #f0f3fb;
  border-color: rgba(154,173,216,.22);
  border-radius: 10px;
  background: #0d111b;
}
.gtx-site .form-control:focus,
.gtx-site .form-select:focus,
.gtx-site textarea:focus,
.gtx-site input:focus {
  color: #fff;
  border-color: var(--gtx-cyan);
  background: #0c111a;
  box-shadow: 0 0 0 .2rem rgba(88,221,255,.12);
}
.gtx-site .form-control::placeholder { color: #6f788d; }
.gtx-site label { color: #dce2ef; font-weight: 700; }
.gtx-site .input-group-text { color: #c9d1e2; border-color: var(--gtx-border); background: #151a27; }

/* Tables */
.gtx-site .table,
.gtx-site table { color: #dce2ef; border-color: var(--gtx-border); }
.gtx-site .table > :not(caption) > * > * { color: inherit; border-bottom-color: var(--gtx-border); background: transparent; }
.gtx-site .table-striped > tbody > tr:nth-of-type(odd) > * { background: rgba(255,255,255,.018); }
.gtx-site th { color: #fff; background: rgba(88,221,255,.07); }

/* News / articles - generic e107 selectors */
.news-item,
.news-list-item,
.news-list > article,
.news-list > div {
  border-color: var(--gtx-border) !important;
  background-color: var(--gtx-surface) !important;
}
.news-title a,
.news-list-title a { color: #f6f8fd; font-weight: 900; }
.news-title a:hover,
.news-list-title a:hover { color: var(--gtx-cyan); }
.news-meta,
.news-info,
.news-author,
.news-date { color: var(--gtx-muted) !important; }
.news-image img,
.news-thumbnail img { border-radius: 13px; }

/* Forum */
.forum-viewtopic,
.forum-post,
.forum-thread,
.forum-category,
.forumheader,
.forumheader2,
.forumheader3 {
  border-color: var(--gtx-border) !important;
  color: #dce2ef !important;
  background: var(--gtx-surface) !important;
}
.forumheader,
.forumheader2 { color: #fff !important; background: linear-gradient(90deg, rgba(88,221,255,.09), rgba(164,92,255,.08)) !important; }
.forum-post + .forum-post { margin-top: 1rem; }

/* Download */
.download-list,
.download-item,
.download-view { color: #dce2ef; }
.download-item { padding: 1rem; border: 1px solid var(--gtx-border); border-radius: 14px; background: var(--gtx-surface); }

/* Alerts, pagination, breadcrumbs */
.gtx-site .alert { border-radius: 12px; border-color: var(--gtx-border); }
.gtx-site .breadcrumb { --bs-breadcrumb-divider-color: #5f687d; --bs-breadcrumb-item-active-color: #8d97ac; }
.gtx-site .breadcrumb a { color: var(--gtx-cyan); }
.gtx-site .pagination { --bs-pagination-bg: #121724; --bs-pagination-border-color: var(--gtx-border); --bs-pagination-color: #dce2ef; --bs-pagination-hover-bg: rgba(88,221,255,.09); --bs-pagination-hover-color: #fff; --bs-pagination-active-bg: #4f94b6; --bs-pagination-active-border-color: var(--gtx-cyan); }

/* Authentication */
.gtx-splash { max-width: 740px; min-height: 62vh; display: grid; align-items: center; padding-top: 3rem; padding-bottom: 4rem; }
.gtx-auth-card { width: 100%; padding: 1.5rem; }
.gtx-auth-card__title { margin: 0 0 1rem; font-size: 1.75rem; font-weight: 950; }
.gtx-auth-card__footer { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--gtx-border); }

/* Footer */
.gtx-footer {
  border-top: 1px solid var(--gtx-border);
  background: linear-gradient(180deg, #0a0d14, #07090e);
}
.gtx-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}
.gtx-footer__brand p { max-width: 390px; color: var(--gtx-muted); }
.gtx-footer h2 { margin: .35rem 0 .75rem; color: #fff; font-size: .85rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.gtx-footer__grid > div:not(.gtx-footer__brand) > a { display: block; margin: .45rem 0; color: #aeb7ca; }
.gtx-footer__grid > div:not(.gtx-footer__brand) > a:hover { color: var(--gtx-cyan); }
.gtx-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid var(--gtx-border);
  color: #7f899d;
  font-size: .78rem;
}
.gtx-footer__bottom ul { display: flex; gap: 1rem; margin: 0; padding: 0; list-style: none; }

/* Responsive */
@media (max-width: 1250px) {
  .gtx-home-grid { grid-template-columns: 235px minmax(0,1fr) 265px; }
  .gtx-hero__inner { grid-template-columns: minmax(0,1fr) 280px; }
}

@media (max-width: 991.98px) {
  .gtx-header__inner { grid-template-columns: 1fr auto; min-height: 96px; }
  .gtx-header__copy { display: none; }
  .gtx-account { font-size: .88rem; }
  .gtx-nav { padding: .55rem 0; }
  .gtx-nav .container-xxl { min-height: 44px; }
  .gtx-nav__mobile-brand { display: inline-flex; }
  .gtx-nav .navbar-collapse { padding-top: .7rem; }
  .gtx-nav .nav-link,
  .gtx-nav .navbar-nav > li > a { min-height: 44px; padding: .65rem .8rem !important; border-bottom: 0; border-left: 2px solid transparent; }
  .gtx-nav .nav-link:hover,
  .gtx-nav .nav-link.active { border-left-color: var(--gtx-cyan); }
  .gtx-hero__inner { min-height: auto; grid-template-columns: 1fr; }
  .gtx-hero__badge { display: none; }
  .gtx-home-grid,
  .gtx-content-grid { grid-template-columns: 1fr; }
  .gtx-main { order: 1; }
  .gtx-sidebar--left { order: 2; }
  .gtx-sidebar--right { order: 3; }
  .gtx-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .gtx-footer__menus { display: none; }
}

@media (max-width: 767.98px) {
  .gtx-header__inner { gap: .8rem; padding-left: 1rem; padding-right: 1rem; }
  .gtx-brand img { width: 225px; min-width: 0; }
  .gtx-account { max-width: none; overflow: visible; white-space: normal; }
  .gtx-account .dropdown-avatar > .nav-link,
  .gtx-account .navbar-nav > .dropdown > .nav-link { max-width: 150px; }
  .gtx-hero__inner { padding: 2.3rem 1rem; }
  .gtx-hero h1 { font-size: 2.45rem; }
  .gtx-page { padding: 1.2rem 1rem 2.5rem; }
  .gtx-footer__grid { grid-template-columns: 1fr 1fr; padding-left: 1rem; padding-right: 1rem; }
  .gtx-footer__brand { grid-column: 1 / -1; }
  .gtx-footer__bottom { flex-direction: column; padding-left: 1rem; padding-right: 1rem; }
}

@media (max-width: 480px) {
  .gtx-header__inner { grid-template-columns: 1fr; min-height: 88px; }
  .gtx-account { display: none; }
  .gtx-hero h1 { font-size: 2.05rem; }
  .gtx-hero__actions { display: grid; }
  .gtx-footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
  .gtx-hero::before {
    opacity: .54;
    background-size: auto 100%;
  }
}

/* ========================================================================
   Forum 2.1 — stały układ 3 kolumn, Chatbox, regulamin i wyższy kontrast
   ======================================================================== */

.gtx-hero--forum .gtx-hero__inner {
  min-height: 330px;
}

.gtx-forum-grid {
  padding-top: 1.55rem;
}

.gtx-forum-shell {
  min-width: 0;
}

.gtx-forum-content {
  min-width: 0;
  color: #e8edf8;
}

/* Pasek regulaminu widoczny nad całym forum. */
.gtx-forum-rules-bar {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1rem;
  padding: .8rem .9rem;
  border: 1px solid rgba(255, 214, 90, .28);
  border-radius: 14px;
  color: #e9edf7;
  background: linear-gradient(110deg, rgba(255, 214, 90, .085), rgba(164, 92, 255, .075));
  box-shadow: 0 14px 38px rgba(0, 0, 0, .22);
}

.gtx-forum-rules-bar__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #121018;
  background: var(--gtx-yellow);
  box-shadow: 0 0 24px rgba(255, 214, 90, .20);
}

.gtx-forum-rules-bar__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.gtx-forum-rules-bar__copy strong {
  color: #fff5c7;
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.gtx-forum-rules-bar__copy span {
  color: #cbd3e4;
  font-size: .82rem;
  line-height: 1.45;
}

/* Chatbox jest menu e107 przypisanym w układzie forum do obszaru 4. */
.gtx-forum-chatbox {
  margin-bottom: 1rem;
}

.gtx-forum-chatbox:empty {
  display: none;
}

.gtx-forum-chatbox .gtx-panel {
  margin-bottom: 0;
  border-color: rgba(88, 221, 255, .28);
}

.gtx-forum-chatbox .gtx-panel__body {
  max-height: 360px;
  overflow-y: auto;
}

/* Komunikat wyświetlany tylko przy tworzeniu nowego tematu. */
.gtx-forum-new-topic-rules {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(88, 221, 255, .30);
  border-left: 4px solid var(--gtx-cyan);
  border-radius: 13px;
  color: #dce5f4;
  background: linear-gradient(125deg, rgba(17, 31, 45, .97), rgba(30, 19, 45, .94));
  box-shadow: 0 16px 40px rgba(0, 0, 0, .24);
}

.gtx-forum-new-topic-rules__title {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .55rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
}

.gtx-forum-new-topic-rules__title i {
  color: var(--gtx-cyan);
}

.gtx-forum-new-topic-rules ul {
  margin: .4rem 0 .6rem;
  padding-left: 1.25rem;
}

.gtx-forum-new-topic-rules li + li {
  margin-top: .28rem;
}

.gtx-forum-new-topic-rules p {
  margin: 0;
  color: #bac6da;
  font-size: .88rem;
}

/* Forum e107: silniejszy kontrast i spójne ciemne powierzchnie. */
.gtx-forum-shell,
.gtx-forum-shell table,
.gtx-forum-shell .table,
.gtx-forum-shell form,
.gtx-forum-shell fieldset {
  color: #e8edf8 !important;
}

.gtx-forum-shell table,
.gtx-forum-shell .table {
  width: 100%;
  margin-bottom: 1rem;
  border-color: rgba(154, 173, 216, .24) !important;
  background: rgba(9, 12, 20, .72) !important;
}

.gtx-forum-shell table > :not(caption) > * > *,
.gtx-forum-shell .table > :not(caption) > * > * {
  padding: .78rem .72rem;
  border-color: rgba(154, 173, 216, .20) !important;
  color: #dce4f3 !important;
  background-color: rgba(15, 19, 29, .86) !important;
  opacity: 1 !important;
}

.gtx-forum-shell table tbody tr:nth-child(even) > *,
.gtx-forum-shell .table-striped > tbody > tr:nth-of-type(even) > * {
  background-color: rgba(19, 24, 37, .92) !important;
}

.gtx-forum-shell table tbody tr:hover > * {
  background-color: rgba(88, 221, 255, .075) !important;
}

.gtx-forum-shell th,
.gtx-forum-shell .forumheader,
.gtx-forum-shell .forumheader2,
.gtx-forum-shell .forumheader3,
.gtx-forum-shell .forumheader4,
.gtx-forum-shell .forumheader5 {
  border-color: rgba(154, 173, 216, .25) !important;
  color: #f8faff !important;
  background: linear-gradient(100deg, rgba(31, 42, 59, .98), rgba(34, 25, 51, .98)) !important;
  opacity: 1 !important;
}

.gtx-forum-shell th,
.gtx-forum-shell .forumheader,
.gtx-forum-shell .forumheader2 {
  font-weight: 900 !important;
}

.gtx-forum-shell td,
.gtx-forum-shell p,
.gtx-forum-shell div,
.gtx-forum-shell span,
.gtx-forum-shell li,
.gtx-forum-shell label {
  opacity: 1;
}

.gtx-forum-shell a {
  color: #63ddff !important;
}

.gtx-forum-shell a:hover,
.gtx-forum-shell a:focus {
  color: #b8f3ff !important;
}

/* Opisy działów, metadane i tekst pomocniczy — wcześniej niemal czarne. */
.gtx-forum-shell .smalltext,
.gtx-forum-shell .small-text,
.gtx-forum-shell small,
.gtx-forum-shell .text-muted,
.gtx-forum-shell .text-secondary,
.gtx-forum-shell .forum-description,
.gtx-forum-shell .forumdesc,
.gtx-forum-shell .forum-description-text,
.gtx-forum-shell [class*="description"],
.gtx-forum-shell [class*="metadata"],
.gtx-forum-shell [class*="meta"] {
  color: #aebbd1 !important;
  opacity: 1 !important;
}

.gtx-forum-shell .badge,
.gtx-forum-shell .label,
.gtx-forum-shell [class*="badge"] {
  color: #fff !important;
  background-color: #596577 !important;
}

.gtx-forum-shell .btn,
.gtx-forum-shell button,
.gtx-forum-shell input[type="submit"] {
  color: #070a10 !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--gtx-cyan), #7894ff 58%, var(--gtx-purple)) !important;
  font-weight: 850;
}

.gtx-forum-shell .btn-secondary,
.gtx-forum-shell .btn-default {
  color: #eef3ff !important;
  border-color: rgba(154, 173, 216, .30) !important;
  background: #252c3b !important;
}

.gtx-forum-shell input,
.gtx-forum-shell select,
.gtx-forum-shell textarea,
.gtx-forum-shell .form-control,
.gtx-forum-shell .form-select {
  border-color: rgba(154, 173, 216, .32) !important;
  color: #f5f7fc !important;
  background-color: #0c111c !important;
}

.gtx-forum-shell input::placeholder,
.gtx-forum-shell textarea::placeholder {
  color: #8490a8 !important;
  opacity: 1;
}

.gtx-forum-shell .breadcrumb,
.gtx-forum-shell .breadcrumb-item,
.gtx-forum-shell .breadcrumb-item.active {
  color: #aeb9cd !important;
}

.gtx-forum-shell hr {
  border-color: rgba(154, 173, 216, .20);
  opacity: 1;
}

/* Karty postów i tematów. */
.gtx-forum-shell .forum-post,
.gtx-forum-shell .forum-viewtopic,
.gtx-forum-shell .forum-thread,
.gtx-forum-shell .forum-category,
.gtx-forum-shell .card,
.gtx-forum-shell .list-group-item {
  border-color: rgba(154, 173, 216, .22) !important;
  color: #e6ecf7 !important;
  background-color: rgba(17, 21, 33, .95) !important;
}

.gtx-forum-shell .card-header,
.gtx-forum-shell .card-footer {
  border-color: rgba(154, 173, 216, .20) !important;
  color: #f7f9ff !important;
  background-color: rgba(29, 35, 52, .95) !important;
}

@media (max-width: 991.98px) {
  .gtx-forum-rules-bar {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .gtx-forum-rules-bar > .gtx-btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .gtx-forum-grid .gtx-main {
    order: 1;
  }

  .gtx-forum-grid .gtx-sidebar--left {
    order: 2;
  }

  .gtx-forum-grid .gtx-sidebar--right {
    order: 3;
  }
}

@media (max-width: 575.98px) {
  .gtx-forum-rules-bar {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .gtx-forum-rules-bar__icon {
    display: none;
  }

  .gtx-forum-shell {
    overflow-x: auto;
  }

  .gtx-forum-shell table {
    min-width: 650px;
  }
}

/* ================================================================
   GTA Game Next 2.2.1 — fallback dla starego przypisania forum=full
   ================================================================ */
.gtx-full-fallback-grid {
  grid-template-columns: minmax(0, 1fr);
}

.gtx-full-fallback-grid .gtx-forum-only,
body.gtx-is-not-forum .gtx-forum-only {
  display: none !important;
}

body.gtx-is-forum .gtx-full-fallback-grid {
  grid-template-columns: minmax(205px, 250px) minmax(0, 1fr) minmax(205px, 250px);
}

body.gtx-is-forum .gtx-full-fallback-grid .gtx-forum-only,
body.gtx-is-forum .gtx-forum-only {
  display: block !important;
}

body.gtx-is-forum .gtx-full-fallback-grid > .gtx-main {
  min-width: 0;
}

/* Widoczny sygnał działania patcha w kodzie strony: body[data-gtx-version="2.2.1"] */
body.gtx-is-forum .gtx-forum-rules-bar,
body.gtx-is-forum .gtx-forum-new-topic-rules,
body.gtx-is-forum .gtx-forum-chatbox {
  position: relative;
  z-index: 1;
}

@media (max-width: 1199.98px) {
  body.gtx-is-forum .gtx-full-fallback-grid {
    grid-template-columns: minmax(190px, 230px) minmax(0, 1fr) minmax(190px, 230px);
  }
}

@media (max-width: 991.98px) {
  body.gtx-is-forum .gtx-full-fallback-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.gtx-is-forum .gtx-full-fallback-grid .gtx-main {
    order: 1;
  }

  body.gtx-is-forum .gtx-full-fallback-grid .gtx-sidebar--left {
    order: 2;
  }

  body.gtx-is-forum .gtx-full-fallback-grid .gtx-sidebar--right {
    order: 3;
  }
}

/* GTA Game Next 2.2.2 — fallback: ciemne menu opcji forum. */
.gtx-forum-shell .dropdown-menu {
  border: 1px solid #3a455d !important;
  color: #e9eef8 !important;
  background: #121824 !important;
  box-shadow: 0 18px 46px rgba(0,0,0,.48) !important;
}
.gtx-forum-shell .dropdown-menu .dropdown-item,
.gtx-forum-shell .dropdown-menu li > a {
  color: #dce7f7 !important;
  background: transparent !important;
}
.gtx-forum-shell .dropdown-menu .dropdown-item:hover,
.gtx-forum-shell .dropdown-menu .dropdown-item:focus,
.gtx-forum-shell .dropdown-menu li > a:hover,
.gtx-forum-shell .dropdown-menu li > a:focus {
  color: #fff !important;
  background: linear-gradient(90deg, rgba(88,221,255,.16), rgba(164,92,255,.18)) !important;
}


/* GTA Game Next 2.2.5 — cały kafelek menu użytkownika jest klikalny. */
.gtx-panel .login-menu-logged > .list-group-item {
  padding: 0 !important;
  overflow: hidden;
}

.gtx-panel .login-menu-logged > .list-group-item:hover {
  background: rgba(255,255,255,.018);
}

.gtx-panel .login-menu-logged > .list-group-item > a {
  display: flex !important;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: .78rem .9rem;
  box-sizing: border-box;
  color: var(--gtx-cyan) !important;
  text-decoration: none !important;
  background: transparent;
  transition: color .18s ease, background-color .18s ease, padding-left .18s ease;
}

.gtx-panel .login-menu-logged > .list-group-item > a:hover,
.gtx-panel .login-menu-logged > .list-group-item > a:focus-visible {
  color: #fff !important;
  background: linear-gradient(90deg, rgba(88,221,255,.11), rgba(164,92,255,.10));
  padding-left: 1rem;
  outline: none;
}

.gtx-panel .login-menu-logged > .list-group-item.active > a,
.gtx-panel .login-menu-logged > .list-group-item > a.active {
  color: #fff !important;
  background: linear-gradient(90deg, rgba(88,221,255,.16), rgba(164,92,255,.14));
}

/* ================================================================
   GTA Game Next 2.2.8 — poziome karty aktualności
   ================================================================ */
.gtx-news-feed,
.gtx-news-list {
  display: grid;
  gap: 1.25rem;
}

.gtx-news-card {
  overflow: hidden;
  color: var(--gtx-text);
  border: 1px solid rgba(154, 173, 216, .26);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(21, 27, 43, .98), rgba(34, 23, 48, .96));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
}

/* Karta na liście newsów: obraz po lewej, treść po prawej. */
.gtx-news-card--horizontal {
  display: grid;
  grid-template-columns: minmax(250px, 34%) minmax(0, 1fr);
  min-height: 270px;
}

.gtx-news-card--horizontal .gtx-news-card__media {
  display: block;
  min-height: 100%;
  overflow: hidden;
  background: #080b12;
  border-right: 1px solid rgba(154, 173, 216, .18);
}

.gtx-news-card--horizontal .gtx-news-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  object-position: center;
  transition: transform .28s ease, filter .28s ease;
}

.gtx-news-card--horizontal .gtx-news-card__media:hover img {
  transform: scale(1.025);
  filter: brightness(1.06);
}

.gtx-news-card__main {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.gtx-news-card__header {
  padding: 1.2rem 1.3rem .8rem;
}

.gtx-news-card__title {
  margin: 0 0 .7rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -.025em;
}

.gtx-news-card__title a {
  color: #f7f9ff;
  text-decoration: none;
}

.gtx-news-card__title a:hover {
  color: var(--gtx-cyan);
}

.gtx-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .65rem;
  color: #aeb9cf;
  font-size: .86rem;
}

.gtx-news-meta__item {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  min-height: 30px;
  padding: .28rem .58rem;
  color: #c7d2e5;
  border: 1px solid rgba(154, 173, 216, .16);
  border-radius: 999px;
  background: rgba(6, 10, 18, .42);
  text-decoration: none;
  white-space: nowrap;
}

.gtx-news-meta__item i {
  color: var(--gtx-cyan);
}

.gtx-news-meta__item a,
.gtx-news-meta__comments,
.gtx-news-meta__author a {
  color: #72dfff;
  text-decoration: none;
}

.gtx-news-meta__item a:hover,
.gtx-news-meta__comments:hover,
.gtx-news-meta__author a:hover {
  color: #fff;
}

.gtx-news-meta__label {
  color: #8f9bb1;
}

.gtx-news-meta__comments strong {
  color: #fff;
  font-weight: 900;
}

.gtx-news-card__content {
  flex: 1 1 auto;
  padding: .7rem 1.3rem 1.05rem;
}

.gtx-news-card__summary,
.gtx-news-card__body {
  color: #dce4f2;
  font-size: 1rem;
  line-height: 1.7;
}

.gtx-news-card__summary:not(:empty) {
  margin-bottom: .65rem;
  font-weight: 650;
}

.gtx-news-card__body > :last-child,
.gtx-news-card__summary > :last-child {
  margin-bottom: 0;
}

.gtx-news-card__extended:empty,
.gtx-news-card__admin:empty,
.gtx-news-card__actions:empty {
  display: none;
}

.gtx-news-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding: .85rem 1.3rem 1.1rem;
  border-top: 1px solid rgba(154, 173, 216, .12);
  background: rgba(4, 8, 15, .18);
}

.gtx-news-meta--bottom {
  align-items: center;
}

.gtx-news-card__footer-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-left: auto;
}

.gtx-news-readmore {
  min-width: 122px;
  justify-content: center;
  white-space: nowrap;
}

/* Pełny widok pojedynczego newsa. */
.gtx-news-card--single .gtx-news-card__title {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.gtx-news-card--single .gtx-news-card__header {
  border-bottom: 1px solid rgba(154, 173, 216, .16);
}

.gtx-news-card--single > .gtx-news-card__media:empty {
  display: none;
}

.gtx-news-card--single > .gtx-news-card__media img {
  display: block;
  width: 100%;
  height: auto;
}

.gtx-news-card--single .gtx-news-card__content {
  padding: 1.25rem 1.3rem;
}

@media (max-width: 900px) {
  .gtx-news-card--horizontal {
    grid-template-columns: minmax(210px, 38%) minmax(0, 1fr);
  }
}

@media (max-width: 767.98px) {
  .gtx-news-card--horizontal {
    grid-template-columns: minmax(0, 1fr);
  }

  .gtx-news-card--horizontal .gtx-news-card__media {
    min-height: 190px;
    max-height: 250px;
    border-right: 0;
    border-bottom: 1px solid rgba(154, 173, 216, .18);
  }

  .gtx-news-card--horizontal .gtx-news-card__media img {
    min-height: 190px;
    max-height: 250px;
  }

  .gtx-news-card__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .gtx-news-meta--bottom {
    width: 100%;
  }

  .gtx-news-card__footer-actions {
    width: 100%;
    margin-left: 0;
  }

  .gtx-news-readmore {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .gtx-news-meta__item {
    width: 100%;
    border-radius: 10px;
  }
}

/* ================================================================
   GTA Game Next 2.2.9 — kompaktowe karty newsów
   - stała, niewysoka karta na desktopie,
   - miniatura zachowuje proporcje i jest kadrowana przez object-fit,
   - na liście wyświetlany jest tylko krótki opis (NEWS_SUMMARY),
   - opis jest ograniczony do 4 linii.
   ================================================================ */
@media (min-width: 768px) {
  .gtx-news-card--horizontal {
    grid-template-columns: clamp(230px, 31%, 300px) minmax(0, 1fr);
    height: 250px;
    min-height: 0;
  }

  .gtx-news-card--horizontal .gtx-news-card__media {
    height: 250px;
    min-height: 0;
  }

  .gtx-news-card--horizontal .gtx-news-card__media img,
  .gtx-news-card--horizontal .gtx-news-card__media picture {
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  .gtx-news-card--horizontal .gtx-news-card__media img {
    object-fit: cover;
    object-position: center;
  }

  .gtx-news-card--horizontal .gtx-news-card__header {
    padding: 1rem 1.15rem .55rem;
  }

  .gtx-news-card--horizontal .gtx-news-card__title {
    margin-bottom: .55rem;
    font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  }

  .gtx-news-card--horizontal .gtx-news-card__content {
    min-height: 0;
    overflow: hidden;
    padding: .45rem 1.15rem .55rem;
  }

  .gtx-news-card--horizontal .gtx-news-card__summary {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #dce4f2;
    font-size: .96rem;
    line-height: 1.58;
    font-weight: 500;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }

  .gtx-news-card--horizontal .gtx-news-card__footer {
    padding: .65rem 1.15rem .8rem;
  }
}

@media (max-width: 767.98px) {
  .gtx-news-card--horizontal .gtx-news-card__summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
  }
}

/* ================================================================
   GTA Game Next 2.3.0 — rozszerzony status TeamSpeak
   ================================================================ */
.gtx-ts-panel {
  overflow: hidden;
  border-color: rgba(85, 227, 154, .28);
}
.gtx-ts-panel .gtx-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.gtx-ts-live {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border: 1px solid var(--gtx-border);
  border-radius: 50%;
  color: var(--gtx-muted);
  background: rgba(255,255,255,.025);
  font-size: .72rem;
}
.gtx-ts-panel.is-online .gtx-ts-live {
  color: var(--gtx-green);
  border-color: rgba(85,227,154,.24);
}
.gtx-ts-state {
  display: flex;
  align-items: center;
  gap: .48rem;
  margin-bottom: .55rem;
  color: var(--gtx-green);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.gtx-ts-state > span {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 11px currentColor;
}
.gtx-ts-panel.is-offline .gtx-ts-state {
  color: #ff7185;
}
.gtx-ts-panel.is-stale .gtx-ts-state {
  color: var(--gtx-yellow);
}
.gtx-ts-name {
  display: block;
  overflow: hidden;
  margin-bottom: .1rem;
  color: #fff;
  font-size: .98rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gtx-ts-address {
  display: block;
  overflow-wrap: anywhere;
  color: var(--gtx-cyan) !important;
  font-size: .81rem;
  text-decoration: none;
}
.gtx-ts-address:hover {
  color: #fff !important;
}
.gtx-ts-capacity {
  height: 5px;
  margin: .75rem 0 .72rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
}
.gtx-ts-capacity > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gtx-cyan), var(--gtx-purple));
  box-shadow: 0 0 10px rgba(88,221,255,.28);
}
.gtx-ts-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .42rem;
}
.gtx-ts-stats > div {
  min-width: 0;
  padding: .5rem .48rem;
  border: 1px solid var(--gtx-border);
  border-radius: 9px;
  background: rgba(255,255,255,.024);
  text-align: center;
}
.gtx-ts-stats strong,
.gtx-ts-stats span {
  display: block;
}
.gtx-ts-stats strong {
  overflow: hidden;
  color: #fff;
  font-size: .84rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gtx-ts-stats span {
  margin-top: .18rem;
  color: var(--gtx-muted);
  font-size: .61rem;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .045em;
}
.gtx-ts-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .35rem .6rem;
  margin: .65rem 0;
  color: var(--gtx-muted);
  font-size: .65rem;
}
.gtx-ts-meta i {
  margin-right: .22rem;
  color: var(--gtx-cyan);
}
.gtx-ts-connect {
  display: flex !important;
  width: 100%;
  justify-content: center;
  gap: .38rem;
}
.gtx-ts-config-note {
  margin: .55rem 0;
  padding: .48rem .55rem;
  border: 1px dashed rgba(255,213,70,.32);
  border-radius: 8px;
  color: #f5d96b;
  background: rgba(255,213,70,.055);
  font-size: .65rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.gtx-ts-config-note code {
  color: #fff2a8;
}

/* ================================================================
   2.3.1 — Rejestracja i logowanie w nagłówku
   ================================================================ */
.gtx-auth-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .55rem;
  margin: 0;
  padding: 0;
}

.gtx-auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  min-height: 43px;
  padding: .62rem .88rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: .82rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none !important;
  cursor: pointer;
  transition:
    color .18s ease,
    border-color .18s ease,
    background-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.gtx-auth-button .fas,
.gtx-auth-button .fa {
  font-size: .9rem;
}

.gtx-auth-button--register {
  border-color: rgba(88, 221, 255, .30);
  color: #dff8ff !important;
  background: rgba(9, 13, 23, .68);
  box-shadow: inset 0 0 0 1px rgba(164, 92, 255, .05);
}

.gtx-auth-button--register:hover,
.gtx-auth-button--register:focus-visible {
  border-color: rgba(88, 221, 255, .72);
  color: #fff !important;
  background: rgba(21, 29, 46, .96);
  box-shadow: 0 0 0 3px rgba(88, 221, 255, .09), 0 12px 30px rgba(0, 0, 0, .28);
  transform: translateY(-1px);
  outline: none;
}

.gtx-auth-button--login {
  border-color: rgba(164, 92, 255, .50);
  color: #080b12 !important;
  background: linear-gradient(110deg, var(--gtx-cyan), #7fa4ff 48%, var(--gtx-purple));
  box-shadow: 0 10px 26px rgba(74, 163, 255, .18);
}

.gtx-auth-button--login:hover,
.gtx-auth-button--login:focus-visible,
.gtx-auth-button--login.show,
.gtx-auth-button--login[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, .48);
  color: #05070c !important;
  background: linear-gradient(110deg, #8be9ff, #9ba8ff 48%, #b477ff);
  box-shadow: 0 0 0 3px rgba(164, 92, 255, .10), 0 14px 34px rgba(0, 0, 0, .34);
  transform: translateY(-1px);
  outline: none;
}

.gtx-auth-button--login.dropdown-toggle::after {
  margin-left: .08rem;
  color: #090b12;
  border-top-color: currentColor;
}

.gtx-auth-dropdown {
  width: min(310px, calc(100vw - 2rem));
  padding: .9rem !important;
}

.gtx-auth-dropdown__title {
  margin: 0 0 .75rem;
  color: #fff;
  font-size: .92rem;
  font-weight: 850;
  letter-spacing: .04em;
}

.gtx-auth-field {
  margin-bottom: .65rem;
}

.gtx-auth-remember {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: .15rem 0 .8rem;
  color: #c4ccdc;
  font-size: .82rem;
  cursor: pointer;
}

.gtx-auth-remember input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--gtx-cyan);
}

.gtx-auth-submit {
  min-height: 42px;
  border: 0 !important;
  color: #070a11 !important;
  background: linear-gradient(110deg, var(--gtx-cyan), var(--gtx-purple)) !important;
  font-weight: 850;
}

.gtx-auth-submit:hover,
.gtx-auth-submit:focus {
  color: #05070c !important;
  filter: brightness(1.08);
}

.gtx-auth-help-link {
  display: block;
  padding: .28rem .2rem;
  color: #aeb9cc !important;
  font-size: .78rem;
  text-align: center;
  text-decoration: none !important;
}

.gtx-auth-help-link:hover,
.gtx-auth-help-link:focus-visible {
  color: var(--gtx-cyan) !important;
  outline: none;
}

@media (max-width: 1199.98px) {
  .gtx-auth-actions { gap: .38rem; }
  .gtx-auth-button {
    min-height: 40px;
    padding: .55rem .68rem;
    font-size: .76rem;
  }
}

/* ================================================================
   GTA Game Next 2.3.2 — kompaktowy, polski panel logowania
   ================================================================ */
.gtx-panel--login {
  margin-bottom: 1rem;
}

.gtx-panel--login .gtx-panel__header {
  min-height: 42px;
  padding: .62rem .78rem .58rem .95rem;
}

.gtx-panel--login .gtx-panel__header::before {
  top: 9px;
  bottom: 9px;
}

.gtx-panel--login .gtx-panel__header h2 {
  font-size: .78rem;
  letter-spacing: .065em;
}

.gtx-panel--login .gtx-panel__body {
  padding: .72rem;
}

.gtx-login-compact {
  display: grid;
  gap: .5rem;
  text-align: left;
}

.gtx-login-message:empty {
  display: none;
}

.gtx-login-message:not(:empty) {
  padding: .48rem .58rem;
  border: 1px solid rgba(255, 213, 70, .25);
  border-radius: 8px;
  color: #f8dfa0;
  background: rgba(255, 213, 70, .06);
  font-size: .72rem;
  line-height: 1.35;
}

.gtx-login-field {
  position: relative;
  min-width: 0;
}

.gtx-login-field__icon {
  position: absolute;
  left: .68rem;
  top: 50%;
  z-index: 2;
  width: 16px;
  color: #7d8ca9;
  font-size: .75rem;
  text-align: center;
  pointer-events: none;
  transform: translateY(-50%);
}

.gtx-panel--login .gtx-login-field input {
  width: 100% !important;
  height: 38px !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: .48rem .65rem .48rem 2rem !important;
  border-radius: 9px !important;
  font-size: .76rem !important;
}

.gtx-login-captcha {
  display: grid;
  grid-template-columns: minmax(70px, auto) minmax(0, 1fr);
  align-items: center;
  gap: .45rem;
}

.gtx-login-captcha:has(.gtx-login-captcha__image:empty) {
  display: none;
}

.gtx-login-captcha__image:empty,
.gtx-login-captcha__input:empty {
  display: none;
}

.gtx-login-captcha__image img {
  display: block;
  max-width: 86px;
  max-height: 34px;
  margin: 0 auto;
  object-fit: contain;
}

.gtx-panel--login .gtx-login-captcha__input input {
  width: 100% !important;
  height: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: .42rem .55rem !important;
  font-size: .72rem !important;
}

.gtx-login-options {
  min-height: 0;
  color: #aeb8ca;
  font-size: .7rem;
  line-height: 1.25;
}

.gtx-login-options:empty {
  display: none;
}

.gtx-login-options label {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: 0;
  color: #b9c2d3;
  font-size: .7rem;
  font-weight: 550;
}

.gtx-login-options input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--gtx-cyan);
}

.gtx-login-submit {
  display: grid;
}

.gtx-panel--login .gtx-login-submit__button,
.gtx-panel--login .gtx-login-submit button,
.gtx-panel--login .gtx-login-submit input[type="submit"] {
  width: 100% !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: .55rem .65rem !important;
  border: 0 !important;
  border-radius: 9px !important;
  color: #070a11 !important;
  background: linear-gradient(110deg, var(--gtx-cyan), #7fa4ff 48%, var(--gtx-purple)) !important;
  box-shadow: 0 8px 20px rgba(74, 163, 255, .14);
  font-size: .76rem !important;
  font-weight: 850 !important;
  line-height: 1 !important;
}

.gtx-panel--login .gtx-login-submit__button:hover,
.gtx-panel--login .gtx-login-submit button:hover,
.gtx-panel--login .gtx-login-submit input[type="submit"]:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.gtx-login-links {
  display: grid;
  gap: .2rem;
  padding-top: .15rem;
  border-top: 1px solid rgba(154, 173, 216, .12);
}

.gtx-login-link {
  display: flex;
  align-items: center;
  gap: .42rem;
  min-height: 28px;
  padding: .28rem .38rem;
  border-radius: 7px;
  color: #a8dcff !important;
  font-size: .68rem;
  line-height: 1.25;
  text-decoration: none !important;
}

.gtx-login-link:hover,
.gtx-login-link:focus-visible {
  color: #fff !important;
  background: rgba(88, 221, 255, .07);
  outline: none;
}

.gtx-login-link .fas {
  width: 14px;
  color: var(--gtx-cyan);
  font-size: .66rem;
  text-align: center;
}

.gtx-login-link--minor {
  color: #98a5ba !important;
}

/* Zwarta wersja panelu po zalogowaniu. */
.gtx-panel--login .gtx-account-compact > .list-group-item > a {
  min-height: 42px !important;
  padding: .58rem .7rem !important;
  gap: .55rem;
  font-size: .76rem;
}

.gtx-panel--login .gtx-account-compact > .list-group-item > a:hover,
.gtx-panel--login .gtx-account-compact > .list-group-item > a:focus-visible {
  padding-left: .82rem !important;
}

.gtx-panel--login .gtx-account-compact > .list-group-item > a .fas {
  width: 17px;
  color: var(--gtx-cyan);
  font-size: .75rem;
  text-align: center;
}

@media (max-width: 575.98px) {
  .gtx-login-captcha {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   GTA Game Next 2.3.14 — ciemny edytor podpisu w ustawieniach konta
   ================================================================ */
.gtx-usersettings-page .tox.tox-tinymce {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 238px !important;
  border: 1px solid rgba(104, 211, 255, .28) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  color: #e8eef9 !important;
  background: #10141f !important;
  box-shadow:
    0 0 0 1px rgba(141, 103, 255, .06),
    0 16px 38px rgba(0, 0, 0, .24) !important;
}

.gtx-usersettings-page .tox .tox-editor-header,
.gtx-usersettings-page .tox .tox-menubar,
.gtx-usersettings-page .tox .tox-toolbar-overlord,
.gtx-usersettings-page .tox .tox-toolbar,
.gtx-usersettings-page .tox .tox-toolbar__primary,
.gtx-usersettings-page .tox .tox-toolbar__overflow,
.gtx-usersettings-page .tox .tox-statusbar {
  color: #dce7f7 !important;
  background: #171c29 !important;
  background-image: none !important;
}

.gtx-usersettings-page .tox .tox-editor-header {
  border-bottom: 1px solid rgba(154, 173, 216, .16) !important;
  box-shadow: none !important;
}

.gtx-usersettings-page .tox .tox-menubar {
  padding: .22rem .35rem 0 !important;
}

.gtx-usersettings-page .tox .tox-toolbar__primary {
  padding: .25rem .35rem .38rem !important;
}

.gtx-usersettings-page .tox .tox-toolbar__group {
  padding: 0 .18rem !important;
  border-color: rgba(154, 173, 216, .13) !important;
}

.gtx-usersettings-page .tox .tox-mbtn,
.gtx-usersettings-page .tox .tox-tbtn {
  min-width: 30px !important;
  height: 30px !important;
  margin: 2px !important;
  border-radius: 7px !important;
  color: #cbd7e9 !important;
  background: transparent !important;
}

.gtx-usersettings-page .tox .tox-mbtn__select-label,
.gtx-usersettings-page .tox .tox-tbtn__select-label,
.gtx-usersettings-page .tox .tox-statusbar__wordcount,
.gtx-usersettings-page .tox .tox-statusbar__path-item,
.gtx-usersettings-page .tox .tox-statusbar__branding {
  color: #aab7cc !important;
}

.gtx-usersettings-page .tox .tox-tbtn svg,
.gtx-usersettings-page .tox .tox-mbtn svg {
  fill: #cbd7e9 !important;
}

.gtx-usersettings-page .tox .tox-mbtn:hover,
.gtx-usersettings-page .tox .tox-mbtn:focus,
.gtx-usersettings-page .tox .tox-tbtn:hover,
.gtx-usersettings-page .tox .tox-tbtn:focus,
.gtx-usersettings-page .tox .tox-tbtn--enabled,
.gtx-usersettings-page .tox .tox-tbtn--enabled:hover {
  color: #fff !important;
  background: linear-gradient(
    135deg,
    rgba(88, 221, 255, .15),
    rgba(164, 92, 255, .18)
  ) !important;
}

.gtx-usersettings-page .tox .tox-mbtn:hover .tox-mbtn__select-label,
.gtx-usersettings-page .tox .tox-tbtn:hover .tox-tbtn__select-label,
.gtx-usersettings-page .tox .tox-tbtn--enabled .tox-tbtn__select-label {
  color: #fff !important;
}

.gtx-usersettings-page .tox .tox-edit-area {
  border-top: 0 !important;
  background: #0f131d !important;
}

.gtx-usersettings-page .tox .tox-edit-area__iframe {
  min-height: 150px !important;
  background: #0f131d !important;
}

.gtx-usersettings-page .tox .tox-statusbar {
  min-height: 30px !important;
  padding: 0 .6rem !important;
  border-top: 1px solid rgba(154, 173, 216, .14) !important;
}

.gtx-usersettings-page .tox .tox-statusbar__resize-handle svg {
  fill: #7887a1 !important;
}

/* Menu i okna TinyMCE są renderowane poza głównym kontenerem edytora. */
.gtx-usersettings-page .tox-tinymce-aux .tox-menu,
.gtx-usersettings-page .tox-tinymce-aux .tox-collection,
.gtx-usersettings-page .tox-tinymce-aux .tox-dialog,
.gtx-usersettings-page .tox-tinymce-aux .tox-pop,
.gtx-usersettings-page .tox-tinymce-aux .tox-toolbar {
  color: #e7edf8 !important;
  border-color: rgba(104, 211, 255, .22) !important;
  background: #171c29 !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .38) !important;
}

.gtx-usersettings-page .tox-tinymce-aux .tox-collection__item,
.gtx-usersettings-page .tox-tinymce-aux .tox-collection__item-label,
.gtx-usersettings-page .tox-tinymce-aux .tox-dialog__title,
.gtx-usersettings-page .tox-tinymce-aux .tox-label,
.gtx-usersettings-page .tox-tinymce-aux .tox-toolbar-label {
  color: #dce7f7 !important;
}

.gtx-usersettings-page .tox-tinymce-aux .tox-collection__item--active,
.gtx-usersettings-page .tox-tinymce-aux .tox-collection__item:hover {
  background: rgba(88, 221, 255, .11) !important;
}

.gtx-usersettings-page .tox-tinymce-aux input,
.gtx-usersettings-page .tox-tinymce-aux textarea,
.gtx-usersettings-page .tox-tinymce-aux select {
  color: #e8eef9 !important;
  border-color: rgba(154, 173, 216, .24) !important;
  background: #0f131d !important;
}

@media (max-width: 767.98px) {
  .gtx-usersettings-page .tox.tox-tinymce {
    min-height: 220px !important;
    border-radius: 11px !important;
  }

  .gtx-usersettings-page .tox .tox-edit-area__iframe {
    min-height: 135px !important;
  }
}


/* ================================================================
   GTA Game Next 2.3.18 — komentarze, profil autora i panele boczne
   ================================================================ */
.gtx-sidebar--left > .gtx-panel:not(.gtx-quick-panel) .gtx-panel__body { padding: .75rem !important; }
.gtx-sidebar--left > .gtx-panel:not(.gtx-quick-panel) .gtx-panel__body > ul,
.gtx-sidebar--left > .gtx-panel:not(.gtx-quick-panel) .gtx-panel__body > ol,
.gtx-sidebar--left > .gtx-panel:not(.gtx-quick-panel) .list-group {
  width: 100%; margin: 0 !important; padding: 0 !important; list-style: none;
}
.gtx-sidebar--left > .gtx-panel:not(.gtx-quick-panel) .gtx-panel__body li { margin: 0 !important; list-style: none; }
.gtx-sidebar--left > .gtx-panel:not(.gtx-quick-panel) .gtx-panel__body li + li { margin-top: .35rem !important; }
.gtx-sidebar--left > .gtx-panel:not(.gtx-quick-panel) .gtx-panel__body li > a,
.gtx-sidebar--left > .gtx-panel:not(.gtx-quick-panel) .list-group-item > a { width: 100%; box-sizing: border-box; }
.gtx-sidebar--left .gtx-panel__header h2 { max-width: 100%; overflow-wrap: anywhere; }

.gtx-comments { margin-top: 1.25rem; }
.gtx-comment-form {
  display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 1rem; align-items: start;
  padding: 1rem 0 1.15rem; border-bottom: 1px solid var(--gtx-border);
}
.gtx-comment-form__user .gtx-comment-avatar > img,
.gtx-comment-form__user .gtx-comment-avatar > a > img {
  display: block; width: 78px !important; height: 78px !important; margin: 0 auto;
  border: 2px solid rgba(88,221,255,.55); border-radius: 50% !important; object-fit: cover;
  box-shadow: 0 0 0 3px rgba(164,92,255,.18);
}
.gtx-comment-form__user .field-help { display: none !important; }
.gtx-comment-form__main { min-width: 0; }
.gtx-comment-form__main textarea, .gtx-comment-form__main .form-control { width: 100% !important; min-height: 84px; }
.gtx-comment-form__actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .55rem; }

.gtx-comment-card {
  display: grid; grid-template-columns: 170px minmax(0,1fr); min-height: 164px; margin: 0 0 .8rem;
  overflow: hidden; border: 1px solid var(--gtx-border); border-radius: 14px; color: #e8edf8;
  background: linear-gradient(145deg,rgba(24,29,44,.98),rgba(15,18,28,.98));
}
.gtx-comment-user {
  min-width: 0; padding: .9rem .75rem; text-align: center; border-right: 1px solid var(--gtx-border);
  background: rgba(255,255,255,.018);
}
.gtx-comment-avatar > img, .gtx-comment-avatar > a > img {
  display: block; width: 82px !important; height: 82px !important; margin: 0 auto .55rem;
  border: 2px solid rgba(88,221,255,.7); border-radius: 50% !important; object-fit: cover;
  box-shadow: 0 0 0 3px rgba(164,92,255,.18);
}
.gtx-comment-user .field-help { display: block !important; margin-top: .45rem; color: #9eabc2; font-size: .69rem; line-height: 1.55; }
.gtx-comment-user .field-help .left { float: none !important; width: auto !important; }
.gtx-comment-user .field-help h2 { display: none !important; }
.gtx-comment-user__name { margin-bottom: .4rem; font-size: .92rem; font-weight: 900; }
.gtx-comment-user__name a { color: var(--gtx-cyan) !important; text-decoration: none !important; }
.gtx-comment-profile-extra { display: grid; gap: .2rem; margin-top: .5rem; padding-top: .5rem; border-top: 1px solid rgba(154,173,216,.14); }
.gtx-profile-stat { display: flex; justify-content: space-between; gap: .45rem; color: #93a0b8; font-size: .67rem; line-height: 1.35; }
.gtx-profile-stat strong { min-width: 0; color: #dce5f5; font-weight: 750; text-align: right; overflow-wrap: anywhere; }
.gtx-comment-body { display: flex; min-width: 0; padding: .9rem 1rem; flex-direction: column; }
.gtx-comment-header { display: flex; justify-content: flex-end; min-height: 24px; padding-bottom: .55rem; border-bottom: 1px solid rgba(154,173,216,.12); }
.gtx-comment-date { color: #8f9bb1; font-size: .75rem; }
.gtx-comment-text { min-height: 58px; padding: .8rem 0; color: #edf1f9; font-size: .91rem; line-height: 1.65; }
.gtx-comment-text p:last-child { margin-bottom: 0; }
.gtx-comment-status:empty, .gtx-comment-actions:empty, .gtx-comments__moderate:empty { display: none; }
.gtx-comment-actions { display: flex; align-items: center; justify-content: flex-end; gap: .35rem; margin-top: auto; padding-top: .65rem; border-top: 1px solid rgba(154,173,216,.12); }
.gtx-comment-actions .btn, .gtx-comments__moderate .btn { border-color: rgba(154,173,216,.24) !important; color: #eef2fb !important; background: #1a2030 !important; }
.gtx-comment-actions .btn:hover, .gtx-comments__moderate .btn:hover { border-color: rgba(88,221,255,.48) !important; color: #fff !important; background: linear-gradient(110deg,rgba(88,221,255,.18),rgba(164,92,255,.18)) !important; }
.gtx-comments__moderate { display: flex; justify-content: flex-end; padding-top: .3rem; }

.gtx-news-author-card {
  display: grid; grid-template-columns: 86px minmax(0,1fr); gap: 1rem; align-items: center;
  margin: 1rem 0 1.25rem; padding: 1rem; border: 1px solid rgba(88,221,255,.22); border-radius: 14px;
  background: linear-gradient(135deg,rgba(18,27,40,.96),rgba(31,20,43,.94));
}
.gtx-news-author-card[hidden] { display: none !important; }
.gtx-news-author-card__loading { grid-column: 1/-1; color: #8f9bb1; font-size: .82rem; }
.gtx-news-author-card__avatar img { display: block; width: 82px; height: 82px; border: 2px solid rgba(88,221,255,.68); border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px rgba(164,92,255,.18); }
.gtx-news-author-card__main { min-width: 0; }
.gtx-news-author-card__eyebrow { display: block; margin-bottom: .18rem; color: var(--gtx-yellow); font-size: .69rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.gtx-news-author-card__name { display: inline-block; margin-bottom: .55rem; color: var(--gtx-cyan) !important; font-size: 1.05rem; font-weight: 900; text-decoration: none !important; }
.gtx-news-author-card__stats { display: flex; flex-wrap: wrap; gap: .45rem .85rem; }
.gtx-news-author-card__stats .gtx-profile-stat { justify-content: flex-start; padding: .35rem .55rem; border: 1px solid rgba(154,173,216,.16); border-radius: 9px; background: rgba(255,255,255,.018); }

@media (max-width: 767.98px) {
  .gtx-comment-card { grid-template-columns: 1fr; }
  .gtx-comment-user { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: .75rem; align-items: center; text-align: left; border-right: 0; border-bottom: 1px solid var(--gtx-border); }
  .gtx-comment-avatar > img, .gtx-comment-avatar > a > img { width: 68px !important; height: 68px !important; margin: 0; }
  .gtx-comment-user__name, .gtx-comment-profile-extra, .gtx-comment-user .field-help { grid-column: 2; }
  .gtx-comment-form { grid-template-columns: 64px minmax(0,1fr); gap: .7rem; }
  .gtx-comment-form__user .gtx-comment-avatar > img, .gtx-comment-form__user .gtx-comment-avatar > a > img { width: 58px !important; height: 58px !important; }
  .gtx-news-author-card { grid-template-columns: 66px minmax(0,1fr); gap: .75rem; }
  .gtx-news-author-card__avatar img { width: 62px; height: 62px; }
}

/* ================================================================
   GTA Game Next 2.3.19 — PM, edytor podpisu i stabilne komentarze
   ================================================================ */

/* TinyMCE 4 używany przez część instalacji e107 w usersettings.php. */
.gtx-usersettings-page .mce-tinymce,
.gtx-usersettings-page .mce-container,
.gtx-usersettings-page .mce-container-body,
.gtx-usersettings-page .mce-panel,
.gtx-usersettings-page .mce-toolbar-grp,
.gtx-usersettings-page .mce-menubar,
.gtx-usersettings-page .mce-statusbar {
  color: #dfe7f5 !important;
  border-color: #354158 !important;
  background: #151b27 !important;
  background-image: none !important;
  box-shadow: none !important;
}

.gtx-usersettings-page .mce-tinymce {
  width: 100% !important;
  max-width: 100% !important;
  border: 1px solid #354158 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24) !important;
}

.gtx-usersettings-page .mce-btn,
.gtx-usersettings-page .mce-menubtn {
  margin: 2px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
}

.gtx-usersettings-page .mce-btn button,
.gtx-usersettings-page .mce-menubtn button,
.gtx-usersettings-page .mce-ico,
.gtx-usersettings-page .mce-txt,
.gtx-usersettings-page .mce-path-item {
  color: #dce7f7 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.gtx-usersettings-page .mce-btn:hover,
.gtx-usersettings-page .mce-btn:focus,
.gtx-usersettings-page .mce-btn.mce-active,
.gtx-usersettings-page .mce-menubtn:hover,
.gtx-usersettings-page .mce-menubtn:focus {
  color: #fff !important;
  background: rgba(88, 221, 255, .12) !important;
}

.gtx-usersettings-page .mce-edit-area,
.gtx-usersettings-page .mce-edit-area iframe,
.gtx-usersettings-page .mce-content-body {
  background: #0f131d !important;
}

.gtx-usersettings-page .mce-menu,
.gtx-usersettings-page .mce-menu-item,
.gtx-usersettings-page .mce-floatpanel,
.gtx-usersettings-page .mce-window,
.gtx-usersettings-page .mce-window-head,
.gtx-usersettings-page .mce-foot {
  color: #e7edf8 !important;
  border-color: rgba(104, 211, 255, .22) !important;
  background: #171c29 !important;
}

.gtx-usersettings-page .mce-menu-item:hover,
.gtx-usersettings-page .mce-menu-item.mce-selected,
.gtx-usersettings-page .mce-menu-item.mce-active {
  background: rgba(88, 221, 255, .11) !important;
}

/* Prywatne wiadomości: ten sam zestaw emotikon co forum i chatbox. */
.gtx-pm-emote-picker {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: .32rem;
  margin: .25rem 0 .55rem !important;
  padding: .45rem .5rem !important;
  border: 1px solid rgba(154, 173, 216, .15);
  border-radius: 10px;
  background: rgba(15, 19, 29, .72);
}

.gtx-pm-emote-picker a,
.gtx-pm-emote-picker button,
.gtx-pm-emote-picker span {
  line-height: 1;
}

.gtx-pm-emote-picker a {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none !important;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.gtx-pm-emote-picker a:hover,
.gtx-pm-emote-picker a:focus-visible {
  border-color: rgba(88, 221, 255, .42);
  background: rgba(88, 221, 255, .09);
  transform: translateY(-1px);
  outline: none;
}

.gtx-pm-emote,
.gtx-comment-emote {
  display: inline-block !important;
  width: 26px !important;
  height: 26px !important;
  margin: -3px .12rem 0;
  vertical-align: middle;
  object-fit: contain;
}

.gtx-pm-emote-picker .gtx-pm-emote {
  width: 28px !important;
  height: 28px !important;
  margin: 0;
}

/* Rdzeń e107 potrafi opakować komentarze w kolumny Bootstrap. */
.gtx-comments,
.gtx-comments__list,
.gtx-comments__list.comments-container,
.gtx-comments__list > *,
.gtx-comment-wrapper,
.gtx-comment-card {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.gtx-comment-wrapper {
  flex: 0 0 100% !important;
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.gtx-comments__list {
  display: block !important;
  min-width: 0;
}

.gtx-comment-card {
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 176px;
}

.gtx-comment-user {
  padding: 1rem .85rem;
  background: linear-gradient(180deg, rgba(34, 42, 61, .92), rgba(20, 26, 39, .94));
}

.gtx-comment-user .field-help {
  margin-top: .55rem !important;
  padding-top: .55rem;
  border-top: 1px solid rgba(154, 173, 216, .13);
}

.gtx-comment-profile-extra:empty {
  display: none;
}

.gtx-profile-loading,
.gtx-profile-unavailable {
  color: #8795ad;
  font-size: .65rem;
  line-height: 1.35;
}

.gtx-comment-body {
  min-width: 0;
  overflow: hidden;
}

.gtx-comment-text {
  overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
  .gtx-comment-card {
    grid-template-columns: 1fr;
  }

  .gtx-comment-user {
    grid-template-columns: 72px minmax(0, 1fr);
  }
}

/* ================================================================
   GTA Game Next 2.3.20 — PM, komentarze i polskie formularze forum
   ================================================================ */

/* Prywatne wiadomości: rdzeń e107 jest całkowicie zastępowany jednym,
   zamkniętym zestawem ikon motywu. */
.gtx-pm-emote-picker--theme-only {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: .5rem !important;
  overflow: hidden;
}

.gtx-pm-emote-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .38rem;
  width: 100%;
}

.gtx-pm-emote-choice {
  display: inline-grid !important;
  flex: 0 0 36px;
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  color: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.gtx-pm-emote-choice:hover,
.gtx-pm-emote-choice:focus-visible {
  border-color: rgba(88, 221, 255, .48) !important;
  background: rgba(88, 221, 255, .10) !important;
  transform: translateY(-1px);
  outline: none;
}

.gtx-pm-emote-choice .gtx-emote-icon {
  display: block !important;
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  object-fit: contain;
}

/* Komentarze: brak wcięć i kolumn narzucanych przez Bootstrap/e107. */
.gtx-comments,
.gtx-comment-form,
.gtx-comments__list,
.gtx-comments__list.comments-container,
.gtx-comments__list > *,
.gtx-comment-wrapper,
.gtx-comment-card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

.gtx-comments,
.gtx-comments__list,
.gtx-comments__list.comments-container {
  display: block !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.gtx-comments__list > *,
.gtx-comment-wrapper {
  display: block !important;
  float: none !important;
  flex: 0 0 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.gtx-comments__list .row,
.gtx-comment-wrapper.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.gtx-comments__list [class*="col-"],
.gtx-comment-wrapper[class*="col-"] {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.gtx-comment-card {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Kolejność danych autora: nick, awatar, ranga, poziom, komentarze,
   posty na forum i data dołączenia. */
.gtx-comment-user {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.gtx-comment-user__name {
  order: 1;
  margin: 0 0 .7rem !important;
  font-size: 1rem;
}

.gtx-comment-user > .gtx-comment-avatar {
  order: 2;
}

.gtx-comment-user > .gtx-comment-avatar > img,
.gtx-comment-user > .gtx-comment-avatar > a > img {
  margin: 0 auto .7rem !important;
}

.gtx-comment-profile-extra {
  order: 3;
  width: 100%;
  margin-top: 0 !important;
}

/* Dane generowane automatycznie przez COMMENT_AVATAR dublują nick/licznik. */
.gtx-comment-user .field-help {
  display: none !important;
}

/* Etykieta „Typ” w formularzu nowego tematu. */
body.gtx-forum-compose-page .gtx-forum-shell .gtx-thread-type-heading,
body.gtx-forum-compose-page .gtx-forum-shell input.gtx-thread-type-heading,
body.gtx-forum-compose-page .gtx-forum-shell button.gtx-thread-type-heading {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  min-width: 0 !important;
  min-height: 34px !important;
  margin: 0 0 .55rem !important;
  padding: .42rem .72rem !important;
  border: 1px solid #354158 !important;
  border-radius: 8px !important;
  color: #e8eef9 !important;
  background: #171d2a !important;
  background-image: none !important;
  box-shadow: none !important;
  font-size: .76rem !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-transform: none !important;
}

body.gtx-forum-compose-page .gtx-forum-shell .gtx-thread-type-heading:hover,
body.gtx-forum-compose-page .gtx-forum-shell .gtx-thread-type-heading:focus {
  border-color: rgba(88, 221, 255, .48) !important;
  color: #fff !important;
  background: rgba(88, 221, 255, .10) !important;
}

@media (max-width: 767.98px) {
  .gtx-comment-user {
    display: flex !important;
    grid-template-columns: none !important;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .gtx-comment-user__name,
  .gtx-comment-avatar,
  .gtx-comment-profile-extra {
    grid-column: auto !important;
  }

  .gtx-comment-avatar > img,
  .gtx-comment-avatar > a > img {
    width: 72px !important;
    height: 72px !important;
    margin: 0 auto .65rem !important;
  }
}


/* ========================================================================
   GTA Game Next 2.3.21 — artykuły, archiwum i formularz nowego tematu
   ======================================================================== */
body.gtx-article-page .gtx-article-card {
  margin-bottom: 1.25rem;
  overflow: hidden;
  padding: 1.25rem 1.3rem;
  color: #dce4f2;
  border: 1px solid rgba(154, 173, 216, .26);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(21, 27, 43, .98), rgba(34, 23, 48, .96));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
  font-size: 1rem;
  line-height: 1.7;
}

body.gtx-article-page .gtx-article-card > :first-child { margin-top: 0; }
body.gtx-article-page .gtx-article-card > :last-child { margin-bottom: 0; }
body.gtx-article-page .gtx-article-card img { max-width: 100%; height: auto; border-radius: 13px; }
body.gtx-article-page .gtx-article-card table { width: 100%; }

/* Awaryjne ukrycie bloku identyfikacyjnego rdzenia. Główne źródło komunikatu
   zostało również usunięte z szablonu stopki. */
#e-poweredby,
.e-poweredby,
.powered-by-e107,
[id*="poweredby" i],
[class*="poweredby" i] {
  display: none !important;
}

@media (max-width: 767.98px) {
  body.gtx-article-page .gtx-article-card { padding: 1rem; border-radius: 14px; }
}


/* ========================================================================
   GTA Game Next 2.3.30 — lista załogi na stronie kontaktowej
   ======================================================================== */
.gtx-crew {
  margin: 0 0 1.25rem;
  overflow: hidden;
  padding: 1.25rem;
  border: 1px solid rgba(154, 173, 216, .24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(164, 92, 255, .13), transparent 38%),
    linear-gradient(135deg, rgba(20, 25, 39, .98), rgba(28, 23, 43, .97));
  box-shadow: 0 20px 55px rgba(0, 0, 0, .22);
}

.gtx-crew__header { margin-bottom: 1rem; }
.gtx-crew__kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .35rem;
  color: #f5d75d;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.gtx-crew__kicker::before {
  width: 24px;
  height: 2px;
  content: '';
  background: #58ddff;
}
.gtx-crew__header h2 {
  margin: 0;
  color: #f7f9ff;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 950;
  letter-spacing: -.035em;
}
.gtx-crew__header p {
  max-width: 720px;
  margin: .35rem 0 0;
  color: #aeb9ce;
  line-height: 1.6;
}

.gtx-crew__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: .8rem;
}

.gtx-crew-card {
  display: grid;
  min-width: 0;
  padding: 1rem;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: .95rem;
  align-items: start;
  border: 1px solid rgba(154, 173, 216, .17);
  border-radius: 15px;
  background: rgba(12, 16, 26, .58);
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.gtx-crew-card:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 221, 255, .38);
  background: rgba(17, 22, 35, .8);
}
.gtx-crew-card__avatar {
  display: block;
  width: 88px;
  height: 88px;
  overflow: hidden;
  border: 2px solid rgba(88, 221, 255, .48);
  border-radius: 50%;
  background: #0d111b;
  box-shadow: 0 0 0 4px rgba(164, 92, 255, .12);
}
.gtx-crew-card__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gtx-crew-card__content { min-width: 0; }
.gtx-crew-card__role {
  display: inline-flex;
  margin-bottom: .3rem;
  padding: .25rem .5rem;
  color: #f5d75d;
  border: 1px solid rgba(245, 215, 93, .2);
  border-radius: 999px;
  background: rgba(245, 215, 93, .07);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.gtx-crew-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 950;
}
.gtx-crew-card h3 a {
  color: #67dcff;
  text-decoration: none;
}
.gtx-crew-card h3 a:hover { color: #b98bff; }
.gtx-crew-card p {
  margin: .35rem 0 .55rem;
  color: #b8c2d5;
  font-size: .82rem;
  line-height: 1.55;
}
.gtx-crew-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  min-height: 20px;
  color: #8996ad;
  font-size: .7rem;
}
.gtx-crew-card__joined { display: inline-flex; align-items: center; gap: .35rem; }
.gtx-crew-card__profile {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .65rem;
  padding: .45rem .7rem;
  color: #eef4ff;
  border: 1px solid rgba(154, 173, 216, .2);
  border-radius: 9px;
  background: #171d2a;
  font-size: .75rem;
  font-weight: 850;
  text-decoration: none;
}
.gtx-crew-card__profile:hover {
  color: #fff;
  border-color: rgba(88, 221, 255, .45);
  background: linear-gradient(110deg, rgba(88, 221, 255, .14), rgba(164, 92, 255, .14));
}
.gtx-crew-empty {
  grid-column: 1 / -1;
  padding: 1rem;
  color: #aeb9ce;
  border: 1px dashed rgba(154, 173, 216, .23);
  border-radius: 12px;
  text-align: center;
}

@media (max-width: 575.98px) {
  .gtx-crew { padding: 1rem; border-radius: 14px; }
  .gtx-crew__grid { grid-template-columns: 1fr; }
  .gtx-crew-card { grid-template-columns: 70px minmax(0, 1fr); gap: .75rem; padding: .85rem; }
  .gtx-crew-card__avatar { width: 70px; height: 70px; }
}


/* ================================================================
   GTA Game Next 2.3.33 — wydzielona sekcja kontaktowa
   ================================================================ */
.gtx-contact-details {
  position: relative;
  width: 100%;
  margin: 0 0 1.75rem;
  padding: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(154, 173, 216, .24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(164, 92, 255, .13), transparent 38%),
    linear-gradient(135deg, rgba(20, 25, 39, .98), rgba(28, 23, 43, .97));
  box-shadow: 0 20px 55px rgba(0, 0, 0, .22);
}
.gtx-contact-details__header { margin-bottom: 1rem; }
.gtx-contact-details__kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .35rem;
  color: #f5d75d;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.gtx-contact-details__kicker::before {
  width: 24px;
  height: 2px;
  content: '';
  background: #58ddff;
}
.gtx-contact-details__header h2 {
  margin: 0;
  color: #f7f9ff;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 950;
  letter-spacing: -.035em;
}
.gtx-contact-details__header p {
  max-width: 720px;
  margin: .35rem 0 0;
  color: #aeb9ce;
  line-height: 1.6;
}
.gtx-contact-details__email {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  max-width: 100%;
  padding: .8rem 1rem;
  color: #f5f8ff;
  border: 1px solid rgba(154, 173, 216, .17);
  border-radius: 12px;
  background: rgba(12, 16, 26, .58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  font-size: clamp(.95rem, 2vw, 1.08rem);
  font-weight: 850;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.gtx-contact-details__email i {
  color: #67dcff;
  font-size: 1.05em;
}
.gtx-contact-details__email:hover,
.gtx-contact-details__email:focus-visible {
  transform: translateY(-1px);
  color: #fff;
  border-color: rgba(88, 221, 255, .38);
  background: rgba(17, 22, 35, .8);
}

/* Dodatkowy, pewny odstęp pomiędzy kartą kontaktową i kartą załogi. */
.gtx-contact-details + .gtx-crew {
  margin-top: .25rem;
}

@media (max-width: 720px) {
  .gtx-contact-details {
    margin-bottom: 1.25rem;
    padding: 1rem;
    border-radius: 14px;
  }
  .gtx-contact-details__email {
    display: flex;
    width: 100%;
  }
}

/* ========================================================================
   GTA Game Next 2.3.40 — awaryjne reguły strukturalne Bootstrap
   ------------------------------------------------------------------------
   Te reguły są celowo ograniczone do nagłówka motywu. Chronią układ przed
   rozwinięciem wszystkich dropdownów i pionowym wyświetleniem nawigacji,
   gdy arkusz Bootstrap zostanie chwilowo pominięty przez cache motywu e107.
   ======================================================================== */

.gtx-account .dropdown-menu:not(.show),
.gtx-nav .dropdown-menu:not(.show) {
  display: none;
}

.gtx-account .dropdown-menu.show,
.gtx-nav .dropdown-menu.show {
  display: block;
}

.gtx-nav__list,
.gtx-nav .navbar-nav,
.gtx-nav .nav.gtx-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 992px) {
  .gtx-nav .navbar-toggler {
    display: none;
  }

  .gtx-nav .navbar-collapse,
  .gtx-nav .navbar-collapse.collapse {
    display: flex !important;
    flex-basis: auto;
    align-items: center;
  }

  .gtx-nav__list,
  .gtx-nav .navbar-nav,
  .gtx-nav .nav.gtx-nav__list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .15rem;
  }
}

@media (max-width: 991.98px) {
  .gtx-nav .navbar-collapse.collapse:not(.show) {
    display: none;
  }

  .gtx-nav .navbar-collapse.collapse.show {
    display: block;
  }

  .gtx-nav__list,
  .gtx-nav .navbar-nav,
  .gtx-nav .nav.gtx-nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
}

/* ========================================================================
   GTA Game Next 2.3.45 — czytelniejsze automatyczne menu artykułów GTA
   ======================================================================== */

.gtx-gta-tree {
  margin-top: 1rem;
}

.gtx-gta-tree .gtx-panel__body {
  padding: .55rem;
}

.gtx-gta-tree__universe {
  padding: .15rem 0 .25rem;
}

.gtx-gta-tree__universe + .gtx-gta-tree__universe {
  margin-top: .55rem;
  padding-top: .65rem;
  border-top: 1px solid var(--gtx-border, rgba(126, 145, 190, .20));
}

.gtx-gta-tree__universe-title {
  position: relative;
  margin: 0 0 .55rem;
  padding: .38rem .55rem .38rem 1rem;
  border: 1px solid rgba(255, 216, 74, .14);
  border-radius: .45rem;
  background: linear-gradient(90deg, rgba(255, 216, 74, .09), rgba(255, 216, 74, .015));
  color: var(--gtx-accent-yellow, #ffd84a);
  font-size: .71rem;
  font-weight: 850;
  letter-spacing: .075em;
  line-height: 1.25;
  text-transform: uppercase;
}

.gtx-gta-tree__universe-title::before {
  position: absolute;
  top: 50%;
  left: .48rem;
  width: .28rem;
  height: .28rem;
  border-radius: 50%;
  background: var(--gtx-accent-yellow, #ffd84a);
  box-shadow: 0 0 .55rem rgba(255, 216, 74, .45);
  content: '';
  transform: translateY(-50%);
}

.gtx-gta-tree__game {
  position: relative;
  margin: 0 0 .46rem;
  padding: .56rem .56rem .58rem .67rem;
  overflow: hidden;
  border: 1px solid rgba(126, 145, 190, .17);
  border-left: 2px solid rgba(100, 216, 255, .62);
  border-radius: .5rem;
  background: linear-gradient(135deg, rgba(24, 29, 46, .92), rgba(16, 20, 33, .82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .018);
}

.gtx-gta-tree__game:last-child {
  margin-bottom: 0;
}

.gtx-gta-tree__game-title {
  position: relative;
  margin: 0;
  padding-left: .5rem;
  color: var(--gtx-text, #f5f7ff);
  font-size: .74rem;
  font-weight: 760;
  line-height: 1.34;
}

.gtx-gta-tree__game-title::before {
  position: absolute;
  top: .27em;
  bottom: .22em;
  left: 0;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, #64d8ff, #9a63ff);
  content: '';
}

.gtx-gta-tree__articles {
  display: grid;
  gap: .3rem;
  margin: .48rem 0 0;
  padding: 0;
  list-style: none;
}

.gtx-gta-tree__articles li {
  margin: 0;
  padding: 0;
}

.gtx-gta-tree__articles li::before {
  content: none;
}

.gtx-gta-tree__articles a {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  width: 100%;
  padding: .38rem .42rem;
  border: 1px solid rgba(100, 216, 255, .13);
  border-radius: .38rem;
  background: rgba(7, 10, 19, .38);
  color: #cbd5ee;
  font-size: .71rem;
  font-weight: 550;
  line-height: 1.35;
  text-decoration: none;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease, transform .16s ease;
}

.gtx-gta-tree__articles a::before {
  display: grid;
  flex: 0 0 1.15rem;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: .02rem;
  border: 1px solid rgba(100, 216, 255, .27);
  border-radius: .3rem;
  background: rgba(100, 216, 255, .07);
  color: #72d9ff;
  content: '›';
  font-size: .9rem;
  font-weight: 800;
  line-height: 1;
  place-items: center;
}

.gtx-gta-tree__articles a:hover,
.gtx-gta-tree__articles a:focus-visible {
  border-color: rgba(100, 216, 255, .42);
  background: linear-gradient(90deg, rgba(100, 216, 255, .12), rgba(154, 99, 255, .08));
  color: #ffffff;
  text-decoration: none;
  transform: translateX(2px);
}

.gtx-gta-tree__articles a:hover::before,
.gtx-gta-tree__articles a:focus-visible::before {
  border-color: rgba(154, 99, 255, .48);
  background: rgba(154, 99, 255, .14);
  color: #ffffff;
}


/* ========================================================================
   GTA Game Next 2.3.46 — pełne nagłówki uniwersów i wyrównane artykuły
   ======================================================================== */

/* Pasek nazwy uniwersum dochodzi do obu krawędzi wnętrza lewej kolumny. */
.gtx-gta-tree__universe-title {
  box-sizing: border-box;
  width: calc(100% + 1.1rem);
  margin-right: -.55rem;
  margin-left: -.55rem;
  padding-right: .75rem;
  padding-left: 1.55rem;
}

/* Tytuł artykułu zaczyna się dokładnie pod pierwszą literą nazwy gry. */
.gtx-gta-tree__articles a {
  gap: 0;
  padding-left: .5rem;
}

.gtx-gta-tree__articles a::before {
  display: none;
  content: none;
}

/* ========================================================================
   GTA Game Next 2.3.47 — precyzyjne wyrównanie nazw artykułów do nazw gier
   ======================================================================== */

/*
 * Globalna reguła paneli e107 dodaje padding-left do wszystkich list UL.
 * Zerujemy go z wyższą specyficznością, aby lista artykułów nie była
 * dodatkowo przesunięta względem nagłówka gry.
 */
.gtx-gta-tree .gtx-gta-tree__articles {
  box-sizing: border-box;
  width: 100%;
  margin: .48rem 0 0 !important;
  padding: 0 !important;
}

/* Tekst artykułu zaczyna się w tej samej osi co tekst nazwy gry. */
.gtx-gta-tree .gtx-gta-tree__articles > li {
  margin: 0 !important;
  padding: 0 !important;
}

.gtx-gta-tree .gtx-gta-tree__articles > li + li {
  margin-top: .3rem !important;
}

.gtx-gta-tree .gtx-gta-tree__articles > li > a {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: .38rem .5rem;
}

/* ========================================================================
   GTA Game Next 2.3.48 — poprawne wyrównanie menu w prawej kolumnie
   ======================================================================== */

/*
 * Panele „Twoje konto”, „Archiwum aktualności” i pozostałe menu przeniesione
 * do prawej kolumny mają otrzymać takie samo zerowanie systemowych wcięć list,
 * jakie wcześniej obowiązywało wyłącznie w lewej kolumnie.
 * Panel TeamSpeak jest wyłączony z tej reguły, ponieważ ma własny układ.
 */
.gtx-sidebar--right > .gtx-panel:not(.gtx-ts-panel) .gtx-panel__body {
  padding: .75rem !important;
  text-align: left !important;
}

.gtx-sidebar--right > .gtx-panel:not(.gtx-ts-panel) .gtx-panel__body > ul,
.gtx-sidebar--right > .gtx-panel:not(.gtx-ts-panel) .gtx-panel__body > ol,
.gtx-sidebar--right > .gtx-panel:not(.gtx-ts-panel) .list-group {
  box-sizing: border-box;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  text-align: left !important;
}

.gtx-sidebar--right > .gtx-panel:not(.gtx-ts-panel) .gtx-panel__body li {
  margin-left: 0 !important;
  list-style: none !important;
  text-align: left !important;
}

.gtx-sidebar--right > .gtx-panel:not(.gtx-ts-panel) .gtx-panel__body li + li {
  margin-top: .35rem !important;
}

.gtx-sidebar--right > .gtx-panel:not(.gtx-ts-panel) .gtx-panel__body li > a,
.gtx-sidebar--right > .gtx-panel:not(.gtx-ts-panel) .list-group-item > a {
  box-sizing: border-box;
  width: 100%;
  text-align: left !important;
}

/* Panel konta nie może odziedziczyć globalnego padding-left dla list UL. */
.gtx-sidebar--right .gtx-account-compact,
.gtx-sidebar--right .login-menu-logged {
  margin: 0 !important;
  padding-left: 0 !important;
}

/* ========================================================================
   GTA Game Next 2.3.49 — automatyczna wysokość kart aktualności
   ======================================================================== */

/*
 * Karta newsa na desktopie nie może mieć sztywnej wysokości. Dłuższy tytuł
 * lub opis ma powiększyć cały kafel, zamiast chować stopkę z autorem,
 * komentarzami i przyciskiem „Czytaj więcej”.
 */
@media (min-width: 768px) {
  .gtx-news-card--horizontal {
    height: auto;
    min-height: 250px;
    align-items: stretch;
  }

  .gtx-news-card--horizontal .gtx-news-card__main {
    min-height: 250px;
  }

  .gtx-news-card--horizontal .gtx-news-card__header,
  .gtx-news-card--horizontal .gtx-news-card__footer {
    flex: 0 0 auto;
  }

  .gtx-news-card--horizontal .gtx-news-card__content {
    min-height: 0;
    overflow: visible;
  }

  /* Miniatura rozciąga się razem z rosnącą kartą. */
  .gtx-news-card--horizontal .gtx-news-card__media {
    position: relative;
    height: auto;
    min-height: 250px;
  }

  .gtx-news-card--horizontal .gtx-news-card__media picture,
  .gtx-news-card--horizontal .gtx-news-card__media > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  .gtx-news-card--horizontal .gtx-news-card__media picture img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
  }
}

/* ========================================================================
   GTA Game Next 2.3.51 - galerie w artykułach i ostre miniatury
   ======================================================================== */

/*
 * Reguły dotyczą bloków wstawionych w treści jako:
 * <div class="article-gallery">{GALLERY_PORTFOLIO:...}</div>
 *
 * Motyw nadpisuje szablon GALLERY_PORTFOLIO, aby generować miniatury
 * 720 x 405. Grid układa elementy obok siebie. Zachowano także obsługę
 * starszego wariantu, w którym e107 renderował każde zdjęcie jako panel.
 */
.article-gallery {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: .75rem;
  width: 100%;
  margin: 1rem 0 1.5rem !important;
  clear: both;
}

/* Klasa clearfix nie może dodawać pustych elementów do siatki. */
.article-gallery::before,
.article-gallery::after {
  display: none !important;
  content: none !important;
}

/* Pojedynczy obraz generowany przez e107. Starszy wariant korzysta z panelu,
 * a wariant 2.3.51 z własnego elementu szablonu galerii. */
.article-gallery > .gtx-panel,
.article-gallery > .gtagame-gallery-item {
  box-sizing: border-box;
  min-width: 0;
  width: auto !important;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid var(--gtx-border);
  border-radius: 10px;
  background: rgba(7, 10, 18, .72);
}

.article-gallery > .gtagame-gallery-item {
  padding: .4rem;
}

/* Usuwa duży padding standardowego panelu i centruje miniaturę. */
.article-gallery > .gtx-panel > .gtx-panel__body {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: .4rem !important;
}

/* Zabezpieczenie na wypadek dodania przez parser dodatkowego akapitu. */
.article-gallery > .gtx-panel > .gtx-panel__body > p {
  width: 100%;
  margin: 0 !important;
}

/* Klikalny obszar miniatury. */
.article-gallery .gtx-panel__body a,
.article-gallery > .gtagame-gallery-item > a {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 7px;
  background: rgba(4, 7, 14, .8);
}

/* Obraz wypełnia kafelek galerii. */
.article-gallery .gtx-panel__body img,
.article-gallery img.gallery_thumb,
.article-gallery img.img-home-portfolio {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: center;
  border-radius: 7px;
  transition: transform .2s ease, filter .2s ease;
}

.article-gallery .gtx-panel__body a:hover img,
.article-gallery .gtx-panel__body a:focus-visible img,
.article-gallery > .gtagame-gallery-item > a:hover img,
.article-gallery > .gtagame-gallery-item > a:focus-visible img {
  transform: scale(1.035);
  filter: brightness(1.08);
}

/* Tablet i węższa kolumna treści. */
@media (max-width: 900px) {
  .article-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Bardzo wąski ekran. */
@media (max-width: 430px) {
  .article-gallery {
    grid-template-columns: 1fr;
    gap: .6rem;
  }
}

/* ========================================================================
   GTA Game Next 2.3.52 - czytelniejsze tytuły powiązanych aktualności
   ======================================================================== */

/*
 * Rdzeń e107 renderuje pod artykułem blok RELATED z tytułami w nagłówkach.
 * Globalne style nagłówków treści nadawały im zbyt duży rozmiar i mocno
 * ozdobny wygląd. Klasa gtx-related-news jest dodawana wyłącznie do tego
 * panelu przez theme.js, dzięki czemu zwykłe nagłówki artykułu pozostają
 * bez zmian.
 */
body.gtx-article-page .gtx-related-news .gtx-panel__body {
  padding: .8rem !important;
}

body.gtx-article-page .gtx-related-news .gtx-panel__body h1,
body.gtx-article-page .gtx-related-news .gtx-panel__body h2,
body.gtx-article-page .gtx-related-news .gtx-panel__body h3,
body.gtx-article-page .gtx-related-news .gtx-panel__body h4,
body.gtx-article-page .gtx-related-news .gtx-panel__body h5,
body.gtx-article-page .gtx-related-news .gtx-panel__body h6 {
  margin: .42rem 0 0 !important;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: .9rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: -.01em !important;
  text-transform: none !important;
}

body.gtx-article-page .gtx-related-news .gtx-related-news__title,
body.gtx-article-page .gtx-related-news .gtx-panel__body h1 a,
body.gtx-article-page .gtx-related-news .gtx-panel__body h2 a,
body.gtx-article-page .gtx-related-news .gtx-panel__body h3 a,
body.gtx-article-page .gtx-related-news .gtx-panel__body h4 a,
body.gtx-article-page .gtx-related-news .gtx-panel__body h5 a,
body.gtx-article-page .gtx-related-news .gtx-panel__body h6 a {
  color: #dce5f3 !important;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: .9rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: -.01em !important;
  text-decoration: none !important;
  overflow-wrap: anywhere;
}

body.gtx-article-page .gtx-related-news .gtx-related-news__title:hover,
body.gtx-article-page .gtx-related-news .gtx-related-news__title:focus-visible,
body.gtx-article-page .gtx-related-news .gtx-panel__body h1 a:hover,
body.gtx-article-page .gtx-related-news .gtx-panel__body h2 a:hover,
body.gtx-article-page .gtx-related-news .gtx-panel__body h3 a:hover,
body.gtx-article-page .gtx-related-news .gtx-panel__body h4 a:hover,
body.gtx-article-page .gtx-related-news .gtx-panel__body h5 a:hover,
body.gtx-article-page .gtx-related-news .gtx-panel__body h6 a:hover {
  color: var(--gtx-cyan) !important;
}

@media (max-width: 767.98px) {
  body.gtx-article-page .gtx-related-news .gtx-panel__body h1,
  body.gtx-article-page .gtx-related-news .gtx-panel__body h2,
  body.gtx-article-page .gtx-related-news .gtx-panel__body h3,
  body.gtx-article-page .gtx-related-news .gtx-panel__body h4,
  body.gtx-article-page .gtx-related-news .gtx-panel__body h5,
  body.gtx-article-page .gtx-related-news .gtx-panel__body h6,
  body.gtx-article-page .gtx-related-news .gtx-related-news__title {
    font-size: .86rem !important;
  }
}


/* ========================================================================
   GTA Game Next 2.3.53 - aktywny artykuł w lewym menu
   ======================================================================== */

/*
 * Aktualnie oglądany artykuł jest oznaczany przez PHP klasą is-active oraz
 * atrybutem aria-current="page". Stan pozostaje widoczny bez najeżdżania.
 */
.gtx-gta-tree .gtx-gta-tree__articles > li.is-active > a,
.gtx-gta-tree .gtx-gta-tree__articles > li > a.is-active,
.gtx-gta-tree .gtx-gta-tree__articles > li > a[aria-current="page"] {
  border-color: rgba(100, 216, 255, .62);
  background: linear-gradient(90deg, rgba(100, 216, 255, .20), rgba(154, 99, 255, .14));
  box-shadow:
    inset 3px 0 0 #64d8ff,
    0 0 0 1px rgba(154, 99, 255, .10),
    0 6px 18px rgba(0, 0, 0, .16);
  color: #ffffff;
  font-weight: 750;
}

.gtx-gta-tree .gtx-gta-tree__articles > li.is-active > a:hover,
.gtx-gta-tree .gtx-gta-tree__articles > li.is-active > a:focus-visible,
.gtx-gta-tree .gtx-gta-tree__articles > li > a[aria-current="page"]:hover,
.gtx-gta-tree .gtx-gta-tree__articles > li > a[aria-current="page"]:focus-visible {
  border-color: rgba(154, 99, 255, .72);
  background: linear-gradient(90deg, rgba(100, 216, 255, .25), rgba(154, 99, 255, .20));
  color: #ffffff;
  transform: none;
}


/* GTA Game Next 2.3.63 — zwarty pasek zasad forum. */
body.gtx-site .gtx-forum-rules-bar {
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: .65rem;
  margin-bottom: .65rem;
  padding: .52rem .68rem;
  border-radius: 11px;
}

body.gtx-site .gtx-forum-rules-bar__icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  font-size: .88rem;
}

body.gtx-site .gtx-forum-rules-bar__copy strong {
  font-size: .78rem;
  line-height: 1.15;
}

body.gtx-site .gtx-forum-rules-bar__copy span {
  font-size: .72rem;
  line-height: 1.28;
}

body.gtx-site .gtx-forum-rules-bar > .gtx-btn {
  min-height: 32px;
  padding: .42rem .68rem;
  font-size: .7rem;
}

@media (max-width: 991.98px) {
  body.gtx-site .gtx-forum-rules-bar {
    grid-template-columns: 36px minmax(0, 1fr);
  }
}

@media (max-width: 575.98px) {
  body.gtx-site .gtx-forum-rules-bar {
    grid-template-columns: 1fr;
  }
}


/* ========================================================================
   GTA Game Next 2.3.65 — wspólna, stonowana paleta przycisków całej strony
   ======================================================================== */
body.gtx-site .gtx-btn,
body.gtx-site .btn,
body.gtx-site input[type="submit"],
body.gtx-site input[type="button"],
body.gtx-site button.gtx-auth-button,
body.gtx-site button.gtx-login-page__submit,
body.gtx-site .gtx-news-card__external {
  color: #edf3fb !important;
  -webkit-text-fill-color: currentColor !important;
  border: 1px solid rgba(116, 143, 183, .38) !important;
  background: linear-gradient(135deg, #202a3a 0%, #2a2438 100%) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .20) !important;
  text-shadow: none !important;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease !important;
}

body.gtx-site .gtx-btn:hover,
body.gtx-site .gtx-btn:focus-visible,
body.gtx-site .btn:hover,
body.gtx-site .btn:focus-visible,
body.gtx-site input[type="submit"]:hover,
body.gtx-site input[type="submit"]:focus-visible,
body.gtx-site input[type="button"]:hover,
body.gtx-site input[type="button"]:focus-visible,
body.gtx-site button.gtx-auth-button:hover,
body.gtx-site button.gtx-auth-button:focus-visible,
body.gtx-site button.gtx-login-page__submit:hover,
body.gtx-site button.gtx-login-page__submit:focus-visible,
body.gtx-site .gtx-news-card__external:hover,
body.gtx-site .gtx-news-card__external:focus-visible {
  color: #fff !important;
  border-color: rgba(97, 199, 232, .55) !important;
  background: linear-gradient(135deg, #2b3b4d 0%, #42324f 100%) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25) !important;
  transform: translateY(-1px);
}

body.gtx-site .gtx-btn--primary,
body.gtx-site .btn-primary {
  color: #f5f8fd !important;
  border-color: rgba(101, 194, 226, .48) !important;
  background: linear-gradient(135deg, #294153 0%, #42304f 100%) !important;
}

body.gtx-site .gtx-btn--ghost,
body.gtx-site .btn-secondary,
body.gtx-site .btn-default {
  color: #e2e9f4 !important;
  border-color: rgba(116, 143, 183, .32) !important;
  background: linear-gradient(135deg, #1b2330 0%, #252131 100%) !important;
}

body.gtx-site .btn-danger {
  color: #ffeef1 !important;
  border-color: rgba(218, 104, 122, .42) !important;
  background: linear-gradient(135deg, #44252d 0%, #382330 100%) !important;
}

body.gtx-site .btn-success {
  color: #effff7 !important;
  border-color: rgba(83, 190, 139, .42) !important;
  background: linear-gradient(135deg, #214033 0%, #25343a 100%) !important;
}

body.gtx-site .btn-warning {
  color: #fff8dd !important;
  border-color: rgba(218, 181, 83, .45) !important;
  background: linear-gradient(135deg, #493b22 0%, #39302a 100%) !important;
}


/* ================================================================
   GTA Game Next 2.4.7 — PING HTTP skorygowany o czas przetwarzania endpointu
   ================================================================ */
.gtx-ts-address-row {
  display: flex;
  align-items: center;
  gap: .42rem;
}
.gtx-ts-address-row .gtx-ts-address {
  min-width: 0;
  flex: 1 1 auto;
}
.gtx-ts-copy {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  padding: 0;
  border: 1px solid var(--gtx-border);
  border-radius: 7px;
  color: var(--gtx-muted);
  background: rgba(255,255,255,.025);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.gtx-ts-copy:hover,
.gtx-ts-copy:focus-visible,
.gtx-ts-copy.is-copied {
  border-color: rgba(88,221,255,.35);
  color: var(--gtx-cyan);
  background: rgba(88,221,255,.07);
}
.gtx-ts-browser-ping.is-excellent { color: var(--gtx-green); }
.gtx-ts-browser-ping.is-good { color: var(--gtx-cyan); }
.gtx-ts-browser-ping.is-average { color: var(--gtx-yellow); }
.gtx-ts-browser-ping.is-poor { color: #ff9b6a; }
.gtx-ts-browser-ping.is-bad { color: #ff7185; }
.gtx-ts-details {
  margin: .55rem 0 .68rem;
  border: 1px solid var(--gtx-border);
  border-radius: 9px;
  background: rgba(255,255,255,.018);
}
.gtx-ts-details summary {
  padding: .48rem .58rem;
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
}
.gtx-ts-details summary::marker {
  color: var(--gtx-cyan);
}
.gtx-ts-details__body {
  display: grid;
  gap: .35rem;
  padding: 0 .58rem .58rem;
}
.gtx-ts-details__body > div:not(.gtx-ts-users) {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .7rem;
  padding-top: .35rem;
  border-top: 1px solid rgba(255,255,255,.055);
  font-size: .66rem;
}
.gtx-ts-details__body > div > span {
  color: var(--gtx-muted);
}
.gtx-ts-details__body > div > strong {
  max-width: 62%;
  color: #fff;
  font-size: .66rem;
  text-align: right;
  overflow-wrap: anywhere;
}
.gtx-ts-users {
  padding-top: .42rem;
  border-top: 1px solid rgba(255,255,255,.055);
}
.gtx-ts-users > span {
  display: block;
  margin-bottom: .32rem;
  color: var(--gtx-muted);
  font-size: .64rem;
}
.gtx-ts-users ul {
  display: grid;
  gap: .25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gtx-ts-users li {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: .38rem;
  color: #fff;
  font-size: .67rem;
  overflow-wrap: anywhere;
}
.gtx-ts-users li > span {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gtx-green);
  box-shadow: 0 0 7px rgba(85,227,154,.5);
}
.gtx-ts-users p {
  margin: 0;
  color: var(--gtx-muted);
  font-size: .65rem;
}
