* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: #f8f4ff;
  background: #161324;
  background-image:
    radial-gradient(ellipse at 0 0, #3b215a 0, transparent 65%),
    radial-gradient(ellipse at 100% 100%, #193d49 0, transparent 60%);
  background-attachment: fixed;
  font:
    15px system-ui,
    -apple-system,
    sans-serif;
  min-height: 100vh;
}
a {
  color: inherit;
}
button,
input {
  font: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #e2b8ff;
  outline-offset: 5px;
}
main {
  max-width: 1260px;
  margin: auto;
  padding: 30px 40px 20px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff18;
  padding-bottom: 24px;
}
.brand {
  text-decoration: none;
  font-size: 29px;
  font-weight: 750;
  letter-spacing: -1.3px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand-icon {
  color: #d2b2f4;
  font-size: 36px;
  font-weight: 400;
}
.brand-dot {
  color: #d5acf2;
}
.account {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 13px;
  color: #d0c5e3;
}
.auth {
  padding: 10px 17px;
  border-radius: 50px;
  border: 1px solid #ffffff29;
  text-decoration: none;
  background: #ffffff09;
}
.auth:hover {
  background: #ffffff18;
}
.intro {
  position: relative;
  padding: 48px 0 35px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: #c0aad6;
  font-weight: 600;
}
h1 {
  font-size: clamp(42px, 5.5vw, 68px);
  line-height: 1.08;
  letter-spacing: -3px;
  margin: 18px 0;
}
p {
  color: #c1b2d3;
  line-height: 1.6;
}
.intro p {
  font-size: 14px;
  margin-bottom: 0;
}
.orbit {
  position: absolute;
  right: 55px;
  top: 30px;
  width: 220px;
  height: 220px;
  stroke: #8c719f;
  stroke-width: 1;
  opacity: 0.85;
}
.orbit path {
  stroke: #dab2fb;
  stroke-width: 3;
}
.planet {
  fill: #d0b6ed;
  stroke: none;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0 24px;
}
.filters {
  display: flex;
  background: #090a151e;
  border: 1px solid #ffffff14;
  border-radius: 50px;
  padding: 4px;
  gap: 4px;
}
.filters button {
  color: #bfb1d0;
  border: 0;
  background: none;
  border-radius: 50px;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 12px;
}
.filters button.selected {
  color: #f7eeff;
  background: #ffffff14;
}
.filters button span {
  margin-left: 8px;
  color: #aa91c1;
}
.filters button.selected span {
  color: #e1c4f8;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 370px;
  background: #ffffff06;
  border: 1px solid #ffffff20;
  border-radius: 13px;
  padding: 11px 13px;
}
.search svg {
  width: 17px;
  height: 17px;
  stroke: #c2afd6;
  fill: none;
  stroke-width: 1.6;
}
.search input {
  border: 0;
  background: none;
  outline: none;
  color: #f9f5ff;
  width: 235px;
  min-width: 0;
  font-size: 12px;
}
.search input::placeholder {
  color: #b4a2c8;
}
.search kbd {
  font: 11px system-ui;
  border: 1px solid #ffffff20;
  border-radius: 4px;
  padding: 1px 5px;
  color: #ac96c2;
}
#notice {
  font-size: 12px;
  color: #c1b2d3;
  min-height: 28px;
}
.notice-bad {
  color: #ffd59a !important;
}
section.group {
  margin: 20px 0 33px;
}
.group h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #dfd2ec;
  margin: 0 0 15px;
}
.group h2 span {
  color: #ab94bf;
  font-size: 11px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.card {
  position: relative;
  color: #322343;
  background: #e7d4fa;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 5px 0 #06051240;
  min-height: 177px;
  overflow: hidden;
}
.group:nth-child(2) .card {
  background: #c5e6de;
  color: #1d443e;
}
.group:nth-child(3) .card {
  background: #cddcf9;
  color: #253f5c;
}
.group:nth-child(4) .card {
  background: #f1d7b8;
  color: #593d24;
}
.group:nth-child(5) .card {
  background: #dfdbe9;
  color: #3e3754;
}
.card:nth-child(4n + 2) {
  background: #f4dabd !important;
  color: #503321 !important;
}
.card:nth-child(4n + 3) {
  background: #c4e5dc !important;
  color: #21473c !important;
}
.card:nth-child(4n + 4) {
  background: #c7daf4 !important;
  color: #243e59 !important;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
.icon {
  width: 38px;
  height: 38px;
  border: 1px solid #00000012;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #ffffff40;
}
.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.arrow {
  font-size: 21px;
  opacity: 0.55;
}
.card h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.3px;
  font-weight: 700;
}
.card h3 a {
  text-decoration: none;
}
.card h3 a:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.card:has(a):hover {
  box-shadow: 0 7px 0 #06051260;
  transform: translateY(-2px);
}
.card p {
  font-size: 11px;
  color: inherit;
  opacity: 0.75;
  line-height: 1.5;
  margin: 6px 0 15px;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  font-size: 10px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.dot {
  height: 6px;
  width: 6px;
  background: #466b5d;
  border-radius: 50%;
  flex-shrink: 0;
}
.status.down .dot {
  background: #a23434;
}
.status.pending .dot {
  background: #a06d20;
}
.status.unknown .dot,
.status.paused .dot {
  background: #777184;
}
.status.maintenance .dot {
  background: #5366a5;
}
.status.down {
  color: #8f3030;
}
.access {
  opacity: 0.65;
  font-size: 9px;
}
.check-details {
  position: relative;
  z-index: 2;
  font-size: 10px;
  margin-top: 13px;
  border-top: 1px solid #00000013;
  padding-top: 10px;
}
.check-details summary {
  cursor: pointer;
  opacity: 0.65;
  width: max-content;
  max-width: 100%;
}
.check-row {
  margin-top: 9px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  line-height: 1.5;
}
.check-row .status {
  white-space: nowrap;
}
.check-time {
  opacity: 0.65;
  font-size: 9px;
  margin-top: 3px;
}
.copy {
  position: relative;
  z-index: 2;
  border: 1px solid #00000022;
  background: #ffffff35;
  color: inherit;
  padding: 7px 9px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 11px;
  margin: 3px 0 13px;
}
.empty {
  border: 1px solid #ffffff20;
  border-radius: 18px;
  padding: 35px;
  color: #c4b4d8;
}
.empty h2 {
  color: #f3e9fc;
  font-size: 20px;
}
footer {
  border-top: 1px solid #ffffff15;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #ab98bf;
  font-size: 10px;
}
footer span span {
  color: #d5b2ef;
  margin-left: 7px;
}
.infrastructure .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.infrastructure .card {
  min-height: 0;
  padding: 16px;
  background: #ffffff09 !important;
  color: #d4c5e5 !important;
  border: 1px solid #ffffff14;
  box-shadow: none;
  border-radius: 13px;
}
.infrastructure .card-top {
  display: none;
}
.infrastructure .card h3 {
  font-size: 12px;
}
.infrastructure .card p {
  display: none;
}
.infrastructure .card-bottom {
  margin-top: 9px;
}
.infrastructure .check-details {
  border-color: #ffffff14;
}
.infrastructure .status.down {
  color: #ffa8a8;
}
.infrastructure .status.up .dot {
  background: #a0d8bc;
}
@media (min-width: 1450px) {
  main {
    padding-top: 42px;
  }
}
@media (max-width: 1000px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .orbit {
    right: 5px;
    width: 190px;
  }
  .infrastructure .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  main {
    padding: 22px 22px 12px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .intro {
    padding-top: 36px;
  }
  .orbit {
    width: 125px;
    height: 125px;
    right: 0;
    top: 47px;
    opacity: 0.5;
  }
  h1 {
    font-size: 46px;
    letter-spacing: -2px;
  }
  .intro p {
    max-width: 280px;
    font-size: 12px;
  }
  .toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
  }
  .filters {
    align-self: flex-start;
  }
  .search {
    max-width: none;
  }
  .search input {
    width: 100%;
  }
  .card {
    padding: 17px;
    border-radius: 17px;
  }
  .infrastructure .grid {
    grid-template-columns: 1fr;
  }
  .account {
    gap: 8px;
  }
  #user {
    max-width: 85px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .auth {
    padding: 8px 12px;
  }
  footer {
    font-size: 9px;
  }
}
@media (max-width: 380px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .orbit {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .card:has(a):hover {
    transform: none;
  }
}
