.web-push-channel {
  --push-tone: #087fc1;
  --push-soft: rgba(8, 127, 193, .09);
  margin-top: 14px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--push-tone) 28%, var(--border));
  border-radius: 16px;
  background:
    linear-gradient(125deg, var(--push-soft), transparent 72%),
    var(--card, rgba(255, 255, 255, .02));
  box-shadow: inset 4px 0 0 var(--push-tone);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.web-push-channel[data-state="active"] {
  --push-tone: #2f8d61;
  --push-soft: rgba(47, 141, 97, .11);
}

.web-push-channel[data-state="attention"] {
  --push-tone: #e35716;
  --push-soft: rgba(227, 87, 22, .10);
}

.web-push-channel[data-state="blocked"] {
  --push-tone: #b64b43;
  --push-soft: rgba(182, 75, 67, .10);
}

.web-push-channel[data-state="unknown"] {
  --push-tone: #746d61;
  --push-soft: rgba(116, 109, 97, .10);
}

.web-push-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
}

.web-push-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: color-mix(in srgb, var(--push-tone) 15%, transparent);
  color: var(--push-tone);
  font-size: 21px;
}

.web-push-title {
  color: var(--text);
  font-size: clamp(13px, 3.6vw, 14px);
  font-weight: 800;
  line-height: 1.25;
}

.web-push-kicker {
  margin-top: 3px;
  color: var(--muted);
  font-size: clamp(10px, 2.8vw, 11px);
  line-height: 1.35;
}

.web-push-status {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border: 1px solid color-mix(in srgb, var(--push-tone) 35%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--push-tone) 11%, transparent);
  color: var(--push-tone);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.web-push-hint {
  margin-top: 11px;
  color: var(--muted);
  font-size: clamp(11px, 3vw, 12px);
  line-height: 1.5;
}

.web-push-action {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid color-mix(in srgb, var(--push-tone) 38%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--push-tone) 13%, transparent);
  color: var(--push-tone);
  font: 800 clamp(11px, 3.1vw, 12px)/1.2 "Jost", sans-serif;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .14s ease, background .14s ease;
}

.web-push-action:hover:not(:disabled) {
  background: color-mix(in srgb, var(--push-tone) 20%, transparent);
  transform: translateY(-1px);
}

.web-push-action:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--push-tone) 35%, transparent);
  outline-offset: 2px;
}

.web-push-action:disabled {
  cursor: default;
  opacity: .58;
}

.web-push-footnote {
  margin-top: 9px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

@media (max-width: 390px) {
  .web-push-head {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .web-push-icon {
    width: 38px;
    height: 38px;
  }

  .web-push-status {
    grid-column: 2;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .web-push-channel,
  .web-push-action {
    transition: none;
  }
}
