/* Account modal (sign in / sign up) — lazy-loaded by assets/app.js on the first "Mon compte"
   click of a signed-out visitor. Built on the shared palette (assets/site-palette.css):
   brand green + gold accent. Motion: spring entrance, staggered fields, sliding brand panel,
   drifting light blobs, check-draw success. Everything degrades with prefers-reduced-motion. */

.ocm {
  --ocm-brand: var(--site-brand-electric, #286153);
  --ocm-brand-deep: var(--site-brand-electric-deep, #1d4c41);
  --ocm-gold: var(--site-category-pink, #c6ae78);
  --ocm-gold-deep: var(--site-category-pink-deep, #725b2f);
  --ocm-mint: var(--site-category-indigo, #6c9b82);
  --ocm-surface: var(--site-surface, #fff);
  --ocm-bg: var(--site-background-primary, #f7f8f4);
  --ocm-bg-2: var(--site-background-secondary, #eef3eb);
  --ocm-border: var(--site-surface-border, #dce6dd);
  --ocm-text: var(--site-text-primary, #1c302a);
  --ocm-text-2: var(--site-text-secondary, #42584e);
  --ocm-muted: var(--site-text-muted, #5b7065);
  --ocm-error: #b42318;
  --ocm-spring: cubic-bezier(.2, .95, .25, 1.15);
  --ocm-ease: cubic-bezier(.65, 0, .25, 1);
  --ocm-slide: 720ms;
  --ocm-heading: "Lexend", "Source Sans 3", system-ui, sans-serif;

  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  background: transparent;
  color: var(--ocm-text);
  overflow: auto;
  display: none;
  place-items: center;
  font: inherit;
}

.ocm[open] { display: grid; }
.ocm,
.ocm *,
.ocm *::before,
.ocm *::after { box-sizing: border-box; }

.ocm::backdrop {
  background: rgba(16, 38, 32, .52);
  backdrop-filter: blur(7px) saturate(115%);
  -webkit-backdrop-filter: blur(7px) saturate(115%);
  animation: ocm-fade 320ms ease both;
}
.ocm.is-closing::backdrop { animation: ocm-fade-out 260ms ease both; }

html.ocm-lock { overflow: hidden; }

/* ---------- Card ---------- */
.ocm-card {
  position: relative;
  width: min(900px, 100%);
  min-height: 580px;
  border-radius: 28px;
  background: var(--ocm-surface);
  box-shadow: 0 40px 90px -30px rgba(16, 45, 37, .55), 0 0 0 1px rgba(40, 97, 83, .08);
  overflow: hidden;
  isolation: isolate;
  animation: ocm-card-in 680ms var(--ocm-spring) both;
}
.ocm.is-closing .ocm-card { animation: ocm-card-out 260ms var(--ocm-ease) both; }

.ocm-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  cursor: pointer;
  transition: transform 260ms var(--ocm-spring), background-color 200ms ease, color 200ms ease;
}
.ocm-close svg { width: 18px; height: 18px; }
.ocm-close:hover { transform: rotate(90deg) scale(1.06); background: rgba(255, 255, 255, .28); }
.ocm-card[data-mode="signup"] .ocm-close { background: var(--ocm-bg-2); color: var(--ocm-text); }
.ocm-card[data-mode="signup"] .ocm-close:hover { background: var(--ocm-border); }
.ocm-close:focus-visible,
.ocm :is(button, a, input):focus-visible { outline: 2px solid var(--ocm-gold); outline-offset: 3px; }

/* ---------- Forms (panes) ---------- */
.ocm-pane {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 52px;
  transition: transform var(--ocm-slide) var(--ocm-ease), opacity calc(var(--ocm-slide) * .6) ease;
}
.ocm-pane--login { z-index: 2; }
.ocm-pane--signup { z-index: 1; opacity: 0; }
.ocm-card[data-mode="signup"] .ocm-pane--login { transform: translateX(100%); opacity: 0; }
.ocm-card[data-mode="signup"] .ocm-pane--signup { transform: translateX(100%); opacity: 1; z-index: 5; }

.ocm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--ocm-brand);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ocm-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ocm-gold), var(--ocm-brand));
}
.ocm-title {
  margin: 0 0 8px;
  font-family: var(--ocm-heading);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.ocm-lead { margin: 0 0 24px; color: var(--ocm-text-2); font-size: .98rem; line-height: 1.5; }

.ocm-form { display: grid; gap: 14px; }

/* Floating-label field */
.ocm-field { position: relative; }
.ocm-field input {
  box-sizing: border-box;
  width: 100%;
  height: 56px;
  padding: 22px 48px 8px 16px;
  border: 1.5px solid var(--ocm-border);
  border-radius: 14px;
  background: var(--ocm-bg);
  color: var(--ocm-text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 200ms ease, background-color 200ms ease, box-shadow 260ms ease;
}
.ocm-field input:hover { border-color: var(--site-border-strong, #829f8d); }
.ocm-field input:focus {
  outline: none;
  border-color: var(--ocm-brand);
  background: var(--ocm-surface);
  box-shadow: 0 0 0 4px rgba(40, 97, 83, .12);
}
.ocm-field label {
  position: absolute;
  top: 18px;
  left: 17px;
  color: var(--ocm-muted);
  font-size: 1rem;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 240ms var(--ocm-spring), color 200ms ease;
}
.ocm-field input:focus + label,
.ocm-field input:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.76); color: var(--ocm-brand); }
.ocm-field input[aria-invalid="true"] { border-color: var(--ocm-error); }

.ocm-eye {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ocm-muted);
  cursor: pointer;
  transition: color 200ms ease, background-color 200ms ease;
}
.ocm-eye:hover { color: var(--ocm-brand); background: var(--site-brand-soft, rgba(40, 97, 83, .09)); }
.ocm-eye svg { width: 20px; height: 20px; }
.ocm-eye .ocm-eye-slash { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 260ms var(--ocm-ease); }
.ocm-eye[aria-pressed="true"] .ocm-eye-slash { stroke-dashoffset: 0; }

/* Password strength (sign up) */
.ocm-strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: -4px; }
.ocm-strength span {
  height: 4px;
  border-radius: 4px;
  background: var(--ocm-border);
  transform-origin: left;
  transition: background-color 260ms ease, transform 360ms var(--ocm-spring);
  transform: scaleX(.35);
}
.ocm-strength[data-level="1"] span:nth-child(-n+1),
.ocm-strength[data-level="2"] span:nth-child(-n+2),
.ocm-strength[data-level="3"] span:nth-child(-n+3),
.ocm-strength[data-level="4"] span { transform: scaleX(1); }
.ocm-strength[data-level="1"] span:nth-child(-n+1) { background: #c2410c; }
.ocm-strength[data-level="2"] span:nth-child(-n+2) { background: var(--ocm-gold); }
.ocm-strength[data-level="3"] span:nth-child(-n+3) { background: var(--ocm-mint); }
.ocm-strength[data-level="4"] span { background: var(--ocm-brand); }
.ocm-hint { margin: -4px 0 0; color: var(--ocm-muted); font-size: .82rem; min-height: 1.2em; }

.ocm-row { display: flex; justify-content: flex-end; margin-top: -2px; }
.ocm .ocm-link {
  position: relative;
  color: var(--ocm-brand);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.ocm .ocm-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--ocm-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--ocm-ease);
}
.ocm .ocm-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* Primary button */
.ocm-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  margin-top: 6px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ocm-brand) 0%, var(--ocm-brand-deep) 100%);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 14px 28px -14px rgba(29, 76, 65, .8);
  transition: transform 220ms var(--ocm-spring), box-shadow 220ms ease, filter 200ms ease;
}
.ocm-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 700ms var(--ocm-ease);
}
.ocm-submit:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -16px rgba(29, 76, 65, .9); }
.ocm-submit:hover::before { transform: translateX(120%); }
.ocm-submit:active { transform: translateY(0) scale(.98); }
.ocm-submit[disabled] { cursor: progress; filter: saturate(.7); }
.ocm-submit .ocm-arrow { transition: transform 260ms var(--ocm-spring); }
.ocm-submit:hover .ocm-arrow { transform: translateX(4px); }
.ocm-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ocm-spin 700ms linear infinite;
}
.ocm-form[aria-busy="true"] .ocm-spinner { display: inline-block; }
.ocm-form[aria-busy="true"] .ocm-arrow { display: none; }

.ocm-status { min-height: 1.4em; margin: 2px 0 0; color: var(--ocm-text-2); font-size: .9rem; line-height: 1.45; }
.ocm-status.is-error { color: var(--ocm-error); animation: ocm-shake 420ms var(--ocm-ease); }
.ocm-foot { margin: 14px 0 0; color: var(--ocm-muted); font-size: .84rem; }

/* Staggered entrance of pane content */
.ocm-anim { animation: ocm-rise 620ms var(--ocm-spring) both; animation-delay: calc(140ms + var(--i, 0) * 60ms); }
.ocm-card.is-switching .ocm-pane.is-active .ocm-anim { animation: ocm-rise 560ms var(--ocm-spring) both; animation-delay: calc(260ms + var(--i, 0) * 55ms); }

/* ---------- Brand panel (desktop) ---------- */
.ocm-overlay-wrap {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 10;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-radius: 28px 0 0 28px;
  transition: transform var(--ocm-slide) var(--ocm-ease), border-radius var(--ocm-slide) var(--ocm-ease);
}
.ocm-card[data-mode="signup"] .ocm-overlay-wrap { transform: translateX(-100%); border-radius: 0 28px 28px 0; }
.ocm-card.is-switching .ocm-overlay-wrap { animation: ocm-squish var(--ocm-slide) var(--ocm-ease); }

.ocm-overlay {
  position: relative;
  left: -100%;
  width: 200%;
  height: 100%;
  color: #fff;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(198, 174, 120, .35) 0%, transparent 55%),
    linear-gradient(150deg, #2f7262 0%, var(--ocm-brand) 38%, var(--ocm-brand-deep) 100%);
  transition: transform var(--ocm-slide) var(--ocm-ease);
}
.ocm-card[data-mode="signup"] .ocm-overlay { transform: translateX(50%); }

.ocm-ov-panel {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 56px;
  text-align: center;
  transition: transform var(--ocm-slide) var(--ocm-ease), opacity var(--ocm-slide) ease;
}
.ocm-ov-panel--left { left: 0; transform: translateX(-24%); opacity: 0; }
.ocm-ov-panel--right { right: 0; }
.ocm-card[data-mode="signup"] .ocm-ov-panel--left { transform: translateX(0); opacity: 1; }
.ocm-card[data-mode="signup"] .ocm-ov-panel--right { transform: translateX(24%); opacity: 0; }

.ocm-ov-panel h3 {
  position: relative;
  margin: 18px 0 10px;
  font-family: var(--ocm-heading);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.ocm-ov-panel p { position: relative; max-width: 30ch; margin: 0 0 26px; color: rgba(255, 255, 255, .86); line-height: 1.55; }
.ocm-ghost {
  position: relative;
  height: 50px;
  padding: 0 30px;
  border: 1.5px solid rgba(255, 255, 255, .85);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 800;
  letter-spacing: .02em;
  cursor: pointer;
  overflow: hidden;
  transition: color 260ms ease, transform 220ms var(--ocm-spring), border-color 200ms ease;
}
.ocm-ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: #fff;
  transform: scale(0);
  transition: transform 380ms var(--ocm-spring);
}
.ocm-ghost:hover { color: var(--ocm-brand-deep); transform: translateY(-2px); }
.ocm-ghost:hover::before { transform: scale(1); }

/* Badge with orbiting calc glyphs */
.ocm-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 18px 40px -18px rgba(0, 0, 0, .5);
  backdrop-filter: blur(4px);
  animation: ocm-float 5.5s ease-in-out infinite;
}
.ocm-badge svg { width: 40px; height: 40px; }
.ocm-badge::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 32px;
  border: 1.5px dashed rgba(198, 174, 120, .7);
  animation: ocm-spin 18s linear infinite;
}

/* Ambient light blobs + floating glyphs */
.ocm-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .55;
  pointer-events: none;
  will-change: transform;
}
.ocm-blob--1 { width: 340px; height: 340px; top: -90px; left: 8%; background: #3f8a74; animation: ocm-drift-a 16s ease-in-out infinite alternate; }
.ocm-blob--2 { width: 280px; height: 280px; bottom: -110px; left: 40%; background: rgba(198, 174, 120, .75); animation: ocm-drift-b 19s ease-in-out infinite alternate; }
.ocm-blob--3 { width: 260px; height: 260px; top: 30%; right: 6%; background: #6c9b82; animation: ocm-drift-a 22s ease-in-out infinite alternate-reverse; }

.ocm-glyphs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ocm-glyphs span {
  position: absolute;
  bottom: -40px;
  color: rgba(255, 255, 255, .22);
  font-family: var(--ocm-heading);
  font-size: var(--s, 22px);
  font-weight: 700;
  animation: ocm-glyph var(--d, 14s) linear infinite;
  animation-delay: var(--delay, 0s);
}

.ocm-grain {
  position: absolute;
  inset: 0;
  opacity: .08;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .9) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}

/* ---------- Success view ---------- */
.ocm-success {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 40px;
  text-align: center;
  background: radial-gradient(100% 80% at 50% 0%, var(--ocm-bg-2) 0%, var(--ocm-surface) 60%);
}
.ocm-card.is-success .ocm-success { display: flex; animation: ocm-fade 360ms ease both; }
.ocm-check { width: 96px; height: 96px; margin-bottom: 12px; }
.ocm-check circle { stroke: var(--ocm-brand); stroke-width: 3; fill: none; stroke-dasharray: 290; stroke-dashoffset: 290; animation: ocm-draw 700ms var(--ocm-ease) 120ms forwards; }
.ocm-check path { stroke: var(--ocm-gold-deep); stroke-width: 5; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: ocm-draw 420ms var(--ocm-ease) 720ms forwards; }
.ocm-success h3 { margin: 0; font-family: var(--ocm-heading); font-size: 1.7rem; animation: ocm-rise 520ms var(--ocm-spring) 820ms both; }
.ocm-success p { max-width: 42ch; margin: 6px 0 18px; color: var(--ocm-text-2); line-height: 1.55; animation: ocm-rise 520ms var(--ocm-spring) 900ms both; }
.ocm-success .ocm-submit { padding: 0 28px; animation: ocm-rise 520ms var(--ocm-spring) 980ms both; }
.ocm-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ocm-confetti i {
  position: absolute;
  top: 34%;
  left: 50%;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  background: var(--c, var(--ocm-gold));
  opacity: 0;
  animation: ocm-burst 1100ms var(--ocm-ease) 700ms forwards;
}

/* ---------- Tabs (mobile only) ---------- */
.ocm-tabs { display: none; }

@media (max-width: 760px) {
  .ocm { padding: 0; place-items: end center; }
  .ocm-card {
    width: 100%;
    min-height: 0;
    max-height: 94dvh;
    overflow-y: auto;
    border-radius: 26px 26px 0 0;
    animation-name: ocm-sheet-in;
  }
  .ocm.is-closing .ocm-card { animation-name: ocm-sheet-out; }
  .ocm-overlay-wrap { display: none; }
  .ocm-mobile-hero {
    position: relative;
    display: block;
    height: 132px;
    overflow: hidden;
    color: #fff;
    background:
      radial-gradient(120% 120% at 90% 0%, rgba(198, 174, 120, .4) 0%, transparent 55%),
      linear-gradient(150deg, #2f7262 0%, var(--ocm-brand) 45%, var(--ocm-brand-deep) 100%);
  }
  .ocm-mobile-hero .ocm-blob--1 { width: 200px; height: 200px; top: -80px; }
  .ocm-mobile-hero .ocm-blob--2 { width: 170px; height: 170px; top: 20px; bottom: auto; }
  .ocm-mobile-hero .ocm-badge { position: absolute; left: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 18px; }
  .ocm-mobile-hero .ocm-badge svg { width: 28px; height: 28px; }
  .ocm-mobile-hero .ocm-badge::after { inset: -7px; border-radius: 22px; }
  .ocm-mobile-hero::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 44px;
    height: 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, .55);
    transform: translateX(-50%);
  }
  .ocm-close { top: 18px; }
  .ocm-card[data-mode="signup"] .ocm-close { background: rgba(255, 255, 255, .16); color: #fff; }

  .ocm-tabs {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 18px 22px 0;
    padding: 5px;
    border-radius: 14px;
    background: var(--ocm-bg-2);
  }
  .ocm-tab {
    position: relative;
    z-index: 1;
    height: 42px;
    border: 0;
    background: transparent;
    color: var(--ocm-text-2);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: color 260ms ease;
  }
  .ocm-tab[aria-selected="true"] { color: #fff; }
  .ocm-tabs-ink {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    width: calc(50% - 5px);
    border-radius: 10px;
    background: linear-gradient(135deg, var(--ocm-brand), var(--ocm-brand-deep));
    box-shadow: 0 8px 18px -10px rgba(29, 76, 65, .9);
    transition: left 520ms var(--ocm-spring);
  }
  .ocm-card[data-mode="signup"] .ocm-tabs-ink { left: 50%; }

  .ocm-pane,
  .ocm-card[data-mode="signup"] .ocm-pane--login,
  .ocm-card[data-mode="signup"] .ocm-pane--signup {
    position: static;
    width: auto;
    height: auto;
    padding: 20px 22px 28px;
    transform: none;
    opacity: 1;
  }
  .ocm-pane:not(.is-active) { display: none; }
  .ocm-card.is-switching .ocm-pane.is-active { animation: ocm-pane-in 460ms var(--ocm-spring) both; }
  .ocm-card[data-mode="login"].is-switching .ocm-pane.is-active { animation-name: ocm-pane-in-left; }
  .ocm-title { font-size: 1.6rem; }
}
@media (min-width: 761px) { .ocm-mobile-hero { display: none; } }

/* ---------- Keyframes ---------- */
@keyframes ocm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ocm-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes ocm-card-in {
  0% { opacity: 0; transform: translateY(34px) scale(.94) rotateX(8deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes ocm-card-out { to { opacity: 0; transform: translateY(18px) scale(.96); } }
@keyframes ocm-sheet-in { from { transform: translateY(100%); } to { transform: none; } }
@keyframes ocm-sheet-out { to { transform: translateY(100%); } }
@keyframes ocm-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ocm-pane-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes ocm-pane-in-left { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes ocm-squish {
  0%, 100% { clip-path: inset(0 round 0); }
  45% { clip-path: inset(3% 0 3% 0 round 40px); }
}
@keyframes ocm-spin { to { transform: rotate(360deg); } }
@keyframes ocm-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes ocm-drift-a { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(60px, 40px) scale(1.15); } }
@keyframes ocm-drift-b { 0% { transform: translate(0, 0) scale(1.05); } 100% { transform: translate(-70px, -30px) scale(.9); } }
@keyframes ocm-glyph {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  12% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(-680px) rotate(180deg); opacity: 0; }
}
@keyframes ocm-draw { to { stroke-dashoffset: 0; } }
@keyframes ocm-shake { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@keyframes ocm-burst {
  0% { opacity: 1; transform: translate(-50%, 0) rotate(0); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--x, 0px)), var(--y, -120px)) rotate(var(--r, 240deg)); }
}

@media (prefers-reduced-motion: reduce) {
  .ocm,
  .ocm * { animation-duration: 1ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
  .ocm-blob, .ocm-glyphs, .ocm-confetti { display: none; }
}
