:root {
  color-scheme: dark;
  --bg: #0b1220;
  --panel: #03060c;
  --line: #111b2b;
  --text: #f6fbff;
  --muted: #8da0b8;
  --soft: #b7c8dc;
  --good: #00d1b2;
  --good-dark: #007c70;
  --warn: #d8a23a;
  --bad: #d85f78;
  --empty: #8b8d93;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #243b5a 0, var(--bg) 42%, #05080f 100%);
  color: var(--text);
  font-family: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell {
  width: min(960px, calc(100% - 32px));
  margin: 18px auto 48px;
}

.card {
  min-height: 520px;
  background: rgba(3, 6, 12, .96);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 22px 80px rgba(0, 0, 0, .34);
  padding: 34px 32px 30px;
  overflow: hidden;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #001a17;
  background: var(--good);
  box-shadow: 0 0 0 10px rgba(0, 209, 178, .12);
  font-weight: 900;
}

.hero h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -.02em;
}

.hero p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.services {
  display: grid;
  gap: 32px;
}

.service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 9px;
}

.service-name {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-check {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #001a17;
  background: var(--good);
  font-size: 12px;
  font-weight: 900;
}

.uptime {
  color: var(--good);
  white-space: nowrap;
  font-size: 16px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(var(--days), minmax(4px, 1fr));
  height: 38px;
  gap: 2px;
}

.day {
  position: relative;
  border-radius: 3px;
  background: var(--empty);
  min-width: 3px;
}

.day[data-state="ok"] {
  background: linear-gradient(180deg, #00b89f, var(--good-dark));
}

.day[data-state="warn"] {
  background: var(--warn);
}

.day[data-state="down"] {
  background: var(--bad);
}

.day:hover::after {
  content: attr(data-title);
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  background: #0c1422;
  border: 1px solid #233149;
  color: var(--text);
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}

.months {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  margin-top: 7px;
  color: #a9c2df;
  font-size: 14px;
}

.months span:first-child {
  text-align: left;
}

.months span:nth-child(2) {
  text-align: center;
}

.months span:last-child {
  text-align: right;
}

.chev {
  color: #dce8f7;
  opacity: .9;
}

.notice-wrap {
  margin-top: 72px;
}

.section-title {
  font-size: 17px;
  letter-spacing: .01em;
  margin-bottom: 18px;
}

.notices {
  display: grid;
  gap: 10px;
}

.notice {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
}

.notice-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.notice-body {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.notice-empty {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 720px) {
  .shell {
    width: 100%;
    margin: 0;
  }

  .card {
    border-radius: 0;
    min-height: 100vh;
    padding: 28px 18px;
  }

  .hero {
    justify-content: flex-start;
    margin-bottom: 34px;
  }

  .hero h1 {
    font-size: 20px;
  }

  .service-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .timeline {
    gap: 1px;
  }

  .months {
    font-size: 12px;
  }
}
