:root {
  --bg: #150b1a;
  --bg2: #1f0f24;
  --card: rgba(255, 255, 255, 0.04);
  --card-brd: rgba(255, 255, 255, 0.08);
  --ink: #f4ecf5;
  --muted: #b69cc0;
  --lui: #5b8def;
  --lui-soft: rgba(91, 141, 239, 0.18);
  --elle: #ff6ea9;
  --elle-soft: rgba(255, 110, 169, 0.18);
  --duo: #f6c177;
  --duo-soft: rgba(246, 193, 119, 0.18);
  --gold: #f6c177;
  --danger: #ff5d6c;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 80% -10%, #3a1430 0%, transparent 55%),
    radial-gradient(900px 600px at 0% 110%, #2a1040 0%, transparent 50%),
    linear-gradient(160deg, var(--bg), var(--bg2));
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
h1, h2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; margin: 0; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 0.8rem; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ---------- Verrou ---------- */
.lock {
  position: fixed; inset: 0; display: grid; place-items: center; padding: 24px;
  z-index: 50;
}
.lock-card {
  width: min(380px, 100%); text-align: center;
  background: var(--card); border: 1px solid var(--card-brd);
  border-radius: 28px; padding: 40px 28px 32px; backdrop-filter: blur(14px);
  box-shadow: var(--shadow); animation: rise 0.7s cubic-bezier(.2,.8,.2,1);
}
.lock-orb {
  width: 104px; height: 104px; margin: 0 auto 18px; border-radius: 50%; display: block;
  box-shadow: 0 0 50px rgba(224, 138, 82, 0.45);
  animation: pulse 3.5s ease-in-out infinite;
}
.brand-logo { width: 40px; height: 40px; border-radius: 50%; filter: drop-shadow(0 4px 10px rgba(224,138,82,.5)); }
.lock-title { font-size: 2rem; letter-spacing: -0.5px; }
.lock-sub { color: var(--muted); margin: 4px 0 26px; letter-spacing: 2px; text-transform: uppercase; font-size: 0.72rem; }
#lock-form { display: flex; flex-direction: column; gap: 12px; }
#lock-input {
  background: rgba(0,0,0,0.25); border: 1px solid var(--card-brd); color: var(--ink);
  padding: 14px 16px; border-radius: 14px; font-size: 1rem; text-align: center; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
#lock-input:focus { border-color: var(--elle); box-shadow: 0 0 0 3px var(--elle-soft); }
.lock-error { color: var(--danger); min-height: 18px; font-size: 0.85rem; margin: 12px 0 0; }

/* ---------- Boutons ---------- */
.btn-primary {
  background: linear-gradient(135deg, #ff6ea9, #b15bf0);
  color: #fff; font-weight: 700; padding: 14px 18px; border-radius: 14px; font-size: 1rem;
  box-shadow: 0 10px 24px rgba(177, 91, 240, 0.35); transition: transform .12s, filter .2s;
}
.btn-primary:active { transform: scale(0.97); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost {
  background: var(--card); color: var(--ink); border: 1px solid var(--card-brd);
  padding: 12px 16px; border-radius: 14px; font-weight: 600; transition: background .2s, transform .12s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.09); }
.btn-ghost:active { transform: scale(0.97); }
.btn-danger {
  background: rgba(255, 93, 108, 0.12); color: var(--danger); border: 1px solid rgba(255,93,108,0.35);
  padding: 12px 16px; border-radius: 14px; font-weight: 600;
}
.full { width: 100%; }

/* ---------- Topbar ---------- */
.app { max-width: 860px; margin: 0 auto; padding: 0 16px calc(120px + var(--safe-b)); animation: fade .5s; }
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px 12px;
  background: linear-gradient(180deg, rgba(21,11,26,0.95) 60%, rgba(21,11,26,0));
  backdrop-filter: blur(6px);
}
.topbar-title { display: flex; align-items: center; gap: 12px; }
.dot-heart { font-size: 1.6rem; filter: drop-shadow(0 4px 10px rgba(255,110,169,.5)); }
.topbar-title h1 { font-size: 1.35rem; line-height: 1; }
.topbar-actions { display: flex; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; background: var(--card); border: 1px solid var(--card-brd);
  font-size: 1.05rem; display: grid; place-items: center; color: var(--ink); transition: transform .12s, background .2s;
}
.icon-btn:hover { background: rgba(255,255,255,0.09); }
.icon-btn:active { transform: scale(0.9); }

/* ---------- Onglets ---------- */
.viewtabs {
  position: relative; display: flex; gap: 4px; background: var(--card); border: 1px solid var(--card-brd);
  border-radius: 14px; padding: 4px; margin: 4px 0 14px; width: max-content;
}
.tab {
  position: relative; z-index: 2; background: transparent; color: var(--muted);
  padding: 8px 22px; border-radius: 10px; font-weight: 600; transition: color .25s;
}
.tab.active { color: #fff; }
.tab-glider {
  position: absolute; z-index: 1; top: 4px; bottom: 4px; left: 4px; width: 88px;
  background: linear-gradient(135deg, #ff6ea9, #b15bf0); border-radius: 10px;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), width .3s;
}

/* ---------- Légende ---------- */
.legend { display: flex; gap: 16px; margin-bottom: 14px; font-size: 0.82rem; color: var(--muted); }
.legend-item { display: flex; align-items: center; gap: 6px; }
.swatch { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.sw-lui { background: var(--lui); }
.sw-elle { background: var(--elle); }
.sw-duo { background: linear-gradient(135deg, var(--duo), var(--elle)); }

/* ---------- Vue année ---------- */
.year-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.month-card {
  background: var(--card); border: 1px solid var(--card-brd); border-radius: var(--radius);
  padding: 14px; animation: rise .5s both; transition: transform .2s, border-color .2s;
}
.month-card:hover { transform: translateY(-3px); border-color: rgba(255,110,169,0.3); }
.month-card h3 {
  margin: 0 0 10px; font-family: "Fraunces", serif; font-weight: 600; font-size: 1.05rem;
  text-transform: capitalize; display: flex; justify-content: space-between; align-items: baseline;
}
.month-card h3 .cnt { font-family: "Manrope"; font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.mini-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.mini-dow { font-size: 0.6rem; color: var(--muted); text-align: center; padding-bottom: 2px; }
.mini-cell {
  aspect-ratio: 1; border-radius: 7px; font-size: 0.66rem; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  position: relative; transition: background .15s, transform .12s;
}
.mini-cell.has { color: var(--ink); cursor: pointer; background: rgba(255,255,255,0.05); }
.mini-cell.has:hover { background: rgba(255,255,255,0.12); transform: scale(1.08); }
.mini-cell.today { box-shadow: inset 0 0 0 1.5px var(--gold); }
.mini-dots { display: flex; gap: 2px; height: 5px; }
.mini-dots i { width: 5px; height: 5px; border-radius: 50%; }

/* ---------- Vue mois ---------- */
.month-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.month-nav h2 { font-size: 1.5rem; text-transform: capitalize; }
.month-nav button { background: var(--card); border: 1px solid var(--card-brd); color: var(--ink);
  width: 40px; height: 40px; border-radius: 12px; font-size: 1.1rem; transition: transform .12s, background .2s; }
.month-nav button:active { transform: scale(0.9); }
.month-nav button:hover { background: rgba(255,255,255,0.09); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { text-align: center; font-size: 0.72rem; color: var(--muted); padding-bottom: 4px; text-transform: uppercase; letter-spacing: .5px; }
.cal-cell {
  min-height: 78px; background: var(--card); border: 1px solid var(--card-brd); border-radius: 12px;
  padding: 6px; display: flex; flex-direction: column; gap: 3px; cursor: pointer;
  transition: transform .12s, border-color .2s, background .2s; animation: pop .35s both;
}
.cal-cell.empty { background: transparent; border-color: transparent; cursor: default; }
.cal-cell:not(.empty):hover { border-color: rgba(255,110,169,0.35); transform: translateY(-2px); }
.cal-cell:not(.empty):active { transform: scale(0.97); }
.cal-cell.today { box-shadow: inset 0 0 0 1.5px var(--gold); }
.cal-num { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.cal-cell.today .cal-num { color: var(--gold); }
.cal-chips { display: flex; flex-direction: column; gap: 3px; overflow: hidden; }
.chip {
  font-size: 0.62rem; font-weight: 700; border-radius: 6px; padding: 2px 5px; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: pop .3s both;
}
.chip.lui { background: var(--lui-soft); color: #aecbff; }
.chip.elle { background: var(--elle-soft); color: #ffb6d3; }
.chip.duo { background: var(--duo-soft); color: #ffe0b0; }
.chip-more { font-size: 0.58rem; color: var(--muted); }

/* ---------- Vue graphe ---------- */
.scatter-wrap { animation: fade .4s; }
.stat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.stat-pill { background: var(--card); border: 1px solid var(--card-brd); border-radius: 20px; padding: 6px 12px; font-size: 0.82rem; color: var(--muted); white-space: nowrap; }
.stat-pill b { color: var(--ink); font-weight: 700; margin-right: 3px; }
.stat-pill.total { background: var(--duo-soft); border-color: transparent; color: #ffe0b0; }
.stat-pill.total b { color: var(--gold); }
.scatter-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 10px; }
.zoom-ctrl { display: flex; align-items: center; gap: 6px; background: var(--card); border: 1px solid var(--card-brd); border-radius: 12px; padding: 3px; }
.zoom-ctrl button { width: 32px; height: 32px; border-radius: 9px; background: transparent; color: var(--ink); font-size: 1.2rem; line-height: 1; transition: background .15s, transform .1s; }
.zoom-ctrl button:hover { background: rgba(255,255,255,0.09); }
.zoom-ctrl button:active { transform: scale(0.88); }
.zoom-ctrl #z-lvl { min-width: 52px; text-align: center; font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.scatter-scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; border-radius: 14px; }
.scatter-scroll::-webkit-scrollbar { height: 8px; }
.scatter-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }
.scatter { display: block; height: 430px; }
.under-list { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--card-brd); display: flex; flex-direction: column; gap: 8px; }
.scatter .grid { stroke: rgba(255,255,255,0.07); stroke-width: 1; }
.scatter .grid-day { stroke: rgba(255,255,255,0.045); stroke-width: 1; }
.scatter .grid-month { stroke: rgba(255,255,255,0.14); stroke-width: 1; }
.scatter .axis-y { fill: var(--muted); font-size: 13px; text-anchor: end; font-family: "Manrope"; }
.scatter .axis-x { fill: var(--ink); font-size: 13px; font-weight: 600; font-family: "Manrope"; }
.scatter .axis-day { fill: var(--muted); font-size: 10px; text-anchor: middle; opacity: .65; font-family: "Manrope"; }
.scatter .pt { cursor: pointer; transform-box: fill-box; transform-origin: center; animation: dotpop .4s both; transition: transform .12s; }
.scatter .pt:hover { transform: scale(1.18); }
.scatter circle[class^="dot-"] { transition: transform .15s; }
.scatter .dot-lui { filter: drop-shadow(0 0 6px rgba(91,141,239,.6)); }
.scatter .dot-elle { filter: drop-shadow(0 0 6px rgba(255,110,169,.6)); }
.scatter .dot-duo { filter: drop-shadow(0 0 6px rgba(246,193,119,.6)); }
@keyframes dotpop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }

/* ---------- Vue liste ---------- */
.list-wrap { animation: fade .4s; display: flex; flex-direction: column; gap: 8px; }
.list-add { margin-bottom: 8px; }
.list-month { font-family: "Fraunces", serif; font-size: 1.05rem; font-weight: 600; margin: 14px 2px 4px; text-transform: capitalize; }
.list-row {
  display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--card-brd);
  border-radius: 14px; padding: 10px 12px; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .12s, border-color .2s, background .2s; animation: pop .3s both;
}
.list-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.list-row.lui::before { background: var(--lui); }
.list-row.elle::before { background: var(--elle); }
.list-row.duo::before { background: linear-gradient(var(--duo), var(--elle)); }
.list-row:hover { border-color: rgba(255,110,169,0.35); background: rgba(255,255,255,0.06); }
.list-row:active { transform: scale(0.985); }
.lr-date { display: flex; flex-direction: column; align-items: center; width: 40px; flex-shrink: 0; }
.lr-day { font-family: "Fraunces", serif; font-size: 1.4rem; font-weight: 700; line-height: 1; }
.lr-dow { font-size: 0.62rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.lr-main { flex: 1; min-width: 0; }
.lr-title { font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lr-meta { font-size: 0.8rem; color: var(--muted); margin-top: 3px; }
.lr-edit { color: var(--muted); font-size: 1rem; flex-shrink: 0; opacity: .6; }

/* ---------- FAB ---------- */
.fab {
  position: fixed; right: max(18px, calc(50% - 430px + 18px)); bottom: calc(22px + var(--safe-b)); z-index: 30;
  width: 60px; height: 60px; border-radius: 20px;
  background: linear-gradient(135deg, #ff6ea9, #b15bf0); color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 34px rgba(177,91,240,.45);
  transition: transform .15s; animation: rise .6s .2s both;
}
.fab:hover { transform: scale(1.06) rotate(90deg); }
.fab:active { transform: scale(0.92); }
.fab svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }

/* ---------- Feuilles (bottom sheets) ---------- */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 40; background: rgba(10,5,14,0.6);
  backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center;
  animation: fade .25s;
}
.sheet {
  width: min(560px, 100%); max-height: 92vh; overflow-y: auto;
  background: linear-gradient(180deg, #241229, #1a0f20);
  border: 1px solid var(--card-brd); border-bottom: none;
  border-radius: 26px 26px 0 0; padding: 10px 20px calc(28px + var(--safe-b));
  box-shadow: var(--shadow); animation: slideup .35s cubic-bezier(.2,.85,.2,1);
}
@media (min-width: 600px) {
  .sheet-backdrop { align-items: center; }
  .sheet { border-radius: 26px; border-bottom: 1px solid var(--card-brd); }
}
.sheet-grab { width: 44px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.18); margin: 4px auto 14px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sheet-head h2 { font-size: 1.3rem; }
.close { width: 36px; height: 36px; }

/* ---------- Liste du jour ---------- */
.day-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.day-card {
  background: var(--card); border: 1px solid var(--card-brd); border-radius: 14px; padding: 12px 14px;
  display: flex; gap: 12px; align-items: flex-start; animation: pop .3s both; position: relative; overflow: hidden;
}
.day-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.day-card.lui::before { background: var(--lui); }
.day-card.elle::before { background: var(--elle); }
.day-card.duo::before { background: linear-gradient(var(--duo), var(--elle)); }
.day-card .dc-main { flex: 1; min-width: 0; }
.day-card .dc-title { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.dc-badge { font-size: 0.66rem; padding: 2px 8px; border-radius: 20px; font-weight: 700; }
.dc-badge.lui { background: var(--lui-soft); color: #aecbff; }
.dc-badge.elle { background: var(--elle-soft); color: #ffb6d3; }
.dc-badge.duo { background: var(--duo-soft); color: #ffe0b0; }
.dc-meta { font-size: 0.8rem; color: var(--muted); margin-top: 3px; }
.dc-notes { font-size: 0.82rem; margin-top: 6px; color: #d9c6e0; }
.dc-actions { display: flex; flex-direction: column; gap: 6px; }
.dc-actions button { background: var(--card); border: 1px solid var(--card-brd); color: var(--ink);
  border-radius: 9px; padding: 6px 8px; font-size: 0.72rem; }
.dc-actions button:hover { background: rgba(255,255,255,0.09); }

/* ---------- Formulaire ---------- */
.enc-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.field input, .field textarea {
  background: rgba(0,0,0,0.25); border: 1px solid var(--card-brd); color: var(--ink);
  padding: 12px 14px; border-radius: 12px; font-size: 0.95rem; outline: none; font-family: inherit;
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--elle); box-shadow: 0 0 0 3px var(--elle-soft); }
.field textarea { resize: vertical; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.segmented button {
  background: rgba(0,0,0,0.22); border: 1px solid var(--card-brd); color: var(--muted);
  padding: 12px 6px; border-radius: 12px; font-weight: 700; font-size: 0.9rem; transition: all .2s;
}
.segmented button.on[data-val="lui"] { background: var(--lui-soft); color: #fff; border-color: var(--lui); }
.segmented button.on[data-val="elle"] { background: var(--elle-soft); color: #fff; border-color: var(--elle); }
.segmented button.on[data-val="duo"] { background: var(--duo-soft); color: #fff; border-color: var(--duo); }
.size-row { display: grid; grid-template-columns: 56px 1fr 56px; gap: 8px; }
.step { background: rgba(0,0,0,0.22); border: 1px solid var(--card-brd); color: var(--ink); border-radius: 12px; font-size: 1.4rem; transition: transform .1s, background .2s; }
.step:active { transform: scale(0.9); }
.step:hover { background: rgba(255,255,255,0.08); }
#f-size { text-align: center; font-size: 1.2rem; font-weight: 700; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button {
  background: rgba(0,0,0,0.22); border: 1px solid var(--card-brd); color: var(--muted);
  padding: 7px 14px; border-radius: 20px; font-weight: 600; font-size: 0.85rem; transition: all .2s;
}
.chips button.on { background: linear-gradient(135deg, #ff6ea9, #b15bf0); color: #fff; border-color: transparent; }
.chips button.orgy { border-color: rgba(246,193,119,0.5); color: var(--gold); }
.chips button.orgy.on { background: linear-gradient(135deg, #f6c177, #ec4899); color: #fff; border-color: transparent; }
.stars { display: flex; gap: 4px; }
.stars button { background: none; font-size: 1.7rem; color: rgba(255,255,255,0.2); transition: color .15s, transform .12s; padding: 0; line-height: 1; }
.stars button.on { color: var(--gold); }
.stars button:active { transform: scale(1.25); }
.form-actions { display: flex; gap: 10px; margin-top: 4px; }

/* ---------- Stats ---------- */
.stats-body { display: flex; flex-direction: column; gap: 18px; }
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat-card { background: var(--card); border: 1px solid var(--card-brd); border-radius: 16px; padding: 16px; text-align: center; }
.stat-num { font-family: "Fraunces", serif; font-size: 2rem; font-weight: 700; }
.stat-lbl { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.bar-lbl { width: 64px; font-size: 0.82rem; color: var(--muted); }
.bar-track { flex: 1; height: 12px; background: rgba(255,255,255,0.06); border-radius: 8px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 8px; transition: width 1s cubic-bezier(.2,.8,.2,1); }
.bar-fill.lui { background: var(--lui); }
.bar-fill.elle { background: var(--elle); }
.bar-fill.duo { background: linear-gradient(90deg, var(--duo), var(--elle)); }
.bar-val { width: 32px; text-align: right; font-weight: 700; font-size: 0.85rem; }
.stats-section h3 { font-family: "Manrope"; font-size: 0.85rem; color: var(--muted); margin: 0 0 10px; text-transform: uppercase; letter-spacing: .5px; }

/* ---------- Synchro ---------- */
.sync-body { display: flex; flex-direction: column; gap: 14px; font-size: 0.92rem; line-height: 1.5; }
.feed-box { display: flex; gap: 8px; align-items: center; background: rgba(0,0,0,0.3); border: 1px solid var(--card-brd); border-radius: 12px; padding: 10px 12px; }
.feed-box code { flex: 1; font-size: 0.74rem; word-break: break-all; color: var(--gold); font-family: ui-monospace, monospace; }
.howto { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.howto a { color: var(--elle); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: calc(96px + var(--safe-b)); left: 50%; transform: translateX(-50%) translateY(20px);
  background: rgba(20,12,26,0.96); border: 1px solid var(--card-brd); color: var(--ink);
  padding: 12px 20px; border-radius: 14px; font-weight: 600; font-size: 0.9rem; z-index: 60;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.empty-state { text-align: center; color: var(--muted); padding: 50px 20px; }
.empty-state .big { font-size: 3rem; display: block; margin-bottom: 12px; }

/* ---------- Animations ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes slideup { from { transform: translateY(100%); } to { transform: none; } }
@keyframes pulse { 0%,100% { transform: scale(1); box-shadow: 0 0 50px rgba(255,110,169,.5); } 50% { transform: scale(1.05); box-shadow: 0 0 70px rgba(255,110,169,.75); } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
