.heart-attack-trigger {
  display: none;
}

.heart-attack-active .heart-attack-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .35rem .65rem;
  padding: .58rem .9rem;
  border: 1px solid #ff6c90;
  border-radius: 8px;
  background: #2c1020;
  color: #fff2f5;
  font: 700 .9rem/1.25 system-ui, sans-serif;
  cursor: pointer;
}

.heart-attack-trigger:hover,
.heart-attack-trigger:focus-visible {
  background: #591c37;
}

.heart-attack-trigger small {
  color: #ffb9cb;
  font-size: .76rem;
}

.heart-attack-placement {
  margin: .85rem 0;
}

html:not(.heart-attack-active) .heart-attack-placement {
  display: none;
}

.heart-attack-dialog {
  box-sizing: border-box;
  width: min(94vw, 26rem);
  max-height: 96dvh;
  padding: .75rem;
  overflow: auto;
  border: 1px solid #ff6c90;
  border-radius: 14px;
  background: #170b12;
  color: #fff2f5;
  font: 600 1rem/1.35 system-ui, sans-serif;
}

.heart-attack-dialog::backdrop {
  background: rgb(11 3 8 / 85%);
}

.heart-attack-dialog header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem;
}

.heart-attack-dialog h2 {
  margin: 0;
  font: 800 1rem/1.2 system-ui, sans-serif;
}

.heart-attack-dialog button,
.heart-attack-dialog a {
  padding: .55rem .75rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  cursor: pointer;
}

.heart-attack-dialog button {
  border-color: #ad8290;
  background: #311925;
  color: #fff2f5;
}

.heart-attack-dialog video {
  display: block;
  width: 100%;
  height: min(67dvh, 33rem);
  background: #10080d;
  object-fit: contain;
}

.heart-attack-dialog a {
  display: block;
  margin-top: .65rem;
  background: #ff839f;
  color: #210a13;
  text-align: center;
  text-decoration: none;
}
