/* Site background override: loaded after the selected LGSL theme. */
html {
  min-height: 100%;
  background: #0b1014;
}

body {
  min-height: 100vh;
  background-color: #0b1014 !important;
  background-image:
    linear-gradient(rgba(5, 9, 12, .16), rgba(5, 9, 12, .42)),
    url('../other/server-counter-bg.webp') !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

/* Main navigation */
#topmenu.site_navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 58px;
  padding: 0 2.5% !important;
  box-sizing: border-box;
  border: 0 !important;
  border-bottom: 1px solid rgba(126, 157, 170, .25) !important;
  background: rgba(5, 10, 13, .92) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.navbar_brand { display: inline-flex; align-items: center; justify-self: start; color: #f2f6f7 !important; text-decoration: none !important; }
.navbar_brand img { display: block; width: 36px; height: 36px; object-fit: contain; }
.navbar_links { display: flex; align-self: stretch; justify-self: end; justify-content: flex-end; gap: 4px; }
.navbar_links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 17px;
  color: #9eabb1 !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
}
.navbar_links a::after { content: ''; position: absolute; right: 17px; bottom: 0; left: 17px; height: 2px; background: transparent; }
.navbar_links a:hover { color: #eef4f6 !important; background: rgba(255,255,255,.025); }
.navbar_links a.active { color: #fff !important; }
.navbar_links a.active::after { background: #4d9cbd; }
#adminlink { display: none !important; }

/* Parallax adds remote images on the container and otherwise hides the site background. */
#container {
  display: block !important;
  width: 100% !important;
  min-height: calc(100vh - 60px);
  height: auto !important;
  overflow-x: hidden;
  background-image: none !important;
  background-color: transparent !important;
}

.resolved_ip {
  display: block;
  margin-top: 3px;
  color: rgba(225, 240, 248, .62);
  font-size: 9px;
  font-weight: normal;
  white-space: nowrap;
}
.mobile_server_address { display: none; }

.server_filters {
  display: grid;
  clear: both;
  grid-template-columns: minmax(240px, 1.8fr) minmax(145px, .65fr) minmax(125px, .58fr) minmax(145px, .7fr) auto;
  align-items: end;
  gap: 10px;
  width: 95%;
  margin: 24px auto 0;
  padding: 12px;
  box-sizing: border-box;
  border: 1px solid rgba(125, 153, 166, .28);
  background: rgba(7, 13, 17, .86);
}

#server_list_table { clear: both; }
#pages, #totals, .page_bottom_space { clear: both; }
.server_filters label, .server_filter_country { display: grid; gap: 5px; min-width: 0; }
.server_filters label > span, .server_filter_country > span { color: #9cafb8; font-size: 10px; }
.server_filters input,
.server_filters select {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  box-sizing: border-box;
  border: 1px solid #34444c;
  border-radius: 2px;
  outline: 0;
  background: #0c1418;
  color: #eef4f6;
}
.server_filters input:focus,
.server_filters select:focus { border-color: #4d859e; }
.server_filters select option { background: #0c1418; color: #eef4f6; }
.country_native_select { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; opacity: 0; pointer-events: none; }
.country_filter_picker { position: relative; min-width: 0; }
.country_filter_picker summary {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 30px 0 10px;
  box-sizing: border-box;
  border: 1px solid #34444c;
  border-radius: 2px;
  background: #0c1418;
  color: #eef4f6;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}
.country_filter_picker summary::-webkit-details-marker { display: none; }
.country_filter_picker summary::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 12px;
  width: 6px;
  height: 6px;
  margin-top: -5px;
  border-right: 2px solid #eef4f6;
  border-bottom: 2px solid #eef4f6;
  transform: rotate(45deg);
  transition: transform .15s ease, margin-top .15s ease;
}
.country_filter_picker[open] summary::after {
  margin-top: -1px;
  transform: rotate(225deg);
}
.country_filter_picker[open] summary { border-color: #4d859e; }
.country_filter_picker img { display: block; width: 18px; height: 12px; object-fit: cover; border: 1px solid #39474e; }
.country_filter_globe {
  display: block;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f4f7f8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M2.5 12h19M12 2.5c2.5 2.6 3.8 5.8 3.8 9.5S14.5 18.9 12 21.5M12 2.5C9.5 5.1 8.2 8.3 8.2 12s1.3 6.9 3.8 9.5'/%3E%3C/svg%3E");
  opacity: .94;
}
.country_filter_current { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.country_filter_menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 50;
  width: max(100%, 210px);
  max-height: 260px;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  border: 1px solid #34444c;
  background: #081014;
  box-shadow: 0 10px 24px rgba(0,0,0,.45);
  scrollbar-width: thin;
  scrollbar-color: #596167 #0b1114;
}
.country_filter_menu::-webkit-scrollbar { width: 9px; }
.country_filter_menu::-webkit-scrollbar-track { background: #0b1114; }
.country_filter_menu::-webkit-scrollbar-thumb { border: 2px solid #0b1114; border-radius: 8px; background: #596167; }
.country_filter_menu::-webkit-scrollbar-thumb:hover { background: #747d83; }
.country_filter_menu::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.country_filter_option {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  box-sizing: border-box;
  min-height: 35px;
  padding: 7px 10px;
  border: 0;
  border-bottom: 1px solid #1e2a30;
  background: transparent;
  color: #e7edef;
  text-align: left;
  cursor: pointer;
  font-size: 11px;
  text-decoration: none;
}
.country_filter_option:hover { background: #14242c; }
.server_filter_actions { display: flex; align-items: center; gap: 8px; height: 34px; }
.server_filter_actions button,
.server_filter_actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 13px;
  box-sizing: border-box;
  border: 1px solid #3c6475;
  border-radius: 2px;
  background: #17313d;
  color: #fff;
  font-size: 11px;
  text-decoration: none;
  cursor: pointer;
}
.server_filter_actions a { border-color: #3b454a; background: #171d20; color: #b8c2c7; }
.server_filter_empty { width: 95%; margin: 20px auto -10px; color: #c7d0d4; text-align: center; }
.server_refresh_status { display: flex; align-items: center; justify-content: flex-end; gap: 7px; width: 95%; margin: 7px auto -22px; color: #75858c; font-size: 9px; }
.server_refresh_status strong { min-width: 34px; color: #b9c8ce; font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }

.server_list_intro,
.seo_standard_page { width: 95%; margin: 18px auto 0; box-sizing: border-box; }
.server_list_intro { padding: 14px 16px; border: 1px solid #29343a; background: rgba(6, 11, 14, .9); text-align: left; }
.server_list_intro h1,
.seo_standard_page > h1 { margin: 8px 0 5px; color: #f3f6f7; font-size: 18px; line-height: 1.25; }
.server_list_intro p,
.seo_page_lead { margin: 0; color: #9eabb1; font-size: 11px; line-height: 1.6; }
.seo_breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: #77868d; font-size: 9px; }
.seo_breadcrumb a { color: #8db6c8; text-decoration: none; }
.seo_breadcrumb a:hover { color: #c5e8f5; }
.seo_internal_links { width: 95%; margin: 14px auto 0; padding: 13px 15px; box-sizing: border-box; border: 1px solid #273136; background: rgba(5, 9, 11, .9); text-align: left; }
.seo_internal_links h2 { margin: 0 0 9px; color: #e8edef; font-size: 12px; }
.seo_internal_links div { display: flex; flex-wrap: wrap; gap: 7px 12px; }
.seo_internal_links a { color: #8eb7c8; font-size: 9px; text-decoration: none; }
.details_page > .seo_breadcrumb { margin: 14px 0 0; }
.seo_standard_page > .public_add_form { width: min(660px, 100%); }
.site_footer { width: 95%; margin: 28px auto 0; padding: 16px 0 28px; border-top: 1px solid #2b3438; color: #718087; text-align: center; }
.site_footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 18px; }
.site_footer a { color: #9db4be; font-size: 10px; text-decoration: none; }
.site_footer p { margin: 10px 0 0; font-size: 9px; }

@media (max-width: 900px) {
  .server_filters { grid-template-columns: repeat(2, minmax(0, 1fr)); width: calc(100% - 20px); }
  .server_filter_search, .server_filter_actions { grid-column: 1 / -1; }
  .server_filter_actions button, .server_filter_actions a { flex: 1; }
}

@media (max-width: 520px) {
  .server_filters { grid-template-columns: 1fr; margin-top: 14px; padding: 10px; }
  .server_filter_search, .server_filter_actions { grid-column: auto; }
  .server_list_intro, .seo_standard_page, .seo_internal_links { width: calc(100% - 12px); }
  .server_list_intro { padding: 12px; }
  .server_list_intro h1, .seo_standard_page > h1 { font-size: 16px; }
}

#server_list_table .players_numeric {
  color: #f4f7f8 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .9);
}

#server_list_table .map_cell,
#server_list_table .players_cell {
  text-align: center !important;
}

#server_list_table .players_cell .outer_bar,
#server_list_table .players_cell .inner_bar {
  text-align: center !important;
}

#server_list_table tr.server_nrs .players_numeric {
  color: #ffb08f !important;
}

#server_list_table .contry_icon {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .45);
  vertical-align: middle;
}

#server_list_table .status_cell {
  white-space: nowrap;
  vertical-align: middle;
}

#server_list_table .status_cell > .contry_icon,
#server_list_table .status_cell > a {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

#server_list_table .status_cell > a { margin-left: 5px; }
#server_list_table .status_cell .game_icon {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: middle;
}


#server_list_table .connectlink_cell {
  position: relative;
  text-align: center;
  white-space: nowrap;
  padding-right: 38px !important;
}

#server_list_table .connectlink_cell > a {
  display: inline-block;
  width: 19ch;
  max-width: 100%;
  text-align: left;
  color: #ffffff !important;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .85);
}

#server_list_table .connectlink_cell > a:hover {
  color: #d7f2ff !important;
}

.copy_address {
  position: absolute;
  top: 50%;
  right: 7px;
  margin: 0;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 3px;
  background: rgba(0, 0, 0, .28);
  color: #d8dde0;
  font: inherit;
  font-size: 9px;
  cursor: pointer;
  vertical-align: middle;
}
.copy_address svg { width: 14px; height: 14px; fill: currentColor; }
.copy_address .copied_icon { display: none; }
.copy_address:hover { border-color: rgba(255, 255, 255, .6); color: #fff; }
.copy_address.is_copied { color: #bff1cb; border-color: rgba(114, 205, 137, .6); }
.copy_address.is_copied .copy_icon { display: none; }
.copy_address.is_copied .copied_icon { display: block; }
.copy_notice {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 9999;
  padding: 10px 15px;
  transform: translate(-50%, 18px);
  border: 1px solid rgba(111, 205, 139, .55);
  border-radius: 4px;
  background: rgba(20, 35, 26, .96);
  color: #d9f6e1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.copy_notice.is_visible { opacity: 1; transform: translate(-50%, 0); }
.copy_notice.is_error { border-color: rgba(217, 105, 105, .6); background: rgba(50, 23, 23, .96); color: #ffdada; }
.copy_notice.is_top_right { left: auto; right: 18px; top: 18px; bottom: auto; transform: translateY(-12px); background: #080d09; }
.copy_notice.is_top_right.is_visible { transform: translateY(0); }

#server_list_table .details_cell { text-align: center; }
#server_list_table .details_cell .details_icon,
#server_list_table .details_cell .report_icon { vertical-align: middle; }
#server_list_table .details_cell .details_icon {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  box-sizing: border-box;
  border: 1px solid #536873;
  border-radius: 3px;
  background-color: #16242b !important;
  background-image: none !important;
  opacity: 1;
}
#server_list_table .details_cell .details_icon::before {
  content: '';
  position: absolute;
  inset: 5px;
  background: #fff;
  -webkit-mask: url(../other/magnifier.svg) center / contain no-repeat;
  mask: url(../other/magnifier.svg) center / contain no-repeat;
}
#server_list_table .details_cell .details_icon:hover {
  border-color: #78a2b6;
  background-color: #203943 !important;
}
.report_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 6px;
  box-sizing: border-box;
  border: 1px solid rgba(214, 104, 104, .55);
  border-radius: 3px;
  background: rgba(75, 25, 25, .55);
  color: #efb0b0;
}
.report_icon svg { width: 14px; height: 14px; fill: currentColor; }
.report_icon:hover { border-color: #e78c8c; background: rgba(105, 34, 34, .75); color: #fff; }
.report_icon { padding: 0; cursor: pointer; font: inherit; }
body.report_modal_open { overflow: hidden; }
.report_modal { display: none; position: fixed; inset: 0; z-index: 10000; align-items: center; justify-content: center; padding: 12px; }
.report_modal.is_open { display: flex; }
.report_modal_backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); }
.report_modal_panel { position: relative; width: min(420px, 100%); border: 1px solid #383838; border-radius: 0; background: #080808; color: #e8edef; box-shadow: 0 8px 22px rgba(0,0,0,.65); text-align: left; }
.report_modal_head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid #2d2d2d; background: #111; }
.report_modal_head span, .report_modal_head strong { display: block; }
.report_modal_head span { color: #f1f1f1; font-size: 12px; }
.report_modal_head strong { max-width: 340px; margin-top: 2px; color: #9ba4a9; font-size: 10px; font-weight: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report_modal_head > button { width: 25px; height: 25px; padding: 0; border: 1px solid #3b3b3b; background: #050505; color: #c5cbce; font-size: 17px; line-height: 20px; cursor: pointer; }
#index-report-form { display: grid; gap: 10px; padding: 12px; }
#index-report-form label { display: grid; gap: 6px; color: #bdc7cc; }
#index-report-form select, #index-report-form input[type='text'], #index-report-form textarea { width: 100%; padding: 7px 8px; border: 1px solid #343434; border-radius: 0; background: #030303; color: #fff; font: inherit; box-sizing: border-box; }
#index-report-form textarea { resize: vertical; min-height: 86px; }
.report_modal_actions { display: flex; justify-content: flex-end; gap: 8px; }
.report_modal_actions button { padding: 7px 10px; border: 1px solid #3a3a3a; border-radius: 0; background: #111; color: #e8edef; cursor: pointer; }
.report_modal_actions button[type='submit'] { border-color: #415d69; background: #162a33; }
.report_modal_actions button:disabled { opacity: .6; cursor: wait; }
.report_modal_message { min-height: 16px; margin: 0; color: #c7d0d5; }
.report_modal_message.is_success { color: #9cdbad; }
.report_modal_message.is_error { color: #efabab; }

.public_add_form { width: min(660px, calc(100% - 24px)); margin: 28px auto; text-align: left; }
.public_add_panel { overflow: hidden; border: 1px solid #293034; background: rgba(5,7,8,.94); color: #dce2e5; }
.public_add_head { display: flex; align-items: center; min-height: 43px; padding: 0 14px; border-bottom: 1px solid #293034; background: #0c0f10; text-align: left; }
.public_add_head strong { color: #edf1f2; font-size: 12px; font-weight: 600; }
.public_add_fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 14px; padding: 15px 14px 17px; }
.public_add_field { display: grid; grid-template-rows: 16px 36px; align-content: start; gap: 5px; min-width: 0; color: #b8c1c5; }
.public_add_field > span { display: flex; align-items: center; height: 16px; font-size: 10px; }
.public_add_address { grid-column: span 1; }
.public_add_form select, .public_add_form input[type='text'], .public_add_form input[type='number'] { width: 100%; height: 36px; padding: 6px 9px; box-sizing: border-box; border: 1px solid #30373a; border-radius: 0; outline: 0; background: #020304; color: #f2f4f5; font: inherit; }
.public_add_form select:focus, .public_add_form input:focus { border-color: #50798c; box-shadow: 0 0 0 2px rgba(55,104,126,.16); }
.public_add_form input::placeholder { color: #50595d; }
.public_add_form #new_q { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; margin-left: 4px; border: 1px solid #526269; border-radius: 50%; background: #151a1c; color: #b9c6cb; font-size: 9px; line-height: 1; text-decoration: none; vertical-align: middle; }
.public_add_actions { display: flex; align-items: center; justify-content: flex-end; padding: 10px 14px; border-top: 1px solid #293034; background: #090c0d; }
.public_add_form input[type='submit'] { min-width: 112px; height: 32px; padding: 0 13px; border: 1px solid #3c5966; border-radius: 0; background: #142832; color: #e7eef1; font: inherit; font-size: 9px; cursor: pointer; }
.public_add_form input[type='submit']:hover { border-color: #5a899f; background: #204858; }

.public_add_confirm { width: min(660px, calc(100% - 24px)); margin: 18px auto 30px; text-align: left; }
.public_add_confirm_panel { overflow: hidden; border: 1px solid #293034; background: rgba(5,7,8,.94); color: #dce2e5; }
.public_add_confirm_head { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 43px; padding: 0 14px; border-bottom: 1px solid #293034; background: #0c0f10; }
.public_add_confirm_head strong { color: #edf1f2; font-size: 12px; font-weight: 600; }
.public_add_confirm_head span { color: #778287; font-size: 9px; text-align: right; }
.public_add_confirm_data { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.public_add_confirm_data > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 0 13px; box-sizing: border-box; border-bottom: 1px solid #202629; }
.public_add_confirm_data > div:nth-child(odd) { border-right: 1px solid #202629; }
.public_add_confirm_data dt, .public_add_confirm_data dd { margin: 0; }
.public_add_confirm_data dt { flex: 0 0 auto; color: #818d92; font-size: 10px; }
.public_add_confirm_data dd { min-width: 0; overflow: hidden; color: #eef2f3; font-size: 10px; font-weight: 600; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.public_add_confirm_data .confirm_name { grid-column: 1 / -1; border-right: 0; }
.public_add_confirm_data .confirm_name dd { white-space: normal; overflow-wrap: anywhere; }
.confirm_status { display: inline-flex; align-items: center; gap: 6px; }
.confirm_status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #777; }
.confirm_status.status_onl, .confirm_status.status_onp { color: #a7d9b5; }
.confirm_status.status_onl::before, .confirm_status.status_onp::before { background: #52b66d; }
.public_add_confirm_actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 10px 14px; border-top: 1px solid #293034; background: #090c0d; }
.public_add_confirm_actions a, .public_add_confirm_actions input { display: inline-flex; align-items: center; justify-content: center; min-width: 88px; height: 32px; padding: 0 13px; box-sizing: border-box; border: 1px solid #333b3f; border-radius: 0; background: #101416; color: #b9c2c6; font: inherit; font-size: 9px; text-decoration: none; cursor: pointer; }
.public_add_confirm_actions input { border-color: #3c5966; background: #142832; color: #e7eef1; }
.public_add_confirm_actions a:hover { border-color: #4b565b; color: #fff; }
.public_add_confirm_actions input:hover { border-color: #5a899f; background: #204858; }
.submission_blocked { width: min(660px, calc(100% - 24px)); margin: 14px auto 28px; padding: 16px 18px; box-sizing: border-box; border: 1px solid #714343; border-left: 3px solid #bd6262; background: rgba(30,10,10,.94); color: #c6b5b5; text-align: left; }
.submission_blocked > strong { display: block; margin-bottom: 9px; color: #f1dada; font-size: 13px; }
.submission_blocked p { margin: 7px 0; font-size: 11px; line-height: 1.65; }
.submission_blocked p b { color: #fff; }
.submission_blocked a { display: inline-flex; margin-top: 7px; padding: 7px 10px; border: 1px solid #765050; background: #291718; color: #f0d9d9 !important; font-size: 10px; text-decoration: none !important; }
.submission_blocked a:hover { border-color: #a66a6a; background: #3a2021; }

@media (max-width: 560px) {
  .public_add_form { margin-top: 18px; }
  .public_add_fields { grid-template-columns: 1fr; }
  .public_add_actions { align-items: stretch; flex-direction: column; }
  .public_add_form input[type='submit'] { width: 100%; }
  .public_add_confirm_head { align-items: flex-start; flex-direction: column; justify-content: center; gap: 3px; padding-top: 9px; padding-bottom: 9px; }
  .public_add_confirm_head span { text-align: left; }
  .public_add_confirm_data { grid-template-columns: 1fr; }
  .public_add_confirm_data > div:nth-child(odd) { border-right: 0; }
  .public_add_confirm_data .confirm_name { grid-column: 1; }
  .public_add_confirm_actions a, .public_add_confirm_actions input { flex: 1; }
}

@media (min-width: 701px) {
  #server_list_table {
    width: 95% !important;
    margin: 22px auto 0 !important;
    padding-top: 0 !important;
    table-layout: auto;
  }

  #server_list_table td,
  #server_list_table th {
    padding: 8px 10px !important;
    height: 36px;
    box-sizing: border-box;
  }

}

.votes_cell { text-align: center; white-space: nowrap; }
.vote_button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 72px;
  padding: 0;
  border: 1px solid #4b555b;
  border-radius: 3px;
  background: #20272b;
  color: #e7ecef;
  font: inherit;
  font-size: 11px;
  font-weight: normal;
  cursor: pointer;
}
.vote_label { padding: 6px 8px; }
.vote_count {
  min-width: 18px;
  padding: 6px;
  border-left: 1px solid #4b555b;
  background: #151a1d;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.vote_button:hover { background: #293238; border-color: #68747b; }
.vote_button.is_voted { color: #e3f8e8; border-color: #3f8a55; background: #1f6034; }
.vote_button.is_voted .vote_count { border-left-color: #347448; background: #174a28; color: #d7f3df; }
.vote_button.is_voted:hover { border-color: #52a96b; background: #277440; }
.vote_button.is_vote_blocked { min-width: 104px; border-color: #8a3f3f; background: #491f1f; color: #ffd2d2; cursor: not-allowed; }
.vote_button.is_vote_blocked .vote_label { width: 100%; padding: 6px 8px; font-variant-numeric: tabular-nums; text-align: center; }
.vote_button.is_vote_blocked .vote_count { border-left-color: #713535; background: #2d1515; color: #efb5b5; }
.vote_button.is_loading { justify-content: center; opacity: .75; cursor: wait; }
.vote_spinner {
  display: none;
  width: 13px;
  height: 13px;
  margin: 5px auto;
  box-sizing: border-box;
  border: 2px solid #657179;
  border-top-color: #e7ecef;
  border-radius: 50%;
  animation: vote_spin .65s linear infinite;
}
.vote_button.is_loading .vote_label,
.vote_button.is_loading .vote_count { display: none; }
.vote_button.is_loading .vote_spinner { display: block; }
@keyframes vote_spin { to { transform: rotate(360deg); } }

@media (max-width: 700px) {
  body {
    margin: 0 !important;
    overflow-x: hidden;
    background-position: 38% top !important;
    background-attachment: scroll !important;
  }

  #topmenu {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 10px !important;
    box-sizing: border-box;
    background: rgba(6, 10, 13, .86) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .12) !important;
    backdrop-filter: blur(10px);
  }

  .navbar_brand img { width: 30px; height: 30px; }
  .navbar_links { justify-self: end; gap: 0; }
  .navbar_links a { min-height: 52px; padding: 0 11px !important; border: 0; border-radius: 0; background: transparent; font-size: 11px; }
  .navbar_links a::after { right: 9px; left: 9px; }
  #container {
    width: 100% !important;
    min-height: calc(100vh - 64px);
    padding: 6px 0 20px;
    box-sizing: border-box;
  }

  #server_list_table,
  #server_list_table tbody {
    display: block;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  #server_list_table_top { display: none !important; }
  #server_list_table tr:not(#server_list_table_top) {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    grid-template-areas: "status name players";
    align-items: center;
    gap: 8px;
    margin: 9px 10px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    background: rgba(8, 12, 15, .82) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
    backdrop-filter: blur(9px);
  }

  #server_list_table td {
    display: block;
    min-width: 0;
    padding: 5px !important;
    border: 0 !important;
  }

  #server_list_table .status_cell {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    grid-area: status;
    width: 40px;
    height: 40px;
    padding: 0 !important;
  }
  #server_list_table .servername_cell { grid-area: name; text-align: left; }
  #server_list_table .players_cell { grid-area: players; text-align: right; }
  #server_list_table .connectlink_cell,
  #server_list_table .map_cell,
  #server_list_table .details_cell { display: none !important; }
  #server_list_table .vote_button { min-width: 68px; }

  #server_list_table .servername_nolink { display: none !important; }
  #server_list_table .servername_link {
    display: block !important;
    width: auto;
    height: auto;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.35;
  }
  #server_list_table .servername_link a {
    display: block;
    margin: 0;
    color: #eef8ff;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  #server_list_table .mobile_server_address {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-top: 4px;
    padding: 0;
    transform: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(225, 240, 248, .62);
    font-size: 9px;
    font-weight: normal;
    line-height: 1;
    white-space: nowrap;
    cursor: copy;
  }
  #server_list_table .mobile_server_address span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #server_list_table .mobile_server_address svg {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
  }
  #server_list_table .mobile_server_address:active {
    background: transparent;
    color: #cbe9f5;
  }
  #server_list_table .mobile_server_address.is_copied {
    background: transparent;
    color: #bfe8ca;
  }

  #server_list_table .status_cell img.game_icon {
    display: block;
    width: 18px !important;
    height: 18px !important;
    margin: auto;
    object-fit: contain;
    border-radius: 3px;
  }
  #server_list_table .status_cell > a {
    display: flex;
    order: 1;
    width: 20px;
    height: 18px;
    margin: 0;
    align-items: center;
    justify-content: center;
  }
  #server_list_table .status_cell > .contry_icon {
    position: static;
    order: 2;
    display: block;
    width: 18px;
    height: 12px;
    border: 1px solid #15191b;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .75);
  }
  #server_list_table [class^='status_icon_'] { display: none !important; }
  #server_list_table .players_numeric { font-size: 12px; white-space: nowrap; }

  #totals {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    width: calc(100% - 20px) !important;
    margin: 14px 10px !important;
    box-sizing: border-box;
    background: rgba(8, 12, 15, .82) !important;
    border-radius: 10px;
    overflow: hidden;
  }
  #totals > div { width: auto !important; padding: 10px !important; }

  .details_info { width: calc(100% - 20px); margin: auto; }
  .details_info_column { max-width: 100%; box-sizing: border-box; }
  .details_info_scolumn { display: block !important; }
  .details_info_srow { display: flex; justify-content: space-between; gap: 12px; }
  .details_section { width: calc(100% - 20px) !important; margin: 12px 10px !important; }
  .players_table, .settings_table { font-size: 11px; }
}
/* Details report form */
.details_page { display: flex; flex-direction: column; width: min(1080px, calc(100% - 24px)); margin: 0 auto; text-align: center; }
.details_page > .details_server_name { order: 1; }
.details_page > .details_info { order: 2; }
.details_page > .server_details_section { order: 3; }
.details_page > .ping_history_section { order: 4; }
.details_page > .player_details_section { order: 5; }
.details_page > .server_report_section { order: 5; }
.details_page > .spacer { display: none; }
.details_server_name { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 18px 0 12px !important; padding: 12px 14px !important; border: 1px solid #30383c !important; background: #0b0d0e !important; color: #f2f5f6; font-size: 16px !important; text-align: left !important; }
.details_server_name > span { min-width: 0; overflow-wrap: anywhere; }
.details_status { flex: 0 0 auto; padding: 4px 7px; border: 1px solid #444; background: #171717; color: #bbb; font-size: 9px; font-style: normal; font-weight: normal; text-transform: uppercase; }
.details_status.status_onl { border-color: #376c46; background: #193022; color: #bfe3c9; }
.details_status.status_nrs { border-color: #713d3d; background: #321b1b; color: #e7baba; }
.details_status.status_onp { border-color: #796a36; background: #342e19; color: #e5d59d; }
.details_page .details_info { display: flex; flex-direction: row; align-items: stretch; gap: 8px; }
.details_page .details_info_column:first-child { display: block; order: 1; flex: 1; width: auto; max-width: none; margin: 0; box-sizing: border-box; border: 1px solid #30383c; background: rgba(5,7,8,.88); }
.details_page .details_info_row { margin: 0; }
.details_page .details_info_scolumn { width: 50%; vertical-align: top; }
.details_page .details_info_srow { display: flex; justify-content: space-between; gap: 12px; min-height: 34px; padding: 8px 10px; box-sizing: border-box; border: 0; border-bottom: 1px solid #252b2e; background: transparent; text-align: left; }
.details_page .details_info_ceil:first-child { color: #8f9ba1; font-weight: normal; }
.details_page .details_info_ceil:last-child { min-width: 0; color: #f0f3f4; overflow-wrap: anywhere; text-align: right; }
.details_page .details_info_row:last-child { padding: 7px 10px; color: #7f8a8f; font-size: 9px; text-align: left; }
.details_actions { display: flex; align-items: stretch; min-height: 42px; border-bottom: 1px solid #30383c; background: #111416; }
.details_actions strong { display: flex; flex: 1; align-items: center; padding: 0 12px; color: #e7ecee; font-size: 11px; font-weight: normal; }
.details_actions #gamelink { display: flex; flex: 0 0 auto; align-items: center; width: auto; margin: 0; padding: 0 14px; box-sizing: border-box; border-left: 1px solid #35505d; background: #172a33; color: #eef8fc; font-size: 10px; text-decoration: none; }
.details_actions #gamelink:hover { background: #203b47; }
.details_actions .details_copy { position: static; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: auto; padding: 8px; transform: none; border: 0; border-left: 1px solid #35505d; border-radius: 0; background: #101a1f; }
.details_actions .details_copy svg { width: 15px; height: 15px; }
.details_page .details_info_column:nth-child(2) { order: 2; flex: 0 0 320px; width: 320px; height: auto; min-height: 180px; margin: 0; box-sizing: border-box; }
.details_page .details_info > .details_visual { order: 1; flex: none; width: 100%; height: 220px; min-height: 220px; }
.details_visual { position: relative; overflow: hidden; border: 1px solid #30383c; background-color: #050505; background-position: center 35%; background-size: cover !important; }
.details_visual::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(0,0,0,.08), rgba(0,0,0,.35)); pointer-events: none; }
.details_banner_backdrop { position: absolute; inset: -18px; z-index: 1; background-position: center; background-size: cover; filter: blur(14px) brightness(.42) saturate(.7); opacity: .9; transform: scale(1.04); }
.details_banner { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: contain; object-position: center; background: transparent; }
.details_banner.details_banner_fallback { object-fit: contain; object-position: center; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%); }
.details_visual .details_location_image, .details_visual .details_password_image, .details_visual .details_game_image { z-index: 3; }
.ts_viewer_panel { width: 100%; margin: 10px 0; overflow: hidden; border: 1px solid #2e3a40; background: #080d10; text-align: left; box-shadow: 0 12px 30px rgba(0,0,0,.24); }
.ts_viewer_panel > header { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 54px; padding: 0 14px; border-bottom: 1px solid #29353b; background: linear-gradient(90deg, #111a1f, #0b1115); }
.ts_viewer_panel > header > div:first-child { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ts_viewer_panel h2 { margin: 0; color: #eef4f6; font-size: 13px; }
.ts_viewer_panel header p { margin: 3px 0 0; color: #74868e; font-size: 9px; }
.ts_viewer_live_dot { width: 8px; height: 8px; border-radius: 50%; background: #25c76f; box-shadow: 0 0 0 4px rgba(37,199,111,.1), 0 0 10px rgba(37,199,111,.45); }
.ts_viewer_tools { display: flex; align-items: center; gap: 7px; }
.ts_viewer_tools button, .ts_viewer_tools a { display: inline-flex; align-items: center; justify-content: center; height: 29px; padding: 0 10px; box-sizing: border-box; border: 1px solid #34464f; background: #101a1f; color: #cbd7dc; font-size: 10px; text-decoration: none; cursor: pointer; }
.ts_viewer_tools button { width: 30px; padding: 0; font-size: 16px; }
.ts_viewer_tools a { border-color: #386176; background: #17313d; color: #eef8fc; }
.ts_viewer_body { display: grid; grid-template-columns: 210px minmax(0,1fr); min-height: 290px; }
.ts_viewer_body > aside { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: 20px 14px; border-right: 1px solid #263239; background: radial-gradient(circle at 50% 28%, rgba(41,79,97,.25), transparent 50%), #0b1115; text-align: center; }
.ts_viewer_body > aside img { width: 48px; height: 48px; object-fit: contain; margin-bottom: 11px; }
.ts_viewer_body > aside strong { max-width: 100%; overflow: hidden; color: #edf3f5; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.ts_viewer_body > aside span { margin-top: 7px; color: #4dd484; font-size: 10px; }
.ts_viewer_body > aside small { max-width: 100%; margin-top: 8px; overflow: hidden; color: #71838b; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.ts_viewer_tree { max-height: 430px; overflow: auto; padding: 7px 0; scrollbar-width: thin; scrollbar-color: #45545b #091014; }
.ts_viewer_channel, .ts_viewer_client { display: flex; align-items: center; min-height: 31px; padding: 4px 12px 4px calc(12px + var(--depth) * 20px); box-sizing: border-box; border-bottom: 1px solid rgba(46,61,68,.45); }
.ts_viewer_channel:hover, .ts_viewer_client:hover { background: rgba(47,79,93,.16); }
.ts_viewer_channel { color: #c8d4d9; }
.ts_viewer_channel strong { min-width: 0; overflow: hidden; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.ts_viewer_channel em { margin-left: auto; padding-left: 10px; color: #62747c; font-size: 9px; font-style: normal; }
.ts_viewer_toggle { width: 15px; color: #687b84; font-size: 11px; }
.ts_viewer_channel_icon { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; margin-right: 7px; border: 1px solid #34505d; border-radius: 3px; color: #6da4bb; font-size: 9px; }
.ts_viewer_lock { margin-left: 7px; color: #d7aa58; font-size: 7px; }
.ts_viewer_client { gap: 7px; color: #aab8be; font-size: 10px; }
.ts_viewer_client_icon { color: #39ca78; font-size: 8px; text-shadow: 0 0 7px rgba(57,202,120,.45); }
.ts_viewer_client img { width: 17px; height: 12px; margin-left: auto; object-fit: cover; border: 1px solid #34434a; }
.ts_viewer_client.is_away { opacity: .55; }
.ts_viewer_client.is_muted .ts_viewer_client_icon { color: #dca15b; }
.ts_viewer_empty { display: flex; align-items: center; justify-content: center; min-height: 270px; padding: 20px; color: #708087; font-size: 10px; text-align: center; }
.details_page .details_section { width: 100%; margin: 10px 0; border-radius: 0; }
.details_page .details_section_heading { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 10px 12px; background: #111416; color: #f4f4f4; font-size: 13px; font-weight: 600; text-align: left; }
.details_page #details_playerlist { padding: 6px; }
.details_page .player_details_section #details_playerlist { max-height: 420px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #4a5053 #090b0c; }
.details_page .player_details_section #details_playerlist::-webkit-scrollbar { width: 10px; height: 10px; }
.details_page .player_details_section #details_playerlist::-webkit-scrollbar-track { background: #090b0c; }
.details_page .player_details_section #details_playerlist::-webkit-scrollbar-thumb { border: 2px solid #090b0c; border-radius: 8px; background: #4a5053; }
.details_page .player_details_section #details_playerlist::-webkit-scrollbar-thumb:hover { background: #62696d; }
.details_page .player_details_section #details_playerlist::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.details_page .players_grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 8px; }
.details_page .players_grid .players_table { width: 100%; max-width: none; margin: 0; table-layout: fixed; }
.details_page .players_grid .players_table td:first-child { overflow: hidden; text-overflow: ellipsis; }
.details_page .players_grid .players_table td:last-child { width: 128px; }
.details_page .players_grid .players_table .table_head td:last-child { padding-left: 9px; box-sizing: border-box; text-align: left; }
.player_country { display: inline-flex; align-items: center; justify-content: flex-start; gap: 7px; width: 100%; min-width: 0; text-align: left; }
.player_country img { display: block; flex: 0 0 auto; width: 20px; height: 14px; border: 1px solid #394247; object-fit: cover; }
.player_country span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country_statistics { margin-top: 10px; padding: 12px 14px 14px; border-top: 1px solid #2b3033; background: rgba(5,7,8,.92); text-align: left; }
.country_statistics_title { margin-bottom: 10px; color: #e7ecee; font-size: 12px; font-weight: bold; }
.country_statistics_grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.country_stat { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 7px; min-height: 34px; padding: 6px 9px; box-sizing: border-box; border: 1px solid #293034; background: #0b0e0f; }
.country_stat img { display: block; width: 20px; height: 14px; border: 1px solid #394247; object-fit: cover; }
.country_stat span { overflow: hidden; color: #c7ced1; text-overflow: ellipsis; white-space: nowrap; }
.country_stat b { min-width: 24px; color: #fff; font-variant-numeric: tabular-nums; text-align: right; }
.details_page .noinfo { padding: 9px 12px; }
.details_page .settings_table td, .details_page .players_table td { padding: 6px 8px; }
.server_details_grid { display: grid; grid-template-columns: minmax(480px, 1.2fr) minmax(340px, .8fr); align-items: stretch; gap: 14px; padding: 14px; background: #090a0b; }
.details_page .server_details_grid > .connection_info_column { grid-column: 1; grid-row: 1; order: 0 !important; width: 100%; height: 100%; }
.details_page .server_details_grid > .server_settings_panel { grid-column: 2; grid-row: 1; order: 0; height: 100%; }
.server_connection_panel, .server_settings_panel { min-width: 0; border: 1px solid #2d3336; background: #050606; }
.server_detail_box_title { display: flex; align-items: center; min-height: 42px; padding: 0 12px; box-sizing: border-box; border-bottom: 1px solid #2d3336; background: #111416; color: #e6ebed; font-size: 11px; text-align: left; }
.server_connection_panel dl { margin: 0; }
.server_connection_panel dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 9px; border-bottom: 1px solid #202426; text-align: left; }
.server_connection_panel dt, .server_connection_panel dd { margin: 0; }
.server_connection_panel dt { color: #899398; }
.server_connection_panel dd { min-width: 0; color: #eef1f2; overflow-wrap: anywhere; text-align: right; }
.connection_actions { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 8px; background: #20282c; }
.connection_actions a, .connection_actions .details_copy { position: static; display: flex; align-items: center; justify-content: center; width: auto; height: 31px; margin: 0; padding: 0 8px; transform: none; box-sizing: border-box; border: 1px solid #364c57; border-radius: 0; background: #15262e; color: #eaf3f7; font: inherit; font-size: 10px; text-decoration: none; cursor: pointer; }
.connection_actions a:hover, .connection_actions .details_copy:hover { background: #203944; }
.server_settings_panel .settings_table { width: 100%; max-width: none; margin: 0; border: 0; }
.server_settings_panel .settings_table th { padding: 9px 11px; color: #8f999e; font-size: 9px; font-weight: normal; text-align: left; text-transform: uppercase; }
.server_settings_panel .settings_table th:last-child { text-align: right; }
.server_settings_panel .settings_table td:first-child { width: 34%; color: #929da2; text-align: left; }
.server_settings_panel .settings_table td:last-child { overflow-wrap: anywhere; word-break: break-word; }
.server_settings_panel .verbose_settings { border-top: 1px solid #2d3336; }
.server_details_grid .connection_info_column .details_info_srow { min-height: 40px; padding: 10px 12px; font-size: 11px; }
.server_details_grid .connection_info_column .details_info_row { display: block; margin: 0; padding: 0 !important; border: 0; }
.server_details_grid .connection_info_column .details_info_scolumn { display: block; width: auto; margin: 0; }
.server_details_grid .connection_info_column .details_info_scolumn:first-child { border-right: 0; }
.server_details_grid .connection_info_column .details_info_ceil:first-child { flex: 0 0 105px; }
.server_details_grid .connection_info_column .details_info_ceil:last-child { flex: 1; }
.connection_location { display: inline-flex; align-items: center; justify-content: flex-end; gap: 7px; }
.connection_location img { display: block; width: 20px; height: 14px; object-fit: cover; border: 1px solid #394247; }
.server_address_value {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: color .2s;
}
.server_address_value:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.server_address_value.is_copied {
  color: #166534 !important;
}
.server_settings_panel .settings_table td { height: 40px; padding: 9px 11px; box-sizing: border-box; font-size: 11px; line-height: 1.25; vertical-align: middle; }
.connection_update { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 11px !important; border-top: 1px solid #252b2e; background: #0d0f10; }
.connection_update span { color: #778288; text-transform: uppercase; letter-spacing: .04em; }
.connection_update time { color: #aab3b7; font-variant-numeric: tabular-nums; }
.server_settings_panel .settings_table tr:first-child td { border-top: 0; }
.connection_status { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; }
.connection_status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #777; box-shadow: 0 0 0 2px rgba(255,255,255,.05); }
.connection_status.status_onl { color: #bfe3c9; }
.connection_status.status_onl::before { background: #55b66f; }
.connection_status.status_nrs { color: #e7baba; }
.connection_status.status_nrs::before { background: #bf5959; }
.connection_status.status_onp { color: #e5d59d; }
.connection_status.status_onp::before { background: #c7a84b; }
.ping_history_section { overflow: hidden; width: 100%; padding: 0 22px 22px; box-sizing: border-box; border: 1px solid #333; border-radius: 0; background: #171717 !important; }
.ping_history_section > .ts_viewer_panel {
  width: calc(100% + 44px);
  margin: 0 0 0 -22px;
  border: 0;
  border-bottom: 1px solid #303030;
  box-shadow: none;
}
.ping_history_section > .ts_viewer_panel + .uptime_history {
  padding-top: 20px;
  border-top: 0;
}
.ping_history_section .details_section_heading { padding: 22px 0 8px; border: 0; background: transparent; color: #fff; font-size: 14px; text-align: left; }
.ping_chart_wrap { width: 100%; overflow: hidden; background: #171717; }
.ping_chart_wrap object { display: block; width: 100%; height: auto; aspect-ratio: 960 / 300; min-height: 0; margin: 0; border: 0; background: #171717; }
.uptime_history { padding-top: 20px; border-top: 1px solid #303030; text-align: left; }
.uptime_heading, .uptime_summary { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.uptime_heading strong { color: #fff; font-size: 14px; }
.uptime_heading > div { display: grid; gap: 7px; text-align: right; }
.uptime_heading span, .uptime_summary span { color: #aaa; font-size: 11px; }
.uptime_heading b, .uptime_summary b { color: #fff; font-size: 14px; }
.uptime_summary { margin-top: 20px; }
.uptime_bars { display: grid; grid-template-columns: repeat(96, minmax(2px, 1fr)); gap: 2px; height: 28px; margin-top: 12px; }
.uptime_bars i { display: block; min-width: 2px; border-radius: 2px; background: #f04e50; cursor: crosshair; pointer-events: auto; }
.uptime_bars i.online { background: #1ecb65; }
.uptime_bars i.offline { background: #f04e50; }
.uptime_legend { display: flex; align-items: center; gap: 18px; margin-top: 12px; color: #bbb; font-size: 11px; }
.uptime_legend span { display: inline-flex; align-items: center; gap: 6px; }
.uptime_legend i { width: 10px; height: 10px; border-radius: 2px; }
.uptime_legend i.online { background: #1ecb65; }
.uptime_legend i.offline { background: #f04e50; }
.uptime_legend em { margin-left: auto; color: #777; font-size: 9px; font-style: normal; text-transform: uppercase; }
.uptime_hover_tooltip { position: fixed; z-index: 10020; pointer-events: none; padding: 8px 12px; border: 1px solid #3a3a3a; border-radius: 4px; background: #171717; color: #f2f2f2; box-shadow: 0 8px 22px rgba(0,0,0,.5); font-size: 11px; line-height: 1.4; white-space: nowrap; }
.uptime_hover_tooltip strong { display: block; margin-bottom: 2px; color: #fff; font-size: 12px; }
.uptime_hover_tooltip span { color: #aaa; }
.uptime_hover_tooltip[hidden] { display: none !important; }

.page_bottom_space { width: 100%; height: 72px; }

/* FAQ and contact pages */
.site_content_page { width: min(880px, calc(100% - 24px)); margin: 30px auto; color: #dce3e6; }
.site_content_head { display: flex; align-items: center; gap: 16px; padding: 24px; border: 1px solid #2c3539; background: linear-gradient(115deg, rgba(12,22,27,.97), rgba(6,9,11,.95)); text-align: left; box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.content_head_icon { display: flex; flex: 0 0 48px; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid #365767; background: #112731; color: #9fd4ea; font-size: 22px; font-weight: bold; }
.content_head_icon_mail::before { content: ''; width: 22px; height: 16px; border: 2px solid currentColor; }
.content_head_icon_mail::after { content: ''; position: absolute; width: 13px; height: 13px; transform: translateY(-4px) rotate(45deg); border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.content_head_icon_mail { position: relative; }
.site_content_head span { color: #6fa8c1; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.site_content_head h1 { margin: 5px 0 6px; color: #f3f6f7; font-size: 22px; font-weight: 600; }
.site_content_head p { margin: 0; color: #8e9a9f; font-size: 11px; line-height: 1.55; }
.faq_quick_links { display: flex; gap: 7px; margin: 12px 0; }
.faq_quick_links a { padding: 7px 11px; border: 1px solid #2d393e; background: rgba(9,14,17,.88); color: #aebbc1 !important; font-size: 10px; text-decoration: none !important; }
.faq_quick_links a:hover { border-color: #426678; color: #fff !important; }
.faq_list { border: 1px solid #2c3539; background: rgba(5,8,10,.94); }
.faq_list h2 { margin: 0; padding: 11px 16px; border-top: 1px solid #30383c; border-bottom: 1px solid #242b2e; background: #0e1315; color: #7998a6; font-size: 9px; font-weight: normal; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.faq_list h2:first-child { border-top: 0; }
.faq_list details + details { border-top: 1px solid #242b2e; }
.faq_list summary { position: relative; padding: 15px 44px 15px 16px; color: #edf2f4; font-size: 12px; text-align: left; cursor: pointer; list-style: none; }
.faq_list summary::-webkit-details-marker { display: none; }
.faq_list summary::after { content: '+'; position: absolute; top: 50%; right: 16px; color: #7194a4; font-size: 18px; font-weight: normal; transform: translateY(-50%); }
.faq_list details[open] summary::after { content: '\2212'; }
.faq_list details[open] summary { color: #fff; background: rgba(20,34,40,.38); }
.faq_list p { margin: 0; padding: 0 44px 16px 16px; color: #9da8ad; font-size: 11px; line-height: 1.7; text-align: left; }
.faq_list p a { color: #73b8d7 !important; }
.content_help_banner { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 12px; padding: 15px 17px; border: 1px solid #2d393e; background: rgba(10,16,19,.94); text-align: left; }
.content_help_banner div { display: grid; gap: 4px; }
.content_help_banner strong { color: #edf2f4; font-size: 12px; }
.content_help_banner span { color: #849197; font-size: 10px; }
.content_help_banner a { padding: 8px 12px; border: 1px solid #3c6475; background: #17313d; color: #fff !important; font-size: 10px; text-decoration: none !important; white-space: nowrap; }
.contact_options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.contact_options a { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 12px; min-height: 104px; padding: 16px; border: 1px solid #2c3539; background: rgba(5,8,10,.94); color: #edf2f4 !important; text-align: left; text-decoration: none !important; }
.contact_options a:hover { border-color: #466675; background: rgba(13,24,29,.94); }
.contact_options a > div { display: grid; gap: 5px; }
.contact_options strong { font-size: 12px; }
.contact_options span { color: #89969c; font-size: 10px; line-height: 1.5; }
.contact_options b { color: #78b8d3; font-size: 10px; font-weight: normal; }
.contact_options em { color: #607985; font-size: 24px; font-style: normal; }
.contact_option_icon { display: block; width: 36px; height: 36px; border: 1px solid #34505c; background-color: #10232b; }
.contact_email_icon { background: #10232b center / 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238cc5dd' stroke-width='1.8'%3E%3Cpath d='M3 5h18v14H3zM3 6l9 7 9-7'/%3E%3C/svg%3E"); }
.contact_server_icon { background: #10232b center / 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238cc5dd' stroke-width='1.8'%3E%3Crect x='3' y='4' width='18' height='6'/%3E%3Crect x='3' y='14' width='18' height='6'/%3E%3Cpath d='M7 7h.01M7 17h.01M11 7h7M11 17h7'/%3E%3C/svg%3E"); }
.contact_guide { margin-top: 10px; padding: 17px; border: 1px solid #2c3539; background: rgba(5,8,10,.94); text-align: left; }
.contact_guide h2 { margin: 0 0 15px; color: #edf2f4; font-size: 13px; }
.contact_guide_grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.contact_guide article { display: flex; gap: 10px; min-width: 0; }
.contact_guide article > b { color: #52788a; font-size: 10px; }
.contact_guide article div { display: grid; gap: 5px; }
.contact_guide article strong { color: #dce3e6; font-size: 10px; }
.contact_guide article span { color: #7f8c92; font-size: 9px; line-height: 1.55; }
.contact_note { display: flex; gap: 9px; margin-top: 10px; padding: 11px 13px; border-left: 2px solid #47778c; background: rgba(11,20,24,.9); color: #829097; font-size: 9px; text-align: left; }
.contact_note strong { color: #b9c7cd; }

.contact_information { margin-top: 10px; padding: 13px 14px; border: 1px solid #293034; background: rgba(5,8,10,.94); text-align: left; }
.contact_information h2 { margin: 0 0 7px; color: #dce3e6; font-size: 11px; }
.contact_information p { margin: 0; color: #89969c; font-size: 10px; line-height: 1.65; }

/* Original compact FAQ/contact layout. */
.site_content_page { width: min(920px, calc(100% - 32px)); margin-top: 36px; }
.site_content_head { display: block; padding: 25px 26px; background: rgba(7,11,13,.92); box-shadow: none; }
.site_content_head span { font-size: 11px; }
.site_content_head h1 { margin: 7px 0 8px; font-size: 24px; }
.site_content_head p { font-size: 13px; }
.faq_list { margin-top: 10px; }
.faq_list summary { padding: 17px 20px; font-size: 14px; list-style: revert; }
.faq_list summary::after { display: none; }
.faq_list details[open] summary { background: transparent; }
.faq_list p { padding: 0 20px 18px; font-size: 13px; line-height: 1.7; }
.faq_list .faq_steps div > p { padding-bottom: 10px; }
.faq_list .faq_steps ol { margin: 0; padding: 0 34px 14px 42px; color: #aeb8bd; font-size: 13px; line-height: 1.7; text-align: left; }
.faq_list .faq_steps li { padding: 3px 0 3px 4px; }
.faq_list .faq_steps strong { color: #e4eaed; }
.contact_options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; background: transparent; }
.contact_options a { display: grid; grid-template-columns: 1fr; gap: 8px; min-height: 112px; padding: 20px; border: 1px solid #2c3539; background: rgba(5,8,10,.92); }
.contact_options a + a { border-top: 1px solid #2c3539; }
.contact_options a:hover { border-color: #466675; background: rgba(13,24,29,.94); }
.contact_options strong { font-size: 15px; }
.contact_options span { font-size: 12px; }
.contact_options b { font-size: 12px; }
.contact_options em { display: none; }
.content_help_banner { padding: 18px 20px; }
.content_help_banner strong { font-size: 14px; }
.content_help_banner span { font-size: 12px; }
.content_help_banner a { padding: 10px 14px; font-size: 12px; }
.contact_information { padding: 17px 19px; }
.contact_information h2 { font-size: 14px; }
.contact_information p { font-size: 12px; }
.whitelist_ip { color: #63c6ee !important; font-weight: 700; text-shadow: 0 0 10px rgba(55, 171, 219, .25); }

@media (max-width: 820px) {
  .details_page .players_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .country_statistics_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .details_page .players_grid { grid-template-columns: 1fr; }
  .country_statistics_grid { grid-template-columns: 1fr; }
}

.server_report_form { display: grid; gap: 12px; padding: 16px; text-align: left; }
.server_report_form label { display: grid; gap: 6px; color: #c7d0d5; }
.server_report_form select, .server_report_form textarea { width: 100%; padding: 9px 10px; box-sizing: border-box; border: 1px solid rgba(255,255,255,.16); border-radius: 3px; background: rgba(8,13,16,.78); color: #fff; font: inherit; }
.server_report_form textarea { resize: vertical; min-height: 72px; }
.server_report_form button { justify-self: start; padding: 8px 14px; border: 1px solid #397a9b; border-radius: 3px; background: #185776; color: #fff; cursor: pointer; }
.server_report_form button:hover { background: #216b8e; }
.report_notice { margin: 0; color: #9ed2ea; }
.report_trap { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }

@media (max-width: 720px) {
  .details_page { width: calc(100% - 16px); }
  .details_page .details_info { display: flex; flex-direction: column; }
  .details_page .details_info_column:first-child { width: 100%; max-width: none; }
  .details_page .details_info_column:nth-child(2) { display: block; flex: none; width: 100%; height: 130px; }
  .details_page .details_info > .details_visual { height: 130px; min-height: 130px; }
  .details_page .details_info_scolumn { display: block; width: 100%; }
  .server_details_grid { grid-template-columns: 1fr; gap: 10px; padding: 10px; overflow: visible; }
  .server_details_grid .connection_info_column,
  .server_details_grid .server_settings_panel { grid-column: 1; min-width: 0; }
  .server_details_grid .connection_info_column .details_info_scolumn:first-child { border-right: 0; }
}

/* Native TS3 viewer: dependency-free replacement for jquery-ts3viewer. */
.ts_viewer_plugin_tree .tsv-modern-tree,
.ts_viewer_plugin_tree .tsv-modern-children {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ts_viewer_plugin_tree .tsv-modern-children {
  position: relative;
  padding-left: 15px;
}
.ts_viewer_plugin_tree .tsv-modern-children::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 5px;
  left: 5px;
  width: 1px;
  background: rgba(112, 145, 160, .2);
}
.ts_viewer_plugin_tree .tsv-modern-row {
  display: flex;
  position: relative;
  align-items: center;
  gap: 5px;
  width: 100%;
  min-width: 0;
  height: 23px;
  padding: 1px 7px 2px 2px !important;
  box-sizing: border-box;
  line-height: 20px;
  border-radius: 3px;
  cursor: default;
}
.ts_viewer_plugin_tree .tsv-modern-node.channel > .tsv-modern-row,
.ts_viewer_plugin_tree .tsv-modern-node.spacer > .tsv-modern-row,
.ts_viewer_plugin_tree .tsv-modern-node.server > .tsv-modern-row { cursor: pointer; }
.ts_viewer_plugin_tree .tsv-modern-row:hover { background: rgba(65, 145, 178, .13); }
.ts_viewer_plugin_tree .tsv-modern-toggle,
.ts_viewer_plugin_tree .tsv-modern-toggle-spacer {
  display: inline-flex;
  flex: 0 0 12px;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.ts_viewer_plugin_tree .tsv-modern-toggle::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 5px solid #82939b;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  transition: transform .15s ease;
}
.ts_viewer_plugin_tree .is-collapsed > .tsv-modern-row .tsv-modern-toggle::before { transform: rotate(-90deg); }
.ts_viewer_plugin_tree .is-collapsed > .tsv-modern-children { display: none; }
.ts_viewer_plugin_tree .tsv-modern-type,
.ts_viewer_plugin_tree .tsv-modern-state {
  display: inline-block;
  position: relative;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}
.ts_viewer_plugin_tree .tsv-modern-type.is-server {
  border-radius: 3px;
  background: linear-gradient(135deg, #758c99 0 45%, #344750 46% 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.ts_viewer_plugin_tree .tsv-modern-type.is-channel::before {
  content: '';
  position: absolute;
  inset: 3px 1px 2px;
  border-radius: 3px;
  background: #57798a;
}
.ts_viewer_plugin_tree .tsv-modern-type.is-channel::after {
  content: '';
  position: absolute;
  left: 3px;
  bottom: 0;
  border-top: 4px solid #57798a;
  border-right: 4px solid transparent;
}
.ts_viewer_plugin_tree .tsv-modern-state { border-radius: 50%; background: #3688bd; box-shadow: inset 0 -3px 5px rgba(0,0,0,.35); }
.ts_viewer_plugin_tree .tsv-modern-state.is-away { background: #d7a748; }
.ts_viewer_plugin_tree .tsv-modern-state.is-muted::after {
  content: '';
  position: absolute;
  top: 6px;
  left: -2px;
  width: 18px;
  height: 2px;
  transform: rotate(-45deg);
  background: #e54747;
  box-shadow: 0 0 0 1px rgba(0,0,0,.5);
}
.ts_viewer_plugin_tree .tsv-modern-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: #dce5e9;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ts_viewer_plugin_tree .server > .tsv-modern-row .tsv-modern-name { color: #fff; font-weight: 700; }
.ts_viewer_plugin_tree .channel > .tsv-modern-row .tsv-modern-name { color: #c7e0eb; font-weight: 600; }
.ts_viewer_plugin_tree .tsv-modern-meta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  max-width: 42%;
  padding-left: 8px;
}
.ts_viewer_plugin_tree .tsv-modern-group-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  color: #76bcd8;
  font-size: 10px;
  text-shadow: 0 1px 2px #000;
  cursor: help;
}
.ts_viewer_plugin_tree .tsv-modern-custom-icon {
  display: block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  object-fit: contain;
  cursor: help;
}
.ts_viewer_plugin_tree .tsv-modern-lock {
  width: 9px;
  height: 8px;
  border: 1px solid #d5a34a;
  border-radius: 2px;
}
.ts_viewer_plugin_tree .tsv-modern-lock::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  margin: -6px auto 0;
  border: 1px solid #d5a34a;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}
.ts_viewer_plugin_tree .tsv-modern-meta .tsv-client-flag {
  width: 20px;
  height: 13px;
  margin: 0;
  border: 1px solid rgba(255,255,255,.2);
  object-fit: cover;
}
.ts_viewer_plugin_tree .tsv-modern-node.spacer > .tsv-modern-row { padding-right: 7px !important; }
.ts_viewer_plugin_tree .tsv-modern-node.spacer.is-center > .tsv-modern-row .tsv-modern-name { text-align: center; }
.ts_viewer_plugin_tree .tsv-modern-node.spacer.is-right > .tsv-modern-row .tsv-modern-name { text-align: right; }
.ts_viewer_plugin_tree .tsv-modern-node.spacer > .tsv-modern-row .tsv-modern-name:empty::after {
  content: '';
  display: block;
  height: 1px;
  margin-top: 10px;
  background: rgba(112,145,160,.2);
}
@media (max-width: 720px) {
  .ts_viewer_plugin_tree .tsv-modern-children { padding-left: 10px; }
  .ts_viewer_plugin_tree .tsv-modern-row { gap: 4px; padding-right: 3px !important; font-size: 13px; }
  .ts_viewer_plugin_tree .tsv-modern-meta { gap: 3px; padding-left: 4px; }
}

@media (max-width: 520px) {
  #topmenu.site_navbar {
    min-height: 56px;
    padding: 0 12px !important;
  }
  .navbar_brand img { width: 32px; height: 32px; }
  .navbar_links a {
    min-height: 56px;
    padding: 0 10px !important;
    font-size: 12px;
  }

  #server_list_table tr:not(#server_list_table_top) {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 7px;
    margin: 8px;
    padding: 9px 8px;
    border-radius: 7px;
  }
  #server_list_table td { padding: 3px !important; }
  #server_list_table .status_cell img.game_icon { width: 18px !important; height: 18px !important; }
  #server_list_table .servername_link { font-size: 13px; }
  #server_list_table .players_numeric { font-size: 11px; }

  .details_page { width: calc(100% - 12px); }
  .details_section,
  .details_page .details_info { width: 100% !important; margin-right: 0 !important; margin-left: 0 !important; }
  .details_page .details_info_srow {
    align-items: center;
    min-height: 42px;
    padding-right: 10px;
    padding-left: 10px;
  }
  .details_page .details_info_srow > * { min-width: 0; overflow-wrap: anywhere; }
  .ts_viewer_panel > header { padding: 9px 10px; }
  .ts_viewer_panel header p { display: none; }
  .ts_viewer_body { grid-template-columns: 1fr; }
  .ts_viewer_body > aside { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 3px 9px; justify-content: stretch; padding: 10px; border-right: 0; border-bottom: 1px solid #263239; text-align: left; }
  .ts_viewer_body > aside img { grid-row: 1 / 3; width: 32px; height: 32px; margin: 0; }
  .ts_viewer_body > aside strong { align-self: end; }
  .ts_viewer_body > aside span { grid-column: 3; grid-row: 1 / 3; align-self: center; margin: 0; }
  .ts_viewer_body > aside small { grid-column: 2; margin: 0; }
  .ts_viewer_tree { max-height: 360px; }
  .ts_viewer_channel, .ts_viewer_client { padding-right: 8px; padding-left: calc(8px + var(--depth) * 15px); }
  .server_details_grid { padding: 7px; }
  .connection_actions { grid-template-columns: 1fr; }
  .settings_table,
  .players_table { width: 100%; table-layout: fixed; }
  .settings_table td,
  .settings_table th,
  .players_table td,
  .players_table th { padding: 8px 6px; overflow-wrap: anywhere; }
  .ping_history_section { overflow: hidden; }
  .ping_chart_wrap,
  .ping_chart_container { max-width: 100%; overflow-x: auto; }
  .server_report_form { padding: 12px; }
  .page_bottom_space { height: 42px; }
  .site_content_page { width: calc(100% - 16px); margin: 16px auto; }
  .site_content_head { padding: 16px; }
  .site_content_head h1 { font-size: 17px; }
  .content_head_icon { flex-basis: 40px; width: 40px; height: 40px; }
  .faq_quick_links { overflow-x: auto; }
  .faq_quick_links a { white-space: nowrap; }
  .content_help_banner { align-items: flex-start; flex-direction: column; }
  .contact_options { grid-template-columns: 1fr; }
  .contact_options a { min-height: 88px; padding: 13px; }
  .contact_guide_grid { grid-template-columns: 1fr; gap: 15px; }
  .contact_note { flex-direction: column; }
}

/* Final mobile overflow safeguards (the selected theme also defines mobile widths). */
@media (max-width: 700px) {
  html,
  body { width: 100%; max-width: 100%; overflow-x: hidden !important; }
  #topmenu.site_navbar,
  #container,
  #container * { box-sizing: border-box; }
  #topmenu.site_navbar { width: 100%; max-width: 100vw; }
  .navbar_links { min-width: 0; white-space: nowrap; }

  .server_filters {
    max-width: calc(100% - 16px);
    margin-right: 8px;
    margin-left: 8px;
  }
  .country_filter_menu { width: 100%; min-width: 0; max-width: calc(100vw - 36px); }
  .server_filter_actions { min-width: 0; }
  .server_filter_actions > * { min-width: 0; }

  #server_list_table tr:not(#server_list_table_top) {
    width: auto !important;
    max-width: calc(100% - 16px);
    overflow: hidden;
  }
  #server_list_table .servername_cell,
  #server_list_table .servername_link,
  #server_list_table .servername_link a { min-width: 0; max-width: 100%; }

  .details_page,
  .details_page > *,
  .details_page .details_info,
  .details_page .details_info_column,
  .details_page .details_section { min-width: 0; max-width: 100%; }
  .details_page .server_details_grid > .connection_info_column,
  .details_page .server_details_grid > .server_settings_panel {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
    height: auto;
  }
  .details_page .settings_table tr,
  .details_page .players_table tr { white-space: normal !important; }
  .details_page .players_grid .players_table td:last-child { width: 44%; }
  .details_page #details_playerlist { max-width: 100%; overflow-x: hidden; }
  .details_page .details_visual,
  .details_page .details_banner { max-width: 100%; }
  .connection_update { align-items: flex-start; flex-direction: column; gap: 4px; }
  .uptime_bars { width: 100%; max-width: 100%; gap: 1px; }
  .uptime_hover_tooltip { max-width: calc(100vw - 20px); white-space: normal; }
}

@media (max-width: 360px) {
  #topmenu.site_navbar { padding: 0 8px !important; }
  .navbar_brand img { width: 28px; height: 28px; }
  .navbar_links a { padding: 0 7px !important; font-size: 11px; }
  #server_list_table tr:not(#server_list_table_top) {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    margin-right: 6px;
    margin-left: 6px;
    max-width: calc(100% - 12px);
  }
  #server_list_table .status_cell { width: 38px; height: 38px; }
  #server_list_table .status_cell > a { width: 20px; height: 18px; }
  #server_list_table .status_cell img.game_icon { width: 18px !important; height: 18px !important; }
  .details_page .details_info_srow,
  .server_connection_panel dl > div { gap: 7px; padding-right: 8px; padding-left: 8px; }
  .details_page .details_info_ceil:first-child,
  .server_details_grid .connection_info_column .details_info_ceil:first-child { flex-basis: 88px; }
}

/* MIT licensed Planet TeamSpeak viewer integration. */
.ts_viewer_plugin_shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 360px;
  background: #080d10;
}
.ts_viewer_tree_only { border-top: 1px solid #24323a; }
.ts_viewer_plugin_server {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 25px 20px;
  border-right: 1px solid #24323a;
  background: linear-gradient(180deg, #101a20, #090e11);
}
.ts_viewer_plugin_server strong { color: #f2f7fa; line-height: 1.35; overflow-wrap: anywhere; }
.ts_viewer_plugin_server span { color: #64c9ed; }
.ts_viewer_plugin_server small { color: #82939d; overflow-wrap: anywhere; }
.ts_viewer_plugin_tree {
  min-width: 0;
  padding: 22px 24px 30px;
  max-height: 560px;
  overflow-x: hidden;
  overflow-y: auto;
  color: #d7e0e5;
  background: radial-gradient(circle at 100% 0, rgba(37, 113, 142, .12), transparent 38%), #080d10;
}
.ts_viewer_plugin_tree::-webkit-scrollbar { width: 10px; }
.ts_viewer_plugin_tree::-webkit-scrollbar-track { background: #0b1115; }
.ts_viewer_plugin_tree::-webkit-scrollbar-thumb { border: 2px solid #0b1115; border-radius: 8px; background: #43515a; }
.ts_viewer_plugin_tree { scrollbar-color: #43515a #0b1115; scrollbar-width: thin; }
.ts_viewer_plugin_tree .tsv-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  min-height: 21px;
  height: 21px;
  margin: 0 !important;
  padding: 0 0 2px !important;
  box-sizing: border-box;
  line-height: 19px;
  font-size: 14px;
}
.ts_viewer_plugin_tree .tsv-wrapper > .tsv-server,
.ts_viewer_plugin_tree .tsv-wrapper > .tsv-channel,
.ts_viewer_plugin_tree .tsv-wrapper > .tsv-client,
.ts_viewer_plugin_tree .tsv-wrapper > [class*='tsv-spacer'] {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  margin-right: 0 !important;
}
.ts_viewer_plugin_tree .tsv-infos {
  position: relative;
  z-index: 2;
  float: none;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 19px;
  line-height: 19px;
  pointer-events: auto;
}
.ts_viewer_plugin_tree .tsv-container {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.ts_viewer_plugin_tree .tsv-node {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 21px;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}
.ts_viewer_plugin_tree .tsv-clear { height: 0; margin: 0; padding: 0; }
.ts_viewer_plugin_tree .tsv-node > .tsv-container {
  padding-left: 18px !important;
  border-left: 1px solid rgba(111, 145, 160, .18);
}
.ts_viewer_plugin_tree .tsv-node.channel > .tsv-container,
.ts_viewer_plugin_tree .tsv-node.spacer > .tsv-container {
  padding-left: 10px !important;
}
.ts_viewer_plugin_tree .tsv-node.server > .tsv-container {
  padding-left: 0 !important;
  border-left: 0;
}
.ts_viewer_plugin_tree .tsv-name { padding-right: 8px; }
.ts_viewer_plugin_tree .tsv-spacer.left,
.ts_viewer_plugin_tree .tsv-spacer.center,
.ts_viewer_plugin_tree .tsv-spacer.right { width: 100%; max-width: 100%; }
.ts_viewer_plugin_tree .tsv-spacer.right .tsv-infos { text-align: right; }
.ts_viewer_plugin_tree .tsv-spacer.center .tsv-infos { text-align: center; }
.ts_viewer_plugin_tree .tsv-spacer.left .tsv-infos { text-align: left; }
.ts_viewer_plugin_tree .tsv-node.server > .tsv-wrapper .tsv-name { color: #fff; font-weight: 700; }
.ts_viewer_plugin_tree .tsv-node.channel > .tsv-wrapper .tsv-name { color: #b9d6e3; font-weight: 600; }
.ts_viewer_plugin_tree .tsv-node.client > .tsv-wrapper .tsv-name { color: #d9dee1; font-weight: 400; }
.ts_viewer_plugin_tree .tsv-node.channel > .tsv-wrapper,
.ts_viewer_plugin_tree .tsv-node.spacer > .tsv-wrapper { cursor: pointer; }
.ts_viewer_plugin_tree .tsv-node.client > .tsv-wrapper,
.ts_viewer_plugin_tree .tsv-client-flag { cursor: help; }
.ts_viewer_plugin_tree .tsv-node.client > .tsv-wrapper { cursor: pointer; }
.tsv-client-card {
  display: grid;
  position: fixed;
  z-index: 10030;
  gap: 5px;
  min-width: 190px;
  max-width: min(320px, calc(100vw - 20px));
  padding: 11px 13px;
  box-sizing: border-box;
  border: 1px solid #3b4b53;
  border-radius: 4px;
  background: #0b1115;
  color: #aebdc4;
  box-shadow: 0 10px 28px rgba(0,0,0,.6);
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
}
.tsv-client-card strong {
  margin-bottom: 3px;
  padding-bottom: 7px;
  border-bottom: 1px solid #26343a;
  color: #fff;
  font-size: 13px;
}
.tsv-client-card span { overflow-wrap: anywhere; }
.ts_viewer_plugin_tree .tsv-clear { pointer-events: none; }
.ts_viewer_plugin_tree .tsv-wrapper:hover {
  z-index: 4;
  background: rgba(69, 169, 207, .1);
}
.ts_viewer_plugin_tree .tsv-node.spacer > .tsv-wrapper:hover { background: rgba(69, 169, 207, .1); }
.ts_viewer_plugin_tree .tsv-spacer.centerrepeat,
.ts_viewer_plugin_tree .tsv-spacer.centerrepeat .tsv-infos {
  height: 18px;
  min-height: 18px;
  overflow: hidden;
}
.ts_viewer_plugin_tree .tsv-icon,
.ts_viewer_plugin_tree .tsv-sibling { margin-top: 2px; }
.ts_viewer_plugin_tree .tsv-client-flag {
  flex: 0 0 auto;
  width: 20px;
  height: 13px;
  margin-left: 5px;
  border: 1px solid rgba(255,255,255,.18);
  object-fit: cover;
}
.ts_viewer_plugin_tree .tsv-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 3;
  height: 19px;
  width: auto !important;
  min-width: 30px;
  flex: 0 0 auto;
  max-width: 42%;
  float: none;
  margin-right: 0 !important;
  padding-right: 8px;
  box-sizing: border-box;
  transform: none;
  overflow: visible;
  pointer-events: auto;
}
.ts_viewer_plugin_panel .ts_viewer_tools button { width: auto; min-width: 34px; padding: 0 10px; color: #b9c8cf; font-size: 12px; }

@media (max-width: 720px) {
  .ts_viewer_plugin_shell { grid-template-columns: 1fr; }
  .ts_viewer_plugin_server {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    border-right: 0;
    border-bottom: 1px solid #24323a;
    padding: 15px;
  }
  .ts_viewer_plugin_server small { grid-column: 1 / -1; }
  .ts_viewer_plugin_tree { padding: 16px 12px 24px; max-height: 480px; }
  .ts_viewer_plugin_tree .tsv-icons {
    min-width: 28px;
    padding-right: 4px;
    transform: none;
  }
  .ts_viewer_plugin_panel .ts_viewer_tools button:not([data-viewer-refresh]) { display: none; }
}

/* Two-column TeamSpeak details layout. */
.details_page {
  --details-banner-height: 150px;
  --details-column-gap: 12px;
  display: grid;
  grid-template-columns: minmax(300px, 36%) minmax(0, 64%);
  grid-template-rows: auto var(--details-banner-height) auto auto auto auto;
  grid-template-areas:
    "title title"
    "banner viewer"
    "server viewer"
    "uptime uptime"
    "players players"
    "report report";
  align-items: start;
  gap: var(--details-column-gap) 14px;
}
.details_page > .details_server_name { grid-area: title; width: 100%; margin-bottom: 0 !important; box-sizing: border-box; }
.details_page > .details_info { grid-area: banner; width: 100%; min-width: 0; margin: 0; }
.details_page > .server_details_section { grid-area: server; min-width: 0; margin: 0; }
.details_page > .ping_history_section { grid-area: uptime; min-width: 0; margin: 0; }
.details_page > .player_details_section { grid-area: players; min-width: 0; margin: 0; }
.details_page > .server_report_section { grid-area: report; }
.details_page > .ts_viewer_plugin_panel {
  grid-area: viewer;
  align-self: start;
  width: 100%;
  height: 657px;
  min-height: 657px;
  max-height: 657px;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}
.details_page > .ts_viewer_plugin_panel .ts_viewer_plugin_shell,
.details_page > .ts_viewer_plugin_panel .ts_viewer_plugin_tree {
  height: 100%;
  max-height: 100%;
  box-sizing: border-box;
}
.details_page .details_info > .details_visual {
  width: 100%;
  height: var(--details-banner-height);
  min-height: var(--details-banner-height);
  max-height: var(--details-banner-height);
}
.details_page .server_details_grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
}
.details_page > .server_details_section {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  box-sizing: border-box;
}
.details_page > .details_info,
.details_page > .server_details_section,
.details_page > .ts_viewer_plugin_panel {
  width: 100%;
  min-width: 0;
}
.details_page > .server_details_section > .details_section_heading {
  flex: 0 0 auto;
}
.details_page > .server_details_section > .server_details_grid {
  flex: 1 1 auto;
  min-height: 0;
  align-content: start;
  overflow-x: hidden;
  overflow-y: visible;
}
.details_page .server_details_grid > .connection_info_column,
.details_page .server_details_grid > .server_settings_panel {
  grid-column: 1;
  grid-row: auto;
}
.details_page .ping_history_section { padding: 14px; }
.details_page .ping_history_section > .uptime_history { padding-top: 0; border-top: 0; }
.details_page .uptime_heading,
.details_page .uptime_summary { gap: 10px; }
.details_page .uptime_heading > div { min-width: 0; }
.details_page .uptime_heading b { overflow-wrap: anywhere; }
.details_page .uptime_bars { grid-template-columns: repeat(48, minmax(2px, 1fr)); grid-auto-flow: row; height: auto; }
.details_page .uptime_bars i { height: 13px; }
.details_page .players_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details_page .players_grid .players_table td:last-child { width: 43%; }
.details_page .country_statistics_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ts_viewer_plugin_tree .tsv-client-badge {
  display: inline-block;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-left: 3px;
  border: 1px solid #7390a0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d9f5ff 0 18%, #62a9c8 20% 45%, #203c4b 48% 100%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.45), 0 0 5px rgba(76,167,207,.25);
  cursor: help;
}
.ts_viewer_plugin_tree .tsv-client-permission {
  display: inline-flex;
  flex: 0 0 16px;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 3px;
  box-sizing: border-box;
  border: 1px solid #5e7f90;
  border-radius: 3px;
  background: #18313d;
  color: #d9f3ff;
  font-size: 7px;
  font-weight: 700;
  line-height: 1;
  cursor: help;
}
.ts_viewer_plugin_tree .tsv-client-permission.is-channel-group {
  border-color: #7a6940;
  background: #342b17;
  color: #f2d996;
}

@media (max-width: 820px) {
  .details_page {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "title" "banner" "server" "viewer" "uptime" "players" "report";
    gap: 10px;
  }
  .details_page > .details_server_name,
  .details_page > .details_info,
  .details_page > .details_section,
  .details_page > .ts_viewer_plugin_panel { width: 100% !important; margin-right: 0 !important; margin-left: 0 !important; }
  .details_page > .ts_viewer_plugin_panel,
  .details_page > .ts_viewer_plugin_panel .ts_viewer_plugin_shell { height: auto; }
  .details_page > .ts_viewer_plugin_panel {
    min-height: 0;
    max-height: none;
  }
  .details_page > .server_details_section {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }
  .details_page > .server_details_section > .server_details_grid {
    overflow: visible;
  }
  .details_page > .ts_viewer_plugin_panel .ts_viewer_plugin_tree { height: auto; max-height: 480px; }
  .details_page .details_info > .details_visual { height: 140px; min-height: 140px; }
  .details_page .country_statistics_grid { grid-template-columns: 1fr; }
  .details_page .players_grid { grid-template-columns: 1fr; }
}
