/* SIKAVO — notification de mise à jour */
.sv-update-notification {
  position: fixed;
  right: 18px;
  top: 78px;
  z-index: 999999;
  width: min(390px, calc(100vw - 32px));
  box-sizing: border-box;
  display: flex;
  gap: 14px;
  padding: 17px 42px 17px 16px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 45px rgba(10, 35, 70, .22);
  font-family: Arial, Helvetica, sans-serif;
  animation: svUpdateIn .28s ease-out;
}
.sv-update-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #fff2e6;
  color: #f58220;
  font-size: 25px;
  font-weight: 900;
}
.sv-update-content { min-width: 0; }
.sv-update-content strong {
  display: block;
  color: #132d4f;
  font-size: 15px;
  line-height: 1.25;
}
.sv-update-content p {
  margin: 6px 0 12px;
  color: #657386;
  font-size: 13px;
  line-height: 1.4;
}
.sv-update-download {
  display: inline-flex;
  min-height: 38px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 10px;
  background: #f58220;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
}
.sv-update-close {
  position: absolute;
  right: 10px;
  top: 7px;
  border: 0;
  background: transparent;
  color: #8490a0;
  font-size: 24px;
  cursor: pointer;
}
@keyframes svUpdateIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
  .sv-update-notification {
    left: 14px;
    right: 14px;
    top: auto;
    bottom: 18px;
    width: auto;
  }
}

/* SIKAVO — Octobre Rose, uniquement sur le splash.
   Aucun sélecteur du splash existant n'est nécessaire. */
.sv-or-splash {
  position: fixed;
  left: 50%;
  bottom: max(28px, calc(env(safe-area-inset-bottom) + 18px));
  transform: translateX(-50%);
  z-index: 2147483000;
  width: min(88vw, 390px);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 143, 196, .52);
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), rgba(240,72,153,.16)),
    rgba(8, 31, 79, .62);
  box-shadow:
    0 14px 36px rgba(20, 3, 22, .26),
    inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  pointer-events: none;
  animation: svOrSplashIn .5s cubic-bezier(.2,.8,.2,1) both;
}
.sv-or-splash__ribbon {
  width: 38px;
  height: 54px;
  flex: 0 0 38px;
  object-fit: contain;
  filter: drop-shadow(0 7px 12px rgba(217,47,132,.28));
}
.sv-or-splash__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sv-or-splash__title {
  color: #ff9ac8;
  font-size: 13.5px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: .005em;
}
.sv-or-splash__text {
  color: rgba(255,255,255,.94);
  font-size: 11.5px;
  line-height: 1.38;
  font-weight: 500;
}
@keyframes svOrSplashIn {
  from { opacity: 0; transform: translate(-50%, 10px) scale(.98); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}
@media (max-height: 620px) {
  .sv-or-splash {
    bottom: max(14px, calc(env(safe-area-inset-bottom) + 8px));
    padding: 8px 11px;
  }
  .sv-or-splash__ribbon { width: 32px; height: 46px; flex-basis: 32px; }
  .sv-or-splash__title { font-size: 12.5px; }
  .sv-or-splash__text { font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .sv-update-notification,
  .sv-or-splash { animation: none !important; }
}
