#piccio-os{--piccio-yellow:#ffc400;--piccio-dark:#0b0d10;--piccio-red:#ed1c24;font-family:Arial,Helvetica,sans-serif;position:relative;z-index:999999}
.piccio-launcher{position:fixed;right:18px;bottom:12px;width:170px;height:255px;border:0;border-radius:0;background:transparent;padding:0;box-shadow:none;cursor:pointer;display:block;transition:.28s;animation:piccio-float 3.4s ease-in-out infinite;overflow:visible}
.piccio-launcher picture{width:100%;height:100%;display:block}
.piccio-launcher-image{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;border-radius:0;filter:drop-shadow(0 18px 18px rgba(0,0,0,.45));transition:transform .28s ease,filter .28s ease}
.piccio-launcher:hover .piccio-launcher-image{transform:scale(1.045) rotate(-1deg);filter:drop-shadow(0 22px 24px rgba(0,0,0,.52))}
.piccio-launcher:focus-visible{outline:3px solid #fff;outline-offset:4px}.piccio-launcher.is-hidden{opacity:0;pointer-events:none;transform:translateY(30px) scale(.75)}
.piccio-launcher-dot{position:absolute;right:24px;top:48px;width:15px;height:15px;border-radius:50%;background:#2ecc71;border:3px solid #fff;box-shadow:0 2px 7px rgba(0,0,0,.28)}
.piccio-launcher-label{position:absolute;right:135px;bottom:76px;white-space:nowrap;background:var(--piccio-dark);color:#fff;border:1px solid rgba(255,196,0,.7);border-radius:14px;padding:10px 13px;font-size:13px;font-weight:700;opacity:0;transform:translateX(8px);pointer-events:none;transition:.22s;box-shadow:0 8px 22px rgba(0,0,0,.30)}
.piccio-launcher:hover .piccio-launcher-label,.piccio-launcher:focus-visible .piccio-launcher-label{opacity:1;transform:none}
.piccio-panel{position:fixed;right:22px;bottom:22px;width:min(390px,calc(100vw - 24px));max-height:min(690px,calc(100vh - 24px));background:#111317;border-radius:24px;box-shadow:0 24px 70px rgba(0,0,0,.3);overflow:hidden;display:flex;flex-direction:column;opacity:0;pointer-events:none;transform:translateY(28px) scale(.95);transition:.35s cubic-bezier(.2,.8,.2,1);border:0}
.piccio-panel.is-open{opacity:1;pointer-events:auto;transform:none}.piccio-header{display:flex;align-items:center;gap:12px;padding:16px 18px;background:linear-gradient(135deg,#0b0d10,#16191e);color:#fff;border-bottom:2px solid var(--piccio-yellow)}.piccio-header strong{font-size:19px}.piccio-header small{display:block;opacity:.75;margin-top:2px}.piccio-close{margin-left:auto;color:#fff;background:transparent;border:0;font-size:30px;cursor:pointer}
.piccio-avatar-wrap{width:52px;height:52px;border-radius:50%;background:#111;display:grid;place-items:center;overflow:hidden;animation:piccio-wing .7s ease-out 1;box-shadow:none}.piccio-avatar{width:100%;height:100%;object-fit:cover}.piccio-avatar-fallback{font-size:28px}
.piccio-messages{padding:18px;overflow:auto;min-height:245px;background:linear-gradient(180deg,#111317,#0b0d10);display:flex;flex-direction:column;gap:12px}.piccio-message{max-width:86%;padding:12px 14px;border-radius:18px;line-height:1.45;white-space:pre-wrap}.piccio-message--piccio{align-self:flex-start;background:#24272d;color:#fff;border-bottom-left-radius:5px}.piccio-message--visitor{align-self:flex-end;background:var(--piccio-red);color:#fff;border-bottom-right-radius:5px}.piccio-welcome strong{display:block;font-size:17px}.piccio-welcome p{margin:8px 0 0}.piccio-welcome-question{font-weight:700}
.piccio-thinking{padding:0 18px 10px;color:#c7c9ce;font-size:13px}.piccio-thinking span{display:inline-block;width:7px;height:7px;background:#777;border-radius:50%;margin-right:4px;animation:piccio-dot 1s infinite}.piccio-thinking span:nth-child(2){animation-delay:.15s}.piccio-thinking span:nth-child(3){animation-delay:.3s}.piccio-thinking em{margin-left:6px}
.piccio-form{padding:14px 16px 10px;border-top:1px solid #2a2d32;background:#111317}.piccio-input{width:100%;box-sizing:border-box;border:1px solid #3a3d43;border-radius:14px;padding:12px;resize:none;font:inherit;outline:none;background:#0b0d10;color:#fff}.piccio-input:focus{border-color:#6b7079;box-shadow:none}.piccio-send{width:100%;margin-top:9px;border:0;border-radius:14px;background:var(--piccio-red);color:#fff;font-weight:700;padding:12px;cursor:pointer}.piccio-send:disabled{opacity:.6}.piccio-privacy{font-size:10px;color:#8d9199;padding:0 16px 12px;margin:0;background:#111317}
@keyframes piccio-float{0%,100%{transform:translateY(0) rotate(.2deg)}50%{transform:translateY(-11px) rotate(-.4deg)}}@keyframes piccio-dot{50%{opacity:.25;transform:translateY(-2px)}}@keyframes piccio-wing{0%{transform:translateX(50px) rotate(15deg);opacity:0}100%{transform:none;opacity:1}}
@media(max-width:600px){.piccio-panel{right:8px;bottom:8px;width:calc(100vw - 16px);max-height:calc(100vh - 16px)}.piccio-launcher{right:4px;bottom:4px;width:118px;height:182px}.piccio-launcher-dot{right:15px;top:34px;width:12px;height:12px}.piccio-launcher-label{display:none}}

.piccio-page-link{display:inline-block;margin-top:9px;padding:9px 12px;border-radius:999px;background:#f2c300;color:#111!important;font-weight:800;text-decoration:none}.piccio-page-link:hover{filter:brightness(1.06);transform:translateY(-1px)}

/* Beta 5 — Voce ufficiale */
.piccio-signature-button{border:1px solid rgba(218,166,58,.55);background:#17130c;color:#f5c95e;border-radius:999px;padding:8px 13px;font-weight:700;cursor:pointer;margin-top:7px}
.piccio-message{position:relative}
.piccio-message-content{display:inline}
.piccio-message-voice{margin-left:8px;border:0;background:rgba(255,255,255,.12);color:inherit;border-radius:999px;width:30px;height:30px;cursor:pointer;vertical-align:middle}
.piccio-message-voice:disabled{opacity:.55;cursor:wait}
.piccio-voice-disclosure{opacity:.72;font-size:.88em}
