* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: #f3f1e7;
  color: #3c3c3c;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button {
  font: inherit;
}

.page {
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 20px 12px 24px;
}

.hero {
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: #6d6d6d;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(0, 0, 0, .06);
}

.shield-wrap {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.shield-icon {
  display: block;
  width: 78px;
  height: 84px;
}

.shield-icon.is-checking {
  opacity: .94;
}

.shield-icon.is-ok {
  opacity: 1;
}

.shield-icon.is-warn {
  opacity: .92;
}

.hero h1 {
  margin: 12px 0 4px;
  font-size: 28px;
  font-weight: 500;
  color: #505050;
}

.hero-subtitle {
  margin: 0;
  color: #858585;
  font-size: 14px;
}


.page-subtitle {
  margin-top: 10px;
  font-size: 12px;
  color: #989898;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 18px 0 14px;
}

.refresh-btn {
  border: 0;
  cursor: pointer;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #39bd20 0%, #24a80f 100%);
  box-shadow: 0 3px 10px rgba(36, 168, 15, .18);
}

.refresh-btn:disabled {
  opacity: .65;
  cursor: not-allowed;
}

.tip {
  font-size: 12px;
  color: #7b7b7b;
}

.entry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.entry-row {
  width: 100%;
}

.open-btn {
  width: 100%;
  border: 0;
  cursor: pointer;
  border-radius: 6px;
  min-height: 48px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #fff;
  background: linear-gradient(180deg, #37bd1f 0%, #23a80f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}

.open-btn:active {
  transform: scale(.995);
}

.btn-main {
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .01em;
}

.btn-state {
  flex: 0 0 auto;
  font-size: 13px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}

.entry-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
  font-size: 11px;
  color: #8a8a8a;
}

.entry-row.is-fail .open-btn {
  background: linear-gradient(180deg, #db524a 0%, #c83d33 100%);
}

.entry-row.is-timeout .open-btn {
  background: linear-gradient(180deg, #e8ae2f 0%, #cb8d07 100%);
}

.bottom-alert {
  margin-top: 14px;
  padding: 10px 12px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #406ec4 0%, #2f56a6 100%);
  border-radius: 3px;
  font-size: 14px;
  line-height: 1.5;
}

.footer {
  margin-top: 14px;
  text-align: center;
  color: #9b978d;
  font-size: 12px;
  line-height: 1.8;
}

.notice {
  padding: 14px 16px;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  color: #666;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(0, 0, 0, .08);
}

@media (max-width: 560px) {
  .page {
    padding: 16px 10px 22px;
  }

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

  .toolbar {
    margin: 14px 0 12px;
  }

  .refresh-btn {
    padding: 9px 13px;
  }

  .btn-main {
    font-size: 18px;
  }

  .btn-state {
    font-size: 12px;
    padding: 2px 7px;
  }

  .entry-meta {
    font-size: 10px;
    gap: 8px;
  }

  .bottom-alert {
    font-size: 13px;
  }
}
