.coin-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  margin-right: 5px;
}
.controls-table {
  width: 85.5%;
  max-width: 1296px;
  margin: 0 auto 27px auto;
  border-collapse: separate;
  border-spacing: 0;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  color: #fff;
  font-weight: bold;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.2);
  overflow: hidden;
  font-size: 16px;
}
.controls-cell {
  border: none;
  padding: 18px 23px;
  vertical-align: top;
}
.controls-container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: nowrap;
  align-items: center;
}
.server-table th,
.server-table td,
.server-table th:nth-child(1),
.server-table td:nth-child(1),
.server-table th:nth-child(2),
.server-table td:nth-child(2),
.server-table th:nth-child(3),
.server-table td:nth-child(3),
.server-table th:nth-child(4),
.server-table td:nth-child(4),
.server-table th:nth-child(5),
.server-table td:nth-child(5),
.server-table .player-id-container,
.server-table .price-value,
.server-table .server-activity-inline,
.server-table .nitro-hidden-text {
  font-size: 13px !important;
}
.server-table .player-id-container {
  font-size: 12px !important;
}

@media (max-width: 768px) {
  .server-table th,
  .server-table td,
  .server-table th:nth-child(1),
  .server-table td:nth-child(1),
  .server-table th:nth-child(2),
  .server-table td:nth-child(2),
  .server-table th:nth-child(3),
  .server-table td:nth-child(3),
  .server-table th:nth-child(4),
  .server-table td:nth-child(4),
  .server-table th:nth-child(5),
  .server-table td:nth-child(5),
  .server-table .player-id-container,
  .server-table .price-value,
  .server-table .server-activity-inline,
  .server-table .nitro-hidden-text {
    font-size: 13px !important;
  }
  .server-table .player-id-container {
    font-size: 12px !important;
  }
}
.control-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 0;
  flex: 0 1 auto;
}
.leaderboard-controls-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-transform: lowercase;
  white-space: nowrap;
}
.controls-container .control-section {
  align-items: flex-end;
}
.control-title {
  color: #fff;
  font-size: 16px;
  margin: 0;
  font-weight: bold;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  position: relative;
  white-space: nowrap;
}
.button-group {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: center;
}
.control-button {
  border-radius: 11px;
  border: none;
  padding: 0px 0.5px;
  margin: 0;
  cursor: pointer;
  height: fit-content;
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
  min-width: 54px;
  transition: all 0.1s ease;
}
.control-button:active {
  transform: translateY(2px);
}
.control-button-inner {
  border-radius: 11px;
  -webkit-text-fill-color: white;
  -webkit-text-stroke-width: 0px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: bold;
  text-shadow: 1px 1px rgba(0,0,0,0.8);
  color: white;
  white-space: nowrap;
}
.control-button.inactive {
  background: rgb(100,100,100);
  box-shadow: 0px 0.5px 0px 0.5px rgba(80, 80, 80), 0px 4px 0px 0.5px rgba(80, 80, 80);
}
.control-button.inactive:active {
  box-shadow: 0px 0px 0px 0.5px rgba(80, 80, 80), 0px 2px 0px 0.5px rgba(80, 80, 80);
}
.control-button.inactive .control-button-inner {
  box-shadow: inset 0px 0px 10px rgba(120, 120, 120, 0.3);
}
.control-button[data-base="stable"].active {
  background: #16A34A;
  box-shadow: 0px 0.5px 0px 0.5px #15803D, 0px 4px 0px 0.5px #15803D;
}
.control-button[data-base="stable"].active:active {
  box-shadow: 0px 0px 0px 0.5px #15803D, 0px 2px 0px 0.5px #15803D;
}
.control-button[data-base="stable"].active .control-button-inner {
  box-shadow: inset 0px 0px 10px rgba(22, 163, 74, 0.5);
}
.control-button[data-base="nightly"].active {
  background: #F43F5E;
  box-shadow: 0px 0.5px 0px 0.5px #E11D48, 0px 4px 0px 0.5px #E11D48;
}
.control-button[data-base="nightly"].active:active {
  box-shadow: 0px 0px 0px 0.5px #E11D48, 0px 2px 0px 0.5px #E11D48;
}
.control-button[data-base="nightly"].active .control-button-inner {
  box-shadow: inset 0px 0px 10px rgba(244, 63, 94, 0.5);
}
.server-table {
  width: 85.5%;
  max-width: 1296px;
  margin: 0 auto 27px auto;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  color: #fff;
  font-weight: bold;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.2);
  overflow: hidden;
  font-size: 14px;
}
.server-table th {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 11px 14px;
  vertical-align: middle;
  text-align: center;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  background: rgba(0,86,122,0.25);
  color: #fff;
  font-weight: bold;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
}
.server-table col.rank-col {
  width: 56px;
}
.server-table td {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 11px 14px;
  vertical-align: middle;
  text-align: center;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.1) 100%);
}
.server-table tbody tr:hover {
  background-color: rgba(0,86,122,0.2);
}
.rank-cell {
  width: 56px;
  white-space: nowrap;
}
.server-activity-inline {
  color: #fff;
  text-align: left;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.server-activity-nitro-mask {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-start;
  min-height: 20px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.coinboard-nitro-icon,
.nitro-hidden-bolt {
  width: 13px;
  height: 13px;
  object-fit: contain;
  flex-shrink: 0;
  vertical-align: -2px;
  filter: drop-shadow(0 0 4px rgba(255, 89, 208, 0.42));
}
.nitro-hidden-bolt {
  animation: nitro-bolt-pulse 1.8s ease-in-out infinite;
}
.nitro-hidden-text {
  background: linear-gradient(90deg, rgba(255,255,255,0.7) 0%, #ffffff 35%, #c084fc 55%, #ff59d0 70%, rgba(255,255,255,0.7) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: nitro-text-shimmer 2.6s linear infinite;
  font-weight: 600;
  letter-spacing: 0.3px;
}
@keyframes nitro-bolt-pulse {
  0%, 100% { filter: drop-shadow(0 0 3px #ff59d0); opacity: 0.7; }
  50% { filter: drop-shadow(0 0 8px #7c72ff) drop-shadow(0 0 14px #ff59d0); opacity: 1; }
}
@keyframes nitro-text-shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}
.server-table th:nth-child(4),
.server-table td:nth-child(4) {
  text-align: left;
}
.player-nickname-cell {
  cursor: pointer;
}
.nickname-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  white-space: normal;
  overflow: visible;
  min-width: 0;
}
.lb-player-badges {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
  flex: 0 1 auto;
  margin-left: 3px;
  min-width: 0;
  max-width: 100%;
}
.lb-player-badge {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.45));
}
.lb-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.15);
}
.lb-avatar-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, rgba(255,255,255,0.18), rgba(255,255,255,0.07) 58%, rgba(255,255,255,0.04));
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.45);
  overflow: hidden;
}
.lb-avatar-placeholder::before {
  content: "\f007";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
}
.lb-online-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #00e676;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 4px #00e676;
}
.player-id-cell {
  cursor: pointer;
}
.player-id-cell:hover {
  background-color: inherit !important;
}
.player-id-container {
  display: flex;
  align-items: left;
  gap: 6px;
  font-family: inherit;
  font-size: 12px;
  color: #fff;
  text-shadow: none;
  max-width: 100%;
  justify-content: left;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.copy-id-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 10px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  flex-shrink: 0;
}
.copy-id-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}
.copy-id-btn:active {
  transform: scale(0.9);
}
.copy-id-btn i {
  font-size: 10px;
}
.copy-notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  z-index: 10000;
  transition: transform 0.3s ease;
  pointer-events: none;
}
.copy-notification.visible {
  transform: translateX(-50%) translateY(0);
}
.leaderboard-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  text-align: center;
  gap: 16px;
  margin: 20px auto;
  width: 85.5%;
  max-width: 1296px;
}
.leaderboard-empty .empty-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
}
.price-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.price-value {
  color: #FFD700;
  font-weight: bold;
  text-shadow: 1px 1px rgba(0,0,0,0.3);
  font-size: 13px;
}
@media (max-width: 768px) {
  body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
  }
  html {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
  }
  button {
    box-shadow: none !important;
  }
  button:active {
    transform: none !important;
    opacity: 1 !important;
  }
  .controls-table {
    width: 100%;
    margin: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .controls-cell {
    padding: 12px 16px;
    border: none;
    background: transparent;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .controls-container {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .leaderboard-controls-title {
    display: none;
  }
  .control-section {
    min-width: auto;
    width: 100%;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(51, 144, 236, 0.15);
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .control-section:last-child {
    border-bottom: none;
  }
  .control-title {
    font-size: 14px;
    color: #3390ec;
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
  }
  .button-group {
    width: 100%;
    justify-content: stretch;
    gap: 8px;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .control-button {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(51, 144, 236, 0.3);
    background: rgba(30, 39, 50, 0.6);
    border-radius: 8px;
    box-shadow: none !important;
    box-sizing: border-box;
    max-width: 100%;
  }
  .control-button.inactive {
    background: rgba(30, 39, 50, 0.6);
    border-color: rgba(51, 144, 236, 0.2);
    box-shadow: none !important;
  }
  .control-button.inactive .control-button-inner {
    color: #8e9297;
    box-shadow: none !important;
  }
  .control-button:active {
    transform: none !important;
  }
  .control-button-inner {
    font-size: 13px;
    padding: 10px 12px;
    color: #e4e4e4;
    text-shadow: none;
    -webkit-text-fill-color: inherit;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    width: 100%;
    text-align: center;
  }
  .server-table {
    width: 100%;
    margin: 0;
    font-size: 12px;
    display: table;
    border-collapse: collapse;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }
  .server-table th {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(51, 144, 236, 0.15);
    color: #3390ec;
    font-weight: 500;
    padding: 12px 8px;
    font-size: 13px;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    text-overflow: clip;
    overflow: visible;
  }
  .server-table td {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(51, 144, 236, 0.15);
    color: #e4e4e4;
    padding: 12px 8px;
    font-size: 13px;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    text-overflow: clip;
    overflow: visible;
  }
  .server-table tr:last-child td {
    border-bottom: none;
  }
  .server-table th:nth-child(1),
  .server-table td:nth-child(1) {
    width: 8%;
    text-align: left;
    padding-left: 16px;
  }
  .server-table th:nth-child(2),
  .server-table td:nth-child(2) {
    width: 56%;
    text-align: left;
    padding-left: 8px;
  }
  .server-table th:nth-child(3),
  .server-table td:nth-child(3) {
    width: 36%;
    font-size: 12px;
  }
  .server-table th:nth-child(4),
  .server-table td:nth-child(4) {
    display: none;
  }
  .server-table th:nth-child(5),
  .server-table td:nth-child(5) {
    display: none;
  }
  .server-table tbody tr:hover {
    background-color: rgba(51, 144, 236, 0.05);
  }
  .leaderboard-empty {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 40px 20px;
    color: #8e9297;
    background: transparent;
    border: none;
    border-radius: 0;
    box-sizing: border-box;
  }
  .leaderboard-empty .empty-title {
    color: #e4e4e4;
  }
  .player-id-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .price-display {
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
  }
}
