/* ============================================================
   Coffre — feuille de style (mobile-first, sombre par défaut)
   ============================================================ */

:root {
  --bg: #0b0f1a;
  --bg-soft: #121828;
  --card: #161d31;
  --card-2: #1c2542;
  --line: #26304d;
  --text: #eef2ff;
  --muted: #93a0c2;
  --accent: #6d7cff;
  --accent-2: #7c3aed;
  --green: #34d399;
  --red: #f87171;
  --orange: #fbbf24;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --radius: 18px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

:root[data-theme="light"] {
  --bg: #f4f6fc;
  --bg-soft: #ffffff;
  --card: #ffffff;
  --card-2: #f0f3fb;
  --line: #e3e8f5;
  --text: #16203a;
  --muted: #6b7699;
  --shadow: 0 10px 30px rgba(30, 45, 90, .10);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0; padding: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.hidden { display: none !important; }

/* ---------------- Écran de verrouillage ---------------- */
.lock {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 100% at 50% 0%, #1a2138 0%, var(--bg) 60%);
  padding: calc(var(--safe-top) + 20px) 22px calc(var(--safe-bottom) + 24px);
}
.lock-inner { width: 100%; max-width: 340px; text-align: center; }
.lock-logo { color: var(--accent); display: flex; justify-content: center; margin-bottom: 8px; }
.lock-title { font-size: 30px; margin: 4px 0 2px; letter-spacing: .5px; }
.lock-subtitle { color: var(--muted); margin: 0 0 26px; font-size: 15px; }
.lock-error { color: var(--red); min-height: 18px; font-size: 13px; margin: 12px 0 0; }

.pin-dots { display: flex; gap: 16px; justify-content: center; }
.pin-dots span {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid var(--muted); transition: all .15s;
}
.pin-dots span.filled { background: var(--accent); border-color: var(--accent); transform: scale(1.1); }

.keypad {
  margin-top: 30px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.keypad button {
  height: 68px; border-radius: 50%;
  font-size: 26px; font-weight: 500;
  background: var(--card); box-shadow: var(--shadow);
  transition: transform .08s, background .15s;
}
.keypad button:active { transform: scale(.93); background: var(--card-2); }
.keypad .key-ghost { background: transparent; box-shadow: none; font-size: 16px; color: var(--muted); }
.keypad.disabled { pointer-events: none; opacity: .35; filter: grayscale(1); }

/* Écran de déblocage (licence) */
.lic-id { color: var(--muted); font-size: 12px; margin: 22px 0 4px; }
.lic-device { font-size: 26px; font-weight: 800; letter-spacing: 3px; margin: 0 0 20px; color: var(--accent); }
.lic-input {
  width: 100%; padding: 14px; font-size: 15px; border-radius: 12px; text-align: center;
  background: var(--card); border: 1px solid var(--line); color: var(--text); margin-bottom: 14px;
}
.lic-input:focus { outline: none; border-color: var(--accent); }
#licence-gate .btn { max-width: 340px; }
.shake { animation: shake .4s; }
@keyframes shake {
  0%,100%{transform:translateX(0)} 20%{transform:translateX(-9px)}
  40%{transform:translateX(9px)} 60%{transform:translateX(-6px)} 80%{transform:translateX(6px)}
}

/* ---------------- Coquille appli ---------------- */
.app { min-height: 100%; display: flex; flex-direction: column; }
.view {
  flex: 1;
  padding: calc(var(--safe-top) + 18px) 16px calc(88px + var(--safe-bottom));
  max-width: 560px; width: 100%; margin: 0 auto;
  animation: fade .28s ease;
}
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.page-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.page-title { font-size: 24px; font-weight: 700; margin: 0; }
.page-sub { color: var(--muted); font-size: 13px; margin: 2px 0 0; }

/* Cartes */
.card {
  background: var(--card); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.card + .card { margin-top: 14px; }

/* Carte solde principale */
.hero {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff; border: none;
  border-radius: 22px; padding: 22px; box-shadow: 0 14px 34px rgba(109,124,255,.35);
}
.hero-label { font-size: 13px; opacity: .85; margin: 0; }
.hero-amount { font-size: 38px; font-weight: 800; margin: 6px 0 2px; letter-spacing: -1px; }
.hero-row { display: flex; gap: 18px; margin-top: 16px; }
.hero-stat { flex: 1; }
.hero-stat .l { font-size: 12px; opacity: .85; margin: 0; }
.hero-stat .v { font-size: 17px; font-weight: 700; margin: 3px 0 0; }

/* Bloc "reste à vivre" */
.safe {
  display: flex; align-items: center; gap: 14px; margin-top: 14px;
}
.safe .big { font-size: 26px; font-weight: 800; }
.safe .lbl { color: var(--muted); font-size: 13px; }

/* Insights */
.insight { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; }
.insight + .insight { border-top: 1px solid var(--line); }
.insight .emo { font-size: 20px; line-height: 1.3; }
.insight .txt { font-size: 14px; line-height: 1.45; }
.insight .txt b { font-weight: 700; }

.section-title { font-size: 15px; font-weight: 700; margin: 22px 0 10px; color: var(--text); }
.muted { color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 40px 16px; font-size: 14px; }
.empty .big-emo { font-size: 40px; display: block; margin-bottom: 10px; }

/* Liste d'opérations */
.tx-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; margin-bottom: 10px;
}
.tx-ico {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  background: var(--card-2);
}
.tx-main { flex: 1; min-width: 0; }
.tx-cat { font-weight: 600; font-size: 15px; }
.tx-note { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-amt { font-weight: 700; font-size: 15px; white-space: nowrap; }
.tx-amt.exp { color: var(--red); }
.tx-amt.inc { color: var(--green); }
.tx-date-group { color: var(--muted); font-size: 12px; font-weight: 600; margin: 16px 0 8px; text-transform: capitalize; }

/* Budgets */
.budget-item { margin-bottom: 16px; }
.budget-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.budget-name { font-weight: 600; font-size: 15px; }
.budget-val { font-size: 13px; color: var(--muted); }
.bar { height: 10px; border-radius: 6px; background: var(--card-2); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 6px; transition: width .5s ease; }
.bar-ok > i { background: var(--green); }
.bar-warn > i { background: var(--orange); }
.bar-over > i { background: var(--red); }

/* Donut */
.chart-wrap { display: flex; align-items: center; gap: 18px; }
.donut { flex: 0 0 auto; }
.legend { flex: 1; min-width: 0; }
.legend-row { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 5px 0; }
.legend-dot { width: 10px; height: 10px; border-radius: 3px; flex: 0 0 auto; }
.legend-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.legend-val { color: var(--muted); }

/* Mini barres mensuelles */
.months { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding-top: 8px; }
.month-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; padding: 0; background: none; border: none; cursor: pointer; }
.month-bar { width: 100%; max-width: 34px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); min-height: 4px; opacity: .45; transition: height .5s, opacity .2s; }
.month-col:active .month-bar { transform: scaleY(.98); }
.month-col.sel .month-bar { opacity: 1; box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent); }
.month-lbl { font-size: 11px; color: var(--muted); transition: color .2s; }
.month-col.sel .month-lbl { color: var(--accent); font-weight: 700; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 15px 18px; border-radius: 14px; font-size: 16px; font-weight: 700;
  background: var(--accent); color: #fff; transition: transform .08s, opacity .15s;
}
.btn:active { transform: scale(.98); }
.btn-2 { background: var(--card-2); color: var(--text); border: 1px solid var(--line); }
.btn-danger { background: transparent; color: var(--red); border: 1px solid var(--red); }
.btn-row { display: flex; gap: 10px; }
.btn-row .btn { width: auto; flex: 1; }

/* Réglages : lignes */
.set-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 0; border-bottom: 1px solid var(--line); gap: 12px;
}
.set-row:last-child { border-bottom: none; }
.set-label { font-size: 15px; }
.set-desc { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Interrupteur */
.switch { position: relative; width: 50px; height: 30px; flex: 0 0 auto; }
.switch input { display: none; }
.switch .track { position: absolute; inset: 0; background: var(--card-2); border: 1px solid var(--line); border-radius: 999px; transition: .2s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: .2s; }
.switch input:checked + .track { background: var(--accent); border-color: var(--accent); }
.switch input:checked + .track::after { transform: translateX(20px); }

/* ---------------- Barre d'onglets ---------------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-around;
  background: color-mix(in srgb, var(--bg-soft) 92%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 8px 6px calc(8px + var(--safe-bottom));
}
.tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--muted); font-size: 11px; padding: 4px 0; transition: color .15s;
}
.tab .tab-ico { font-size: 20px; filter: grayscale(.4); transition: transform .12s; }
.tab.active { color: var(--accent); }
.tab.active .tab-ico { filter: none; transform: translateY(-1px) scale(1.08); }
.tab-add { flex: 0 0 auto; }
.tab-add-btn {
  width: 54px; height: 54px; border-radius: 50%; margin-top: -22px;
  display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 20px rgba(109,124,255,.5);
}
.tab-add:active .tab-add-btn { transform: scale(.93); }

/* ---------------- Liste noire (abonnements) ---------------- */
.abo-card { padding: 12px 14px; }
.abo-top { display: flex; align-items: center; gap: 10px; }
.abo-name { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.abo-name-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.abo-badge { flex-shrink: 0; }
.abo-cost { font-weight: 800; font-size: 16px; color: var(--red); }
.abo-badge { font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 10px; vertical-align: middle; margin-left: 4px; }
.abo-badge.on { background: color-mix(in srgb, var(--green) 22%, transparent); color: var(--green); }
.abo-badge.off { background: var(--card-2); color: var(--muted); }
.abo-badge.man { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent); }
.r-select { width: 100%; padding: 12px; border-radius: 12px; background: var(--card-2);
  color: var(--text); border: 1px solid var(--line); font-size: 15px; font-family: inherit; }
.abo-actions { display: flex; gap: 8px; margin-top: 12px; }
.abo-btn { flex: 1; padding: 10px 8px; font-size: 13px; margin: 0; }
.linkbtn { color: var(--accent); font-size: 12px; font-weight: 600; padding: 4px 6px; }
.resil-area { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--card-2);
  color: var(--text); padding: 12px; font-size: 13px; line-height: 1.5; resize: vertical; font-family: inherit; }
.ver-pill { flex-shrink: 0; font-size: 12px; font-weight: 700; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 15%, transparent); padding: 5px 12px; border-radius: 20px; }

/* ---------------- Grille de choix d'icône ---------------- */
.icon-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.icon-chip { width: 42px; height: 42px; border-radius: 12px; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--card-2); border: 1px solid var(--line); transition: transform .1s, border-color .12s; }
.icon-chip.auto { width: auto; padding: 0 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.icon-chip.sel { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, transparent); }
.icon-chip:active { transform: scale(.9); }

/* ---------------- Icônes 3D (Fluent, embarquées) ---------------- */
.ic3d { width: 1.25em; height: 1.25em; object-fit: contain; vertical-align: -0.3em; }
.tx-ico .ic3d { width: 30px; height: 30px; }
.cat-chip .e .ic3d { width: 28px; height: 28px; vertical-align: 0; }
.icon-chip .ic3d { width: 30px; height: 30px; vertical-align: 0; }
.legend-name .ic3d, .budget-name .ic3d { width: 20px; height: 20px; }

/* ---------------- Feuille modale ---------------- */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 30; animation: fade .2s; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 31;
  background: var(--bg-soft); border-radius: 22px 22px 0 0;
  padding: 10px 18px calc(24px + var(--safe-bottom));
  max-width: 560px; margin: 0 auto; box-shadow: 0 -10px 40px rgba(0,0,0,.4);
  max-height: 92vh; overflow-y: auto;
  animation: slideup .28s cubic-bezier(.2,.8,.2,1);
}
@keyframes slideup { from { transform: translateY(100%); } to { transform: none; } }
.sheet-grip { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 6px auto 14px; }
.sheet h2 { font-size: 19px; margin: 0 0 16px; }

/* Segmented (dépense / revenu) */
.seg { display: flex; background: var(--card-2); border-radius: 12px; padding: 4px; margin-bottom: 18px; }
.seg button { flex: 1; padding: 10px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--muted); transition: .15s; }
.seg button.on-exp { background: var(--red); color: #fff; }
.seg button.on-inc { background: var(--green); color: #071b12; }

/* Champs */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; }
.field input, .field select {
  width: 100%; padding: 14px; font-size: 16px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--line); color: var(--text);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); }
.amount-input { font-size: 30px !important; font-weight: 800; text-align: center; }

/* Grille de catégories */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cat-chip {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 4px; border-radius: 12px; background: var(--card); border: 1px solid var(--line);
  font-size: 11px; color: var(--muted); transition: .12s;
}
.cat-chip .e { font-size: 22px; }
.cat-chip.sel { border-color: var(--accent); color: var(--text); background: var(--card-2); }

/* Filtres de l'onglet Opérations */
.filters { margin-bottom: 8px; }
.flt-search {
  width: 100%; padding: 12px 14px; font-size: 15px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--line); color: var(--text); margin-bottom: 10px;
}
.flt-search:focus { outline: none; border-color: var(--accent); }
.flt-seg { margin-bottom: 10px; }
.seg button.on-all { background: var(--accent); color: #fff; }
.flt-row { display: flex; gap: 8px; }
.flt-row select {
  flex: 1; min-width: 0; padding: 11px; font-size: 14px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--line); color: var(--text);
}
.flt-row select:focus { outline: none; border-color: var(--accent); }
.filter-sum { color: var(--muted); font-size: 12px; font-weight: 600; margin: 4px 2px 10px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(96px + var(--safe-bottom)); transform: translateX(-50%);
  background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 12px;
  font-size: 14px; font-weight: 600; z-index: 60; box-shadow: var(--shadow);
  animation: toastin .25s;
}
@keyframes toastin { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* Bandeau installation */
.install-banner {
  display: flex; align-items: center; gap: 12px;
  background: var(--card-2); border: 1px solid var(--accent); border-radius: 14px;
  padding: 12px 14px; margin-bottom: 16px;
}
.install-banner .txt { flex: 1; font-size: 13px; }
.install-banner button { padding: 8px 14px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; }

/* ============================================================
   DESIGN NÉON / VERRE DÉPOLI (v22)
   Bloc ajouté en fin de fichier : il surcharge les règles ci-dessus.
   Pour revenir au design classique, il suffit de supprimer ce bloc.
   ============================================================ */
:root {
  --bg: #05060e;
  --bg-soft: #0a0d1c;
  --card: rgba(255, 255, 255, .05);
  --card-2: rgba(255, 255, 255, .09);
  --line: rgba(255, 255, 255, .11);
  --text: #eaf0ff;
  --muted: #98a4c8;
  --accent: #8b7bff;      /* violet néon */
  --accent-2: #22d3ee;    /* cyan néon */
  --green: #34e5b0;
  --red: #ff6b81;
  --orange: #ffc04d;
  --glow: 0 0 24px rgba(139, 123, 255, .45);
  --radius: 20px;
}
:root[data-theme="light"] {
  --bg: #eef1fb;
  --bg-soft: #ffffff;
  --card: rgba(255, 255, 255, .70);
  --card-2: rgba(20, 30, 70, .06);
  --line: rgba(20, 30, 70, .12);
  --text: #141c33;
  --muted: #5f6a8c;
}

/* Fond nuit avec halos néon, fixés derrière tout le contenu translucide */
body {
  background:
    radial-gradient(85% 55% at 12% -5%, rgba(139, 123, 255, .22), transparent 60%),
    radial-gradient(75% 50% at 105% 108%, rgba(34, 211, 238, .16), transparent 55%),
    var(--bg);
  background-attachment: fixed;
}
:root[data-theme="light"] body {
  background:
    radial-gradient(85% 55% at 12% -5%, rgba(139, 123, 255, .16), transparent 60%),
    radial-gradient(75% 50% at 105% 108%, rgba(34, 211, 238, .14), transparent 55%),
    var(--bg);
  background-attachment: fixed;
}

/* Surfaces en verre dépoli (flou d'arrière-plan) */
.card, .tx-item, .sheet, .flt-search, .field input, .field select, .r-select,
.resil-area, .amount-input, .seg, .keypad button {
  background: var(--card);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--line);
}
.card, .tx-item {
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.tx-item { transition: transform .12s, border-color .15s; }
.tx-item:active { transform: scale(.99); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.tx-ico {
  background: linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .08);
}

/* Halo néon sur le solde principal et les blocs accentués */
.hero {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 16px 44px rgba(139, 123, 255, .45), 0 0 0 1px rgba(255, 255, 255, .08) inset;
}

/* Boutons : dégradé lumineux + halo */
.btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 22px rgba(139, 123, 255, .40);
}
.btn-2 {
  background: var(--card-2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: none;
}
.btn-danger { background: transparent; box-shadow: none; }

/* Barre d'onglets : verre dépoli + liseré néon */
.tabbar {
  background: color-mix(in srgb, var(--bg-soft) 78%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  border-top: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 -1px 0 rgba(139, 123, 255, .25);
}
.tab.active { color: var(--accent); text-shadow: 0 0 14px rgba(139, 123, 255, .7); }
.tab-add-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 26px rgba(139, 123, 255, .7), 0 0 0 5px rgba(139, 123, 255, .12);
}

/* États sélectionnés lumineux */
.cat-chip, .icon-chip { background: var(--card); }
.cat-chip.sel, .icon-chip.sel {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  box-shadow: var(--glow);
}
.pin-dots span.filled { box-shadow: var(--glow); }
.field input:focus, .field select:focus, .flt-search:focus,
.lic-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(139, 123, 255, .22); }

/* Barres de budget et donut : néon */
.bar { background: rgba(255, 255, 255, .07); }
.bar-ok > i { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.month-bar { box-shadow: 0 0 12px rgba(139, 123, 255, .3); }

/* Écran de verrouillage : halo cohérent */
.lock {
  background:
    radial-gradient(90% 60% at 50% -10%, rgba(139, 123, 255, .28), transparent 60%),
    radial-gradient(70% 50% at 100% 110%, rgba(34, 211, 238, .16), transparent 55%),
    var(--bg);
}
.lock-logo { filter: drop-shadow(0 8px 22px rgba(139, 123, 255, .55)); margin-bottom: 14px; }
.lock-app-icon { border-radius: 22px; display: block; }
.keypad button:active { box-shadow: var(--glow); }
