.band {
  color: var(--band-ink);
  background: var(--band);
  transition: background-color .4s var(--ease-out);
}

.band ::selection {
  color: var(--band);
  background: var(--band-ink);
}

.band :focus-visible { outline-color: var(--band-ink); }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  fill: var(--band-ink);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.connection {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 8px;
  color: var(--band-muted);
  font-size: .8125rem;
}

.connection i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--band-muted);
}

.connection[data-state="online"] i { background: #6fe0a0; }
.connection[data-state="error"] i { background: #fff; }
.connection[data-state="loading"] i { animation: blink 1s infinite; }

@keyframes blink { 50% { opacity: .25; } }

.button-band {
  border-color: rgb(255 255 255 / .28);
  color: var(--band-ink);
  background: transparent;
}

.button-band:hover {
  border-color: var(--band-ink);
  background: var(--band-raised);
}

.verdict {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px 56px;
  padding: 40px 0 44px;
}

.verdict-main {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}

.verdict-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: 2px;
  border-radius: 50%;
  color: var(--band);
  background: var(--band-ink);
}

.verdict-icon:empty {
  background: var(--band-raised);
  animation: blink 1.2s infinite;
}

.verdict-icon .icon {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

h1 {
  max-width: 22ch;
  font-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.625rem);
  font-stretch: 88%;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.01em;
  word-spacing: .06em;
  text-wrap: balance;
}

.verdict p {
  max-width: 62ch;
  margin-top: 10px;
  color: var(--band-muted);
  font-size: 1rem;
}

.summary {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 14px 40px;
}

.summary dt {
  color: var(--band-muted);
  font-size: .8125rem;
  font-stretch: 80%;
  font-weight: 600;
}

.summary dd {
  margin-top: 2px;
  font-size: 1.25rem;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .verdict {
    grid-template-columns: 1fr;
    padding: 28px 0 32px;
  }

  .summary {
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
    gap: 14px 20px;
    padding-top: 20px;
    border-top: 1px solid rgb(255 255 255 / .18);
  }
}

@media (max-width: 520px) {
  .connection { display: none; }
  .topbar { min-height: 58px; }

  .top-actions .button {
    width: 44px;
    min-height: 44px;
    padding: 0;
  }

  .top-actions .button-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .verdict-main { gap: 14px; }

  .verdict-icon {
    width: 36px;
    height: 36px;
  }

  .verdict-icon .icon {
    width: 18px;
    height: 18px;
  }

  .summary { grid-template-columns: repeat(2, 1fr); }
  .summary dd { font-size: 1.125rem; }
}
