/* fumetto Ania - pagina di login */
.ac-bolla {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  display: flex; align-items: center; gap: 10px; width: auto;
  padding: 6px 16px 6px 6px; border: 0; border-radius: 999px; cursor: pointer;
  background: #fff; color: #14212b; font: 600 .9rem system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.ac-bolla:hover { background: #f2f7fb; }
.ac-bolla img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.ac-pannello {
  position: fixed; right: 18px; bottom: 18px; z-index: 51;
  width: min(370px, calc(100vw - 32px)); height: min(540px, calc(100vh - 36px));
  display: none; flex-direction: column; overflow: hidden;
  background: #fff; color: #14212b; border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.45);
  font: .92rem/1.45 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.ac-aperto .ac-pannello { display: flex; }
.ac-aperto .ac-bolla { display: none; }
.ac-testa { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #0f3a4a; color: #e9f1f6; }
.ac-testa img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.ac-testa div { flex: 1; min-width: 0; }
.ac-testa strong { display: block; font-size: .95rem; }
.ac-testa span { display: block; font-size: .74rem; opacity: .75; }
.ac-chiudi { width: auto; background: transparent; color: inherit; border: 0; font-size: 1.4rem; line-height: 1; padding: 4px 8px; cursor: pointer; }
.ac-chiudi:hover { background: rgba(255,255,255,.12); }
.ac-lista { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; background: #f4f7fa; }
.ac-m { max-width: 85%; padding: 8px 11px; border-radius: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ac-a { align-self: flex-start; background: #fff; border: 1px solid #dbe4ea; }
.ac-u { align-self: flex-end; background: #1485d9; color: #fff; }
.ac-e { align-self: center; background: #fdecea; color: #b3261e; font-size: .82rem; }
.ac-ts { display: flex; justify-content: center; }
.ac-form { display: flex; gap: 6px; padding: 8px; border-top: 1px solid #e3eaef; }
.ac-form textarea, .ac-mod input, .ac-mod textarea {
  flex: 1; width: 100%; resize: none; font: inherit; padding: 9px 10px; margin: 0;
  border: 1px solid #cfdae2; border-radius: 10px; background: #f7fafc; color: inherit;
}
.ac-form textarea:focus, .ac-mod input:focus, .ac-mod textarea:focus { outline: 2px solid #1fa0ff; outline-offset: 0; border-color: transparent; background: #fff; }
.ac-form button, .ac-mod button { width: auto; padding: 0 14px; border: 0; border-radius: 10px; background: #1485d9; color: #fff; font-weight: 600; cursor: pointer; }
.ac-form button:disabled, .ac-mod button:disabled { opacity: .5; cursor: default; }
.ac-mod { display: none; flex-direction: column; gap: 6px; padding: 8px; border-top: 1px solid #e3eaef; }
.ac-mod button { padding: 10px; }
.ac-mod label { font-size: .75rem; font-weight: 600; }
.ac-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ac-priv { font-size: .7rem; color: #5b6b77; padding: 0 10px 8px; }
