/* ============================================================
   Cartoon game-UI style — pale blue stage, yellow panel with
   thick outline + gloss highlight, glossy chunky buttons.
   ============================================================ */

:root {
  /* Stage */
  --bg-1: #b8e3f0;
  --bg-2: #d4eef5;

  /* Panel (the big yellow card) */
  --panel-fill-1: #ffe066;
  --panel-fill-2: #fac142;
  --panel-stroke: #c98e2a;
  --panel-shadow: #9b6c1e;

  /* Primary action (green PLAY button) */
  --primary-1: #8edc63;
  --primary-2: #5fb83a;
  --primary-stroke: #3c8a2e;
  --primary-shadow: #2c6b1f;

  /* Danger (red X) */
  --danger-1: #ef6e85;
  --danger-2: #d94560;
  --danger-stroke: #8e2638;

  /* Info / neutral (blue) */
  --info-1: #76d2e3;
  --info-2: #50b8cc;
  --info-stroke: #2f7e93;

  /* Cream / paper (chip face) */
  --cream-1: #ffffff;
  --cream-2: #f7e8c8;
  --cream-stroke: #5a3a1a;

  /* Selected chip = green glossy */
  --select-stroke: #3c8a2e;

  --text-on-dark: #fffaf0;
  --text-dark: #3b2a1a;
  --text-soft: #6b4f2c;
}

/* ============ RESET + BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  font-family: 'Fredoka', 'Baloo 2', 'Comic Sans MS', system-ui, sans-serif;
  font-weight: 600;
  background:
    radial-gradient(ellipse at 50% 100%, var(--bg-2) 0%, var(--bg-1) 60%, #9ed4e4 100%);
  color: var(--text-dark);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Soft floating bubbles in the background */
body::before {
  content: '';
  position: fixed; top: 0; right: 0; bottom: 0; left: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,0.45) 0, transparent 2.5%),
    radial-gradient(circle at 80% 15%, rgba(255,255,255,0.35) 0, transparent 2%),
    radial-gradient(circle at 35% 75%, rgba(255,255,255,0.4) 0, transparent 2.5%),
    radial-gradient(circle at 90% 65%, rgba(255,255,255,0.35) 0, transparent 2%),
    radial-gradient(circle at 5% 50%, rgba(255,255,255,0.3) 0, transparent 1.5%);
  pointer-events: none;
  z-index: 1;
}

/* ============ SCREENS ============ */
.screen {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0;
  display: none;
  align-items: center; justify-content: center;
  z-index: 10;
}
.screen.active { display: flex; }

/* Setup screen flows with the document so the page scrolls naturally
   when content (object grid + ads) exceeds viewport height.
   Active and boom screens keep position:fixed for fullscreen overlay. */
#setup-screen.active {
  position: relative;
  min-height: 100vh;
  padding: 24px 16px;
  align-items: flex-start;
}
@media (min-width: 1024px) {
  #setup-screen.active { padding: 32px; }
}

/* ============================================================
   PANEL — the big yellow card with the thick orange border and
   bright gloss across the top. Used for the setup card.
   ============================================================ */
.setup-card {
  position: relative;
  width: min(900px, 92vw);
  margin: 0 auto;
  overflow: hidden;
  padding: 150px 38px 22px;
  background: linear-gradient(to bottom, var(--panel-fill-1) 0%, var(--panel-fill-2) 100%);
  border: 6px solid var(--panel-stroke);
  border-radius: 38px;
  box-shadow:
    0 10px 0 var(--panel-shadow),
    0 16px 36px rgba(0,0,0,0.22);
  z-index: 5;
  display: flex;
  flex-direction: column;
}
/* Gloss across the top of the panel — sits behind the logo */
.setup-card::before {
  content: '';
  position: absolute;
  top: 8px; left: 6%; right: 6%;
  height: 140px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 100%);
  border-radius: 100% / 60%;
  pointer-events: none;
  z-index: 1;
  filter: blur(1px);
}
.setup-card > * { position: relative; z-index: 2; }

/* Fullscreen toggle — top-right corner of the setup-card, above the gloss layer */
.fs-toggle {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.6);
  border: 2.5px solid var(--panel-stroke);
  border-radius: 12px;
  cursor: pointer;
  z-index: 4;
  display: flex;
  align-items: center; justify-content: center;
  color: var(--text-dark);
  box-shadow: 0 3px 0 var(--panel-shadow);
  transition: background 0.15s, transform 0.06s;
  padding: 0;
}
.fs-toggle:hover { background: rgba(255,255,255,0.85); }
.fs-toggle:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--panel-shadow); }
.fs-toggle svg { width: 20px; height: 20px; fill: currentColor; }

/* HUD-variant of the fullscreen toggle — sits at the top of hud-buttons on
   the active screen. Uses .hud-btn.fs-toggle-hud (2-class) so it beats the
   .fs-toggle absolute-positioning rules (and any media-query overrides on
   .fs-toggle) which would otherwise pull it 8px down via `top`.
   IMPORTANT: keep `position: relative` (the .hud-btn default). If we set
   `position: static` the `::before` gloss escapes its button (its absolute
   containing block becomes the next-positioned ancestor `.hud`) and renders
   as a giant band across the entire HUD width. */
.hud-btn.fs-toggle-hud {
  position: relative;
  top: auto;
  right: auto;
  background: linear-gradient(to bottom, var(--cream-1) 0%, var(--cream-2) 100%);
  box-shadow: 0 4px 0 #8a6a3a;
  width: auto;
  height: auto;
  align-self: flex-end;
  padding: 6px 10px;
  border-radius: 14px;
}
.hud-btn.fs-toggle-hud:hover { filter: brightness(1.05); }
.hud-btn.fs-toggle-hud:active { transform: translateY(2px); box-shadow: 0 2px 0 #8a6a3a; }
.hud-btn.fs-toggle-hud svg { width: 18px; height: 18px; }
@media (max-width: 600px) {
  .hud-btn.fs-toggle-hud { padding: 4px 8px; border-radius: 12px; }
  .hud-btn.fs-toggle-hud svg { width: 16px; height: 16px; }
}

/* Repeat-last-setup button — sits between subtitle and first field, full-width */
.repeat-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 16px;
  margin: 0 0 14px;
  background: linear-gradient(to bottom, var(--cream-1) 0%, var(--cream-2) 100%);
  border: 3px solid var(--cream-stroke);
  border-radius: 18px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  box-shadow: 0 4px 0 #8a6a3a;
  transition: transform 0.06s, filter 0.12s;
  position: relative;
  overflow: hidden;
}
.repeat-btn::before {
  content: '';
  position: absolute;
  top: 3px; left: 6%; right: 6%;
  height: 35%;
  background: rgba(255,255,255,0.55);
  border-radius: 100% / 60%;
  pointer-events: none;
}
.repeat-btn:hover { filter: brightness(1.04); }
.repeat-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #8a6a3a;
}
.repeat-btn[hidden] { display: none; }
.repeat-icon {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  display: flex;
  align-items: center; justify-content: center;
  background: linear-gradient(to bottom, var(--primary-1) 0%, var(--primary-2) 100%);
  border: 2px solid var(--primary-stroke);
  border-radius: 50%;
  color: var(--text-on-dark);
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 2px 0 var(--primary-shadow);
  position: relative;
  z-index: 2;
}
.repeat-text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  z-index: 2;
}
#repeat-summary { font-weight: 800; color: var(--text-dark); }

.title {
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-bottom: 2px;
  color: var(--text-on-dark);
  text-shadow:
    3px 3px 0 var(--panel-stroke),
    -2px -2px 0 rgba(255,255,255,0.4);
}
/* Logo anchored absolutely in the reserved 150px top region of the panel */
.title-art {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 140px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  font-size: 0;
  line-height: 0;
  pointer-events: none;
}
.title-art img {
  display: block;
  width: auto;
  max-width: 66%;
  max-height: 163px;
  height: auto;
  margin: 0;
  pointer-events: none;
  -webkit-user-drag: none;
}
.subtitle {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  opacity: 0.7;
  margin: 0 0 8px;
}

.field { margin-bottom: 12px; }
.field-grow {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}
.field-grow #object-grid {
  padding: 4px 2px;
  margin-bottom: 10px;
}

.field label {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.field-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.field-header label { margin-bottom: 0; }

/* Text button (e.g. Rediger) */
.text-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 12px;
  transition: background 0.15s;
}
.text-btn:hover { background: rgba(255,255,255,0.4); }
.text-btn.active {
  background: linear-gradient(to bottom, var(--primary-1), var(--primary-2));
  color: white;
  box-shadow: 0 3px 0 var(--primary-stroke);
}

/* ============================================================
   INPUTS — rounded, cream background with thick darker border
   ============================================================ */
#custom-input, .title-input {
  width: 100%;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  background: linear-gradient(to bottom, #fff 0%, #fff7e0 100%);
  border: 4px solid var(--cream-stroke);
  border-radius: 20px;
  box-shadow: inset 0 3px 0 rgba(255,255,255,0.7);
  color: var(--text-dark);
}
#custom-input:focus, .title-input:focus {
  outline: none;
  background: #fffbe5;
}
#custom-input::placeholder, .title-input::placeholder {
  color: #b89876;
  font-weight: 500;
}

/* "Lav din egen scene" — fremhæv det selvskrevne felt, så det er tydeligt,
   at man kan designe sin helt egen scene her. */
.custom-input-hint {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-stroke);
  margin: 2px 0 6px 6px;
}
#custom-input {
  border-color: var(--primary-stroke);
  animation: custom-glow 2.4s ease-in-out infinite;
}
#custom-input:focus { animation: none; }
@keyframes custom-glow {
  0%, 100% { box-shadow: inset 0 3px 0 rgba(255,255,255,0.7), 0 0 0 0 rgba(95,184,58,0); }
  50%      { box-shadow: inset 0 3px 0 rgba(255,255,255,0.7), 0 0 16px 2px rgba(95,184,58,0.5); }
}
.optional { font-size: 13px; font-weight: 500; color: var(--text-soft); }

/* ============================================================
   CHIPS — game UI tiles with gloss; selected = green glossy
   ============================================================ */
.object-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(94px, 1fr));
  gap: 8px;
  max-height: 360px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(91,58,26,0.3) transparent;
}
.object-grid::-webkit-scrollbar { width: 8px; }
.object-grid::-webkit-scrollbar-thumb { background: rgba(91,58,26,0.28); border-radius: 8px; }
.object-chip {
  position: relative;
  padding: 8px 6px;
  background: linear-gradient(to bottom, var(--cream-1) 0%, var(--cream-2) 100%);
  border: 3px solid var(--cream-stroke);
  border-radius: 20px;
  cursor: pointer;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.12;
  color: var(--text-dark);
  box-shadow: 0 4px 0 #8a6a3a;
  transition: transform 0.06s ease;
  overflow: visible;
}
.object-chip::before {
  content: '';
  position: absolute;
  top: 4px; left: 12%; right: 12%;
  height: 30%;
  background: rgba(255,255,255,0.55);
  border-radius: 100% / 60%;
  pointer-events: none;
  z-index: 1;
}
.object-chip > * { position: relative; z-index: 2; }
.object-chip:hover { filter: brightness(1.04); }
.object-chip:active { transform: translateY(2px); box-shadow: 0 2px 0 #8a6a3a; }

.object-chip.selected {
  background: linear-gradient(to bottom, var(--primary-1) 0%, var(--primary-2) 100%);
  border-color: var(--primary-stroke);
  color: var(--text-on-dark);
  box-shadow: 0 4px 0 var(--primary-shadow);
}
.object-chip.selected::before {
  background: rgba(255,255,255,0.4);
}

.object-chip .icon {
  display: block;
  font-size: 24px;
  margin-bottom: 2px;
}
.object-chip .thumb {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin: 0 auto 2px;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.object-chip.selected .thumb {
  mix-blend-mode: darken;
}
/* Begræns lange navne, så chips ikke bliver høje (klippes til 3 linjer) */
.object-chip .name {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Delete badge */
.object-chip .delete-x {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: linear-gradient(to bottom, var(--danger-1) 0%, var(--danger-2) 100%);
  color: #fff;
  border: 3px solid var(--danger-stroke);
  border-radius: 50%;
  font-size: 17px;
  font-weight: 900;
  line-height: 23px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 3px 0 #5a1a26;
  display: none;
  z-index: 5;
  user-select: none;
}
.object-chip .delete-x:hover { filter: brightness(1.1); }
.object-grid.editing .object-chip.deletable .delete-x { display: block; }
.object-grid.editing .object-chip { animation: wiggle 0.4s ease-in-out infinite alternate; }
@keyframes wiggle {
  from { transform: rotate(-1.2deg); }
  to   { transform: rotate(1.2deg); }
}

/* ============================================================
   THEME / EXPLOSION CHIP ROWS — smaller pill chips
   ============================================================ */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.chip {
  position: relative;
  padding: 7px 14px;
  background: linear-gradient(to bottom, var(--cream-1) 0%, var(--cream-2) 100%);
  border: 2.5px solid var(--cream-stroke);
  border-radius: 18px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  box-shadow: 0 3px 0 #8a6a3a;
  transition: transform 0.06s ease;
}
.chip::before {
  content: '';
  position: absolute;
  top: 2px; left: 10%; right: 10%;
  height: 35%;
  background: rgba(255,255,255,0.55);
  border-radius: 100% / 60%;
  pointer-events: none;
}
.chip:hover { filter: brightness(1.04); }
.chip:active { transform: translateY(2px); box-shadow: 0 1px 0 #8a6a3a; }
.chip.selected {
  background: linear-gradient(to bottom, var(--primary-1) 0%, var(--primary-2) 100%);
  border-color: var(--primary-stroke);
  color: var(--text-on-dark);
  box-shadow: 0 3px 0 var(--primary-shadow);
}
.chip.selected::before { background: rgba(255,255,255,0.4); }

/* ============================================================
   TIME ROW
   ============================================================ */
.time-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.quick-btn {
  position: relative;
  flex: 1;
  min-width: 80px;
  padding: 10px 8px;
  background: linear-gradient(to bottom, var(--cream-1) 0%, var(--cream-2) 100%);
  border: 3px solid var(--cream-stroke);
  border-radius: 18px;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  box-shadow: 0 4px 0 #8a6a3a;
  transition: transform 0.06s ease;
  overflow: hidden;
}
.quick-btn::before {
  content: '';
  position: absolute;
  top: 4px; left: 10%; right: 10%;
  height: 32%;
  background: rgba(255,255,255,0.55);
  border-radius: 100% / 60%;
  pointer-events: none;
}
.quick-btn:hover { filter: brightness(1.04); }
.quick-btn:active,
.quick-btn.selected {
  background: linear-gradient(to bottom, var(--primary-1) 0%, var(--primary-2) 100%);
  border-color: var(--primary-stroke);
  color: var(--text-on-dark);
  box-shadow: 0 4px 0 var(--primary-shadow);
}
.quick-btn.selected::before { background: rgba(255,255,255,0.4); }

.slider-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(to bottom, #fff 0%, #fff7e0 100%);
  border: 3px solid var(--cream-stroke);
  border-radius: 18px;
  padding: 10px 16px;
  box-shadow: inset 0 3px 0 rgba(255,255,255,0.7), 0 3px 0 #8a6a3a;
}
#minutes {
  flex: 1;
  -webkit-appearance: none;
  height: 8px;
  background: #f0d8b0;
  border-radius: 8px;
  outline: none;
  border: 2px solid var(--cream-stroke);
}
#minutes::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px; height: 26px;
  background: linear-gradient(to bottom, var(--primary-1) 0%, var(--primary-2) 100%);
  border: 3px solid var(--primary-stroke);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 0 var(--primary-shadow);
}
#minutes::-moz-range-thumb {
  width: 26px; height: 26px;
  background: linear-gradient(to bottom, var(--primary-1) 0%, var(--primary-2) 100%);
  border: 3px solid var(--primary-stroke);
  border-radius: 50%;
  cursor: pointer;
}
.time-display {
  min-width: 84px;
  text-align: right;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
}
.time-display-unit { font-size: 14px; color: var(--text-soft); margin-left: 4px; }

/* ============================================================
   PRIMARY BUTTON — green PLAY-style with thick stroke + gloss
   ============================================================ */
.primary-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 16px;
  margin-top: 6px;
  background: linear-gradient(to bottom, var(--primary-1) 0%, var(--primary-2) 100%);
  color: var(--text-on-dark);
  border: 5px solid var(--primary-stroke);
  border-radius: 32px;
  font-family: inherit;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1.5px;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--primary-shadow), 0 10px 18px rgba(0,0,0,0.18);
  text-shadow: 2px 2px 0 rgba(0,0,0,0.18);
  overflow: hidden;
  transition: transform 0.06s ease, box-shadow 0.06s ease;
}
.primary-btn::before {
  content: '';
  position: absolute;
  top: 5px; left: 10%; right: 10%;
  height: 38%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 100%);
  border-radius: 100% / 60%;
  pointer-events: none;
}
.primary-btn:hover { filter: brightness(1.06); }
.primary-btn:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--primary-shadow);
}
.primary-btn:disabled {
  background: linear-gradient(to bottom, #c0c0c0, #999);
  border-color: #6a6a6a;
  box-shadow: 0 4px 0 #4a4a4a;
  cursor: wait;
}

/* ============================================================
   ACTIVE SCREEN
   ============================================================ */
#active-screen {
  z-index: 20;
  background: #1a1208;
}
.bg-layer {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background-size: cover;
  background-position: center;
  /* Matches #active-screen so any rare PNG-with-transparency response
     blends instead of revealing the dark body. */
  background-color: #1a1208;
  z-index: 1;
}
.object-layer {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.object-layer img {
  max-width: 50vw;
  max-height: 60vh;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.6));
  animation: object-idle 3s ease-in-out infinite;
}
@keyframes object-idle {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-12px) rotate(1deg); }
}
.vignette {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.7) 100%);
  z-index: 3;
}
.hud {
  position: absolute;
  top: 28px; left: 28px; right: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 5;
}
.hud-left { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.hud-title {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 800;
  color: #fffaf0;
  text-shadow:
    3px 3px 0 var(--panel-stroke),
    0 0 24px rgba(255,170,80,0.5);
  max-width: 60vw;
  word-break: break-word;
  line-height: 1.05;
}
.hud-title:empty { display: none; }
.countdown {
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 800;
  color: #fffaf0;
  text-shadow:
    0 0 30px rgba(255, 170, 80, 0.8),
    6px 6px 0 var(--panel-stroke);
  font-variant-numeric: tabular-nums;
  letter-spacing: -2px;
}
.countdown.urgent {
  color: #ff6b35;
  animation: pulse 1s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}

.hud-buttons { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.hud-btn {
  position: relative;
  padding: 12px 24px;
  background: linear-gradient(to bottom, var(--cream-1) 0%, var(--cream-2) 100%);
  border: 3px solid var(--cream-stroke);
  border-radius: 18px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  cursor: pointer;
  box-shadow: 0 4px 0 #8a6a3a;
  transition: transform 0.06s ease;
  overflow: hidden;
}
.hud-btn::before {
  content: '';
  position: absolute;
  top: 4px; left: 10%; right: 10%;
  height: 35%;
  background: rgba(255,255,255,0.55);
  border-radius: 100% / 60%;
  pointer-events: none;
}
.hud-btn:hover { filter: brightness(1.05); }
.hud-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #8a6a3a; }
.hud-btn.small { padding: 8px 14px; font-size: 16px; font-weight: 800; min-width: 50px; }
.time-adjust { display: flex; gap: 6px; }

/* Volume slider in HUD */
.volume-control {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(to bottom, var(--cream-1) 0%, var(--cream-2) 100%);
  border: 3px solid var(--cream-stroke);
  border-radius: 18px;
  padding: 8px 14px;
  box-shadow: 0 4px 0 #8a6a3a;
  position: relative;
  overflow: hidden;
}
.volume-control::before {
  content: '';
  position: absolute;
  top: 3px; left: 10%; right: 10%;
  height: 35%;
  background: rgba(255,255,255,0.55);
  border-radius: 100% / 60%;
  pointer-events: none;
}
.volume-control > * { position: relative; z-index: 2; }
.vol-icon { width: 22px; height: 22px; color: var(--text-dark); flex: 0 0 auto; }
#volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 130px;
  height: 8px;
  background: #f0d8b0;
  border: 2px solid var(--cream-stroke);
  border-radius: 8px;
  outline: none;
}
#volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  background: linear-gradient(to bottom, var(--primary-1) 0%, var(--primary-2) 100%);
  border: 2.5px solid var(--primary-stroke);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 0 var(--primary-shadow);
}
#volume-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  background: linear-gradient(to bottom, var(--primary-1) 0%, var(--primary-2) 100%);
  border: 2.5px solid var(--primary-stroke);
  border-radius: 50%;
  cursor: pointer;
}

#cancel-btn {
  background: linear-gradient(to bottom, var(--danger-1) 0%, var(--danger-2) 100%);
  border-color: var(--danger-stroke);
  color: #fff;
  box-shadow: 0 4px 0 #5a1a26;
}
#cancel-btn:active { box-shadow: 0 2px 0 #5a1a26; }

.hud-btn.done {
  background: linear-gradient(to bottom, var(--primary-1) 0%, var(--primary-2) 100%);
  border-color: var(--primary-stroke);
  color: var(--text-on-dark);
  box-shadow: 0 4px 0 var(--primary-shadow);
  text-shadow: 1px 1px 0 rgba(0,0,0,0.18);
}
.hud-btn.done:active { box-shadow: 0 2px 0 var(--primary-shadow); }

#fx-canvas {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 10;
  pointer-events: none;
}

/* ============================================================
   FUSE
   ============================================================ */
#fuse-svg {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 28vh;
  z-index: 4;
  pointer-events: none;
  overflow: visible;
}
#fuse-burnt { filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.7)); }
.fuse-flame {
  position: absolute;
  z-index: 5;
  width: 0; height: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.flame-core {
  position: absolute;
  top: -28px; left: -16px;
  width: 32px; height: 56px;
  background: radial-gradient(circle at 50% 80%, #fff8d6 0%, #ffd86b 30%, #ff8a2a 60%, #d94f2c 90%, transparent 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  filter: blur(1px);
  animation: flame-flicker 0.18s steps(2) infinite;
  transform-origin: center bottom;
}
.flame-glow {
  position: absolute;
  top: -60px; left: -60px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(255, 170, 60, 0.55) 0%, rgba(255, 100, 40, 0.0) 70%);
  animation: glow-pulse 0.4s ease-in-out infinite alternate;
}
@keyframes flame-flicker {
  0%   { transform: scaleY(1)    scaleX(1)   rotate(-2deg); }
  50%  { transform: scaleY(1.15) scaleX(0.9) rotate(3deg); }
  100% { transform: scaleY(0.95) scaleX(1.1) rotate(-1deg); }
}
@keyframes glow-pulse {
  from { opacity: 0.75; transform: scale(1); }
  to   { opacity: 1;    transform: scale(1.2); }
}
.fuse-flame.hidden { display: none; }

/* ============================================================
   SHAKE + EXPLOSION OVERLAYS
   ============================================================ */
.shake { animation: shake 2.0s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes shake {
  0%   { transform: translate(0, 0); }
  6%   { transform: translate(-14px, -8px); }
  12%  { transform: translate(18px, 10px); }
  18%  { transform: translate(-22px, -6px); }
  24%  { transform: translate(20px, 12px); }
  32%  { transform: translate(-14px, -4px); }
  40%  { transform: translate(10px, 6px); }
  48%  { transform: translate(-8px, -3px); }
  56%  { transform: translate(6px, 4px); }
  64%  { transform: translate(-4px, -2px); }
  72%  { transform: translate(3px, 1px); }
  80%  { transform: translate(-2px, -1px); }
  100% { transform: translate(0, 0); }
}

.explosion-flash {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0;
  pointer-events: none;
  z-index: 50;
  mix-blend-mode: screen;
}
.explosion-flash.stage-1 {
  background: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%),
    #ffffff 0%, #fff5d0 15%, rgba(255,200,80,0.7) 35%, transparent 70%);
  animation: flash-1 1.0s ease-out forwards;
}
.explosion-flash.stage-2 {
  background: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%),
    rgba(255,150,40,0.8) 0%, rgba(220,80,30,0.4) 40%, transparent 80%);
  animation: flash-2 2.4s ease-out forwards;
}
@keyframes flash-1 {
  0%   { opacity: 1; transform: scale(0.4); }
  20%  { opacity: 1; transform: scale(1.6); }
  100% { opacity: 0; transform: scale(2.4); }
}
@keyframes flash-2 {
  0%   { opacity: 0;   transform: scale(0.6); }
  15%  { opacity: 0.9; transform: scale(1.3); }
  100% { opacity: 0;   transform: scale(2.0); }
}

.lens-flare {
  position: fixed;
  left: var(--lx, 50%); top: var(--ly, 50%);
  width: 200vmax; height: 6px;
  background: linear-gradient(90deg, transparent, #fff8d6 45%, #ffffff 50%, #fff8d6 55%, transparent);
  transform: translate(-50%, -50%) rotate(8deg);
  filter: blur(2px);
  pointer-events: none;
  z-index: 49;
  mix-blend-mode: screen;
  animation: flare 1.2s ease-out forwards;
}
@keyframes flare {
  0%   { opacity: 0; transform: translate(-50%, -50%) rotate(8deg) scaleX(0); }
  18%  { opacity: 1; transform: translate(-50%, -50%) rotate(8deg) scaleX(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(8deg) scaleX(1); }
}

/* ============================================================
   DONE-EARLY SCREEN — positive celebration when task finished
   before the timer expired. Lighter mood than boom-screen.
   ============================================================ */
#done-screen {
  z-index: 30;
  flex-direction: column;
  gap: 30px;
  background: radial-gradient(ellipse at center, #fff7d8 0%, #ffd76b 60%, #f5a93a 100%);
  color: var(--text-dark);
  overflow: hidden;
}
#done-canvas {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}
.done-banner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  animation: done-pop 0.7s cubic-bezier(.36,1.6,.6,1) both;
}
.done-title {
  font-size: clamp(72px, 12vw, 180px);
  font-weight: 900;
  color: #ff8a2a;
  text-shadow:
    0 0 60px rgba(255, 138, 42, 0.55),
    6px 6px 0 var(--panel-stroke),
    -2px -2px 0 rgba(255,255,255,0.4);
  line-height: 1;
  letter-spacing: -1px;
}
.done-sub {
  margin-top: 16px;
  font-size: clamp(20px, 3vw, 38px);
  font-weight: 800;
  color: var(--text-dark);
  text-shadow: 2px 2px 0 rgba(255,255,255,0.5);
}
@keyframes done-pop {
  0%   { transform: scale(0.2) rotate(-8deg); opacity: 0; }
  60%  { transform: scale(1.15) rotate(2deg); }
  100% { transform: scale(1) rotate(-1deg); opacity: 1; }
}
#done-screen .primary-btn {
  position: relative;
  z-index: 2;
  width: 320px;
  max-width: 80vw;
}

/* ============================================================
   BOOM SCREEN
   ============================================================ */
#boom-screen {
  z-index: 30;
  flex-direction: column;
  background: #1a0805;
  color: #fffaf0;
  gap: 40px;
}
.boom-title {
  font-size: clamp(120px, 20vw, 280px);
  font-weight: 900;
  color: #ff6b35;
  text-shadow:
    0 0 60px rgba(255, 107, 53, 0.8),
    8px 8px 0 var(--panel-stroke);
  animation: boom-in 0.8s cubic-bezier(.36,1.6,.6,1) both;
}
@keyframes boom-in {
  0%   { transform: scale(0.1) rotate(-15deg); opacity: 0; }
  60%  { transform: scale(1.2) rotate(3deg); }
  100% { transform: scale(1) rotate(-2deg); opacity: 1; }
}
#boom-screen .primary-btn { width: 320px; }

/* Discreet text link used as a secondary action under primary CTAs
   (currently only on boom-screen for "Del med en kollega"). */
.text-link-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-on-dark);
  cursor: pointer;
  padding: 8px 16px;
  margin-top: 12px;
  opacity: 0.75;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.15s;
}
.text-link-btn:hover { opacity: 1; }

/* ============================================================
   LOADING OVERLAY
   ============================================================ */
.loading {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(184, 227, 240, 0.96);
  display: flex;
  align-items: center; justify-content: center;
  z-index: 100;
  pointer-events: all;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.loading.hidden { display: none; }
.loading-card {
  position: relative;
  background: linear-gradient(to bottom, var(--panel-fill-1) 0%, var(--panel-fill-2) 100%);
  border: 6px solid var(--panel-stroke);
  border-radius: 32px;
  padding: 36px 56px 30px;
  box-shadow: 0 10px 0 var(--panel-shadow), 0 16px 36px rgba(0,0,0,0.25);
  display: flex; flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 320px;
  max-width: 480px;
  overflow: hidden;
}
.loading-card::before {
  content: '';
  position: absolute;
  top: 6px; left: 8%; right: 8%;
  height: 22%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 100%);
  border-radius: 100% / 60%;
  pointer-events: none;
}
.loading-card > * { position: relative; z-index: 2; }

.loading-dots {
  display: flex;
  gap: 10px;
  margin-bottom: 4px;
}
.loading-dots span {
  display: block;
  width: 16px; height: 16px;
  background: linear-gradient(to bottom, var(--primary-1) 0%, var(--primary-2) 100%);
  border: 2.5px solid var(--primary-stroke);
  border-radius: 50%;
  box-shadow: 0 3px 0 var(--primary-shadow);
  animation: bounce-dot 1.0s ease-in-out infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.12s; background: linear-gradient(to bottom, #ffd66b, #f5a93a); border-color: #c98e2a; box-shadow: 0 3px 0 #9b6c1e; }
.loading-dots span:nth-child(3) { animation-delay: 0.24s; background: linear-gradient(to bottom, var(--danger-1), var(--danger-2)); border-color: var(--danger-stroke); box-shadow: 0 3px 0 #5a1a26; }
.loading-dots span:nth-child(4) { animation-delay: 0.36s; background: linear-gradient(to bottom, var(--info-1), var(--info-2)); border-color: var(--info-stroke); box-shadow: 0 3px 0 #1f5a6c; }
.loading-dots span:nth-child(5) { animation-delay: 0.48s; background: linear-gradient(to bottom, #c8a3ff, #8a5cff); border-color: #5a2ec0; box-shadow: 0 3px 0 #3a1b80; }
@keyframes bounce-dot {
  0%, 60%, 100% { transform: translateY(0); }
  30%           { transform: translateY(-18px); }
}

.loading-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-on-dark);
  text-shadow: 2px 2px 0 var(--panel-stroke);
  text-align: center;
}
.loading-sub {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  opacity: 0.75;
  text-align: center;
}

/* ============================================================
   DONATE ROW — discreet MobilePay link below the start button
   ============================================================ */
.donate-row {
  margin-top: 14px;
  text-align: center;
}
.donate-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(to bottom, #ef6e85 0%, #d94560 100%);
  border: 3px solid #8e2638;
  border-radius: 16px;
  color: #fffaf0;
  text-decoration: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 0 #8e2638;
  animation: donate-pulse 2.2s ease-in-out infinite;
}
.donate-link strong { font-weight: 800; }
.donate-link:hover { filter: brightness(1.06); }
.donate-link:active { transform: translateY(2px); box-shadow: 0 2px 0 #8e2638; animation: none; }
.donate-icon { font-size: 18px; animation: heart-beat 2.2s ease-in-out infinite; }
@keyframes donate-pulse {
  0%, 100% { box-shadow: 0 4px 0 #8e2638, 0 0 0 0 rgba(217,69,96,0); }
  50%      { box-shadow: 0 4px 0 #8e2638, 0 0 16px 3px rgba(217,69,96,0.5); }
}
@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.18); }
}
@media (prefers-reduced-motion: reduce) {
  #custom-input, .donate-link, .donate-icon { animation: none; }
}
.donate-sub {
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 4px;
  opacity: 0.8;
}

/* Diskret beskrivende tekst nederst — for Google + LLM-forståelse */
.site-about {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 2px dashed rgba(91, 58, 26, 0.35);
  text-align: center;
  color: var(--text-soft);
}
.site-about h2 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--text-dark);
}
.site-about p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 640px;
}

/* ============================================================
   ADS SECTION — three little promo cards below the start button
   ============================================================ */
.ads-section {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 2px dashed rgba(91, 58, 26, 0.35);
}
.ads-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  margin-bottom: 10px;
  opacity: 0.85;
}
.ads-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.ad-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, var(--cream-1) 0%, var(--cream-2) 100%);
  border: 3px solid var(--cream-stroke);
  border-radius: 18px;
  box-shadow: 0 4px 0 #8a6a3a;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-dark);
  cursor: pointer;
  transition: transform 0.08s ease, filter 0.12s ease;
}
.ad-card::before {
  content: '';
  position: absolute;
  top: 3px; left: 8%; right: 8%;
  height: 22%;
  background: rgba(255,255,255,0.55);
  border-radius: 100% / 60%;
  pointer-events: none;
  z-index: 3;
}
.ad-card:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
}
.ad-card:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #8a6a3a;
}
.ad-shot {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #e8d6b0;
  border-bottom: 2.5px solid var(--cream-stroke);
  overflow: hidden;
}
.ad-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.ad-text {
  padding: 8px 12px 12px;
  position: relative;
  z-index: 2;
}
.ad-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2px;
  line-height: 1.1;
}
.ad-pitch {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
  line-height: 1.3;
}

/* ============ MOBILE ============
   Setup-skærmen indeholder for meget til at passe i 96vh på telefoner.
   Default-layoutet er fixed/clipped (designet til whiteboards i bredformat).
   På små skærme tillader vi page scroll og lader setup-card vokse naturligt.
   Active- og boom-screens (selve nedtælling + eksplosion) er stadig fixed
   overlays — kun setup røres her.
*/
@media (max-width: 768px) {
  #setup-screen.active {
    padding: 16px 12px;
  }
  .setup-card {
    width: 100%;
    padding: 120px 16px 18px;
  }
  .title-art { height: 110px; }
  .title-art img { max-height: 120px; }
  .fs-toggle { width: 36px; height: 36px; top: 10px; right: 10px; }
  .fs-toggle svg { width: 18px; height: 18px; }
}

/* Phone-portrait tightening — small font, tighter paddings, narrower slider */
@media (max-width: 480px) {
  .setup-card {
    padding: 90px 12px 14px;
    border-radius: 26px;
  }
  .title-art { height: 86px; }
  .title-art img { max-height: 96px; }
  .subtitle { font-size: 13px; }
  .field { margin-bottom: 10px; }
  .field label { font-size: 16px; }
  #custom-input, .title-input {
    padding: 10px 14px;
    font-size: 15px;
    border-width: 3px;
    border-radius: 16px;
  }
  .object-grid {
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 8px;
  }
  .object-chip { padding: 8px 6px; font-size: 13px; }
  .object-chip .thumb { width: 40px; height: 40px; }
  .chip { padding: 6px 11px; font-size: 13px; }
  .quick-btn { font-size: 14px; padding: 9px 6px; min-width: 60px; }
  .slider-row { padding: 8px 12px; gap: 10px; }
  .time-display { font-size: 18px; min-width: 64px; }
  .time-display-unit { font-size: 12px; }
  .primary-btn { font-size: 20px; padding: 14px; border-width: 4px; }
  .ads-label { font-size: 12px; letter-spacing: 1px; }
  .ad-title { font-size: 14px; }
  .ad-pitch { font-size: 12px; }
  .fs-toggle { width: 32px; height: 32px; top: 8px; right: 8px; border-width: 2px; }
  .fs-toggle svg { width: 16px; height: 16px; }
  .repeat-btn { padding: 8px 12px; font-size: 13px; gap: 8px; }
  .repeat-icon { width: 24px; height: 24px; font-size: 15px; }
}

/* Active screen on phone portrait — HUD was overflowing on the right.
   Shrink countdown, slim the volume control, scale buttons. */
@media (max-width: 600px) {
  .hud {
    top: 14px;
    left: 14px;
    right: 14px;
  }
  .hud-left { gap: 4px; }
  .countdown {
    font-size: clamp(56px, 16vw, 100px);
    letter-spacing: -1px;
  }
  .hud-title {
    font-size: clamp(18px, 4.5vw, 28px);
    max-width: 55vw;
  }
  .hud-buttons { gap: 6px; }
  .hud-btn {
    padding: 8px 14px;
    font-size: 14px;
    border-width: 2.5px;
    border-radius: 14px;
  }
  .hud-btn.small {
    padding: 6px 8px;
    font-size: 13px;
    min-width: 36px;
    border-radius: 12px;
  }
  .time-adjust { gap: 4px; }
  .volume-control {
    padding: 6px 10px;
    gap: 6px;
    border-radius: 14px;
    border-width: 2.5px;
  }
  .vol-icon { width: 18px; height: 18px; }
  #volume-slider { width: 80px; height: 6px; }
}

/* Very narrow phones — drop the volume slider entirely; icon stays as toggle hint */
@media (max-width: 380px) {
  #volume-slider { width: 56px; }
  .hud-btn { padding: 7px 11px; font-size: 13px; }
  .hud-btn.small { padding: 5px 6px; font-size: 12px; min-width: 30px; }
}

/* Medium screens — 2x2 grid so cards stay readable */
@media (max-width: 820px) {
  .ads-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* Narrow phones — single column */
@media (max-width: 460px) {
  .ads-row {
    grid-template-columns: 1fr;
  }
  .ad-shot {
    aspect-ratio: 16 / 8;
  }
}

/* ============================================================
   Mega-countdown + character reactions (added in v75)
   ============================================================ */
.countdown.swell-warning {
  color: #ffd86b;
  transition: color 0.4s ease, font-size 0.4s ease;
}
.countdown.swell-final {
  color: #ff6b35;
  font-size: clamp(96px, 18vw, 240px) !important;
  text-shadow: 0 0 30px rgba(255,107,53,0.7), 0 6px 0 #3b2a1a;
  animation: countdown-pulse 1s ease-in-out infinite;
  transition: color 0.3s ease, font-size 0.3s ease;
}
@keyframes countdown-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

.object-layer.react-wobble img {
  animation: react-wobble 1.6s ease-in-out infinite;
  transform-origin: 50% 80%;
}
@keyframes react-wobble {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50%      { transform: rotate(2deg)  translateY(-6px); }
}
.object-layer.react-shake img {
  animation: react-shake 0.18s linear infinite;
  transform-origin: 50% 50%;
}
@keyframes react-shake {
  0%, 100% { transform: translate(0,0) rotate(0); }
  25%      { transform: translate(-6px, 2px) rotate(-3deg); }
  50%      { transform: translate(5px, -3px) rotate(2deg); }
  75%      { transform: translate(-3px, -1px) rotate(-2deg); }
}

/* ============ Teacher unlock ============ */
/* Discreet field at the bottom of the setup card — low-key so kids ignore it. */
.teacher-unlock {
  margin-top: 18px;
  text-align: center;
  opacity: 0.65;
}
.unlock-toggle {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #8a7a5c;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 8px;
}
.unlock-toggle.active {
  color: #5fb83a;
}
.unlock-panel {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}
.unlock-panel input {
  font-family: inherit;
  font-size: 15px;
  padding: 8px 12px;
  border: 2px solid #c9b48a;
  border-radius: 12px;
  max-width: 200px;
}
.unlock-panel button {
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #fffaf0;
  background: linear-gradient(to bottom, #8edc63, #5fb83a);
  border: 2px solid #3c8a2e;
  border-radius: 12px;
  padding: 8px 18px;
  cursor: pointer;
}
.unlock-status {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #5fb83a;
}
