.brand-mark {
  color: transparent !important;
  background: url('/boocord-logo.png') center / cover no-repeat !important;
  box-shadow: none !important;
  overflow: hidden;
}

* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.page-header p,
.panel-title p,
.section-heading p,
.server-name p,
.server-detail-title p,
.event-content > p,
.empty-state > span,
.live-server-list small {
  display: none !important;
}

.stat-content small {
  font-size: 0;
}

.stat-content small:not(:has(b)) {
  display: none;
}

.stat-content small b {
  margin-right: 0;
  font-size: 11px;
}

.page-header {
  min-height: 128px;
  padding-top: 25px;
  padding-bottom: 21px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 32px;
}

.page-header > div:first-child {
  grid-column: 2;
  max-width: none;
  text-align: center;
}

.page-header .page-actions {
  grid-column: 3;
  justify-self: end;
}

.page-header h1,
.section-heading h2 {
  margin-bottom: 0;
}

.page-header h1 {
  font-size: clamp(44px, 4.4vw, 58px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.015em;
  text-transform: none;
  text-shadow: none;
}

.panel-heading {
  min-height: 56px;
  padding-top: 14px;
  align-items: center;
}

.stat-card {
  min-height: 104px;
  padding-top: 17px;
  padding-bottom: 17px;
  align-items: center;
}

.stat-content > strong {
  margin-top: 5px;
}

.stat-content small:has(b) {
  min-height: 0;
  margin-top: 5px;
}

.section-block {
  margin-top: 40px;
}

.section-heading {
  margin-bottom: 12px;
  align-items: center;
}

.incident-live-services {
  margin-top: 24px;
}

.dashboard-grid,
.players-layout,
.timeline-panel,
.server-kpis {
  margin-top: 14px;
}

.event-card {
  padding-top: 12px;
  padding-bottom: 12px;
}

.empty-state {
  min-height: 140px;
}

.live-server-list > div {
  min-height: 48px;
}

.footer-inner {
  min-height: 82px;
}

@media (max-width: 820px) {
  .page-header {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .page-header > div:first-child,
  .page-header .page-actions {
    grid-column: 1;
  }

  .page-header .page-actions {
    justify-self: center;
    justify-content: center;
  }
}

/* Cleaner surfaces: quieter background, flatter cards and restrained depth. */
:root {
  --surface: #111518;
  --surface-2: #151a1d;
  --line: rgba(255, 255, 255, .075);
  --line-strong: rgba(60, 157, 255, .22);
}

body {
  background-color: #090c0e;
  background-image: radial-gradient(circle at 50% -15%, rgba(60, 157, 255, .055), transparent 38%);
  background-size: 100% 100%;
  background-attachment: scroll;
}

body::after {
  display: none;
}

.site-header {
  border-bottom-color: rgba(255, 255, 255, .065);
  background: rgba(9, 12, 14, .94);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .14);
}

.panel,
.stat-card,
.server-card,
.world-stat-card,
.roster-card,
.live-service-card,
.server-stay-card,
.reliability-card,
.legend-card,
.server-detail-hero {
  border-color: rgba(255, 255, 255, .075);
  background: linear-gradient(180deg, rgba(19, 23, 26, .97), rgba(15, 19, 22, .97));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .02), 0 8px 24px rgba(0, 0, 0, .12);
}

.panel,
.server-detail-hero {
  border-radius: 17px;
}

.stat-card,
.server-card,
.live-service-card,
.reliability-card,
.legend-card {
  border-radius: 15px;
}

.world-stat-card,
.roster-card,
.server-stay-card {
  border-radius: 12px;
}

.stat-card::before,
.server-card::before,
.world-stat-card::before,
.roster-card::before,
.live-service-card::before,
.server-stay-card::before,
.live-service-card::after {
  display: none;
}

.panel:hover,
.stat-card:hover,
.server-card:hover,
.world-stat-card:hover,
.roster-card:hover,
.live-service-card:hover,
.server-stay-card:hover {
  border-color: rgba(60, 157, 255, .2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
}

.stat-card:hover,
.server-card:hover,
.world-stat-card:hover,
.roster-card:hover,
.live-service-card:hover,
.server-stay-card:hover {
  transform: translateY(-2px);
}

.network-banner {
  border-color: rgba(49, 255, 152, .16);
  background: rgba(14, 25, 22, .94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15), inset 0 1px 0 rgba(255, 255, 255, .02);
}

.network-banner.warning {
  border-color: rgba(255, 101, 113, .18);
  background: rgba(28, 17, 19, .94);
}

.network-banner:hover {
  border-color: rgba(49, 255, 152, .24);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .2);
}

.stat-icon,
.server-name > span,
.roster-avatar,
.world-stat-card header > span,
.server-stay-head > span,
.network-banner-icon,
.panel-title > span {
  box-shadow: none;
}

.donut,
.reliability-ring {
  filter: none;
}

footer {
  border-top-color: rgba(255, 255, 255, .065);
  background: #0e1214;
}

/* Compact service cards: identity and state share one row. */
.live-service-card {
  min-height: 0;
  padding: 15px 17px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  grid-template-areas:
    "icon copy status"
    "metrics metrics metrics";
  align-items: center;
  gap: 11px 12px;
}

.live-service-head {
  display: contents;
}

.live-service-icon {
  grid-area: icon;
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

.live-service-head .status-badge {
  grid-area: status;
  align-self: center;
}

.live-service-copy {
  grid-area: copy;
  min-width: 0;
  margin-top: 0;
  align-self: center;
}

.live-service-copy h3 {
  margin-bottom: 0;
  font-size: 19px;
}

.live-service-copy a {
  margin-top: 1px;
  font-size: 12px;
}

.live-service-metrics {
  grid-area: metrics;
  margin-top: 0;
  padding-top: 11px;
}

.live-service-metrics > div {
  padding-right: 12px;
  padding-left: 12px;
}

.live-service-metrics span {
  font-size: 9px;
}

.live-service-metrics strong {
  margin-top: 2px;
  font-size: 13px;
}

@media (max-width: 480px) {
  .page-header {
    min-height: 136px;
    padding-top: 18px;
    padding-bottom: 16px;
  }

  .page-header h1 {
    font-size: 40px;
  }

  .live-service-card {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    padding: 13px 14px;
    gap: 9px 10px;
  }

  .live-service-icon {
    width: 38px;
    height: 38px;
  }

  .live-service-copy h3 {
    font-size: 17px;
  }

  .live-service-head .status-badge {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 10px;
  }
}
