*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

button,
input,
input[type="submit"],
input[type="reset"] {
  background: none;
  color: inherit;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: none;
}

@font-face {
  font-family: unitedSansRegBold;
  src: url(/fonts/UnitedSansReg-Bold.otf);
}

:root {
  --bg: #1a1a1a;
  --text: #F0EDED;
  --muted: #afafaf;
  --accent: #ffc800;
  --accent2: #e0b400;
  --border: #7C6E66;
}

body {
  background-image: url("/assets/Backgrounds/Gorodok.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: var(--text);
  font-family: 'unitedSansRegBold', sans-serif;
}

@media (min-width:1200px) {
  body {
    background-attachment: scroll;
  }
}

body::before,
body::after {
  content: "";
  display: none;
}

.restart-warning-banner {
  background-color: rgba(224, 180, 0, .9);
  color: #1a1a1a;
  text-align: center;
  padding: 12px 40px 12px 20px;
  position: relative;
  font-family: Arial, sans-serif;
  font-size: 16px;
  z-index: 1001;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.close-restart-warning {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  font-size: 24px;
  color: #1a1a1a;
  opacity: .7;
  transition: opacity .2s ease;
}

.close-restart-warning:hover {
  opacity: 1;
}

.blur-div {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, .76);
  z-index: -1;
}

@supports not (backdrop-filter: blur(1px)) {
  .blur-div {
    background-color: rgba(0, 0, 0, .86);
  }
}

.container {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-container {
  background: rgba(10, 10, 10, .5);
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .1);
}

.header-logo {
  height: 64px;
  display: block;
}

.ci-info h1 {
  font-size: 2.5em;
  color: #fff;
}

.ci-info p {
  font-size: 1em;
  color: rgba(255, 255, 255, .8);
  margin-top: 5px;
}

.menu-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.browser {
  margin-top: 60px;
}

.browser-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 10px;
}

.server-stats {
  display: flex;
  gap: 15px;
}

.stat-card {
  background: rgba(10, 10, 10, .5);
  padding: 10px 15px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .1);
}

.stat-value {
  font-family: 'unitedSansRegBold', sans-serif;
  font-size: 24px;
  color: #fdca00;
}

.stat-label {
  font-family: 'unitedSansRegBold', sans-serif;
  font-size: 12px;
  color: var(--text);
  text-transform: uppercase;
}

.squad-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: transparent;
  border: 1px solid var(--border);
  color: #fff;
  text-transform: uppercase;
  transition: background-color .15s ease, color .15s ease;
}

.squad-button.selected {
  background-color: var(--accent2);
  color: #1a1a1a;
}

.squad-button:hover {
  background-color: #fdca0086;
}

.nav-button {
  font-size: 24px;
  width: 240px;
  height: 46px;
}

.filter-button {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  width: 400px;
  height: 28px;
}

.corner-texture-btn {
  position: absolute;
  bottom: 3px;
  left: 3px;
  height: 5px;
}

.filter-button-icon {
  position: absolute;
  right: 5px;
  height: 16px;
}

.filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 17px;
  height: auto;
}

.search {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
  width: 400px;
  height: 28px;
  background: transparent;
  border: 1px solid var(--border);
  gap: 6px;
  padding-left: 5px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.search:focus-within {
  border-color: rgba(253, 202, 0, .8);
  box-shadow: 0 0 8px rgba(253, 202, 0, .18);
}

.search>input {
  line-height: 28px;
  height: 100%;
  outline: 0;
  border: 0;
  color: #cecece;
  width: 100%;
  background: transparent;
  z-index: 1;
}

.search>input::placeholder {
  color: #cecece;
  opacity: .7;
  transition: opacity .2s ease-in-out;
}

#searchInput:focus::placeholder {
  opacity: .5;
}

.glass-image {
  height: 18px;
  transform: rotateY(180deg);
  transition: transform .2s ease;
  z-index: 1;
}

.search input:focus+.glass-image {
  transform: rotateY(180deg) scale(1.05);
}

.server-list {
  height: 70vh;
  overflow: auto;
  border: 1px solid rgba(124, 110, 102, .2);
  background-color: rgba(0, 0, 0, .1);
  position: relative;
  content-visibility: auto;
  contain: layout paint;
}

#load-sentinel {
  width: 1px;
  height: 1px;
}

.loader-container {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, .5);
  z-index: 10;
  opacity: 1;
  transition: opacity .2s ease-in-out;
  pointer-events: none;
}

.loader-container.hidden {
  opacity: 0;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid var(--border);
  border-top-color: #fdca00;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.server-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text);
  font-family: Arial, sans-serif;
  font-size: 14px;
  table-layout: fixed;
}

.server-table thead {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: rgba(26, 26, 26, .95);
}

.server-table th {
  padding: 10px;
  text-align: left;
  color: var(--muted);
  font-weight: 400;
  transition: color .2s ease;
}

.server-table th[data-sort-by] {
  cursor: pointer;
  user-select: none;
}

.server-table th img {
  height: 10px;
  margin-left: 5px;
  transition: transform .2s ease-in-out;
}

.server-table th.sorted-asc,
.server-table th.sorted-desc {
  color: var(--accent);
}

.server-table th.sorted-asc img {
  transform: rotate(180deg);
}

.server-table th.sorted-desc img {
  transform: rotate(0deg);
}

.server-name-col {
  width: 40%;
}

.map-col {
  width: 15%;
}

.mode-col {
  width: 10%;
}

.players-col {
  width: 10%;
}

.time-col {
  width: 5%;
}

.actions-col {
  width: 20%;
}

.server-table tbody tr {
  background-color: rgba(37, 37, 37, .171);
}

.server-table tbody tr:hover {
  cursor: pointer;
  background-color: rgba(60, 60, 60, .3);
  position: relative;
  z-index: 2;
}

.server-table td {
  padding: 15px 10px;
}

.server-name-cell .server-info {
  display: flex;
  align-items: center;
}

.favorite-star>img {
  height: 24px;
  margin-right: 10px;
}

.server-details {
  max-width: 450px;
}

.server-title {
  font-weight: 700;
  display: flex;
  align-items: center;
}

.server-name-text {
  height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.server-tags {
  display: flex;
  align-items: center;
  margin-top: 5px;
  max-width: 350px;
}

.tag-icon {
  margin-right: 5px;
  display: flex;
  gap: 5px;
}

.tag-icon img {
  height: 14px;
}

.tag-text {
  height: 16px;
  font-size: 12px;
  color: #808080;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.queue-indicator {
  color: #c7b27a;
  font-size: 12px;
  margin-left: 5px;
  font-style: italic;
}

.connect-button {
  height: 34px;
  font-size: 14px;
  padding: 0 25px;
  position: relative;
  transition: opacity .15s ease, background-color .15s ease, color .15s ease;
  white-space: nowrap;
}

.connect-button .loader {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-top-color: #fdca00;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  display: none;
}

.connect-button.connecting {
  pointer-events: none;
  color: transparent;
}

.connect-button.connecting .loader {
  display: block;
}

.connect-button:disabled {
  background: #4a4a4a;
  color: #888;
  cursor: not-allowed;
  border-color: #555;
  pointer-events: none;
}

.connect-button.connecting:disabled {
  color: transparent;
}

.connect-button:disabled:hover {
  background: #4a4a4a;
}

.tooltip-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tooltip-wrapper .tooltip-text {
  visibility: hidden;
  width: 200px;
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px;
  position: absolute;
  z-index: 10;
  bottom: 125%;
  left: 50%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity .2s;
  font-family: Arial, sans-serif;
  font-size: 12px;
  pointer-events: none;
}

.tooltip-wrapper:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.actions-cell {
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  align-items: center;
  grid-gap: 5px;
  width: 100%;
}

.actions-cell>.discord-button {
  grid-column: 1;
  justify-self: end;
}

.actions-cell>.connect-button,
.actions-cell>.tooltip-wrapper {
  grid-column: 2;
  justify-self: center;
}

.squad-icon-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  background: transparent;
  transition: background-color .1s ease-in-out;
}

.squad-icon-button:hover {
  background-color: #fdca0086;
}

.squad-icon-button img {
  height: 18px;
  width: auto;
}

.filter-menu-overlay,
.server-popup-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, .6);
  z-index: 998;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease-in-out;
}

.filter-menu-overlay.visible,
.server-popup-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.filter-panel {
  position: relative;
  width: 90%;
  max-width: 900px;
  padding: 30px;
  background-color: rgba(10, 10, 10, 1.0);
  border: 1px solid var(--border);
  transform: scale(1) translateY(0);
}

.filter-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 30px;
}

.filter-panel h3 {
  text-transform: uppercase;
  font-size: 24px;
  margin-bottom: 25px;
  text-align: center;
  color: var(--accent);
}

.filter-group {
  background-color: rgba(0, 0, 0, .2);
  padding: 15px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}

.filter-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.filter-group-header p {
  font-size: 16px;
  color: var(--muted);
  text-transform: uppercase;
}

.accordion-arrow {
  height: 10px;
  transition: transform .2s ease-in-out;
}

.filter-group.active .accordion-arrow {
  transform: rotate(180deg);
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  overflow: hidden;
  max-height: none;
  margin-top: 15px;
  padding-top: 5px;
  opacity: 1;
}

.filter-option-button {
  width: auto;
  height: 38px;
  font-size: 15px;
  padding: 0 20px;
}

.close-filter-menu,
#close-server-popup,
.close-seeding-ad {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  color: var(--muted);
  cursor: pointer;
  transition: color .15s ease;
  z-index: 5;
}

.close-filter-menu:hover,
#close-server-popup:hover,
.close-seeding-ad:hover {
  color: var(--accent);
}

.faq-content {
  margin-top: 60px;
  padding: 40px;
  border: 1px solid rgba(124, 110, 102, .2);
  background-color: rgba(0, 0, 0, .2);
  font-family: Arial, sans-serif;
  content-visibility: auto;
}

.faq-content h2 {
  text-align: center;
  font-family: unitedSansRegBold;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 28px;
  user-select: text !important;
}

.faq-item {
  margin-bottom: 30px;
}

.faq-item h3 {
  font-family: unitedSansRegBold;
  text-transform: uppercase;
  color: var(--accent2);
  font-size: 20px;
  user-select: text !important;
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #cecece;
  user-select: text !important;
}

.faq-item strong {
  color: #fff;
  font-weight: 400;
  user-select: text !important;
}

.server-popup-panel {
  position: relative;
  width: 90%;
  max-width: 600px;
  padding: 30px;
  background-color: transparent;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow: hidden;
}

.server-popup-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(10, 10, 10, 0.75);
  z-index: 1;
}

.server-popup-panel>*:not(.popup-map-zoomer) {
  position: relative;
  z-index: 2;
}

.popup-map-zoomer {
  position: absolute;
  inset: -40px;
  z-index: 0;
  transform: scale(1.15);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.server-popup-overlay.visible .popup-map-zoomer {
  transform: scale(1);
}

.popup-map-parallaxer {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.2s ease-out;
}

#popup-server-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-right: 35px;
}

#popup-server-name {
  user-select: text !important;
  text-transform: uppercase;
  font-size: 24px;
  margin-bottom: 0;
  color: var(--accent);
  word-break: break-word;
  line-height: 1.2;
}

.popup-info-icon {
  font-family: 'Times New Roman', serif;
  font-weight: bold;
  font-style: italic;
  font-size: 18px;
  color: var(--muted);
  border: 1px solid var(--muted);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.popup-info-icon:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
}

#popup-server-description {
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  border-left: 3px solid var(--accent);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease-out;
  padding-top: 0;
  padding-bottom: 0;
}

#popup-server-description.visible {
  max-height: 200px;
  opacity: 1;
  padding-top: 15px;
  padding-bottom: 15px;
}

.player-counter-visual {
  position: relative;
  width: 100%;
  font-family: Arial, sans-serif;
}

.player-bar-background {
  width: 100%;
  height: 28px;
  background-color: rgba(0, 0, 0, .3);
  border-radius: 4px;
  border: 1px solid rgba(124, 110, 102, .5);
  position: relative;
  overflow: hidden;
}

.player-bar-fill {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 0%;
  background-color: var(--accent2);
  border-radius: 3px;
  transition: width .3s ease-out;
}

.queue-bar-overfill {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  height: 100%;
  width: 0%;
  background: repeating-linear-gradient(-45deg, rgba(255, 50, 50, .8), rgba(255, 50, 50, .8) 10px, rgba(224, 40, 40, .8) 10px, rgba(224, 40, 40, .8) 20px);
  background-size: 28px 28px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  box-shadow: inset 0 0 10px rgba(150, 0, 0, .8);
  transition: width .3s ease-out;
}

.player-count-text {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  pointer-events: none;
  z-index: 3;
}

#server-popup-details {
  font-family: Arial, sans-serif;
  color: var(--text);
  border-top: 1px solid rgba(124, 110, 102, .5);
  margin-top: 15px;
  padding-top: 15px;
}

.faction-focus-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-family: 'unitedSansRegBold', sans-serif;
  text-transform: uppercase;
}

.faction-display {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10px;
}

.faction-flag {
  width: 100px;
  width: auto;
  object-fit: contain;
}

.faction-name-text {
  margin-top: -20px;
  font-size: 16px;
  text-align: center;
  color: var(--text);
  line-height: 1.2;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faction-divider {
  font-size: 24px;
  color: var(--muted);
  font-weight: bold;
}

.shared-details-container {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 4px;
}

.shared-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.detail-label {
  font-family: 'unitedSansRegBold', sans-serif;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 14px;
  flex-shrink: 0;
}

.detail-value {
  font-family: 'unitedSansRegBold', sans-serif;
  font-size: 16px;
  color: var(--text);
  text-align: right;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-popup-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 10px;
}

.server-popup-actions .tooltip-wrapper {
  display: inline-block;
}

.server-popup-actions .squad-button,
.server-popup-actions .squad-icon-button {
  height: 40px;
}

.server-popup-actions .connect-button {
  font-size: 16px;
  padding: 0 30px;
}

.server-popup-actions .tooltip-wrapper[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #fff;
  padding: 8px;
  border-radius: 6px;
  font-size: 12px;
  font-family: Arial, sans-serif;
  white-space: nowrap;
  z-index: 11;
}

.server-popup-actions .squad-icon-button {
  width: 40px;
}

.seeding-ad-banner {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(200%);
  width: 90%;
  max-width: 500px;
  background-color: rgba(10, 10, 10, .7);
  border: 1px solid #fdca00;
  border-radius: 8px;
  z-index: 997;
  transition: transform .3s ease;
}

.seeding-ad-banner.visible {
  transform: translateX(-50%) translateY(0);
}

.seeding-ad-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  gap: 15px;
}

.seeding-ad-text h3 {
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 3px;
  text-transform: uppercase;
}

.seeding-ad-text p {
  font-size: 14px;
  color: #cecece;
}

.seeding-ad-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.seeding-ad-actions .connect-button {
  height: 40px;
  font-size: 16px;
  padding: 0 25px;
  flex-shrink: 0;
}

@media (max-width:1200px) {
  .nav-button {
    width: 200px;
    font-size: 20px;
  }

  .server-table {
    font-size: 13px;
  }
}

@media (max-width:992px) {
  .container {
    width: 95%;
  }

  .header {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .browser-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .filters {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .server-stats {
    justify-content: center;
  }

  .filter-button,
  .search {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width:768px) {
  .menu-buttons {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .nav-button {
    width: 100%;
    max-width: 400px;
  }

  .server-list {
    overflow-x: hidden;
  }

  .filter-grid-container {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    max-width: 500px;
  }

  .server-table thead {
    display: none;
  }

  .server-table tbody,
  .server-table tr,
  .server-table td {
    display: block;
  }

  .server-table tr {
    margin-bottom: 20px;
    border: 1px solid var(--border);
    background-color: rgba(15, 15, 15, .5);
  }

  .server-table tbody tr:hover {
    background-color: rgba(86, 73, 0, .53);
    cursor: pointer;
  }

  .server-table td {
    padding: 12px 15px;
    padding-left: 45%;
    position: relative;
    text-align: right;
    border: 0;
    border-bottom: 1px solid rgba(124, 110, 102, .2);
  }

  .server-table tr td:last-child {
    border-bottom: 0;
  }

  .server-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    width: 40%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
  }

  .server-table td.server-name-cell {
    padding: 15px;
    text-align: left;
    background-color: rgba(0, 0, 0, .3);
  }

  .server-table td.server-name-cell::before {
    display: none;
  }

  .server-name-cell .server-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .tag-text {
    white-space: normal;
  }

  .server-table .actions-cell {
    padding: 15px;
    display: flex;
    gap: 5px;
  }

  .server-table .actions-cell::before {
    display: none;
  }

  .connect-button {
    width: 100%;
    flex-grow: 1;
    height: 40px;
    font-size: 16px;
  }

  .squad-icon-button {
    height: 40px;
    width: 40px;
    flex-shrink: 0;
  }

  .faq-content {
    padding: 20px;
  }
}

@media (max-width:480px) {
  .header-logo {
    max-width: 250px;
  }

  .nav-button {
    font-size: 18px;
    height: 42px;
  }

  .search>input {
    font-size: 16px;
  }

  .server-title {
    font-size: 15px;
  }

  .filter-panel {
    padding: 20px;
  }

  .filter-panel h3 {
    font-size: 20px;
  }

  .server-popup-panel {
    padding: 20px;
    gap: 12px;
  }

  #popup-server-name {
    font-size: 20px;
  }
}

.footer {
  margin-top: 50px;
  margin-bottom: 100px;
  text-align: center;
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
  color: rgba(255, 255, 255, .932);
}

.footer>p {
  user-select: text;
}

#popup-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.popup {
  background-color: rgba(26, 35, 46, .9);
  color: #e6e6e6;
  padding: 15px 25px;
  border-radius: 4px;
  border-left: 5px solid var(--accent);
  font-size: 16px;
  opacity: 0;
  transform: translateX(100%);
  transition: transform .25s ease, opacity .25s ease;
  pointer-events: auto;
  position: relative;
  overflow: hidden;
}

.popup.error {
  border-left-color: #ff3860;
}

.popup.show {
  opacity: 1;
  transform: translateX(0);
}

.popup::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: var(--accent);
  width: 100%;
}

.popup.error::after {
  background-color: #ff3860;
}

.popup.show::after {
  animation: progressBar 4s linear forwards;
}

::-webkit-scrollbar {
  width: 18px;
  height: 18px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background-color: var(--border);
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background-color: #fdca00;
}

::-webkit-scrollbar-corner {
  background: var(--bg);
}

* {
  scrollbar-width: auto;
  scrollbar-color: var(--border) var(--bg);
}

.pinned-server {
  border: 1px solid #0eb2e44d;
}

.spoofed-server {
  background-color: rgba(255, 0, 0, .1);
  border: 1px solid rgba(255, 0, 0, .2);
}

.spoofed-badge-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  flex-shrink: 0;
}

.spoofed-badge {
  background: #c00;
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  cursor: help;
}

.spoofed-badge-container .tooltip {
  visibility: hidden;
  width: 220px;
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px;
  position: absolute;
  z-index: 10;
  bottom: 150%;
  left: 50%;
  margin-left: -110px;
  opacity: 0;
  transition: opacity .2s;
  font-size: 12px;
  font-weight: 400;
  pointer-events: none;
}

.spoofed-badge-container .tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #1a1a1a transparent transparent transparent;
}

.spoofed-badge-container:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.seeding-server {
  border: 1px solid rgba(224, 180, 0, .6);
}

.seeding-badge {
  background-color: rgba(224, 180, 0, .2);
  color: var(--accent2);
  border: 1px solid rgba(224, 180, 0, .5);
  padding: 2px 5px;
  font-size: 10px;
  border-radius: 3px;
  margin-left: 8px;
  text-transform: uppercase;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes progressBar {
  from {
    width: 100%;
  }

  to {
    width: 0%;
  }
}

p a {
  color: #fff;
  text-decoration: none;
  font-family: unitedSansRegBold;
}

p a:hover {
  text-decoration: underline;
}

.header:hover {
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}