/* ==========================================================================
   Volcano Island — UI Stylesheet
   Chunky, rounded, bright kids' game UI (grades 2-4), touch-first, landscape.
   Palette: coral #ff5a4e, mango #ffb340, leaf #4cc463, ocean #2aa8e0,
            deep purple-navy #2b2350
   ========================================================================== */

:root {
  --coral: #ff5a4e;
  --coral-dark: #d6392f;
  --mango: #ffb340;
  --mango-dark: #e0871a;
  --leaf: #4cc463;
  --leaf-dark: #2f9c46;
  --ocean: #2aa8e0;
  --ocean-dark: #1c7fb0;
  --navy: #2b2350;
  --navy-soft: #443a72;
  --cream: #fff8ec;
  --white: #ffffff;

  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --shadow-pop: 0 6px 0 rgba(0, 0, 0, 0.18), 0 10px 18px rgba(0, 0, 0, 0.22);
  --shadow-soft: 0 8px 20px rgba(43, 35, 80, 0.25);
  --shadow-card: 0 16px 40px rgba(43, 35, 80, 0.35);

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

/* ---------- Global reset / offline-safe base ---------- */

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #10162a;
  font-family: -apple-system, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
}

/* Canvas: fullscreen, behind UI, must remain touch-drivable for camera/game controls */
#game-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none; /* game handles its own gestures; don't let browser hijack */
  background: #0c1120;
}

/* ---------- UI overlay root ---------- */

#ui {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  font-size: 16px;
}

#ui button,
#ui .chip,
#ui .build-btn {
  pointer-events: auto;
}

/* Screen shake (UI only — canvas shakes separately in 3D) */
body.shake #ui {
  animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   HUD TOP
   ========================================================================== */

#hud-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: calc(12px + var(--safe-top)) calc(14px + var(--safe-right)) 12px calc(14px + var(--safe-left));
  pointer-events: none;
}

.chip {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 999px;
  padding: 8px 16px 8px 10px;
  box-shadow: var(--shadow-pop);
  min-height: 56px;
  font-weight: 800;
}

.chip-icon {
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--cream);
  border-radius: 50%;
  border: 2px solid rgba(43, 35, 80, 0.12);
  object-fit: contain;
  padding: 4px;
  box-sizing: border-box;
}

.chip-value {
  font-size: 20px;
  color: var(--navy);
  letter-spacing: 0.2px;
  min-width: 1.5ch;
}

#food-chip .chip-icon { background: #fff1de; }
#pop-chip .chip-icon { background: #e7f7ea; }
#day-chip .chip-icon { background: #e6f4fc; }

/* ---------- Rumble meter (volcano danger) ---------- */

#rumble-wrap {
  pointer-events: auto;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 100%);
  border: 3px solid #1a1533;
  border-radius: var(--radius-lg);
  padding: 8px 18px 10px;
  box-shadow: var(--shadow-pop);
  min-width: 200px;
}

#rumble-label {
  color: var(--mango);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#rumble-meter {
  position: relative;
  width: 180px;
  height: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  overflow: hidden;
}

#rumble-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 10%;
  border-radius: 999px;
  transition: width 0.4s ease, background-color 0.3s ease;
  background: linear-gradient(180deg, #6bd97f, var(--leaf-dark));
}

#rumble-fill.calm {
  background: linear-gradient(180deg, #6bd97f, var(--leaf-dark));
}

#rumble-fill.uneasy {
  background: linear-gradient(180deg, #ffcf70, var(--mango-dark));
}

#rumble-fill.danger {
  background: linear-gradient(180deg, #ff8177, var(--coral-dark));
  animation: vignette-pulse 0.9s ease-in-out infinite;
}

#rumble-face {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--white);
  border-radius: 50%;
  border: 2px solid var(--navy);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
#rumble-face img { width: 100%; height: 100%; object-fit: contain; }

#rumble-wrap {
  position: relative;
}

/* ---------- Mute button ---------- */

#mute-btn {
  pointer-events: auto;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  border-radius: 50%;
  border: 3px solid var(--navy);
  background: var(--white);
  box-shadow: var(--shadow-pop);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.1s ease;
}
#mute-btn img { width: 30px; height: 30px; object-fit: contain; pointer-events: none; }

#mute-btn:active {
  transform: scale(0.94);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
}

/* ==========================================================================
   BUILD BAR
   ========================================================================== */

#build-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  padding: 10px 16px calc(16px + var(--safe-bottom));
  pointer-events: none;
  flex-wrap: wrap;
}

.build-btn {
  pointer-events: auto;
  touch-action: manipulation;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 76px;
  min-height: 76px;
  padding: 8px 10px 10px;
  background: linear-gradient(180deg, var(--white) 0%, #f2eef9 100%);
  border: 3px solid var(--navy);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.15s ease;
}

.build-btn:active {
  transform: scale(0.94);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
}

.build-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.build-name {
  font-size: 11px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.build-cost {
  font-size: 11px;
  font-weight: 700;
  color: var(--mango-dark);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.cost-apple {
  width: 13px;
  height: 13px;
  object-fit: contain;
  vertical-align: middle;
}

.build-btn.selected {
  border-color: var(--ocean-dark);
  background: linear-gradient(180deg, #eaf8ff 0%, #cdeeff 100%);
  box-shadow: 0 0 0 4px rgba(42, 168, 224, 0.35), var(--shadow-pop);
  transform: translateY(-4px);
}

.build-btn.cant-afford {
  filter: grayscale(0.6) opacity(0.6);
}

.build-btn.deny {
  animation: wiggle-deny 0.4s ease;
}

/* ---------- Evacuate button (special, hidden by default) ---------- */

#evacuate-btn {
  pointer-events: auto;
  touch-action: manipulation;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 220px;
  min-height: 72px;
  padding: 12px 28px;
  background: linear-gradient(180deg, #ff8177 0%, var(--coral) 55%, var(--coral-dark) 100%);
  border: 4px solid #7a1a12;
  border-radius: 999px;
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 8px 0 #7a1a12, 0 14px 22px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}

#evacuate-btn:active {
  transform: scale(0.94);
  box-shadow: 0 3px 0 #7a1a12, 0 6px 12px rgba(0, 0, 0, 0.3);
}

#evacuate-btn.pulse {
  animation: pulse 0.85s ease-in-out infinite;
}

/* ==========================================================================
   TIP BOX (speech bubble)
   ========================================================================== */

#tip-box {
  position: absolute;
  left: calc(16px + var(--safe-left));
  bottom: calc(96px + var(--safe-bottom));
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(78vw, 480px);
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: 12px 18px 12px 12px;
  box-shadow: var(--shadow-soft);
}

#tip-box::after {
  content: "";
  position: absolute;
  left: 34px;
  bottom: -16px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 16px solid var(--navy);
}

#tip-box::before {
  content: "";
  position: absolute;
  left: 37px;
  bottom: -11px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 12px solid var(--white);
  z-index: 1;
}

#tip-portrait {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe1b8, var(--mango));
  border: 3px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.12);
}
#tip-portrait img { width: 100%; height: 100%; object-fit: cover; }

#tip-text {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--navy);
}

#tip-box.tip-pop {
  animation: tip-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ==========================================================================
   TOASTS
   ========================================================================== */

#toast-wrap {
  position: absolute;
  top: calc(84px + var(--safe-top));
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  z-index: 20;
}

.toast {
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 800;
  font-size: 15px;
  color: var(--navy);
  box-shadow: var(--shadow-pop);
  animation: toast-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both, toast-fade 0.4s ease 2.6s forwards;
}

.toast.good {
  background: #e9fbee;
  border-color: var(--leaf-dark);
  color: #1e6b30;
}

.toast.bad {
  background: #ffecea;
  border-color: var(--coral-dark);
  color: #8f2a22;
}

/* ==========================================================================
   TITLE SCREEN
   ========================================================================== */

#title-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  background: linear-gradient(180deg, #ff8a3d 0%, #ff5a7a 28%, #b6449e 55%, #5c3aa8 78%, #2b2350 100%);
  overflow: hidden;
}

#title-screen::before {
  /* soft sun glow for depth */
  content: "";
  position: absolute;
  top: 12%;
  left: 50%;
  width: 60vmin;
  height: 60vmin;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 224, 140, 0.85) 0%, rgba(255, 224, 140, 0) 70%);
  pointer-events: none;
}

#title-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
}

#title-logo {
  font-size: clamp(42px, 9vw, 96px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 1px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2em;
  justify-content: center;
}

#title-logo .w1,
#title-logo .w2 {
  -webkit-text-stroke: 3px var(--navy);
  paint-order: stroke fill;
  text-shadow:
    0 4px 0 rgba(0, 0, 0, 0.15),
    0 10px 0 rgba(0, 0, 0, 0.12),
    0 18px 24px rgba(0, 0, 0, 0.35);
}

#title-logo .w1 {
  color: var(--coral);
}

#title-logo .w2 {
  color: var(--mango);
}

#title-sub {
  font-size: clamp(16px, 3vw, 22px);
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
  max-width: 640px;
}

#play-btn {
  margin-top: 12px;
  min-width: 260px;
  min-height: 84px;
  padding: 18px 48px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(180deg, #6bdc7f 0%, var(--leaf) 55%, var(--leaf-dark) 100%);
  border: 4px solid #1c5c2a;
  border-radius: 999px;
  box-shadow: 0 10px 0 #1c5c2a, 0 18px 30px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  touch-action: manipulation;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
  animation: pulse 2.4s ease-in-out infinite;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

#play-btn:hover {
  transform: translateY(-2px) scale(1.03);
}

#play-btn:active {
  transform: scale(0.94);
  box-shadow: 0 4px 0 #1c5c2a, 0 8px 16px rgba(0, 0, 0, 0.3);
}

#title-tip {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   REPORT CARD
   ========================================================================== */

#report-card {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 14, 40, 0.72);
  pointer-events: auto;
}

#report-inner {
  width: min(90vw, 480px);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--cream);
  border: 4px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px 26px 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

#report-title {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
}

#report-stars {
  display: flex;
  gap: 10px;
  margin: 4px 0;
}

.star {
  display: inline-block;
  width: 52px;
  height: 52px;
  font-size: 0;
  color: transparent;
  background: url(assets/ui/star-empty.svg) center / contain no-repeat;
  transition: transform 0.2s ease;
}

.star.earned {
  background-image: url(assets/ui/star-gold.svg);
  animation: star-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.star:nth-child(1).earned { animation-delay: 0s; }
.star:nth-child(2).earned { animation-delay: 0.15s; }
.star:nth-child(3).earned { animation-delay: 0.3s; }

#report-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.report-line {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 2px solid rgba(43, 35, 80, 0.15);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
}

.rl-icon {
  font-size: 22px;
  flex: 0 0 auto;
}

.rl-text {
  flex: 1 1 auto;
}

#continue-btn {
  margin-top: 8px;
  min-width: 200px;
  min-height: 60px;
  padding: 14px 36px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(180deg, #4fc0f0 0%, var(--ocean) 55%, var(--ocean-dark) 100%);
  border: 4px solid #103f57;
  border-radius: 999px;
  box-shadow: 0 8px 0 #103f57, 0 14px 24px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

#continue-btn:active {
  transform: scale(0.94);
  box-shadow: 0 3px 0 #103f57, 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   DANGER VIGNETTE
   ========================================================================== */

#danger-vignette {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  box-shadow: inset 0 0 40px 18px rgba(255, 40, 20, 0.55), inset 0 0 140px 40px rgba(255, 20, 0, 0.45);
}

#danger-vignette.active {
  opacity: 1;
  animation: vignette-pulse 1.1s ease-in-out infinite;
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes wiggle-deny {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}

@keyframes tip-pop {
  0% { transform: scale(0.7); opacity: 0; }
  60% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes toast-in {
  0% { transform: translateY(-18px) scale(0.9); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes toast-fade {
  0% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-6px); }
}

@keyframes star-pop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes shake {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-6px, 2px); }
  20% { transform: translate(5px, -3px); }
  30% { transform: translate(-4px, 3px); }
  40% { transform: translate(6px, 1px); }
  50% { transform: translate(-3px, -2px); }
  60% { transform: translate(4px, 2px); }
  70% { transform: translate(-5px, -1px); }
  80% { transform: translate(3px, 2px); }
  90% { transform: translate(-2px, -1px); }
}

@keyframes vignette-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE — phone-sized Chromebook splits
   ========================================================================== */

@media (max-width: 700px) {
  #hud-top {
    gap: 6px;
    padding: calc(8px + var(--safe-top)) calc(8px + var(--safe-right)) 8px calc(8px + var(--safe-left));
  }

  .chip {
    min-height: 52px;
    padding: 6px 10px 6px 6px;
    gap: 5px;
  }

  .chip-icon {
    width: 28px;
    height: 28px;
    padding: 3px;
  }

  .chip-value {
    font-size: 15px;
  }

  #rumble-wrap {
    min-width: 120px;
    padding: 6px 10px 8px;
  }

  #rumble-meter {
    width: 100px;
    height: 14px;
  }

  #rumble-label {
    font-size: 9px;
    letter-spacing: 1px;
  }

  #rumble-face {
    width: 26px;
    height: 26px;
    top: -4px;
    right: -4px;
  }

  #mute-btn {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
  }
  #mute-btn img { width: 27px; height: 27px; }

  #build-bar {
    gap: 8px;
    padding: 8px 8px calc(10px + var(--safe-bottom));
  }

  .build-btn {
    min-width: 56px;
    min-height: 52px;
    padding: 6px 6px 8px;
  }

  .build-icon {
    width: 28px;
    height: 28px;
  }

  .build-name {
    font-size: 9px;
  }

  .build-cost {
    font-size: 9px;
  }

  #evacuate-btn {
    min-width: 160px;
    min-height: 52px;
    font-size: 15px;
    padding: 10px 18px;
  }

  #tip-box {
    left: calc(8px + var(--safe-left));
    bottom: calc(76px + var(--safe-bottom));
    max-width: 84vw;
    padding: 8px 12px 8px 8px;
    gap: 8px;
  }

  #tip-portrait {
    width: 40px;
    height: 40px;
  }

  #tip-text {
    font-size: 14px;
  }

  #title-logo {
    font-size: clamp(32px, 11vw, 64px);
  }

  #play-btn {
    min-width: 200px;
    min-height: 60px;
    font-size: 20px;
    padding: 12px 30px;
  }

  #report-inner {
    padding: 20px 16px;
  }

  .star {
    width: 40px;
    height: 40px;
  }
}

/* Floating harvest text (+10 🍎) positioned by JS */
.floater {
  position: absolute;
  transform: translate(-50%, -100%);
  font-size: 20px;
  font-weight: 800;
  color: #2b2350;
  text-shadow: 0 2px 0 rgba(255,255,255,0.9), 0 0 8px rgba(255,255,255,0.7);
  pointer-events: none;
  white-space: nowrap;
  z-index: 5;
}

/* Locked build buttons (tier-gated) */
.build-btn { position: relative; }
.build-btn.locked { filter: grayscale(0.9); opacity: 0.65; }
.build-btn.locked .build-cost { visibility: hidden; }
.build-lock {
  position: absolute; top: -8px; right: -6px;
  width: 24px; height: 24px;
  object-fit: contain;
  filter: none;
  pointer-events: none;
}
.build-btn:not(.locked) .build-lock { display: none; }
#build-bar { flex-wrap: wrap; justify-content: center; max-width: 96vw; }

/* Unlock celebration pop */
@keyframes unlock-pop {
  0% { transform: scale(0.6) rotate(-8deg); }
  55% { transform: scale(1.18) rotate(4deg); }
  100% { transform: scale(1) rotate(0); }
}
.build-btn.just-unlocked { animation: unlock-pop 0.7s ease; }
