/* ══════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════ */
:root {
  --theme-color: #6fa8dc; /* défaut Bibi — écrasé par JS */
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Nunito', Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
  width: 100%;
}

body {
  background: #fdf6f0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

#app-shell {
  width: 100%;
  min-height: 100vh;
  background: #fdf6f0;
  display: flex;
  flex-direction: column;
  position: relative;
}

#appContent {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(52px, calc(env(safe-area-inset-top) + 18px)) clamp(20px, 3vw, 48px) clamp(16px, 2vw, 28px);
  background: linear-gradient(160deg, var(--theme-color), var(--theme-color));
  border-radius: 0 0 28px 28px;
  box-shadow: 0 4px 18px rgba(255,100,80,0.25);
  flex-shrink: 0;
}

.header-spacer { width: 44px; }

.title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: white;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.settings-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
  flex-shrink: 0;
}
.settings-btn:active {
  transform: scale(0.9);
  background: rgba(255,255,255,0.4);
}
.settings-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* ══════════════════════════════════════════
   BOTTOM NAV
══════════════════════════════════════════ */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(72px + env(safe-area-inset-bottom, 0px));
  background: white;
  border-top: 1px solid #f0ece8;
  display: flex;
  z-index: 50;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}

.nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: none;
  background: none;
  cursor: pointer;
  color: #ccc;
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 700;
  transition: color 0.2s;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.nav-btn svg { width: clamp(22px, 2vw, 32px); height: clamp(22px, 2vw, 32px); }
.nav-btn.active { color: var(--theme-color); }

/* ══════════════════════════════════════════
   CARDS & ACCUEIL
══════════════════════════════════════════ */
.welcome-text {
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 600;
  color: #aaa;
  margin-top: 14px;
  text-align: center;
}
.welcome-text strong { color: var(--theme-color); font-weight: 800; }

.card {
  width: calc(100% - clamp(24px, 4vw, 64px) * 2);
  margin-top: clamp(16px, 2vw, 32px);
  background: white;
  border-radius: clamp(20px, 2vw, 32px);
  padding: clamp(20px, 2.5vw, 40px) clamp(16px, 2vw, 36px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.card-label {
  font-size: clamp(12px, 1.5vw, 16px);
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-align: center;
  margin-bottom: 18px;
}

/* ══════════════════════════════════════════
   CIRCLE PROGRESS
══════════════════════════════════════════ */
.circle-wrap {
  position: relative;
  width: clamp(140px, 20vw, 280px);
  height: clamp(140px, 20vw, 280px);
  margin: 0 auto 20px;
}

.circle-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.circle-bg {
  fill: none;
  stroke: #f0ece8;
  stroke-width: 10;
}

.circle-progress {
  fill: none;
  stroke: var(--theme-color);
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.4,0,0.2,1);
}

.circle-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.circle-value {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 900;
  color: #333;
  line-height: 1;
}

.circle-unit {
  font-size: clamp(13px, 1.5vw, 20px);
  font-weight: 600;
  color: #bbb;
  margin-top: 4px;
}

/* ══════════════════════════════════════════
   REMAINING TEXT
══════════════════════════════════════════ */
.remaining {
  text-align: center;
  font-size: clamp(14px, 1.4vw, 20px);
  font-weight: 700;
  color: var(--theme-color);
  background: color-mix(in srgb, var(--theme-color) 6%, white);
  border-radius: 12px;
  padding: 10px 16px;
  line-height: 1.4;
  width: 100%;
}

.remaining.success {
  color: #00c853;
  background: #f0fff6;
}

.fibre-advice {
  text-align: center;
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 600;
  color: #999;
  line-height: 1.5;
  margin-top: 10px;
  padding: 0 4px;
  font-style: italic;
}

/* ══════════════════════════════════════════
   RECHERCHE & FILTRES CATÉGORIES
══════════════════════════════════════════ */
.search-wrap {
  display: flex;
  align-items: center;
  background: #fdf6f0;
  border: 2px solid #f0ece8;
  border-radius: 14px;
  padding: 10px 14px;
  gap: 8px;
  margin-bottom: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-wrap:focus-within {
  border-color: var(--theme-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--theme-color) calc(0.1 * 100), transparent);
}
.search-icon { font-size: 16px; flex-shrink: 0; }
.search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 700;
  color: #333;
  outline: none;
  font-family: 'Nunito', Arial, sans-serif;
}
.search-input::placeholder { color: #ccc; font-weight: 600; }

.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}
.cat-btn {
  padding: 5px 13px;
  border-radius: 20px;
  border: 1.5px solid #f0ece8;
  background: #fdf6f0;
  color: #aaa;
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 800;
  cursor: pointer;
  font-family: 'Nunito', Arial, sans-serif;
  transition: all 0.15s;
  white-space: nowrap;
}
.cat-btn:hover {
  border-color: color-mix(in srgb, var(--theme-color) 25%, white);
  color: var(--theme-color);
  background: color-mix(in srgb, var(--theme-color) 6%, white);
}
.cat-btn.active {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: white;
  box-shadow: 0 3px 10px rgba(255,100,80,0.25);
}
.cat-btn:active { transform: scale(0.96); }

/* ══════════════════════════════════════════
   PRODUCT LIST
══════════════════════════════════════════ */
.food-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.food-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff5f2;
  border: 1.5px solid color-mix(in srgb, var(--theme-color) 25%, white);
  color: #333;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: clamp(14px, 1.4vw, 20px);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  user-select: none;
}
.food-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255,100,80,0.15);
  background: color-mix(in srgb, var(--theme-color) 15%, white);
}
.food-item:active { transform: scale(0.97); }

.food-item .item-name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.food-item .fibre-badge {
  background: var(--theme-color);
  color: white;
  font-size: clamp(13px, 1.5vw, 20px);
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}

.item-portion {
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 700;
  color: var(--theme-color);
  background: color-mix(in srgb, var(--theme-color) 8%, white);
  border: 1.5px solid color-mix(in srgb, var(--theme-color) 25%, white);
  border-radius: 8px;
  padding: 2px 7px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.item-portion:hover {
  background: color-mix(in srgb, var(--theme-color) 25%, white);
  transform: scale(1.04);
}
.item-portion:active { transform: scale(0.97); }

.item-grams-input {
  width: 52px;
  border: none;
  border-bottom: 2px solid var(--theme-color);
  background: transparent;
  color: var(--theme-color);
  font-size: inherit;
  font-weight: 800;
  font-family: 'Nunito', Arial, sans-serif;
  text-align: center;
  outline: none;
  padding: 0 2px;
  -moz-appearance: textfield;
}
.item-grams-input::-webkit-outer-spin-button,
.item-grams-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ══════════════════════════════════════════
   SCANNER
══════════════════════════════════════════ */
.scanner-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: clamp(10px, 1.5vw, 24px) clamp(12px, 2vw, 40px) clamp(16px, 2vw, 32px);
}

.scanner-top-hint {
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 700;
  color: var(--theme-color);
  background: color-mix(in srgb, var(--theme-color) 6%, white);
  border: 1.5px solid color-mix(in srgb, var(--theme-color) 25%, white);
  border-radius: 14px;
  padding: 10px 18px;
  text-align: center;
  width: 100%;
  line-height: 1.4;
}

#my-qr-reader {
  position: relative;
  width: min(calc(100dvh - 320px), calc(100% - 64px));
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  background: #1a0f0f;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--theme-color) calc(0.2 * 100), transparent),
    0 20px 50px rgba(255,80,60,0.2),
    0 8px 20px rgba(0,0,0,0.25);
}

#my-qr-reader::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--theme-color) calc(0.15 * 100), transparent) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(255,160,100,0.1) 0%, transparent 60%);
  z-index: 2;
  pointer-events: none;
}

#my-qr-reader::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--theme-color) 3px, transparent 3px) 20px 20px / 36px 3px no-repeat,
    linear-gradient(to bottom, var(--theme-color) 3px, transparent 3px) 20px 20px / 3px 36px no-repeat,
    linear-gradient(to left, var(--theme-color) 3px, transparent 3px) calc(100% - 20px) 20px / 36px 3px no-repeat,
    linear-gradient(to bottom, var(--theme-color) 3px, transparent 3px) calc(100% - 22px) 20px / 3px 36px no-repeat,
    linear-gradient(to right, var(--theme-color) 3px, transparent 3px) 20px calc(100% - 20px) / 36px 3px no-repeat,
    linear-gradient(to top, var(--theme-color) 3px, transparent 3px) 20px calc(100% - 55px) / 3px 36px no-repeat,
    linear-gradient(to left, var(--theme-color) 3px, transparent 3px) calc(100% - 20px) calc(100% - 20px) / 36px 3px no-repeat,
    linear-gradient(to top, var(--theme-color) 3px, transparent 3px) calc(100% - 22px) calc(100% - 55px) / 3px 36px no-repeat;
}

#my-qr-reader video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.scan-btn {
  width: 100%;
  padding: 17px;
  background: linear-gradient(135deg, var(--theme-color), var(--theme-color));
  color: white;
  border: none;
  border-radius: 20px;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 900;
  font-family: 'Nunito', Arial, sans-serif;
  cursor: pointer;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 20px rgba(255,100,80,0.35);
  transition: transform 0.15s, opacity 0.15s, box-shadow 0.15s;
}
.scan-btn:active {
  transform: scale(0.97);
  opacity: 0.9;
  box-shadow: 0 3px 10px rgba(255,100,80,0.25);
}
.scan-btn:disabled {
  background: #ddd;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.6;
}

.scanner-hint-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: white;
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.scanner-hint-bar .pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--theme-color);
  animation: pulseDot 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0.5; }
}
.scanner-hint-bar span {
  font-size: clamp(13px, 3vw, 15px);
  font-weight: 700;
  color: #888;
}

.scanner-result {
  width: 100%;
  background: white;
  border-radius: 24px;
  padding: 32px 24px 24px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
  animation: slideUp 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.scanner-result-icon {
  font-size: clamp(44px, 10vw, 56px);
  margin-bottom: 12px;
  display: block;
  animation: bounceIn 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes bounceIn {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.scanner-result-label {
  font-size: 11px;
  font-weight: 800;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}

.scanner-result-value {
  font-size: clamp(15px, 1.4vw, 22px);
  font-weight: 800;
  color: #333;
  word-break: break-all;
  line-height: 1.6;
  background: #fff8f6;
  border: 1.5px solid color-mix(in srgb, var(--theme-color) 25%, white);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 4px;
}

.scanner-error {
  width: 100%;
  background: white;
  border-radius: 24px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.scanner-error p {
  font-size: clamp(14px, 3.5vw, 17px);
  font-weight: 700;
  color: #e53935;
}

/* ══════════════════════════════════════════
   POPUP
══════════════════════════════════════════ */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  backdrop-filter: blur(4px);
}
.popup.show { display: flex; }

.popup-content {
  background: white;
  padding: 30px 24px 24px;
  border-radius: 24px;
  text-align: center;
  width: 88%;
  max-width: clamp(320px, 40vw, 560px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: popupAnim 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes popupAnim {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.popup-icon { font-size: 40px; margin-bottom: 12px; }

#popupText {
  font-size: clamp(15px, 1.4vw, 22px);
  font-weight: 700;
  color: #333;
  line-height: 1.5;
}

.popup-buttons {
  margin-top: 22px;
  display: flex;
  gap: 12px;
}
.popup-buttons button {
  flex: 1;
  padding: 13px 0;
  border: none;
  border-radius: 14px;
  font-size: clamp(14px, 3.5vw, 17px);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}
.popup-buttons button:active { transform: scale(0.96); opacity: 0.85; }
#confirmYes { background: var(--theme-color); color: white; }
#confirmNo  { background: #f0ece8; color: #888; }

/* ══════════════════════════════════════════
   ONBOARDING & MODALS AUTH (Mise à jour esthétique !)
══════════════════════════════════════════ */
.onboarding {
  position: fixed;
  inset: 0;
  background: linear-gradient(160deg, var(--theme-color), var(--theme-color));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 24px 20px;
  overflow-y: auto;
}
.onboarding.hidden { display: none; }

.onboarding-step {
  background: white;
  border-radius: 28px;
  padding: clamp(28px, 5vw, 44px) clamp(24px, 4vw, 40px);
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: popupAnim 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

.onboarding-emoji {
  font-size: 52px;
  margin-bottom: 12px;
  display: block;
}

.onboarding-step h2 {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 900;
  color: #333;
  margin-bottom: 10px;
}

.onboarding-step p {
  font-size: clamp(13px, 3.5vw, 16px);
  color: #888;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 20px;
}

.ob-field {
  text-align: left;
  margin-bottom: 6px;
}

.ob-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 6px;
}

.ob-input {
  width: 100%;
  background: #fdf6f0;
  border: 2px solid #f0ece8;
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #333;
  outline: none;
  font-family: 'Nunito', Arial, sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ob-input:focus {
  border-color: var(--theme-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--theme-color) calc(0.1 * 100), transparent);
}

.ob-error {
  font-size: 12px;
  font-weight: 700;
  color: #e53935;
  min-height: 16px;
  margin-top: 6px;
  text-align: left;
}

/* --- BOUTONS AUTHENTIFICATION & ONBOARDING (Modernisés) --- */
.onboarding-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--theme-color), color-mix(in srgb, var(--theme-color) 80%, black));
  color: white;
  border: none;
  border-radius: 18px; /* Plus arrondis */
  font-size: clamp(15px, 3.5vw, 18px);
  font-weight: 900; /* Plus gras */
  cursor: pointer;
  font-family: 'Nunito', Arial, sans-serif;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--theme-color) 40%, transparent); /* Ombre colorée douce */
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.onboarding-btn:active  { 
  transform: scale(0.96) translateY(2px); 
  box-shadow: 0 4px 12px color-mix(in srgb, var(--theme-color) 30%, transparent); 
}
.onboarding-btn:disabled { 
  opacity: 0.5; 
  cursor: not-allowed; 
  transform: none; 
  box-shadow: none;
}

.ob-spinner {
  width: 36px;
  height: 36px;
  border: 4px solid #f0ece8;
  border-top-color: var(--theme-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 16px auto 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

.ob-recover-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
  backdrop-filter: blur(4px);
}

.ob-recover-inner {
  background: white;
  border-radius: 28px;
  padding: 32px 24px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: popupAnim 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

/* --- ONGLETS AUTHENTIFICATION (Pilule moderne) --- */
.ob-recover-tabs {
  display: flex;
  gap: 8px;
  margin: 10px 0 24px;
  background: #f4f0ec; /* Fond de la pilule global */
  padding: 6px;
  border-radius: 16px;
}
.ob-tab {
  flex: 1;
  padding: 12px 10px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: #aaa;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.ob-tab:hover {
  color: #888;
}
.ob-tab.active {
  background: white;
  color: var(--theme-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* ══════════════════════════════════════════
   BANNIÈRE PWA
══════════════════════════════════════════ */
.install-banner {
  position: fixed;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 700px;
  background: white;
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 200;
  transition: bottom 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.install-banner.show { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }

.install-banner-left { display: flex; align-items: center; gap: 12px; }

.install-banner-icon {
  width: 48px;
  height: 48px;
  background: #fff5f2;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.install-banner-text { display: flex; flex-direction: column; }
.install-banner-text strong { font-size: 15px; font-weight: 800; color: #333; }
.install-banner-text span   { font-size: 13px; color: #aaa; font-weight: 600; }

.install-banner-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

#installBtn {
  background: var(--theme-color);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  font-family: 'Nunito', Arial, sans-serif;
  transition: transform 0.15s, opacity 0.15s;
}
#installBtn:active { transform: scale(0.95); opacity: 0.85; }

#installClose {
  background: #f0ece8;
  color: #999;
  border: none;
  border-radius: 10px;
  width: 32px;
  height: 32px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', Arial, sans-serif;
  transition: background 0.15s;
}
#installClose:hover { background: #e0dbd5; }