/* Y2-FIX-1109 · schermata di condivisione del ricordo, evidente e colorata.
   Sostituisce il foglio di sistema, dove l'anteprima del ricordo passava
   inosservata (Marco, 11/09). Colori della notte YooToo. */
#y2ShareModal {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(6, 4, 20, 0.78); z-index: 9999;
  display: none; align-items: center; justify-content: center;
  padding: 18px;
}
#y2ShareModalInner {
  background: #1e1b4b; border-radius: 20px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.6);
  max-width: 92%; width: 330px; overflow: hidden;
  border: 1px solid rgba(240,171,252,.25);
}
#y2ShareCard {
  background: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
  padding: 22px 18px; text-align: center; color: #fff;
}
#y2ShareOcchiello {
  font-size: 12px; letter-spacing: .12em; font-weight: 800;
  color: rgba(255,255,255,.9); margin-bottom: 8px;
}
#y2ShareTitle {
  font-size: 21px; font-weight: 800; line-height: 1.25;
  text-shadow: 0 2px 6px rgba(0,0,0,.35); margin-bottom: 8px;
}
#y2ShareDesc {
  font-size: 14px; opacity: .95;
}
#y2ShareActions {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px 20px 8px;
}
#y2ShareActions button {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; border-radius: 14px; padding: 14px 16px;
  font-size: 15px; font-weight: 700; cursor: pointer;
}
#y2ShareActions button:active { background: rgba(255,255,255,0.18); }
#y2ShareActions button.primary {
  background: linear-gradient(135deg, #7c3aed, #db2777);
  border: none;
}
#y2ShareClose {
  display: block; width: 100%; text-align: center;
  padding: 12px 0 14px; color: #b9b3d6; font-size: 14px;
  background: transparent; border: none; cursor: pointer;
}
