/* Reusable buttons, cards, stamps, forms, and video card. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  min-height: 48px;
  padding: var(--s-2) var(--s-5);
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-size: var(--fs-btn);
  font-weight: var(--fw-bold);
  line-height: 1.4;
  text-align: center;
  transition:
    transform var(--dur-fast) var(--ease-out),
    opacity var(--dur-fast) var(--ease-out);
}
.btn:hover:not(:disabled) {
  transform: translateY(-2px);
}
.btn:active:not(:disabled) {
  transform: translateY(0);
}
.btn-primary {
  color: var(--ink-inverse);
  background: var(--teal-700);
  border-color: var(--teal-700);
}
.btn-primary:hover:not(:disabled) {
  background: var(--teal-800);
}
.btn-secondary {
  color: var(--teal-700);
  background: var(--surface);
  border-color: var(--border-strong);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--surface-tint);
}
.btn-ghost {
  color: var(--teal-700);
  background: transparent;
}
.btn-ghost:hover:not(:disabled) {
  background: var(--surface-tint);
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  padding: var(--s-6);
}
.stamp-badge {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  color: var(--ink-2);
  font-size: var(--fs-small);
}
.stamp-badge.is-earned {
  color: var(--gold-700);
  border-color: var(--gold-200);
  background: var(--surface-gold);
}
.stamp-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75em;
  height: 1.75em;
  border-radius: 50%;
  border: 1px solid currentColor;
  flex: none;
}
.video-card {
  margin: 0;
  max-inline-size: 55rem;
  margin-inline: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.video-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface-tint);
  display: grid;
  place-items: center;
}
.video-media img,
.video-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-media video {
  position: absolute;
  inset: 0;
}
.video-play {
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  transform: translate(50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  width: min(80%, 20rem);
  padding: var(--s-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-2);
  font-weight: var(--fw-bold);
}
.video-play:hover {
  background: var(--surface-tint);
}
.play-symbol {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--teal-700);
  color: var(--ink-inverse);
}
.play-symbol svg {
  width: 1.5rem;
  height: 1.5rem;
}
.stamp-symbol svg {
  width: 1.15rem;
  height: 1.15rem;
}
.video-card figcaption {
  padding: var(--s-4) var(--s-5);
  color: var(--ink-2);
  font-size: var(--fs-small);
}
.video-error {
  padding: var(--s-5);
  max-width: 28rem;
  text-align: center;
}
input {
  width: 100%;
  min-height: 48px;
  padding: var(--s-2) var(--s-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  color: var(--ink);
  background: var(--surface);
}
