.server-select-section {
  min-width: 260px;
}
.server-select-wrap {
  width: 100%;
  max-width: 360px;
}
.server-select-input {
  width: 100%;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.server-select-input:focus {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}
.server-select-input option {
  background: #1e1e1e;
  color: #fff;
}
.serverboard-date-cell {
  font-size: 13px !important;
}
.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));
}
.control-button[data-mode="best"].active {
  background: #0891b2;
  box-shadow: 0px 0.5px 0px 0.5px #0e7490, 0px 4px 0px 0.5px #0e7490;
}
.control-button[data-mode="best"].active:active {
  box-shadow: 0px 0px 0px 0.5px #0e7490, 0px 2px 0px 0.5px #0e7490;
}
.control-button[data-mode="best"].active .control-button-inner {
  box-shadow: inset 0px 0px 10px rgba(8, 145, 178, 0.45);
}
.control-button[data-mode="sum"].active {
  background: #16a34a;
  box-shadow: 0px 0.5px 0px 0.5px #15803d, 0px 4px 0px 0.5px #15803d;
}
.control-button[data-mode="sum"].active:active {
  box-shadow: 0px 0px 0px 0.5px #15803d, 0px 2px 0px 0.5px #15803d;
}
.control-button[data-mode="sum"].active .control-button-inner {
  box-shadow: inset 0px 0px 10px rgba(22, 163, 74, 0.45);
}
@media (max-width: 1200px) {
  .controls-container {
    flex-wrap: wrap;
    gap: 14px;
  }
  .control-separator {
    display: none;
  }
}
@media (max-width: 768px) {
  .serverboard-date-cell {
    font-size: 13px !important;
  }
  .server-select-wrap {
    max-width: none;
  }
  .mobile-lb-filters-modal.open {
    position: fixed;
    inset: 0;
    z-index: 1000020 !important;
    isolation: isolate;
  }
  .mobile-lb-filters-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
  }
  .mobile-lb-filters-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }
  body.lb-mobile-filters-open main {
    position: relative;
    z-index: 1000019 !important;
  }
}
