/*--------------------------------------
> ECO Gaming Dark Cinematic Style
---------------------------------------*/

/* global */
html, body
{
  min-height: 100%;
}

body
{
  background: #02060b url('https://ecogaming.ir/lgsl/lgsl_files/images/ecogaming_bg.png') no-repeat center center fixed;
  background-size: cover;
  font-size:11px;
  font-family:verdana,tahoma,arial;
  word-wrap:break-word;
  color: #f4fbff;
  font-weight: bold;
  margin: 0;
  position: relative;
}

/* dark overlay for readability */
body:before
{
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 22% 80%, rgba(255, 80, 0, 0.18), transparent 38%),
    radial-gradient(circle at 78% 45%, rgba(0, 140, 255, 0.18), transparent 42%),
    rgba(0,0,0,0.48);
  pointer-events: none;
  z-index: -1;
}

a:link, a:visited {text-decoration:none; color:#00aaff;}
a:hover{color:#ff8a2a; text-shadow: 0 0 8px rgba(255,110,0,.8);}
a:active{color:#ff8a2a;}

textarea {
  background-color: rgba(10,14,20,.92);
  color: white;
  border: 1px solid rgba(0,170,255,.35);
}

input[type="checkbox" i] {
  width: 15px;
  height: 15px;
  vertical-align: sub;
}

#adminlink {margin: 0;position: fixed;width: 25px;right: 0;top: 0;background-image: linear-gradient(45deg, #ffffff00, #ffffff00, #ff000061);height: 25px;}
#adminlink:hover {background-image: linear-gradient(45deg, #ffffff00, #ffffff00, #f30606);}

/* add */
.addserver_table {margin: auto;}
.annotation {
  text-align: center;
  background-color: rgba(8,12,18,.78);
  border: 1px solid rgba(0,170,255,.18);
  padding-top:17px;
  padding-bottom:17px;
}

/* details */
.players_table,
.settings_table {
  margin: auto;
  border: 1px solid rgba(0,170,255,.22);
  border-spacing: 0 0;
  border-collapse: collapse;
  background: rgba(5,8,12,.68);
  box-shadow: 0 0 22px rgba(0,0,0,.55);
  backdrop-filter: blur(5px);
}

.settings_table {max-width: 600px;}

.players_table tr,
.settings_table tr {
  white-space:nowrap;
  border: 1px solid rgba(0,170,255,.16);
  table-layout:fixed;
}

.players_table tr:nth-child(n),
.settings_table tr:nth-child(n) {
  background-color: rgba(8, 12, 18, 0.72);
}

.players_table tr:nth-child(2n),
.settings_table tr:nth-child(2n) {
  background-color: rgba(15, 22, 31, 0.72);
}

.players_table td {padding: 8px; border-top: 1px solid rgba(0,170,255,.12);}
.settings_table td {padding: 8px; border-top: 1px solid rgba(0,170,255,.12); white-space: pre-wrap;}

.details_info_row {margin-top: 14px;}
.details_info, .details_info_column:nth-child(2) {vertical-align: top;}
.details_info_ceil, .details_info_column, .details_info_scolumn {display: inline-block;}
.details_info_column {margin-right: 12px;}

.details_info_srow {
  border: 1px solid rgba(0,170,255,.18);
  margin: -1px 3px;
  padding: 8px;
  background: rgba(5,8,12,.62);
}

.details_info_ceil:first-child {padding-right: 4px; color:#ff9b42;}
.details_info_ceil:nth-child(2) {font-weight: 300;}

#gamelink {
  vertical-align: middle;
  display: block;
  margin-bottom: 6px;
  width: calc(100% - 2px);
  border: 1px solid rgba(0,170,255,.22);
  padding: 4px 0;
  background: rgba(0,0,0,.45);
}

.details_info_column:nth-child(2), .details_password_image {
  background-size: cover;
  width: 250px;
  height: 188px;
  background-position: center;
}

.details_password_image, .details_game_image, .details_location_image {
  display: block;
  z-index: 5;
  background-size: cover;
}

.details_info_column:nth-child(2) {
  border-radius: 7px;
  box-shadow: 0 0 22px rgba(0,170,255,.14), 0 0 28px rgba(255,90,0,.10) !important;
  border: 1px solid rgba(0,170,255,.18);
}

.details_password_image {
  background-position: calc(100% - 3px) calc(100% - 3px);
  position: absolute;
  background-size: auto;
  background-repeat: no-repeat;
}

.details_location_image {
  width: 16px;
  height: 11px;
  position: relative;
  right: 4px;
  float: right;
  top: 4px;
}

.details_game_image {
  width: 32px;
  height: 32px;
  position: relative;
  left: 4px;
  top: 4px;
  opacity: .65;
  border-radius: 6px;
}

.details_game_image:hover {opacity: 1; transition-duration: 500ms;}
img[title='Location: XX'] {display: none;}

.table_head {font-weight: bold; color:#8fdcff;}

.spacer {
  background-color: rgba(0,0,0,.45);
  height:6px;
  width:90%;
  margin:auto;
  margin-top: 10px;
  margin-bottom: 10px;
  border:1px dotted rgba(0,170,255,.22);
}

.noinfo {
  margin:auto;
  text-align:center;
  background-color: rgba(8,12,18,.80);
  border: 1px solid rgba(0,170,255,.18);
  display: inline-block;
  padding:15px;
}

#invalid_server_id, #back_to_servers_list {margin:auto; text-align:center;}

div[id^="servername"] {
  margin:auto;
  text-align:center;
  font-weight:bold;
  padding-bottom: 15px;
  font-size: 16px;
  text-shadow: 0 0 10px rgba(0,170,255,.25);
}

#details_playerlist {margin:auto; overflow:auto; text-align:center; padding:10px}

/* list */
.contry_icon {border:none; width: 16px; height: 16px;}

.details_icon, .status_icon_onl, .status_icon_nrs, .status_icon_onp {
  width: 16px;
  height: 16px;
  display: inline-block;
  background-size: cover;
}

.details_icon {background-image: url(../other/icon_details.gif) !important;}
.status_icon_onl {background-image: url(../other/icon_online.gif) !important;}
.status_icon_pen {width: 14px; height: 14px; background-color: gray; display: inline-block; border: 1px solid black;}
.status_icon_nrs {background-image: url(../other/icon_no_response.gif) !important;}
.status_icon_onp {background-image: url(../other/icon_online_password.gif) !important;}

img.game_icon {width: 16px;border-radius: 2px;}

#server_list_table {
  margin:auto;
  width:90%;
  border-radius: 14px;
  margin-top:30px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: rgba(4, 8, 13, 0.62);
  border: 1px solid rgba(0,170,255,.18);
  box-shadow:
    0 0 35px rgba(0,0,0,.65),
    0 0 18px rgba(0,170,255,.10),
    inset 0 0 20px rgba(255,95,0,.04);
  backdrop-filter: blur(6px);
}

#server_list_table tr {
  background-color: rgba(10, 14, 20, 0.72);
  transition: .25s;
}

#server_list_table tr:hover {
  background-color: rgba(17, 28, 40, 0.86);
  box-shadow: inset 4px 0 0 rgba(255,120,30,.65);
}

#server_list_table td {
  padding:13px;
  border-bottom: 1px solid rgba(0,170,255,.12);
  border-right: 1px solid rgba(255,255,255,.04);
}

#server_list_table_top {
  display: table-row !important;
  background: linear-gradient(
    90deg,
    rgba(255,90,0,.22),
    rgba(0,170,255,.22)
  ) !important;
}

#server_list_table_top th {
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  padding: 14px 13px;
  border-bottom: 1px solid rgba(0,170,255,.35);
  border-right: 1px solid rgba(255,255,255,.05);
  text-shadow: 0 0 8px rgba(0,170,255,.65);
}

.connectlink_cell {text-align:right;}
.servername_cell {text-align:left;}
.servername_cell > div {width:100%; overflow:hidden; height:1.3em; line-height:1.3em;}
div.servername_link {display: none;}
.map_cell {white-space:nowrap; text-align:left; color:#e8f7ff;}
.players_cell {white-space:nowrap; text-align:right; color:#ffffff;}

.outer_bar {}
.inner_bar {width: 0;}
.players_numeric {}
*[class^='players_percent'] {display:none;}

.details_cell, .status_cell {white-space:nowrap; text-align:center;}
.details_cell > a {text-decoration: none;}

#pages {width: fit-content; margin: 2.6em auto; font-size: 1.12em;}

#pages a {
  padding: 5px;
  background-color: rgba(8,12,18,.82);
  border: 1px solid rgba(0,170,255,.18);
  font-size: 1.3em;
}

#pages span {padding: 10px;}

#totals {width: fit-content; margin:auto; margin-top: 16px; text-align: center;}

#totals > div {
  width: fit-content;
  background-color: rgba(8,12,18,.82);
  border: 1px solid rgba(0,170,255,.18);
  padding:15px;
  margin: 2px 0;
  display:inline-block;
}

/* */
.inline{display:inline-block;}
.center {text-align: center;}

/* adaptiveness */

@media(max-width: 990px){
  .map_cell {
    display: none;
  }
}

@media(max-width: 414px){
  body
  {
    margin: 0;
    background-attachment: scroll;
  }

  #server_list_table {width:100%; margin: 0; border-radius: 0;}

  .servername_cell > div {
    width: 100%;
    overflow: hidden;
    line-height: 1em;
    font-size: larger;
    font-family: cursive;
    height:3em;
  }

  img.game_icon {
    width: 32px;
  }

  .connectlink_cell,
  td.details_cell,
  .map_cell,
  div.servername_nolink,
  .status_icon_nrs, .status_icon_onl, .status_icon_onp {
    display: none;
  }

  div.servername_link {
    height: 3.5em;
    display: block;
    text-align: justify;
    font-size: 1.4em;
  }

  .servername_link > a {
    vertical-align: middle;
    display: block;
    margin: 0.5em 0.5em 0 0.5em;
    height: 100%;
    color: #d5f2ff;
  }

  #server_list_table td {padding: 10px;}
  #server_list_table .status_cell {padding: 2px;}
  #server_list_table .servername_cell {padding: 0;}

  #server_list_table tr.server_nrs {
    background-color: rgba(148, 0, 0, 0.30);
  }

  /*details*/
  #gamelink {display: none;}
  .details_info {display: flex; flex-flow: column;}
  .details_info_column {margin: auto; order: 2; margin-top: 6px;}
  .details_info_column:nth-child(2) {order: 1;}
  .details_info_row {margin: 10px 0;}
  #details_playerlist {overflow: auto;}

  .table_head {
    font-weight: bold;
    display: none;
  }

  .settings_table td {
    padding: 0;
    text-align: left;
    display: inline;
  }

  .settings_table td:first-child {
    text-align: left;
    color: #ffcfa6;
  }

  .settings_table td:first-child:after {
    content: " =";
  }
}


/* Center all table content */

#server_list_table th,
#server_list_table td {
    text-align: center !important;
    vertical-align: middle !important;
}

.servername_cell,
.servername_cell > div,
.connectlink_cell,
.map_cell,
.players_cell,
.details_cell,
.status_cell {
    text-align: center !important;
}

/* Server name */
.servername_cell > div {
    width: auto !important;
    overflow: visible !important;
}

/* Address */
.connectlink_cell a {
    display: inline-block;
}

/* Details icon */
.details_cell a {
    display: inline-block;
}

/* ECO Gaming Responsive LGSL */

#server_list_table {
  max-width: 1200px;
  width: 94%;
  table-layout: auto;
}

#server_list_table th,
#server_list_table td {
  text-align: center !important;
  vertical-align: middle !important;
}

/* Tablet */
@media (max-width: 900px) {
  #server_list_table {
    width: 98%;
    font-size: 10px;
  }

  #server_list_table td,
  #server_list_table th {
    padding: 10px 6px !important;
  }

  .connectlink_cell {
    display: none;
  }
}

/* Mobile: turn rows into cards */
@media (max-width: 600px) {
  body {
    background-attachment: scroll;
    font-size: 12px;
  }

  #server_list_table,
  #server_list_table tbody,
  #server_list_table tr,
  #server_list_table td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  #server_list_table {
    border: none;
    background: transparent;
    box-shadow: none;
    margin-top: 15px;
  }

  #server_list_table_top {
    display: none !important;
  }

  #server_list_table tr {
    margin: 14px auto;
    width: 94% !important;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(5, 10, 18, 0.82) !important;
    border: 1px solid rgba(0,170,255,.22);
    box-shadow: 0 0 25px rgba(0,0,0,.55);
  }

  #server_list_table td {
    padding: 12px 14px !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    text-align: center !important;
  }

  .status_cell {
    padding-top: 16px !important;
  }

  .status_icon_onl,
  .status_icon_nrs,
  .status_icon_onp,
  .details_icon {
    width: 22px !important;
    height: 22px !important;
  }

  img.game_icon {
    width: 28px !important;
    height: 28px !important;
  }

  .servername_cell {
    font-size: 14px;
    line-height: 1.5;
  }

  .servername_cell > div {
    height: auto !important;
    line-height: 1.5 !important;
    overflow: visible !important;
    white-space: normal !important;
  }

  .map_cell,
  .players_cell,
  .details_cell {
    display: block !important;
  }

  .connectlink_cell {
    display: none !important;
  }

  .map_cell:before {
    content: "GAME / MAP: ";
    color: #ff9b42;
  }

  .players_cell:before {
    content: "PLAYERS: ";
    color: #ff9b42;
  }

  .details_cell:before {
    content: "INFO: ";
    color: #ff9b42;
    margin-right: 6px;
  }

  .outer_bar,
  .inner_bar {
    display: inline-block;
    width: auto !important;
  }

  .players_numeric {
    font-size: 14px;
  }
}
/* ======================================================================
   ECOGaming Boost UI v2
   ====================================================================== */

:root {
  --eco-bg: #05080e;
  --eco-panel: rgba(8, 13, 22, .82);
  --eco-panel-strong: rgba(10, 17, 28, .94);
  --eco-line: rgba(111, 197, 255, .16);
  --eco-cyan: #43c7ff;
  --eco-blue: #3578ff;
  --eco-orange: #ff8738;
  --eco-text: #f5fbff;
  --eco-muted: #8ea4b7;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  background-color: var(--eco-bg);
  font-family: Inter, Vazirmatn, Tahoma, Arial, sans-serif;
  font-weight: 500;
}

body:after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

#container {
  width: 100%;
  padding: 0 22px 42px;
}

#topmenu {
  width: min(1320px, calc(100% - 44px));
  min-height: 52px;
  margin: 14px auto 0;
  padding: 0;
  display: flex;
  align-items: center;
  list-style: none;
}

#topmenu li { list-style: none; }
#topmenu a,
#back_to_servers_list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--eco-line);
  border-radius: 11px;
  color: #dff6ff;
  background: rgba(7, 14, 24, .72);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

#topmenu a:hover,
#back_to_servers_list a:hover {
  color: #fff;
  border-color: rgba(67,199,255,.48);
  background: rgba(18, 35, 53, .9);
}

.eco-server-hero {
  position: relative;
  isolation: isolate;
  width: min(1320px, 100%);
  min-height: 220px;
  margin: 22px auto 0;
  padding: 42px 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  overflow: hidden;
  border: 1px solid rgba(84, 187, 255, .2);
  border-radius: 26px;
  background:
    linear-gradient(105deg, rgba(4,10,18,.96) 5%, rgba(5,16,28,.82) 54%, rgba(7,12,20,.72) 100%),
    url('../images/ecogaming_bg.png') center/cover no-repeat;
  box-shadow: 0 26px 80px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.04);
}

.eco-server-hero:before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -90px;
  top: -150px;
  z-index: -1;
  border-radius: 50%;
  background: rgba(44, 165, 255, .2);
  filter: blur(30px);
}

.eco-server-hero:after {
  content: "";
  position: absolute;
  width: 270px;
  height: 270px;
  left: 28%;
  bottom: -210px;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 106, 40, .18);
  filter: blur(28px);
}

.eco-hero-copy { max-width: 650px; }
.eco-eyebrow,
.boost-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #64d4ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
}

.eco-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 55px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  text-shadow: 0 12px 40px rgba(0,0,0,.35);
}

.eco-hero-copy p {
  margin: 16px 0 0;
  color: #afc2d2;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
}

.eco-hero-stats {
  min-width: 390px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.eco-hero-stats > div {
  min-height: 110px;
  padding: 21px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: rgba(4, 11, 19, .62);
  box-shadow: inset 0 1px rgba(255,255,255,.035), 0 12px 30px rgba(0,0,0,.2);
  backdrop-filter: blur(9px);
}

.eco-hero-stats strong {
  color: #fff;
  font-size: 29px;
  line-height: 1;
}

.eco-hero-stats span {
  margin-top: 10px;
  color: #7f9bad;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.eco-ranking-note {
  width: min(1320px, 100%);
  margin: 18px auto -12px;
  padding: 0 6px;
  color: #91a8ba;
  font-size: 12px;
  text-align: right;
  direction: rtl;
}

.eco-ranking-note span { color: #ffd168; }
.server-table-wrap {
  width: min(1320px, 100%);
  margin: 26px auto 0;
  overflow-x: auto;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
}

#server_list_table {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border: 1px solid rgba(98, 190, 255, .18);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 22px;
  overflow: hidden;
  table-layout: auto;
  background: rgba(5, 10, 17, .78);
  backdrop-filter: blur(15px);
}

#server_list_table thead { display: table-header-group; }
#server_list_table tbody { display: table-row-group; }
#server_list_table tr { display: table-row; }
#server_list_table th,
#server_list_table td { display: table-cell; }

#server_list_table_top {
  background: linear-gradient(90deg, rgba(14,27,43,.98), rgba(10,20,33,.98)) !important;
}

#server_list_table_top th {
  height: 62px;
  padding: 15px 12px;
  border-right: 0;
  border-bottom: 1px solid rgba(111,197,255,.16);
  color: #7893a8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-shadow: none;
  text-transform: uppercase;
}

#server_list_table tbody tr {
  height: 86px;
  background: rgba(7, 12, 20, .82);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

#server_list_table tbody tr:nth-child(even) { background: rgba(10, 17, 27, .84); }
#server_list_table tbody tr:hover {
  position: relative;
  z-index: 2;
  background: rgba(17, 29, 44, .96);
  box-shadow: inset 3px 0 var(--eco-cyan), inset 0 1px rgba(255,255,255,.035);
  transform: translateY(-1px);
}

#server_list_table td {
  padding: 15px 12px;
  border-right: 0;
  border-bottom: 1px solid rgba(255,255,255,.055);
  color: #e8f4fb;
}

#server_list_table tbody tr:last-child td { border-bottom: 0; }
.rank_cell { width: 58px; }
.rank_cell span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  color: #6f8799;
  background: rgba(255,255,255,.025);
  font-size: 12px;
}

.rank-top span { color: #fff; }
.rank-1 span { border-color: rgba(255,197,63,.45); background: rgba(255,193,50,.13); box-shadow: 0 0 24px rgba(255,190,50,.12); }
.rank-2 span { border-color: rgba(190,210,225,.38); background: rgba(190,210,225,.1); }
.rank-3 span { border-color: rgba(214,132,77,.42); background: rgba(214,132,77,.1); }

.status_cell { width: 88px; }
.status_cell .game-icon-link {
  display: inline-flex;
  margin-left: 9px;
  vertical-align: middle;
}

.status_icon_onl,
.status_icon_onp,
.status_icon_nrs {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50%;
  background-image: none !important;
  vertical-align: middle;
}
.status_icon_onl { background: #39e696 !important; box-shadow: 0 0 12px rgba(57,230,150,.72); }
.status_icon_onp { background: #ffd65c !important; box-shadow: 0 0 12px rgba(255,214,92,.65); }
.status_icon_nrs { background: #ff5b65 !important; box-shadow: 0 0 12px rgba(255,91,101,.55); }
img.game_icon {
  width: 29px !important;
  height: 29px !important;
  object-fit: cover;
  border-radius: 8px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.35));
}

.connectlink_cell { min-width: 150px; }
.connect-chip {
  display: inline-flex !important;
  min-height: 32px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(67,199,255,.15);
  border-radius: 9px;
  color: #8bcbe7 !important;
  background: rgba(38,130,180,.07);
  font-family: Consolas, Monaco, monospace;
  font-size: 10px;
  font-weight: 500;
}
.connect-chip:hover { border-color: rgba(67,199,255,.4); color: #dff8ff !important; }

.servername_cell { min-width: 230px; text-align: left !important; }
.server-name-link {
  display: inline-flex;
  max-width: 330px;
  flex-direction: column;
  align-items: flex-start;
  color: #fff !important;
  text-align: left;
}
.server-name-main {
  max-width: 100%;
  overflow: hidden;
  color: #f4fbff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.server-name-sub {
  margin-top: 5px;
  color: #657d90;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .65px;
  text-transform: uppercase;
}
.server-name-link:hover .server-name-main { color: #6bd6ff; }

.map_cell { min-width: 120px; color: #a9bdcc !important; }
.map-name {
  display: inline-block;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.players_cell { min-width: 132px; }
.player-count-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.player-count-row span { color: #fff; font-size: 15px; font-weight: 800; }
.player-count-row small { color: #647d90; font-size: 10px; }
.outer_bar {
  width: 88px;
  height: 4px;
  margin: 8px auto 0;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255,255,255,.075);
}
.players_cell .inner_bar {
  max-width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f8cff, #4de2c4);
  box-shadow: 0 0 10px rgba(64,203,255,.22);
}

.details_cell { width: 104px; }
.details-icon { display: none; }
.details-button {
  display: inline-flex !important;
  min-width: 72px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(97,181,235,.18);
  border-radius: 10px;
  color: #a8cfe2 !important;
  background: rgba(38,117,161,.075);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .45px;
}
.details-button:hover {
  color: #fff !important;
  border-color: rgba(67,199,255,.5);
  background: rgba(48,162,221,.16);
}

.boost_cell { width: 128px; }
.boost-badge {
  position: relative;
  min-width: 94px;
  min-height: 48px;
  padding: 6px 11px 6px 30px;
  display: inline-grid;
  grid-template-columns: auto;
  align-content: center;
  justify-items: start;
  overflow: hidden;
  border: 1px solid currentColor;
  border-radius: 12px;
  color: #8ca2b4 !important;
  background: rgba(140,162,180,.07);
  transition: transform .2s ease, filter .2s ease;
}
.boost-badge:hover { color: inherit; transform: translateY(-2px) scale(1.02); filter: brightness(1.17); }
.boost-badge strong { font-size: 16px; line-height: 1; }
.boost-badge small { margin-top: 4px; font-size: 7px; font-weight: 900; letter-spacing: 1px; }
.boost-rocket {
  position: absolute;
  left: 10px;
  top: 50%;
  font-size: 13px;
  transform: translateY(-50%);
}

.boost-tier-starter.boost-badge,
.boost-admin-tier.boost-tier-starter,
.boost-tier-row.boost-tier-starter,
.boost-current-card.boost-tier-starter {
  color: #8ea9bd !important;
  border-color: rgba(142,169,189,.28);
  background: linear-gradient(135deg, rgba(101,132,154,.13), rgba(72,94,112,.055));
}
.boost-tier-pro.boost-badge,
.boost-admin-tier.boost-tier-pro,
.boost-tier-row.boost-tier-pro,
.boost-current-card.boost-tier-pro {
  color: #52e3a2 !important;
  border-color: rgba(82,227,162,.34);
  background: linear-gradient(135deg, rgba(49,205,139,.16), rgba(31,116,82,.06));
  box-shadow: 0 0 22px rgba(49,205,139,.06);
}
.boost-tier-epic.boost-badge,
.boost-admin-tier.boost-tier-epic,
.boost-tier-row.boost-tier-epic,
.boost-current-card.boost-tier-epic {
  color: #bd80ff !important;
  border-color: rgba(189,128,255,.38);
  background: linear-gradient(135deg, rgba(154,73,247,.18), rgba(79,45,132,.07));
  box-shadow: 0 0 24px rgba(154,73,247,.08);
}
.boost-tier-legendary.boost-badge,
.boost-admin-tier.boost-tier-legendary,
.boost-tier-row.boost-tier-legendary,
.boost-current-card.boost-tier-legendary {
  color: #ffc257 !important;
  border-color: rgba(255,174,57,.48);
  background: linear-gradient(135deg, rgba(255,134,45,.2), rgba(168,53,21,.09));
  box-shadow: 0 0 30px rgba(255,126,42,.12);
}

#pages {
  display: flex;
  width: fit-content;
  margin: 24px auto 0;
  align-items: center;
  gap: 10px;
}
#pages a {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--eco-line);
  border-radius: 11px;
  background: rgba(8,15,25,.88);
  font-size: 24px;
}
#pages span { color: #89a0b2; font-size: 11px; }

/* Details page refresh */
div[id^="servername"] {
  max-width: 800px;
  margin: 34px auto 18px;
  padding: 0 20px;
  color: #fff;
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.35;
}
.details_info {
  width: min(900px, calc(100% - 28px));
  margin: auto;
  padding: 18px;
  border: 1px solid var(--eco-line);
  border-radius: 20px;
  background: rgba(7,13,22,.8);
  box-shadow: 0 22px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(12px);
}
.details_info_srow {
  min-width: 190px;
  min-height: 42px;
  margin: 4px;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
}
.details_info_ceil:first-child { color: #6acfff; }
.spacer { background: transparent; border: 0; height: 18px; }
.players_table,
.settings_table {
  overflow: hidden;
  border-radius: 14px;
  border-color: var(--eco-line);
}
.players_table td,
.settings_table td { padding: 11px 13px; }

/* Boost purchase page */
.boost-page-shell {
  width: min(1180px, 100%);
  margin: 22px auto 0;
  padding-bottom: 40px;
  color: var(--eco-text);
}
.boost-page-hero {
  position: relative;
  min-height: 190px;
  padding: 38px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  border: 1px solid rgba(91,190,255,.2);
  border-radius: 25px;
  background:
    radial-gradient(circle at 75% 10%, rgba(53,126,255,.22), transparent 34%),
    radial-gradient(circle at 25% 110%, rgba(255,112,42,.18), transparent 38%),
    rgba(7,13,22,.9);
  box-shadow: 0 24px 70px rgba(0,0,0,.38);
}
.boost-page-hero h1 { margin: 0; color: #fff; font-size: clamp(27px, 4vw, 45px); }
.boost-server-name { margin: 12px 0 0; color: #8fa9bc; font-size: 14px; }
.boost-current-card {
  width: 150px;
  min-height: 120px;
  padding: 19px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  border-radius: 18px;
}
.boost-current-card span { font-size: 10px; font-weight: 800; opacity: .75; }
.boost-current-card strong { margin: 8px 0 6px; color: currentColor; font-size: 38px; line-height: 1; }
.boost-current-card small { font-size: 8px; font-weight: 900; letter-spacing: 1.4px; }

.boost-layout {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  align-items: start;
}
.boost-order-card,
.boost-info-card {
  padding: 28px;
  border: 1px solid var(--eco-line);
  border-radius: 20px;
  background: rgba(7,13,22,.86);
  box-shadow: 0 20px 55px rgba(0,0,0,.3);
  backdrop-filter: blur(12px);
}
.boost-card-heading {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.boost-card-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,190,77,.28);
  border-radius: 14px;
  color: #ffd061;
  background: rgba(255,169,48,.09);
  font-size: 20px;
}
.boost-card-heading h2,
.boost-info-card h3 { margin: 0; color: #fff; font-size: 18px; }
.boost-card-heading p { margin: 7px 0 0; color: #71899b; font-size: 11px; }
.boost-field { display: block; margin: 17px 0; }
.boost-field > span { display: block; margin-bottom: 8px; color: #b8cad8; font-size: 11px; font-weight: 700; }
.boost-field input,
.boost-field select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(111,197,255,.15);
  border-radius: 11px;
  outline: none;
  color: #fff;
  background: rgba(3,8,14,.68);
  font-family: inherit;
  font-size: 13px;
}
.boost-field input:focus,
.boost-field select:focus {
  border-color: rgba(67,199,255,.55);
  box-shadow: 0 0 0 3px rgba(67,199,255,.075);
}
.boost-field select option { color: #fff; background: #09111d; }
.boost-field small { display: block; margin-top: 7px; color: #60788a; font-size: 9px; }
.boost-two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.boost-price-panel {
  margin-top: 22px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 7px;
  border: 1px solid rgba(255,173,65,.23);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255,137,47,.11), rgba(33,17,9,.07));
}
.boost-price-panel > span { color: #afc0cb; font-size: 11px; }
.boost-price-panel strong { color: #ffc35f; font-size: 27px; }
.boost-price-panel em { color: #d6a755; font-size: 10px; font-style: normal; }
.boost-price-panel small { grid-column: 1 / -1; margin-top: 7px; color: #715f4d; direction: ltr; text-align: left; }
.boost-submit-button,
.boost-admin-save {
  width: 100%;
  min-height: 50px;
  margin-top: 18px;
  border: 0;
  border-radius: 12px;
  color: #071019;
  background: linear-gradient(135deg, #63d9ff, #3a8cff);
  box-shadow: 0 12px 30px rgba(54,143,255,.24);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
}
.boost-submit-button:hover,
.boost-admin-save:hover { filter: brightness(1.08); transform: translateY(-1px); }
.boost-payment-note { margin: 12px 0 0; color: #607789; font-size: 9px; text-align: center; }
.boost-info-card h3 { margin-bottom: 17px; }
.boost-tier-row {
  min-height: 54px;
  margin: 9px 0;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid;
  border-radius: 12px;
}
.boost-tier-row span { font-size: 11px; }
.boost-tier-row b { font-size: 8px; letter-spacing: 1px; }
.boost-info-note { margin: 18px 0; padding: 14px; border-radius: 11px; color: #7f98a9; background: rgba(255,255,255,.025); font-size: 10px; line-height: 1.9; }
.boost-back-button {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(111,197,255,.17);
  border-radius: 11px;
  color: #9fc6db !important;
  background: rgba(48,134,181,.07);
}
.boost-info-card .boost-back-button { width: 100%; }
.boost-alert {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid;
  border-radius: 13px;
  font-size: 11px;
  line-height: 1.8;
}
.boost-alert-success { color: #7ae6b4; border-color: rgba(84,222,156,.26); background: rgba(46,177,119,.1); }
.boost-alert-error { color: #ff9aa1; border-color: rgba(255,91,101,.28); background: rgba(191,48,59,.1); }

/* Boost admin */
.boost-admin-entry {
  display: inline-flex;
  min-height: 42px;
  padding: 0 18px;
  align-items: center;
  border: 1px solid rgba(255,190,75,.25);
  border-radius: 11px;
  color: #ffd070 !important;
  background: rgba(255,161,47,.08);
}
.boost-admin-shell { width: min(1280px, calc(100% - 32px)); margin: 20px auto 50px; color: #eaf7ff; }
.boost-admin-header {
  margin-bottom: 18px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--eco-line);
  border-radius: 19px;
  background: rgba(7,13,22,.9);
}
.boost-admin-header span { color: #48c9ff; font-size: 9px; font-weight: 900; letter-spacing: 2px; }
.boost-admin-header h1 { margin: 7px 0 0; color: #fff; font-size: 22px; }
.boost-admin-nav { display: flex; gap: 8px; }
.boost-admin-nav a {
  min-height: 38px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--eco-line);
  border-radius: 9px;
  color: #a7c8dc;
  background: rgba(255,255,255,.025);
}
.boost-admin-card {
  margin-top: 16px;
  padding: 24px;
  border: 1px solid var(--eco-line);
  border-radius: 18px;
  background: rgba(7,13,22,.88);
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
}
.boost-admin-card-title { margin-bottom: 18px; }
.boost-admin-card-title h2 { margin: 0; color: #fff; font-size: 17px; }
.boost-admin-card-title p { margin: 8px 0 0; color: #6f879a; font-size: 10px; }
.boost-admin-table-wrap { overflow-x: auto; }
.boost-admin-table { width: 100%; border-collapse: collapse; }
.boost-admin-table th { padding: 13px; color: #6e879a; border-bottom: 1px solid var(--eco-line); font-size: 9px; text-align: right; }
.boost-admin-table td { padding: 13px; color: #c9dbe7; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 10px; text-align: right; }
.boost-admin-table td strong,
.boost-admin-table td small { display: block; }
.boost-admin-table td small { margin-top: 5px; color: #5d7486; font-size: 8px; }
.boost-admin-table input[type="number"] {
  width: 110px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--eco-line);
  border-radius: 8px;
  color: #fff;
  background: rgba(2,7,12,.65);
}
.boost-admin-total { color: #67d3ff; font-size: 15px; }
.boost-admin-tier { display: inline-flex; min-width: 80px; min-height: 32px; align-items: center; justify-content: center; border: 1px solid; border-radius: 9px; font-size: 7px; letter-spacing: 1px; }
.boost-admin-save { width: auto; min-width: 180px; padding: 0 20px; }
.boost-order-actions { display: flex; gap: 6px; }
.boost-order-actions button { min-height: 32px; padding: 0 11px; border: 1px solid; border-radius: 8px; cursor: pointer; font-family: inherit; font-size: 9px; }
.boost-order-actions .approve { color: #65dfa4; border-color: rgba(73,214,145,.28); background: rgba(50,171,113,.1); }
.boost-order-actions .reject { color: #ff858e; border-color: rgba(255,91,101,.28); background: rgba(184,51,61,.1); }
.boost-order-status { display: inline-flex; min-height: 30px; padding: 0 10px; align-items: center; border-radius: 8px; font-size: 8px; text-transform: uppercase; }
.status-pending { color: #ffd16b; background: rgba(255,187,56,.1); }
.status-paid { color: #6ce0a9; background: rgba(62,190,128,.1); }
.status-rejected,
.status-expired,
.status-failed,
.status-cancelled { color: #ff858e; background: rgba(188,54,64,.1); }
.boost-admin-notice { margin: 14px 0; padding: 14px 17px; border: 1px solid; border-radius: 11px; }
.boost-admin-success { color: #70dfaa; border-color: rgba(73,214,145,.26); background: rgba(50,171,113,.1); }
.boost-admin-error { color: #ff8d95; border-color: rgba(255,91,101,.26); background: rgba(184,51,61,.1); }
.boost-admin-empty { padding: 30px !important; color: #688092 !important; text-align: center !important; }
.boost-admin-muted { color: #526979; }

@media (max-width: 1020px) {
  .eco-server-hero { padding: 34px; }
  .eco-hero-stats { min-width: 310px; }
  .connectlink_cell { display: none !important; }
  .boost-layout { grid-template-columns: minmax(0, 1fr) 290px; }
}

@media (max-width: 760px) {
  #container { padding: 0 12px 30px; }
  #topmenu { width: calc(100% - 24px); }
  .eco-server-hero { min-height: auto; padding: 28px 22px; flex-direction: column; align-items: stretch; }
  .eco-hero-stats { min-width: 0; }
  .eco-hero-stats > div { min-height: 88px; }
  .server-table-wrap { overflow: visible; box-shadow: none; }

  #server_list_table,
  #server_list_table tbody { display: block !important; border: 0; background: transparent; box-shadow: none; }
  #server_list_table thead { display: none !important; }
  #server_list_table tbody tr {
    width: 100% !important;
    min-height: 0;
    height: auto;
    margin: 0 0 13px;
    padding: 14px;
    display: grid !important;
    grid-template-columns: 46px 1fr auto;
    gap: 10px 8px;
    overflow: hidden;
    border: 1px solid rgba(111,197,255,.16);
    border-radius: 17px;
    background: rgba(7,13,22,.91) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.25);
  }
  #server_list_table td {
    width: auto !important;
    min-width: 0;
    height: auto;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    border: 0 !important;
    text-align: left !important;
  }
  #server_list_table td:before { display: none !important; }
  .rank_cell { grid-column: 1; grid-row: 1; justify-content: center; }
  .status_cell { grid-column: 1; grid-row: 2 / span 2; flex-direction: column; justify-content: center; gap: 7px; }
  .status_cell .game-icon-link { margin: 0; }
  .servername_cell { grid-column: 2 / 4; grid-row: 1; }
  .server-name-link { max-width: 100%; }
  .server-name-main { font-size: 14px; white-space: normal; }
  .map_cell { grid-column: 2; grid-row: 2; justify-content: flex-start; }
  .players_cell { grid-column: 2; grid-row: 3; flex-direction: column; align-items: flex-start !important; }
  .player-count-row { justify-content: flex-start; }
  .outer_bar { width: 100%; margin: 6px 0 0; }
  .details_cell { grid-column: 3; grid-row: 2; justify-content: flex-end; }
  .boost_cell { grid-column: 3; grid-row: 3; justify-content: flex-end; }
  .boost-badge { min-width: 86px; }
  .connectlink_cell { display: none !important; }

  .boost-page-hero { padding: 28px 22px; }
  .boost-layout { grid-template-columns: 1fr; }
  .boost-info-card { order: 2; }
  .boost-two-columns { grid-template-columns: 1fr; gap: 0; }
  .boost-admin-header { align-items: flex-start; flex-direction: column; gap: 16px; }
}

@media (max-width: 470px) {
  .eco-hero-copy h1 { font-size: 30px; }
  .eco-hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 7px; }
  .eco-hero-stats > div { min-height: 76px; padding: 15px 6px; border-radius: 13px; }
  .eco-hero-stats strong { font-size: 21px; }
  .eco-hero-stats span { font-size: 7px; }
  .eco-ranking-note { text-align: center; }
  #server_list_table tbody tr { grid-template-columns: 40px 1fr auto; padding: 12px; }
  .map-name { max-width: 118px; }
  .details-button { min-width: 62px; }
  .boost-badge { min-width: 78px; padding-left: 26px; }
  .boost-page-hero { align-items: flex-start; flex-direction: column; }
  .boost-current-card { width: 100%; min-height: 88px; flex-direction: row; gap: 13px; }
  .boost-current-card strong { margin: 0; }
  .boost-order-card,
  .boost-info-card { padding: 20px 16px; }
  .boost-price-panel { grid-template-columns: 1fr; }
  .boost-price-panel small { grid-column: 1; }
  .boost-admin-shell { width: calc(100% - 18px); }
  .boost-admin-card { padding: 17px 12px; }
  .boost-admin-nav { width: 100%; }
  .boost-admin-nav a { flex: 1; justify-content: center; }
}


/* ECOGaming Boost v3: online payment and admin quick-add */
.boost-submit-button.is-disabled,
.boost-submit-button:disabled {
  opacity: .48;
  cursor: not-allowed;
  filter: grayscale(.4);
  transform: none !important;
}
.boost-payment-note.is-error { color: #ff8d95; }

.boost-gateway-state {
  min-height: 58px;
  margin: 14px 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid;
  border-radius: 13px;
  background: rgba(7,13,22,.88);
}
.boost-gateway-state span { font-size: 20px; }
.boost-gateway-state p { margin: 0; font-size: 10px; line-height: 1.8; }
.boost-gateway-state.is-ready { color: #70dfaa; border-color: rgba(73,214,145,.26); }
.boost-gateway-state.is-missing { color: #ffd16b; border-color: rgba(255,187,56,.25); }

.boost-manual-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 150px 150px auto;
  gap: 12px;
  align-items: end;
}
.boost-manual-form label > span {
  display: block;
  margin-bottom: 8px;
  color: #91aabd;
  font-size: 10px;
}
.boost-manual-form select,
.boost-manual-form input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--eco-line);
  border-radius: 10px;
  color: #fff;
  background: rgba(2,7,12,.65);
  font-family: inherit;
}
.boost-manual-form select option { color: #fff; background: #09111d; }
.boost-manual-form .boost-admin-save { min-width: 170px; margin-top: 0; }

.boost-payment-result {
  width: min(820px, 100%);
  margin: 34px auto 0;
  padding: 42px;
  border: 1px solid;
  border-radius: 24px;
  text-align: center;
  background: rgba(7,13,22,.92);
  box-shadow: 0 24px 70px rgba(0,0,0,.38);
}
.boost-payment-result.boost-payment-success {
  color: #73e0ad;
  border-color: rgba(73,214,145,.3);
  background: radial-gradient(circle at 50% -15%, rgba(56,196,128,.2), transparent 40%), rgba(7,13,22,.92);
}
.boost-payment-result.boost-payment-error {
  color: #ff929a;
  border-color: rgba(255,91,101,.3);
  background: radial-gradient(circle at 50% -15%, rgba(210,61,72,.18), transparent 40%), rgba(7,13,22,.92);
}
.boost-payment-result-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 36px;
  font-weight: 900;
  background: rgba(255,255,255,.035);
}
.boost-payment-result h1 { margin: 10px 0; color: #fff; font-size: clamp(25px, 4vw, 40px); }
.boost-payment-result > p { margin: 0 auto; max-width: 640px; color: #9eb3c2; font-size: 12px; line-height: 2; }
.boost-payment-summary {
  margin: 28px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.boost-payment-summary > div {
  min-height: 78px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 13px;
  background: rgba(255,255,255,.025);
}
.boost-payment-summary span { color: #72899b; font-size: 9px; }
.boost-payment-summary strong { margin-top: 7px; color: #eaf7ff; font-size: 12px; word-break: break-word; }
.boost-payment-actions { display: flex; justify-content: center; gap: 10px; }
.boost-payment-actions .boost-submit-button,
.boost-payment-actions .boost-back-button { width: auto; min-width: 170px; min-height: 46px; margin-top: 0; display: inline-flex; align-items: center; justify-content: center; }

@media (max-width: 760px) {
  .boost-manual-form { grid-template-columns: 1fr; }
  .boost-manual-form .boost-admin-save { width: 100%; }
  .boost-payment-result { padding: 30px 18px; }
  .boost-payment-summary { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 470px) {
  .boost-payment-summary { grid-template-columns: 1fr; }
  .boost-payment-actions { flex-direction: column; }
  .boost-payment-actions .boost-submit-button,
  .boost-payment-actions .boost-back-button { width: 100%; }
}

/* ========================================================================== 
   ECO Gaming — redesigned server details page
   ========================================================================== */
.eco-details-page {
  width: min(1180px, calc(100% - 36px));
  margin: 42px auto 80px;
  color: var(--eco-text);
}

.eco-server-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(94, 187, 246, .19);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 5%, rgba(42, 145, 255, .12), transparent 38%),
    linear-gradient(135deg, rgba(9, 17, 29, .97), rgba(5, 10, 18, .91));
  box-shadow: 0 28px 85px rgba(0, 0, 0, .48), inset 0 1px rgba(255, 255, 255, .035);
  backdrop-filter: blur(16px);
}

.eco-server-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  padding: clamp(32px, 5vw, 64px);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eco-server-hero-copy:before {
  content: "";
  position: absolute;
  left: 0;
  top: 54px;
  width: 3px;
  height: 92px;
  border-radius: 0 8px 8px 0;
  background: linear-gradient(180deg, var(--eco-cyan), var(--eco-blue));
  box-shadow: 0 0 24px rgba(67, 199, 255, .48);
}

.eco-server-eyebrow {
  display: inline-flex;
  margin-bottom: 17px;
  align-items: center;
  gap: 9px;
  color: #8ea9bd;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.eco-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8c9aa7;
  box-shadow: 0 0 0 5px rgba(140, 154, 167, .08);
}
.eco-status-onl,
.eco-status-onp {
  background: #50e6a2;
  box-shadow: 0 0 0 5px rgba(80, 230, 162, .09), 0 0 16px rgba(80, 230, 162, .65);
}
.eco-status-nrs,
.eco-status-off {
  background: #ff667f;
  box-shadow: 0 0 0 5px rgba(255, 102, 127, .08), 0 0 16px rgba(255, 102, 127, .52);
}

.eco-server-hero h1,
div[id^="servername"].eco-details-title {
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-wrap: anywhere;
  color: #fff;
  font-family: Inter, Montserrat, Arial, sans-serif;
  font-size: clamp(30px, 4.1vw, 54px);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -1.7px;
  text-align: left;
  text-shadow: 0 8px 36px rgba(0, 0, 0, .36);
}

.eco-server-endpoint {
  width: min(100%, 520px);
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #839aab;
}

.eco-endpoint-label {
  flex: 0 0 auto;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.15px;
}

.eco-server-endpoint code {
  min-width: 0;
  padding: 10px 13px;
  overflow: hidden;
  border: 1px solid rgba(83, 183, 241, .17);
  border-radius: 10px;
  color: #caefff;
  background: rgba(46, 134, 184, .07);
  font-family: Consolas, Monaco, monospace;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eco-server-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.eco-action-button {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(91, 188, 243, .2);
  border-radius: 12px;
  color: #d9f4ff !important;
  background: rgba(56, 145, 196, .08);
  box-sizing: border-box;
  cursor: pointer;
  font: 900 9px/1 Verdana, sans-serif;
  letter-spacing: .7px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.eco-action-button:hover {
  transform: translateY(-2px);
  border-color: rgba(74, 205, 255, .48);
  color: #fff !important;
  background: rgba(55, 171, 225, .15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
  text-shadow: none;
}
.eco-action-primary {
  border-color: rgba(69, 196, 255, .38);
  background: linear-gradient(135deg, rgba(39, 155, 224, .28), rgba(37, 99, 214, .19));
  box-shadow: inset 0 1px rgba(255, 255, 255, .06), 0 0 20px rgba(39, 155, 224, .08);
}
.eco-action-boost {
  border-color: rgba(255, 148, 66, .31);
  color: #ffd9bf !important;
  background: linear-gradient(135deg, rgba(255, 120, 37, .18), rgba(207, 65, 26, .08));
}
.eco-action-icon { font-size: 15px; line-height: 1; }

.eco-server-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-left: 1px solid rgba(90, 184, 239, .13);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  isolation: isolate;
}
.eco-server-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(6, 12, 21, .82), rgba(6, 12, 21, .08) 45%, rgba(4, 9, 16, .28));
}
.eco-server-visual-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(3, 8, 14, .9), transparent 56%);
}
.eco-server-visual .details_password_image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}
.eco-game-icon {
  position: absolute !important;
  left: 24px !important;
  top: 24px !important;
  z-index: 4 !important;
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px !important;
  background-color: rgba(6, 12, 21, .8);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 26px !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.34);
  opacity: 1 !important;
}
.eco-location-flag {
  position: absolute !important;
  right: 24px !important;
  top: 24px !important;
  z-index: 4 !important;
  width: 22px !important;
  height: 15px !important;
  float: none !important;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 3px;
  background-position: center;
  background-size: cover !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}
.eco-map-caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 25px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.eco-map-caption span {
  color: #7f9bad;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.2px;
}
.eco-map-caption strong {
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  font-size: clamp(18px, 2.5vw, 30px);
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .58);
}

.eco-server-stats.details_info {
  width: 100%;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.eco-refresh-source { display: none !important; }
.eco-stat-card {
  min-height: 88px;
  padding: 17px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  border: 1px solid rgba(92, 183, 239, .14);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(10, 18, 30, .9), rgba(7, 13, 22, .78));
  box-shadow: inset 0 1px rgba(255,255,255,.025), 0 12px 32px rgba(0,0,0,.18);
}
.eco-stat-icon {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(83, 193, 247, .17);
  border-radius: 12px;
  color: #66d4ff;
  background: rgba(49, 157, 211, .08);
  font-size: 17px;
}
.eco-stat-card > div { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.eco-stat-card small {
  color: #607b8e;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.1px;
}
.eco-stat-card strong {
  max-width: 100%;
  overflow: hidden;
  color: #eaf8ff;
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.eco-stat-card strong em { color: #526c7f; font-style: normal; }
.eco-stat-players .eco-stat-icon { color: #5ee6ae; border-color: rgba(94,230,174,.2); background: rgba(59,195,141,.08); }

.eco-update-strip.details_info_row {
  width: auto;
  min-height: 50px;
  margin: 12px 0 0;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border: 1px solid rgba(93, 183, 239, .12);
  border-radius: 13px;
  color: #718a9d;
  background: rgba(7, 13, 22, .64);
  font-size: 9px;
  font-weight: 600;
}
.eco-update-strip b { color: #a8c4d5; font-size: 8px; letter-spacing: .65px; }
.eco-update-strip i { padding: 0 8px; color: #3c5669; font-style: normal; }
#eco-refresh-button {
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(70, 183, 237, .16);
  border-radius: 8px;
  color: #8ecce8;
  background: rgba(43, 141, 190, .07);
  cursor: pointer;
  font: 900 8px/1 Verdana, sans-serif;
  letter-spacing: .45px;
}
#eco-refresh-button:hover { border-color: rgba(76, 204, 255, .4); color: #fff; background: rgba(49, 168, 222, .14); }
#eco-refresh-button.is-loading { opacity: .65; cursor: wait; }

.eco-detail-section {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(95, 184, 239, .14);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(9, 16, 27, .89), rgba(5, 10, 18, .76));
  box-shadow: 0 17px 45px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.025);
  backdrop-filter: blur(10px);
}
.eco-section-heading {
  min-height: 76px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid rgba(92, 183, 239, .11);
}
.eco-section-heading > div { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.eco-section-heading span {
  color: #54758b;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.3px;
}
.eco-section-heading h2 {
  margin: 0;
  color: #f2fbff;
  font-size: 17px;
  line-height: 1;
}
.eco-section-count {
  min-width: 56px;
  padding: 8px 11px;
  border: 1px solid rgba(82, 220, 169, .18);
  border-radius: 9px;
  color: #68e5b2;
  background: rgba(55, 184, 135, .07);
  font-size: 10px;
  text-align: center;
}

.eco-table-wrap {
  width: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
#details_playerlist.eco-table-wrap { padding: 0; text-align: left; }
.eco-detail-section .players_table,
.eco-detail-section .settings_table {
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-collapse: collapse;
}
.eco-detail-section .players_table tr,
.eco-detail-section .settings_table tr {
  border: 0;
  background: transparent;
}
.eco-detail-section .players_table th,
.eco-detail-section .settings_table th {
  padding: 13px 17px;
  border-bottom: 1px solid rgba(93, 182, 237, .1);
  color: #6c899d;
  background: rgba(255,255,255,.018);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .7px;
  text-align: left;
  text-transform: uppercase;
}
.eco-detail-section .players_table td,
.eco-detail-section .settings_table td {
  padding: 14px 17px;
  border-top: 1px solid rgba(255,255,255,.035);
  color: #b7cad6;
  background: transparent;
  font-size: 10px;
  font-weight: 500;
  text-align: left;
  white-space: normal;
}
.eco-detail-section .players_table tbody tr:hover td,
.eco-detail-section .settings_table tbody tr:hover td { background: rgba(65, 174, 228, .035); color: #edfaff; }
.eco-detail-section .settings_table td:first-child {
  width: 31%;
  color: #82bdd7;
  font-family: Consolas, Monaco, monospace;
  font-size: 9px;
  font-weight: 700;
}
.eco-detail-section .settings_table a { word-break: break-all; }

.eco-empty-state {
  min-height: 170px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #668194;
  text-align: center;
}
.eco-empty-state > span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(80, 188, 239, .16);
  border-radius: 15px;
  color: #64c8f3;
  background: rgba(49, 151, 201, .06);
  font-size: 21px;
}
.eco-empty-state strong { color: #a9c3d2; font-size: 12px; }
.eco-empty-state small { color: #587083; font-size: 9px; font-weight: 500; }

.eco-chart-wrap { padding: 18px; overflow-x: auto; text-align: center; }
.eco-chart-wrap img { max-width: 100%; border: 1px solid rgba(92,182,238,.12); border-radius: 13px; }
.eco-collapsible { color: #9cb7c8; }
.eco-collapsible > summary {
  min-height: 54px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(92,182,238,.1);
  color: #abd3e6;
  cursor: pointer;
}
.eco-userbar-content { padding: 20px; }
.eco-userbar-content > div { margin: 12px 0 8px; overflow-x: auto; }
.eco-userbar-content textarea { width: min(100%, 700px); height: 45px; box-sizing: border-box; }

.eco-copy-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 1000;
  padding: 12px 17px;
  border: 1px solid rgba(82, 224, 168, .25);
  border-radius: 10px;
  color: #b8f8de;
  background: rgba(10, 27, 23, .94);
  box-shadow: 0 15px 40px rgba(0,0,0,.4);
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity .2s ease, transform .2s ease;
}
.eco-copy-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 940px) {
  .eco-server-hero { grid-template-columns: 1fr; }
  .eco-server-visual { min-height: 310px; border-top: 1px solid rgba(90,184,239,.13); border-left: 0; }
  .eco-server-stats.details_info { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 620px) {
  .eco-details-page { width: min(100% - 22px, 1180px); margin-top: 22px; }
  .eco-server-hero { border-radius: 19px; }
  .eco-server-hero-copy { padding: 31px 22px 28px; }
  .eco-server-hero-copy:before { top: 35px; height: 70px; }
  .eco-server-hero h1 { font-size: 29px; letter-spacing: -.7px; }
  .eco-server-endpoint { margin-top: 22px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .eco-server-endpoint code { width: 100%; box-sizing: border-box; }
  .eco-server-actions { width: 100%; }
  .eco-action-button { flex: 1 1 150px; }
  .eco-server-visual { min-height: 250px; }
  .eco-server-stats.details_info { grid-template-columns: 1fr 1fr; gap: 8px; }
  .eco-stat-card { min-height: 74px; padding: 13px; gap: 10px; }
  .eco-stat-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .eco-update-strip.details_info_row { padding: 10px 12px; align-items: flex-start; flex-direction: column; }
  #eco-refresh-button { width: 100%; }
  .eco-section-heading { min-height: 68px; padding: 0 16px; }
  .eco-detail-section .players_table th,
  .eco-detail-section .settings_table th,
  .eco-detail-section .players_table td,
  .eco-detail-section .settings_table td { padding: 12px 14px; }
}

@media (max-width: 420px) {
  .eco-server-stats.details_info { grid-template-columns: 1fr; }
  .eco-stat-card { min-height: 66px; }
  .eco-server-actions { flex-direction: column; }
  .eco-action-button { width: 100%; flex-basis: auto; }
}
