/* =========================================
   1. DESIGN TOKENS & RESET
   ========================================= */
:root {
  --bg-void: #cdeaff;
  --bg-plum: #f2f7ff;
  --ink-light: #351c2d;
  --ink-muted: rgba(53, 28, 45, 0.75);
  --ink-dark: #2c131d;
  --rose-primary: #e24c6f;
  --rose-glow: rgba(226, 76, 111, 0.35);
  --gold-accent: #d4892a;
  --gold-deep: #b37322;
  --glass-bg: rgba(255, 255, 255, 0.76);
  --glass-border: rgba(255, 255, 255, 0.92);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

html {
  background-color: var(--bg-void);
}

html,
body {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ink-light);
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
  touch-action: manipulation;
}

body {
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}

[hidden],
.hidden {
  display: none !important;
}

/* =========================================
   2. CREATIVE CANVAS & ATMOSPHERIC BACKDROP
   ========================================= */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.vignette-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.12) 45%, rgba(182, 220, 248, 0.24) 100%);
}

/* =========================================
   3. TOP UTILITY BAR & SOUND PILL
   ========================================= */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: calc(12px + env(safe-area-inset-top)) clamp(14px, 4vw, 24px) 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  pointer-events: none;
}

#demo-label {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top));
  left: clamp(14px, 4vw, 24px);
  z-index: 91;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--glass-bg);
  font-size: clamp(0.66rem, 2.2vw, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(53, 28, 45, 0.65);
}

.sound-pill {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 18px rgba(96, 130, 168, 0.14);
  color: var(--ink-light);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.sound-pill:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.sound-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose-primary);
  box-shadow: 0 0 8px var(--rose-primary);
  transition: opacity 0.25s ease, background 0.25s ease;
}

.sound-pill.muted .sound-dot {
  background: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

/* =========================================
   4. SCREENS & EDITORIAL TYPOGRAPHY
   ========================================= */
#gift-content {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: calc(56px + env(safe-area-inset-top)) clamp(14px, 4vw, 24px)
    calc(24px + env(safe-area-inset-bottom));
}

.screen {
  width: 100%;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: screenFadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#gift-content > .screen {
  position: relative;
  z-index: 2;
}

.game-screen {
  min-height: calc(100dvh - 88px);
  justify-content: flex-start;
  padding-top: clamp(4px, 2dvh, 18px);
}

@keyframes screenFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.eyebrow {
  display: inline-block;
  font-size: clamp(0.64rem, 2vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 6px;
}

.title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 8px;
  background: linear-gradient(180deg, #4a1936 0%, #c83e63 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 14px rgba(226, 76, 111, 0.16));
}

#dynamic-name {
  overflow-wrap: anywhere;
}

.subtitle {
  font-size: clamp(0.88rem, 3.2vw, 0.98rem);
  color: var(--ink-muted);
  max-width: 440px;
  line-height: 1.45;
  margin-inline: auto;
}

.subtitle strong {
  color: var(--rose-primary);
  font-weight: 700;
}

/* =========================================
   5. ACT I: HUD CARD & CAT
   ========================================= */
.hud-card {
  width: 100%;
  max-width: 440px;
  padding: clamp(18px, 4vw, 26px) clamp(18px, 4.5vw, 26px);
  border-radius: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(96, 130, 168, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 20;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: clamp(14px, 3dvh, 20px) 0 8px;
  font-size: clamp(0.76rem, 2.8vw, 0.83rem);
  font-weight: 600;
}

#cat-quip {
  color: var(--gold-accent);
  font-style: italic;
  text-align: left;
}

#tap-counter {
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.progress-container {
  width: 100%;
  height: 11px;
  background: rgba(53, 28, 45, 0.08);
  border-radius: 999px;
  padding: 2px;
  border: 1px solid rgba(226, 76, 111, 0.2);
  overflow: hidden;
}

#progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose-primary), #ff9a76);
  box-shadow: 0 0 12px var(--rose-glow);
  transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

#tap-target {
  position: fixed;
  top: 68%;
  left: 50%;
  width: clamp(72px, 17vw, 88px);
  height: clamp(72px, 17vw, 88px);
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.9), rgba(255, 224, 236, 0.72));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px rgba(96, 130, 168, 0.24), 0 0 20px rgba(226, 76, 111, 0.22);
  display: grid;
  place-items: center;
  cursor: pointer;
  transform: translate(-50%, -50%) scale(1);
  transition: top 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              left 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 60;
  will-change: top, left, transform;
}

.cat-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px dashed rgba(229, 185, 115, 0.7);
  animation: spinSlow 10s linear infinite;
  pointer-events: none;
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

.cat-emoji {
  font-size: clamp(2.3rem, 7vw, 2.95rem);
  line-height: 1;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

/* =========================================
   6. ACT II: WAX-SEALED ENVELOPE & CARD DECK
   ========================================= */
.stage-header {
  margin-bottom: clamp(14px, 2.5dvh, 24px);
  width: 100%;
}

.scene-container {
  position: relative;
  width: 100%;
  min-height: clamp(330px, 54dvh, 420px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.envelope-wrapper {
  position: absolute;
  z-index: 15;
  cursor: pointer;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  animation: envelopeFloat 3.4s ease-in-out infinite;
}

@media (hover: hover) {
  .envelope-wrapper:hover {
    transform: translateY(-4px) scale(1.02);
  }
}

@keyframes envelopeFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.envelope {
  position: relative;
  width: min(76vw, 280px);
  height: calc(min(76vw, 280px) * 0.66);
  border-radius: 10px 10px 16px 16px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.55), 0 0 35px rgba(232, 93, 117, 0.22);
}

.envelope-back {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #9f2a47 0%, #6d1830 100%);
  border-radius: 10px 10px 16px 16px;
  z-index: 1;
}

.envelope-letter-peek {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 8%;
  height: 70%;
  background: #fff9f5;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  padding-top: 12px;
  color: var(--ink-dark);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1rem, 3.5vw, 1.15rem);
  z-index: 2;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.envelope.open .envelope-letter-peek {
  transform: translateY(-34px);
}

.envelope-pocket {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
  pointer-events: none;
}

.envelope-pocket::before {
  content: '';
  position: absolute;
  inset: 0;
  border-left: calc(min(76vw, 280px) / 2) solid #c94162;
  border-right: calc(min(76vw, 280px) / 2) solid #bc3858;
  border-top: calc(min(76vw, 280px) * 0.34) solid transparent;
  border-bottom: calc(min(76vw, 280px) * 0.32) solid #ad2e4d;
}

.flap {
  position: absolute;
  top: 0;
  left: 0;
  border-left: calc(min(76vw, 280px) / 2) solid transparent;
  border-right: calc(min(76vw, 280px) / 2) solid transparent;
  border-top: calc(min(76vw, 280px) * 0.37) solid #df5374;
  transform-origin: top;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1), z-index 0.2s;
  z-index: 4;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.22));
}

.envelope.open .flap {
  transform: rotateX(180deg);
  z-index: 1;
}

.wax-seal {
  position: absolute;
  top: 41%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(40px, 11vw, 46px);
  height: clamp(40px, 11vw, 46px);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #f3d299, var(--gold-deep));
  color: #fffaf0;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), inset 0 2px 3px rgba(255, 255, 255, 0.55);
  z-index: 5;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.envelope.open .wax-seal {
  transform: translateX(-50%) scale(0.4);
  opacity: 0;
}

.envelope-label {
  position: absolute;
  bottom: 10px;
  left: 12px;
  right: 12px;
  z-index: 4;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1rem, 3.5vw, 1.15rem);
  color: rgba(255, 245, 247, 0.92);
  letter-spacing: 0.03em;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- DECK OF PROMISE CARDS --- */
.card-stack {
  position: relative;
  width: min(88vw, 335px);
  height: clamp(325px, 53dvh, 405px);
  z-index: 8;
  perspective: 1200px;
}

.flip-card {
  position: absolute;
  inset: 0;
  cursor: pointer;
  opacity: 0;
  transform: translateY(70px) scale(0.35);
  pointer-events: none;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}

.flip-card.is-collected {
  opacity: 0 !important;
  transform: translateY(-80px) scale(0.84) rotate(6deg) !important;
  pointer-events: none !important;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
}

@media (hover: hover) {
  .flip-card:not(.is-flipped):not(.is-collected):hover .flip-card-inner {
    transform: rotateY(14deg) translateY(-4px);
  }
}

.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 22px;
  padding: clamp(16px, 4vw, 22px);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
}

.flip-card-front {
  justify-content: center;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 238, 244, 0.96) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.95);
}

.flip-card-front::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  border: 1px solid rgba(226, 76, 111, 0.24);
  pointer-events: none;
}

.card-ornament {
  font-size: 1.15rem;
  color: var(--rose-primary);
  margin-bottom: 10px;
}

.flip-card-front h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 6.5vw, 2.5rem);
  font-weight: 700;
  color: var(--ink-light);
  letter-spacing: 0.02em;
}

.card-tap-hint {
  margin-top: 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-accent);
}

.flip-card-back {
  justify-content: space-between;
  background: linear-gradient(180deg, #fffdfb 0%, #fbf2ee 100%);
  color: var(--ink-dark);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transform: rotateY(180deg);
}

.card-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose-primary);
  margin-bottom: 8px;
}

.meme-img {
  width: 100%;
  height: clamp(120px, 21dvh, 175px);
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: 0 8px 20px rgba(44, 19, 29, 0.14);
  flex-shrink: 0;
}

.flip-card-back p {
  font-size: clamp(0.86rem, 3.1vw, 0.95rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-dark);
  overflow-y: auto;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  width: 100%;
  padding: 0 4px;
}

.card-next-cue {
  margin-top: 10px;
  padding-top: 8px;
  width: 100%;
  border-top: 1px solid rgba(44, 19, 29, 0.08);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--rose-primary);
  flex-shrink: 0;
}

/* =========================================
   7. ACT III: FINAL KEEPSAKE GALLERY
   ========================================= */
.keepsake-gallery {
  width: 100%;
  margin-top: 10px;
  padding-bottom: 24px;
  animation: screenFadeIn 0.8s ease forwards;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(14px, 3vw, 20px);
  width: 100%;
}

.keepsake-item {
  background: linear-gradient(180deg, #fffdfb 0%, #faf0ec 100%);
  color: var(--ink-dark);
  border-radius: 20px;
  padding: 14px 14px 20px;
  text-align: left;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.85);
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .keepsake-item:hover {
    transform: translateY(-4px);
  }
}

.keepsake-item img {
  width: 100%;
  height: clamp(150px, 24vw, 180px);
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.keepsake-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--rose-primary);
  margin-bottom: 6px;
}

.keepsake-item p {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-dark);
}

.gallery-footer {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.sign-off {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 4.5vw, 1.65rem);
  color: var(--gold-accent);
}

.replay-btn {
  padding: 12px 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 25px rgba(96, 130, 168, 0.16);
  color: var(--ink-light);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.replay-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

/* =========================================
   8. FLOATING PARTICLES & BURSTS
   ========================================= */
.floating-emoji {
  position: fixed;
  font-size: 1.3rem;
  pointer-events: none;
  z-index: 120;
  animation: floatUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes floatUp {
  0% {
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, calc(-50% - 85px)) scale(1.3);
    opacity: 0;
  }
}

.sprinkle {
  position: fixed;
  font-size: 1.25rem;
  pointer-events: none;
  z-index: 120;
  animation: burstAnim 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes burstAnim {
  0% {
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty)))
      scale(1.3) rotate(180deg);
    opacity: 0;
  }
}

/* =========================================
   9. MOBILE LANDSCAPE & COMPACT SCREEN TWEAKS
   ========================================= */
@media (max-height: 540px) and (orientation: landscape) {
  .hud-card {
    max-width: 520px;
    padding: 12px 18px;
  }
  .title {
    font-size: 1.75rem;
    margin-bottom: 4px;
  }
  .subtitle {
    font-size: 0.82rem;
  }
  .progress-meta {
    margin: 8px 0 6px;
  }
  .scene-container {
    min-height: 290px;
  }
  .card-stack {
    height: 280px;
  }
  .meme-img {
    height: 100px;
  }
}


/* =========================================
   RECIPIENT ACCESS
   ========================================= */

.pin-screen {
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(20px + env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom));
  justify-content: center;
}

/* Glass card matching the existing HUD */
.pin-card {
  width: 100%;
  max-width: 390px;

  padding: clamp(26px, 6vw, 38px)
           clamp(20px, 5vw, 34px);

  border-radius: 24px;

  background: var(--glass-bg);

  border: 1px solid var(--glass-border);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  box-shadow:
    0 20px 50px rgba(96, 130, 168, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}

/* Small lock icon */
.pin-icon {
  width: 54px;
  height: 54px;

  display: grid;
  place-items: center;

  margin-bottom: 16px;

  border-radius: 50%;

  background: rgba(226, 76, 111, 0.08);

  color: var(--rose-primary);

  border: 1px solid rgba(226, 76, 111, 0.12);
}

/* Typography */
.pin-title {
  margin-bottom: 10px;
}

.pin-subtitle {
  max-width: 280px;

  margin-bottom: 27px;

  font-size: 0.9rem;
  line-height: 1.6;
}

/* Form */
.pin-form {
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.pin-label {
  font-size: 0.78rem;
  font-weight: 600;

  color: var(--ink-muted);

  margin-bottom: 13px;
}

.pin-input {
  width: 100%;
  max-width: 230px;
  min-height: 49px;
  padding: 8px 12px;
  border: 1px solid rgba(226, 76, 111, 0.3);
  border-radius: 13px;
  background: #fff9f9;
  color: var(--ink-light);
  font: 600 1rem 'Plus Jakarta Sans', sans-serif;
  text-align: center;
  letter-spacing: 0.22em;
  user-select: text;
  -webkit-user-select: text;
}

.pin-input:focus {
  outline: 2px solid var(--rose-primary);
  outline-offset: 2px;
}

.pin-hint {
  margin: 9px 0 16px;
  color: var(--ink-muted);
  font-size: 0.76rem;
}

/* Unlock button */
.pin-submit {
  width: 100%;
  min-height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  border: none;
  border-radius: 999px;

  background: var(--rose-primary);

  color: #ffffff;

  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;

  cursor: pointer;

  box-shadow: 0 8px 20px rgba(226, 76, 111, 0.2);

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    opacity 0.2s ease;
}

.pin-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.pin-submit:not(:disabled):hover {
  background: #cf3d60;
  transform: translateY(-2px);
}

.pin-submit:not(:disabled):active {
  transform: scale(0.98);
}

@media (max-height: 540px) {
  .pin-card {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .pin-icon {
    margin-bottom: 8px;
  }

  .pin-subtitle {
    margin-bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pin-submit {
    transition: none;
  }
}
