:root {
  color-scheme: dark;
  --bg: #080d19;
  --panel: #111c30;
  --panel2: #1c2b44;
  --border: #304361;
  --text: #f1f5ff;
  --muted: #9cb0ce;
  --accent: #a7c7ff;
  --gold: #e6c27a;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0 !important;
  min-height: 100vh;
  padding: 24px 16px !important;
  font-family: -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif !important;
  color: var(--text) !important;
  background:
    radial-gradient(
      ellipse at 80% 0%,
      #1c3156 0%,
      transparent 45%
    ),
    var(--bg) !important;
}

main, .wrap, .panel {
  width: 100%;
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

main, .card, .panel, .hero {
  border-radius: 20px !important;
}

main, .card {
  background: rgba(17,28,48,.92) !important;
  border: 1px solid var(--border) !important;
  padding: 24px !important;
}

h1, h2, h3 {
  color: var(--text) !important;
  letter-spacing: -.5px;
}

p, label {
  line-height: 1.6;
}

a {
  color: var(--accent) !important;
}

input, select, textarea {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 13px 15px !important;
  margin: 8px 0 15px;
  border-radius: 12px !important;
  border: 1px solid var(--border) !important;
  background: var(--panel2) !important;
  color: white !important;
  font-size: 16px;
}

button {
  min-height: 48px;
  padding: 13px 20px !important;
  border-radius: 12px !important;
  background: linear-gradient(
    135deg, #a7c7ff, #709cf0
  ) !important;
  color: #081225 !important;
  border: none !important;
  font-weight: 700 !important;
  cursor: pointer;
}

button:hover {
  filter: brightness(1.08);
}

input:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  body {
    padding: 16px 12px !important;
  }

  main, .card, .panel, .hero {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }

  h1 {
    font-size: 25px !important;
  }

  h2 {
    font-size: 21px !important;
  }

  button {
    width: 100%;
  }
}

/* Hide duplicate top navigation links */
header nav,
.topbar nav,
.sidebar nav,
.nav-links,
.top-nav {
    display: none !important;
}

/* Keep branding visible */
header,
.topbar {
    overflow: hidden;
}


/* ZY Dashboard — Live Statistics */

.zy-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 26px 0;
}

.zy-stat {
    padding: 24px 18px;
    border: 1px solid rgba(100, 150, 255, .25);
    border-radius: 20px;
    background: linear-gradient(
        145deg,
        rgba(27, 55, 112, .65),
        rgba(13, 20, 49, .95)
    );
    box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
}

.zy-stat small {
    display: block;
    color: #aab9da;
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.zy-stat strong {
    display: block;
    margin-top: 14px;
    color: #fff;
    font-size: clamp(30px, 7vw, 46px);
    font-weight: 800;
}

.zy-overview {
    margin: 26px 0;
    padding: 22px;
    border: 1px solid rgba(85, 140, 255, .25);
    border-radius: 22px;
    background: rgba(8, 19, 47, .8);
}

.zy-overview h2 {
    color: #fff;
    margin: 0 0 20px;
    font-size: 22px;
}

.zy-server-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 17px 14px;
    margin: 10px 0;
    border: 1px solid rgba(80, 130, 240, .22);
    border-radius: 14px;
    background: rgba(20, 37, 78, .65);
    color: #e8efff;
}

.zy-server-item span:last-child {
    color: #65c8ff;
    font-weight: 700;
}

@media (max-width: 480px) {
    .zy-stats {
        gap: 10px;
    }

    .zy-stat {
        padding: 19px 13px;
    }

    .zy-overview {
        padding: 16px;
    }
}

