/**
 * Soft save + share engagement styles for /play.
 * Card lives below Continue; sheet is a bottom sheet over a scrim.
 */

.play-toast-host {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: min(360px, calc(100% - 32px));
}

.play-toast {
  background: #1c1a3a;
  color: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  font: 600 14px/1.3 Lexend, system-ui, sans-serif;
  text-align: center;
  box-shadow: 4px 4px 0 #1c1a3a;
}

.play-save-card {
  margin-top: 16px;
  background: #fff;
  color: #1c1a3a;
  border: 3px solid #1c1a3a;
  border-radius: 24px;
  box-shadow: 6px 6px 0 #1c1a3a;
  padding: 20px 18px 16px;
  text-align: left;
}

.play-save-card__title {
  margin: 0 0 8px;
  font: 800 20px/1.2 Lexend, system-ui, sans-serif;
}

.play-save-card__body {
  margin: 0 0 16px;
  font: 400 15px/1.45 Lexend, system-ui, sans-serif;
}

.play-save-card__save {
  width: 100%;
}

.play-save-card__dismiss {
  display: block;
  width: 100%;
  margin-top: 10px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #1c1a3a;
  font: 600 14px/1 Lexend, system-ui, sans-serif;
  text-decoration: underline;
  cursor: pointer;
}

.play-scrim {
  position: fixed;
  inset: 0;
  background: rgba(28, 26, 58, 0.45);
  z-index: 90;
}

.play-sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(460px, 100%);
  z-index: 91;
  background: #fff;
  color: #1c1a3a;
  border: 3px solid #1c1a3a;
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -6px 0 #1c1a3a;
  padding: 22px 18px calc(22px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: Lexend, system-ui, sans-serif;
}

.play-sheet h2 {
  margin: 0;
  font: 800 22px/1.2 Lexend, system-ui, sans-serif;
}

.play-sheet p {
  margin: 0 0 4px;
  font: 400 14px/1.4 Lexend, system-ui, sans-serif;
}

.play-sheet label {
  font: 600 13px/1 Lexend, system-ui, sans-serif;
}

.play-sheet input {
  min-height: 48px;
  border: 3px solid #1c1a3a;
  border-radius: 12px;
  padding: 0 12px;
  font: 500 16px/1 Lexend, system-ui, sans-serif;
}

.play-sheet__register,
.play-sheet__close {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #1c1a3a;
  font: 600 14px Lexend, system-ui, sans-serif;
  text-align: center;
  text-decoration: underline;
  cursor: pointer;
}

.play-sheet a.play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}
