/* Full-screen card experience, built by js/systems/takeover.js */
.takeover {
  position: fixed;
  inset: 0;
  z-index: var(--z-takeover);
  color: var(--surface-text);
}

.takeover__surface {
  position: absolute;
  inset: 0;
  background: var(--surface);
}

/* Mirrors the stage box so the cloned card keeps its exact layout */
.takeover__ghost {
  position: fixed;
  z-index: 0;
  container-type: inline-size;
  pointer-events: none;
}

.takeover__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.25rem;
  max-width: 64rem;
  padding: clamp(2rem, 6vw, 6rem);
}

.takeover__back {
  position: absolute;
  top: 2rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem 0.6rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: var(--surface-text);
  color: var(--surface);
  font-size: 0.9rem;
  font-weight: 500;
}

.takeover__back svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.takeover__back:focus-visible {
  outline: 2px solid var(--surface-text);
  outline-offset: 3px;
}

.takeover__kicker {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.75;
}

.takeover__title {
  margin: 0;
  font-size: clamp(3rem, 7.5vw, 7.5rem);
  font-weight: 800;
  line-height: 0.95;
  text-wrap: balance;
}

.takeover__body {
  max-width: 34rem;
  font-size: 1.15rem;
  line-height: 1.5;
  text-wrap: pretty;
  opacity: 0.85;
}
