/* ──────── Brand font: Baloo 2 (self-hosted, OFL — see fonts/OFL-LICENSE.txt) ──────── */
@font-face {
  font-family: 'Baloo 2';
  src: url('fonts/Baloo2-Variable-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Baloo 2';
  src: url('fonts/Baloo2-Variable-latin-ext.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --font-brand: 'Baloo 2', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --c-bg: #1a1340;
  --c-accent: #ff5fa2;
  --c-accent-2: #5ad2ff;
  --c-glow: #ffd55a;
  --c-text: #ffffff;
  --c-card: rgba(255, 255, 255, 0.08);
  --c-card-border: rgba(255, 255, 255, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* Generic hide toggle — used by menus, HUD chips and the shop tabs */
.hidden { display: none !important; }

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0b0820;
  font-family: var(--font-brand);
  color: var(--c-text);
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation; /* allow scrolling in menus; blocked on canvases below */
}

/* ──────── Icon system (inline SVG sprite from index.html) ──────── */
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex: none;
  vertical-align: -0.125em;
}

/* Play surfaces only — keeps drag-aim working while menus stay scrollable */
#game, #ed-canvas {
  touch-action: none;
}

#app {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh; /* mobile browsers: exclude collapsing URL bar */
  overflow: hidden;
}

#game {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  outline: none;
}

#game.dragging { cursor: grabbing; }

/* ──────── Global fullscreen toggle ──────── */
.fs-toggle {
  position: fixed;
  left: 14px;
  bottom: 14px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--c-card);
  border: 1px solid var(--c-card-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--c-text);
  cursor: pointer;
  pointer-events: auto;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.fs-toggle .icon { width: 22px; height: 22px; }
.fs-toggle:hover { background: rgba(255,255,255,0.16); transform: scale(1.08); }
.fs-toggle:active { transform: scale(0.95); }

/* ──────── HUD ──────── */
#hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}
#hud.hidden { display: none; }

.hud-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hud-card {
  background: var(--c-card);
  border: 1px solid var(--c-card-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.hud-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  opacity: 0.7;
  font-weight: 700;
}
.hud-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--c-text);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: inline-flex;
  align-items: center;
}
.hud-value .icon { width: 17px; height: 17px; opacity: 0.9; }

.hud-btn {
  margin-left: auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--c-card);
  border: 1px solid var(--c-card-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--c-text);
  cursor: pointer;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.hud-btn .icon { width: 22px; height: 22px; }
.hud-btn:hover { background: rgba(255,255,255,0.16); transform: scale(1.06); }
.hud-btn:active { transform: scale(0.94); }
/* the restart button alone spins on hover — a spinning pause icon reads as broken */
#hud-restart:hover .icon { transform: rotate(-60deg); transition: transform 0.25s ease; }

/* active powerup chip in HUD */
#hud-powerup.hidden { display: none; }
#hud-powerup.hud-chip {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  min-width: 0;
  flex-direction: row;
  gap: 6px;
  padding: 10px 14px;
}

/* ──────── Overlays ──────── */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,8,32,0.4) 0%, rgba(11,8,32,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  z-index: 10;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: overlayIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.overlay.hidden { display: none; }

@keyframes overlayIn {
  from { opacity: 0; transform: scale(1.05); }
  to   { opacity: 1; transform: scale(1); }
}

/* ──────── Main menu hero: brand left · actions right ──────── */
.menu-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 11vw, 200px);
  width: 100%;
  padding: 0 clamp(28px, 7vw, 130px);
}
.menu-actions { display: flex; }
.menu-hero .menu-buttons {
  width: min(320px, 78vw);
  align-items: stretch;
}
/* PLAY matches the secondary buttons' width for a clean aligned edge */
.menu-hero .menu-buttons .big-btn { width: 100%; }

.title-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.title-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(255,95,162,0.45), transparent 60%);
  filter: blur(40px);
  z-index: -2;
}
.title {
  font-size: clamp(64px, 12vw, 136px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.title-super {
  background: linear-gradient(180deg, #ffd8ec 0%, #ff5fa2 60%, #c5387e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: jellyWobble 2.4s ease-in-out infinite;
  display: inline-block;
  transform-origin: center bottom;
  font-size: 0.4em;
  font-weight: 800;
  letter-spacing: 0.5em;
  margin-left: 0.5em; /* re-centers: letter-spacing adds trailing space */
}
.title-slam {
  background: linear-gradient(180deg, #d3f4ff 0%, #5ad2ff 60%, #2e9bd6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.02em;
  font-size: 1.05em;
}
@keyframes jellyWobble {
  0%, 100% { transform: scaleX(1) scaleY(1); }
  20%      { transform: scaleX(1.08) scaleY(0.94); }
  40%      { transform: scaleX(0.96) scaleY(1.05); }
  60%      { transform: scaleX(1.04) scaleY(0.98); }
  80%      { transform: scaleX(0.98) scaleY(1.02); }
}

/* "Impossible 40" subtitle badge under the title */
.title-badge {
  display: inline-block;
  margin-top: 16px;
  padding: 9px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd55a, #ff9a3d);
  color: #2b0a37;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-indent: 0.24em; /* balance the tracking like the SUPER line */
  box-shadow:
    0 8px 24px rgba(255, 180, 60, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  animation: badgeGlow 2.8s ease-in-out infinite;
}
@keyframes badgeGlow {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(255,180,60,0.35), inset 0 1px 0 rgba(255,255,255,0.5); }
  50%      { transform: scale(1.05); box-shadow: 0 10px 32px rgba(255,180,60,0.55), inset 0 1px 0 rgba(255,255,255,0.5); }
}

.tagline {
  font-size: 22px;
  opacity: 0.8;
  letter-spacing: 0.05em;
  margin-top: 8px;
}

.overlay-title {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-align: center;
  text-shadow: 0 6px 24px rgba(0,0,0,0.4);
  animation: titlePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.overlay-title.good {
  background: linear-gradient(180deg, #d3ffd9 0%, #2cd982 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.overlay-title.bad {
  background: linear-gradient(180deg, #ffd8d8 0%, #ff4d6d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes titlePop {
  0%   { opacity: 0; transform: translateY(20px) scale(0.85); }
  100% { opacity: 1; transform: translateY(0)   scale(1); }
}

.overlay-sub {
  font-size: 16px;
  opacity: 0.75;
}

.overlay-card {
  display: flex;
  gap: 16px;
  background: var(--c-card);
  border: 1px solid var(--c-card-border);
  border-radius: 18px;
  padding: 18px 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}
.stat span {
  font-size: 11px;
  letter-spacing: 0.12em;
  opacity: 0.7;
  text-transform: uppercase;
}
.stat b {
  font-size: 28px;
  font-weight: 800;
  margin-top: 2px;
}

.big-btn {
  font-family: inherit;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 18px 44px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  color: white;
  background: linear-gradient(135deg, #ff5fa2, #ff8c5a);
  box-shadow:
    0 10px 30px rgba(255, 95, 162, 0.45),
    inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.big-btn .icon { width: 20px; height: 20px; margin-top: -2px; } /* optical alignment with bold caps */
.big-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 40px rgba(255, 95, 162, 0.55),
    inset 0 1px 0 rgba(255,255,255,0.3);
}
.big-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  opacity: 0.5;
  letter-spacing: 0.05em;
  text-align: center;
  max-width: 90%;
}

/* ════════ MENU OVERLAYS (main / settings / pause) ════════ */
.menu-overlay {
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(90, 210, 255, 0.18), transparent 60%),
    radial-gradient(900px 600px at 90% 110%, rgba(255, 95, 162, 0.20), transparent 55%),
    radial-gradient(700px 500px at 5% 100%, rgba(255, 213, 90, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(11, 8, 32, 0.55), rgba(11, 8, 32, 0.92));
  gap: 22px;
  overflow: hidden;
}

/* floating background jellies */
.menu-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.float-jelly {
  position: absolute;
  border-radius: 48% 52% 58% 42% / 55% 46% 54% 45%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.9), rgba(255,95,162,0.9) 45%, rgba(197,56,126,0.75));
  filter: blur(2px);
  opacity: 0.5;
  animation: jellyDrift 12s ease-in-out infinite alternate;
}
.j1 { width: 90px; height: 74px; top: 12%; left: 8%; }
.j2 { width: 60px; height: 50px; top: 68%; left: 16%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.9), rgba(90,210,255,0.9) 45%, rgba(46,155,214,0.75)); animation-duration: 15s; animation-delay: -3s; }
.j3 { width: 120px; height: 96px; top: 18%; right: 10%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.9), rgba(255,213,90,0.9) 45%, rgba(214,160,46,0.75)); animation-duration: 14s; animation-delay: -6s; }
.j4 { width: 55px; height: 46px; bottom: 8%; right: 20%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.9), rgba(159,251,230,0.9) 45%, rgba(94,234,212,0.75)); animation-delay: -9s; }
@keyframes jellyDrift {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate(30px, -26px) rotate(8deg) scale(1.1); }
  100% { transform: translate(-22px, 30px) rotate(-10deg) scale(0.94); }
}
.twinkle {
  position: absolute;
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.9);
  /* 4-point sparkle drawn with clip-path — identical on every platform */
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  animation: twinkle 3s ease-in-out infinite;
}
.t1 { top: 26%; left: 26%; }
.t2 { top: 72%; left: 60%; width: 12px; height: 12px; animation-delay: 1s; }
.t3 { top: 34%; right: 26%; animation-delay: 2s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.7) rotate(0deg); }
  50%      { opacity: 1;    transform: scale(1.15) rotate(45deg); }
}

/* title mascot — little happy jelly bobbing over the title */
.title-mascot {
  width: 140px;
  height: 114px;
  margin-bottom: -16px;
  position: relative;
  border-radius: 52% 48% 55% 45% / 52% 56% 44% 48%;
  background: radial-gradient(circle at 35% 30%, #ffe3f1, #ff5fa2 48%, #c5387e 90%);
  box-shadow: 0 16px 44px rgba(255, 95, 162, 0.5), inset 0 -8px 18px rgba(0,0,0,0.22);
  animation: mascotBob 2.6s ease-in-out infinite;
  z-index: -1;
}
.title-mascot::before, .title-mascot::after {
  content: '';
  position: absolute;
  top: 34%;
  width: 14px; height: 20px;
  border-radius: 50%;
  background: #2b0a37;
}
.title-mascot::before { left: 26%; transform: rotate(12deg); }
.title-mascot::after  { right: 26%; transform: rotate(-12deg); }
.title-mascot .mouth {
  position: absolute;
  left: 50%; top: 62%;
  width: 22px; height: 11px;
  transform: translateX(-50%);
  border-bottom: 3px solid #2b0a37;
  border-radius: 0 0 20px 20px;
}
@keyframes mascotBob {
  0%, 100% { transform: translateY(0) rotate(-2deg) scale(1); }
  50%      { transform: translateY(-12px) rotate(2deg) scale(1.06); }
}

/* menu stats strip */
.menu-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.menu-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 108px;
  padding: 12px 18px;
  background: var(--c-card);
  border: 1px solid var(--c-card-border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.menu-stat-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  opacity: 0.65;
  font-weight: 700;
  text-transform: uppercase;
}
.menu-stat b {
  font-size: 29px;
  font-weight: 900;
  margin-top: 2px;
  background: linear-gradient(180deg, #ffe9f3, #ff5fa2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ──── Main menu: stats pinned to the top-left corner ──── */
#splash {
  /* keep the centered title + buttons clear of the bottom hint/credit */
  padding: 24px 16px 96px;
}
#splash .menu-stats {
  position: absolute;
  top: 18px;
  left: 16px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  z-index: 1;
}
#splash .menu-stat {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px 14px;
  border-radius: 12px;
}
#splash .menu-stat-label { font-size: 10px; }
#splash .menu-stat b {
  font-size: 16px;
  margin-top: 0;
  background: linear-gradient(180deg, #ffe9f3, #ffc0dc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* on very short screens, hide the corner stats so they never touch the title */
@media (max-height: 560px) {
  #splash .menu-stats { display: none; }
}

/* menu buttons */
.menu-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  width: min(320px, 88vw);
}
.big-btn.play {
  width: 100%;
  background: linear-gradient(135deg, #ff5fa2, #ff8c5a);
  box-shadow: 0 12px 34px rgba(255, 95, 162, 0.5), inset 0 1px 0 rgba(255,255,255,0.3);
  animation: playPulse 2.4s ease-in-out infinite;
}
@keyframes playPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-4px) scale(1.02); }
}
.ghost-btn {
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 14px 30px;
  width: 100%;
  border-radius: 14px;
  cursor: pointer;
  color: var(--c-text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--c-card-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.ghost-btn .icon { width: 18px; height: 18px; }
.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}
.ghost-btn:active { transform: translateY(0) scale(0.98); }

.big-btn.back { width: min(320px, 88vw); align-self: center; background: linear-gradient(135deg, #5a6bff, #9a5aff); }
.big-btn.back:hover { background: linear-gradient(135deg, #4a5dff, #8a4aff); }

/* ════════ PANELS (settings / pause) ════════ */
.panel {
  position: relative;
  width: min(440px, 92vw);
  max-height: 88vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 28px 26px;
  background: rgba(26, 19, 64, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.12);
  animation: panelIn 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(24px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.panel-head { text-align: center; margin-bottom: 4px; display: flex; flex-direction: column; gap: 4px; }
.panel-title { font-size: clamp(30px, 6vw, 44px); }
.panel-sub { font-size: 14px; opacity: 0.65; }

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}
.setting-info { display: flex; flex-direction: column; gap: 2px; }
.setting-name { font-size: 16px; font-weight: 800; }
.setting-desc { font-size: 12px; opacity: 0.55; }

/* switch */
.switch {
  position: relative;
  width: 58px;
  height: 32px;
  flex: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: background 0.22s ease, box-shadow 0.22s ease;
}
.switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, #d9dbe8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.24s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.switch[aria-checked="true"] {
  background: linear-gradient(135deg, #ff5fa2, #ff8c5a);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.25), 0 0 16px rgba(255, 95, 162, 0.5);
}
.switch[aria-checked="true"]::after { transform: translateX(26px); }

/* segmented control */
.seg {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 3px;
  gap: 2px;
}
.seg-opt {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  color: var(--c-text);
  background: transparent;
  opacity: 0.6;
  transition: background 0.18s ease, opacity 0.18s ease, transform 0.12s ease;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.seg-opt .icon { width: 15px; height: 15px; }
.seg-opt:hover { opacity: 0.9; }
.seg-opt.active {
  background: linear-gradient(135deg, #ff5fa2, #ff8c5a);
  opacity: 1;
  box-shadow: 0 4px 14px rgba(255, 95, 162, 0.4);
}

/* tiny danger/action button */
.tiny-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 95, 107, 0.4);
  background: rgba(255, 77, 109, 0.12);
  color: #ffb3c0;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}
.tiny-btn:hover { background: rgba(255, 77, 109, 0.28); transform: translateY(-1px); }
.tiny-btn:active { transform: scale(0.96); }

.hud-spacer { flex: 1; }

/* pause panel buttons narrow the width */
#pause .menu-buttons { width: min(300px, 86vw); align-self: center; }

/* ════════ LEVEL SELECT ════════ */
.levels-panel { width: min(560px, 94vw); overflow: hidden; }
.levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  /* the grid scrolls on its own so the Back button stays visible below it */
}
.level-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: var(--c-text);
  font-family: inherit;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.14s ease, background 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}
.level-tile:hover:not(.locked):not(.cleared) {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}
.level-tile.cleared {
  background: linear-gradient(160deg, rgba(94, 234, 212, 0.28), rgba(90, 210, 255, 0.18));
  border-color: rgba(94, 234, 212, 0.55);
}
.level-tile.cleared::after {
  content: '';
  position: absolute;
  top: 5px;
  right: 6px;
  width: 12px;
  height: 12px;
  background: #ffe066;
  filter: drop-shadow(0 0 5px rgba(255, 224, 102, 0.8));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.12 12 17.77 5.82 21.12 7 14.14 2 9.27 8.91 8.26'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.12 12 17.77 5.82 21.12 7 14.14 2 9.27 8.91 8.26'/%3E%3C/svg%3E") center / contain no-repeat;
}
.level-tile.current {
  border-color: #ff5fa2;
  box-shadow: 0 0 0 2px rgba(255, 95, 162, 0.55), 0 8px 22px rgba(255, 95, 162, 0.35);
}
.level-tile.locked {
  cursor: not-allowed;
  opacity: 0.35;
  background: rgba(40, 30, 80, 0.4);
}
.level-tile .tile-best {
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  opacity: 0.75;
  text-align: center;
}
.level-tile .icon {
  width: 20px;
  height: 20px;
  opacity: 0.85;
}

/* ════════ SHOP ════════ */
.shop-panel { width: min(600px, 94vw); }

.gem-bar { display: flex; justify-content: center; }
.gem-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 213, 90, 0.12);
  border: 1px solid rgba(255, 213, 90, 0.35);
  font-weight: 800;
  font-size: 14px;
  color: #ffe08a;
  box-shadow: 0 6px 20px rgba(255, 213, 90, 0.15);
}
.gem-pill .icon { width: 16px; height: 16px; }
.gem-pill b { font-size: 17px; color: #fff; }

.shop-tabs { justify-content: center; margin: 0 0 2px; }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  max-height: 46vh;
  overflow-y: auto;
  padding: 4px 2px 8px;
}
.shop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 16px 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}
.shop-card.owned { border-color: rgba(94, 234, 212, 0.45); }
.shop-card.equipped {
  border-color: #ff5fa2;
  box-shadow: 0 0 0 2px rgba(255, 95, 162, 0.45), 0 10px 26px rgba(255, 95, 162, 0.2);
}

.skin-swatch {
  width: 62px;
  height: 60px;
  border-radius: 52% 48% 58% 46% / 54% 52% 48% 56%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.85) 0%, rgba(255,255,255,0) 34%),
    var(--skin-color, #ff5fa2);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35), inset 0 -10px 18px rgba(0, 0, 0, 0.22);
  position: relative;
}
.skin-swatch::before,
.skin-swatch::after {
  content: '';
  position: absolute;
  top: 23px;
  width: 7px;
  height: 9px;
  border-radius: 50%;
  background: #23103a;
}
.skin-swatch::before { left: 16px; }
.skin-swatch::after  { right: 16px; }

.shop-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffe08a;
}
.shop-icon .icon { width: 30px; height: 30px; }
.shop-name { font-weight: 800; font-size: 14px; }
.shop-desc { font-size: 11px; opacity: 0.62; line-height: 1.35; min-height: 30px; }
.shop-count {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 9px;
  border-radius: 999px;
  color: #9ffbe6;
}
.shop-btn {
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.15s ease, transform 0.12s ease, border-color 0.15s ease;
  margin-top: auto;
}
.shop-btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.17); transform: translateY(-1px); }
.shop-btn:active:not(:disabled) { transform: scale(0.96); }
.shop-btn.buy {
  border-color: rgba(255, 213, 90, 0.55);
  background: rgba(255, 213, 90, 0.15);
  color: #ffe08a;
}
.shop-btn.equipped {
  border-color: #ff5fa2;
  background: rgba(255, 95, 162, 0.2);
  color: #ffb9d5;
}
.shop-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ──────── Level intro banner ──────── */
.level-banner {
  position: fixed;
  top: 26%;
  left: 0;
  right: 0;
  z-index: 25;
  text-align: center;
  pointer-events: none;
}
.level-banner span {
  display: inline-block;
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
  text-shadow:
    0 3px 0 rgba(0, 0, 0, 0.25),
    0 10px 40px rgba(255, 95, 162, 0.55);
}
.level-banner.play span {
  animation: bannerSweep 1.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes bannerSweep {
  0%   { opacity: 0; transform: translateY(26px) scale(0.92); letter-spacing: 0.28em; }
  16%  { opacity: 1; transform: translateY(0) scale(1); letter-spacing: 0.14em; }
  78%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-18px); }
}

/* ──────── Interactive tutorial prompt ──────── */
.tutorial-hint {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 24;
  width: min(480px, calc(100vw - 32px));
  padding: 14px 18px 15px;
  border-radius: 18px;
  background: rgba(26, 19, 64, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: thIn 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}
@keyframes thIn {
  from { opacity: 0; transform: translateX(-50%) translateY(30px) scale(0.94); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}
.tutorial-hint.pulse { animation: thPulse 0.4s ease; }
@keyframes thPulse {
  0% { box-shadow: 0 18px 60px rgba(0,0,0,0.5), 0 0 0 0 rgba(124, 249, 255, 0.55); }
  100% { box-shadow: 0 18px 60px rgba(0,0,0,0.5), 0 0 0 22px rgba(124, 249, 255, 0); }
}
.th-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}
.th-chip {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #7cf9ff;
}
.th-dots { display: inline-flex; gap: 5px; }
.th-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  transition: background 0.25s ease, transform 0.25s ease;
}
.th-dot.cur { background: #7cf9ff; transform: scale(1.25); }
.th-dot.done { background: rgba(124, 249, 255, 0.55); }
.th-row { display: flex; align-items: flex-start; gap: 13px; }
.th-icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: rgba(124, 249, 255, 0.12);
  border: 1px solid rgba(124, 249, 255, 0.35);
  color: #7cf9ff;
}
.th-icon .icon { width: 22px; height: 22px; }
.th-text h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}
.th-text p {
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.85;
}
.th-text p b { color: #ffe08a; }
.tutorial-skip {
  position: absolute;
  top: -34px;
  right: 0;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--c-card-border);
  background: rgba(26, 19, 64, 0.72);
  color: rgba(255, 255, 255, 0.75);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.tutorial-skip:hover { color: #fff; border-color: rgba(255,255,255,0.45); transform: translateY(-1px); }

/* ──────── Confirmation dialog (destructive actions) ──────── */
.confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 8, 32, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: scrimIn 0.25s ease;
}
@keyframes scrimIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.confirm-panel {
  width: min(360px, 88vw);
  padding: 26px 24px 22px;
  border-radius: 22px;
  background: rgba(26, 19, 64, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-align: center;
  animation: panelIn 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.confirm-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 120, 90, 0.14);
  border: 1px solid rgba(255, 120, 90, 0.4);
  color: #ff8a70;
}
.confirm-icon .icon { width: 26px; height: 26px; }
.confirm-panel h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.confirm-panel p {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.85;
}
.confirm-panel p b { color: #ff9a80; }
.confirm-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.confirm-actions .ghost-btn { flex: 1; padding: 12px 10px; width: auto; }
.big-btn.danger {
  background: linear-gradient(135deg, #ff5a5a, #ff8a4a);
  box-shadow:
    0 10px 30px rgba(255, 90, 90, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  flex: 1;
  padding: 12px 10px;
  font-size: 17px;
  letter-spacing: 0.08em;
  align-self: stretch;
}
.big-btn.danger:hover { background: linear-gradient(135deg, #f04e4e, #f57d3d); }

/* ──────── Toast ──────── */
.toast {
  position: fixed;
  top: 92px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  padding: 12px 24px;
  border-radius: 14px;
  background: rgba(26, 19, 64, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: min(90vw, 480px);
}
.toast .icon { width: 17px; height: 17px; flex: none; }
.toast.hidden {
  /* keep it rendered so the fade-out transition still plays */
  display: block !important;
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
}

/* ──────── Shop how-to hint ──────── */
.shop-hint {
  font-size: 12px;
  line-height: 1.45;
  opacity: 0.85;
  background: rgba(255, 213, 90, 0.08);
  border: 1px solid rgba(255, 213, 90, 0.22);
  border-radius: 12px;
  padding: 9px 14px;
  max-width: 520px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.shop-hint .icon { width: 15px; height: 15px; margin-top: 2px; color: #ffe08a; }
.shop-hint b { color: #ffe08a; }

/* ──────── Active powerup HUD chip — harder to miss ──────── */
#hud-powerup.hud-chip {
  flex-direction: row;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-color: rgba(255, 213, 90, 0.55);
  background: rgba(255, 213, 90, 0.12);
  color: #ffe08a;
  animation: powerup-pulse 1.8s ease-in-out infinite;
}
#hud-powerup.hud-chip.used {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  opacity: 0.65;
  animation: none;
}
@keyframes powerup-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25); }
  50%      { box-shadow: 0 0 16px rgba(255, 213, 90, 0.5); }
}

/* ──────── Level editor ──────── */
#editor {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  background: #141033;
}
.ed-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--c-card-border);
  flex-wrap: wrap;
}
.ed-title { font-weight: 800; font-size: 14px; letter-spacing: 0.08em; opacity: 0.9; }
.ed-spacer { flex: 1; }
.ed-btn {
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--c-card);
  border: 1px solid var(--c-card-border);
  color: var(--c-text);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.12s ease, transform 0.12s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ed-btn .icon { width: 14px; height: 14px; }
.ed-btn:hover { background: rgba(255, 255, 255, 0.16); }
.ed-btn:active { transform: scale(0.96); }
.ed-btn.primary { background: linear-gradient(135deg, #ff5fa2, #ff8a4a); border-color: transparent; }
.ed-btn.danger { background: rgba(255, 77, 109, 0.22); border-color: rgba(255, 77, 109, 0.45); }
.ed-btn-sm { padding: 5px 10px; font-size: 11px; }
.ed-body { flex: 1; display: flex; min-height: 0; }
.ed-palette {
  width: 92px;
  overflow-y: auto;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(0, 0, 0, 0.25);
  border-right: 1px solid var(--c-card-border);
}
.ed-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 7px 2px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--c-text);
  cursor: pointer;
  opacity: 0.75;
}
.ed-tool .icon { width: 21px; height: 21px; }
.ed-tool small { font-size: 9px; font-weight: 700; letter-spacing: 0.02em; }
.ed-tool:hover { opacity: 1; background: rgba(255, 255, 255, 0.07); }
.ed-tool.active {
  opacity: 1;
  background: linear-gradient(135deg, #ff5fa2, #ff8a4a);
  box-shadow: 0 4px 14px rgba(255, 95, 162, 0.35);
}
.ed-canvas-wrap { flex: 1; position: relative; min-width: 0; background: #0d0a22; }
#ed-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.ed-side {
  width: 290px;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(0, 0, 0, 0.25);
  border-left: 1px solid var(--c-card-border);
}
.ed-section {
  background: var(--c-card);
  border: 1px solid var(--c-card-border);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ed-section h3 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 2px;
}
.ed-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}
.ed-field > span:first-child { opacity: 0.75; font-weight: 600; flex: 0 0 auto; }
.ed-obj-title { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.ed-obj-title .icon { width: 14px; height: 14px; }
.ed-input {
  width: 110px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--c-card-border);
  color: var(--c-text);
  font: inherit;
  font-size: 13px;
  outline: none;
}
.ed-input:focus { border-color: #5ad2ff; }
input[type="color"].ed-input { width: 48px; height: 30px; padding: 2px; cursor: pointer; }
.ed-hint { font-size: 11px; line-height: 1.5; opacity: 0.55; }
.ed-status {
  padding: 7px 14px;
  font-size: 11.5px;
  opacity: 0.65;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid var(--c-card-border);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ════════ RESPONSIVE (kept last so queries win the cascade) ════════ */
/* Short viewports (common laptop windows): compress the menu so nothing clips */
@media (max-height: 840px) {
  #splash { padding-top: 12px; }
  .title { font-size: clamp(56px, 11vh, 110px); }
  .title-mascot { width: 118px; height: 96px; margin-bottom: -13px; }
  .title-badge { margin-top: 10px; padding: 7px 19px; font-size: 14px; }
  .tagline { margin-top: 6px; font-size: 18px; }
  /* Stats collapse into a compact row so they clear the hero vertically */
  #splash .menu-stats { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  #splash .menu-stat { flex-direction: row; align-items: baseline; gap: 6px; min-width: 0; padding: 6px 10px; }
  #splash .menu-stat b { font-size: 18px; margin-top: 0; }
}
/* Portrait / narrow screens: stack the hero brand over its actions */
@media (max-width: 720px) {
  .menu-hero {
    flex-direction: column;
    gap: 14px;
    padding: 0 16px;
  }
  /* Secondary buttons form an aligned 2×2 grid under full-width PLAY */
  .menu-hero .menu-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: min(320px, 88vw);
  }
  .menu-hero .menu-buttons .big-btn,
  .menu-hero .menu-buttons .ghost-btn { padding: 13px 14px; font-size: 16px; }
  /* Stats join the flow above the hero — nothing can overlap */
  #splash .menu-stats {
    position: static;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 2px;
  }
  .title-mascot { width: 94px; height: 77px; margin-bottom: -10px; }
  .title { font-size: clamp(47px, 8.5vh, 72px); }
  .title-badge { margin-top: 8px; padding: 6px 16px; font-size: 12px; }
  .tagline { font-size: 15px; margin-top: 4px; }
  /* Hint joins the flow on small screens so it can never overlap a button */
  #splash { padding-bottom: 24px; }
  #splash .hint {
    position: static;
    transform: none;
    margin: 14px auto 0;
    max-width: 86vw;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .fs-toggle  { width: 40px; height: 40px; border-radius: 10px; }
  .fs-toggle .icon { width: 18px; height: 18px; }
  .hud-card { padding: 6px 10px; min-width: 50px; border-radius: 10px; }
  .hud-value { font-size: 18px; }
  .hud-btn   { width: 40px; height: 40px; border-radius: 10px; }
  .hud-btn .icon { width: 18px; height: 18px; }
  .hint      { font-size: 12px; }
  .big-btn   { font-size: 17px; padding: 14px 30px; gap: 8px; }
  .big-btn .icon { width: 17px; height: 17px; }
  .ghost-btn { font-size: 15px; padding: 12px 22px; gap: 8px; }
}
