/* The reveal: SURPRISE!, Daan's chat, the voucher and the last step. */
.scr-reveal {
  gap: 14px;
  touch-action: manipulation; /* taps speed up the chat: never a double-tap zoom */
}

.scr-reveal__burst {
  position: relative;
  width: 100%;
  max-width: var(--win-max);
  height: 104px;
  flex: none;
}

.scr-reveal__burst .textbuild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scr-reveal__chatwin .win__body {
  padding: 10px 12px 14px;
  background: var(--paper);
}

/* "DAAN · online": the chat app's own font, so "online" stays lowercase */
.scr-reveal__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-m);
  text-transform: none;
}

.scr-reveal__chat {
  min-height: 60px;
}

.scr-reveal__msg {
  margin: 0;
}

.scr-reveal__heart {
  display: inline-block;
  vertical-align: -2px;
  margin-left: 4px;
}

.scr-reveal__voucher {
  position: relative;
}

.scr-reveal__vhead {
  font-weight: 700;
  font-size: var(--fs-m);
}

.scr-reveal__fields {
  display: grid;
  gap: 6px;
  margin: 0;
}

.scr-reveal__field {
  display: grid;
  /* the value column may shrink (minmax 0): the redaction bar then narrows instead of squeezing the label,
     and every row keeps the same columns */
  grid-template-columns: minmax(0, 118px) minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 3px dotted var(--lav-d);
}

.scr-reveal__field:last-child { border-bottom: 0; padding-bottom: 0; }

.scr-reveal__field dt {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  color: var(--ink-soft);
}

.scr-reveal__field dd {
  margin: 0;
  font-size: var(--fs-m);
}

.scr-reveal__redact {
  display: inline-block;
  width: 7.5em;
  max-width: 100%;
  height: 0.95em;
  vertical-align: -2px;
  background: var(--ink);
}

.scr-reveal__stamp {
  position: absolute;
  right: 12px;
  bottom: 14px;
  padding: 2px 8px;
  font-family: var(--font-ui);
  font-size: var(--fs-s);
  color: var(--pink-d);
  border: 3px solid var(--pink-d);
  transform: rotate(-8deg);
  opacity: 0.9;
  pointer-events: none;
}

.scr-reveal__last {
  width: 100%;
  max-width: var(--win-max);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scr-reveal__laststep {
  margin: 0;
  padding: 10px 12px;
  background: var(--yellow);
  border: var(--bw) solid var(--ink);
  box-shadow: 3px 3px 0 0 var(--ink);
  font-size: var(--fs-m);
  line-height: 1.3;
}
