* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  width: 100%;
  font-family: Arial, sans-serif;
  background: #f3f6fa;
  color: #17202b;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(93, 139, 197, 0.08), transparent 28%),
    linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
}

.page-shell {
  min-height: 100vh;
}

.page {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 22px 16px 30px;
}

.top-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(202, 214, 227, 0.9);
  box-shadow:
    0 10px 24px rgba(31, 45, 61, 0.05),
    inset 0 1px 0 rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.top-left {
  min-width: 0;
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #62809d;
  font-weight: 700;
}

.title {
  margin: 6px 0 0;
  font-size: 22px;
  line-height: 1.06;
  font-weight: 700;
  color: #16202a;
}

.summary {
  margin-top: 8px;
  font-size: 14px;
  color: #718395;
}

.top-right {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.info-box {
  min-width: 132px;
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(247, 250, 253, 0.95);
  border: 1px solid rgba(210, 220, 231, 0.95);
  text-align: center;
}

.info-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #7b8fa3;
}

.info-value {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  color: #213040;
}

.list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.link-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 132px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(210, 220, 231, 0.92);
  box-shadow:
    0 8px 20px rgba(23, 32, 43, 0.04),
    inset 0 1px 0 rgba(255,255,255,0.96);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.link-card.ok.clickable {
  cursor: pointer;
}

.link-card.ok.clickable:hover {
  transform: translateY(-2px);
  border-color: rgba(141, 173, 206, 0.95);
  box-shadow:
    0 12px 26px rgba(30, 53, 77, 0.08),
    0 0 0 1px rgba(141, 173, 206, 0.12);
  background: rgba(255,255,255,0.98);
}

.link-card.bad {
  opacity: 0.82;
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.ok {
  background: #39b87f;
  box-shadow: 0 0 10px rgba(57, 184, 127, 0.26);
}

.status-dot.bad {
  background: #d77474;
  box-shadow: 0 0 8px rgba(215, 116, 116, 0.20);
}

.status-dot.checking {
  background: #6b9dd2;
  box-shadow: 0 0 8px rgba(107, 157, 210, 0.24);
}

.text-group {
  min-width: 0;
}

.domain {
  font-size: 18px;
  font-weight: 700;
  color: #1a2430;
  line-height: 1.15;
  word-break: break-word;
}

.subtext {
  margin-top: 5px;
  font-size: 12px;
  color: #7a8a9a;
}

.arrow {
  font-size: 20px;
  color: #7e97b0;
  line-height: 1;
  font-weight: 700;
}

.arrow.muted {
  color: #c0c9d2;
}

.status-row {
  margin-top: 16px;
  width: 100%;
  text-align: center;
  padding: 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
}

.status-row.ok {
  color: #2f7b5b;
  background: #e9f7f0;
  border: 1px solid rgba(78, 173, 128, 0.18);
}

.status-row.bad {
  color: #a25d5d;
  background: #f8eaea;
  border: 1px solid rgba(204, 132, 132, 0.16);
}

.status-row.checking {
  color: #597792;
  background: #edf4fb;
  border: 1px solid rgba(120, 158, 194, 0.16);
}

@media (max-width: 700px) {
  .page {
    padding: 14px 12px 22px;
  }

  .top-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
  }

  .top-right {
    width: 100%;
  }

  .info-box {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .title {
    font-size: 24px;
  }

  .summary {
    font-size: 13px;
  }

  .top-right {
    gap: 8px;
  }

  .info-box {
    padding: 10px 10px;
  }

  .info-value {
    font-size: 14px;
  }

  .list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .link-card {
    min-height: 112px;
    padding: 13px;
    border-radius: 20px;
  }

  .domain {
    font-size: 14px;
  }

  .subtext {
    font-size: 11px;
  }

  .status-row {
    font-size: 11px;
    padding: 8px;
  }

  .arrow {
    font-size: 18px;
  }
}