/* Tattà® GEPY — la scena del commesso, sul design approvato dal CEO (16/10/2026).
   Una bolla di lancio in basso; aperta (o nella pagina /gepy), due schede affiancate: a sinistra GEPY col suo fumetto su un
   paesaggio di mare, a destra «Pensati per te» con i prodotti a scorrimento orizzontale (un gruppo per ogni ricerca);
   in basso la barra con l'avatar, la casella e i suggerimenti. La conversazione intera resta nel cassetto «Conversazione».
   Il personaggio è il rig di gepy.js (gepy.svg): qui non si tocca. Colori: --gepy-accent dal colore primario del negozio.
   Armonia (17/10/2026, richiesta del CEO): niente riquadri né bordi. Una sola superficie neutra (--gepy-page) per casella,
   foto, etichette e cerchi; pillole ovunque; nella pagina /gepy «Pensati per te» e la barra stanno direttamente sul bianco
   della pagina, l'unico pannello colorato è il mare di GEPY. Nella bolla sul negozio le due schede restano bianche sullo
   sfondo scuro. Il palco taglia ciò che esce (il cassetto chiuso non allarga più la pagina).
   Tutto dentro #gepy-vetrina per non toccare il sito. */
#gepy-vetrina { --gepy-accent: #1b7ff2; --gepy-ink: #111827; --gepy-muted: #6b7280; --gepy-bg: #ffffff; --gepy-page: #f3f5f9; --gepy-line: #eceff3; --gepy-ok: #15803d; --gepy-tint: #e8f1fd; --gepy-r: 24px; --gepy-rt: 18px; --gepy-mare: #0f2a4a;
  position: fixed; z-index: 2147483000; bottom: 20px; right: 20px; color: var(--gepy-ink); font-size: 15px; line-height: 1.45;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
@supports (color: color-mix(in srgb, red, blue)) { #gepy-vetrina { --gepy-tint: color-mix(in srgb, var(--gepy-accent) 11%, #fff); } }
#gepy-vetrina[data-lato="sinistra"] { right: auto; left: 20px; }
#gepy-vetrina[data-alzato="1"] { bottom: 96px; }
#gepy-vetrina *, #gepy-vetrina *::before, #gepy-vetrina *::after { box-sizing: border-box; }
#gepy-vetrina button { font: inherit; cursor: pointer; }
#gepy-vetrina a { color: var(--gepy-accent); }
#gepy-vetrina [hidden] { display: none !important; }
#gepy-vetrina .gepy-ico { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }   /* le iconcine; il rig (gepy.svg) non c'entra */

/* Bolla di lancio */
.gepy-lancio { display: flex; align-items: center; gap: .55rem; padding: 6px 16px 6px 6px; border: 0; border-radius: 999px; background: var(--gepy-bg); color: var(--gepy-ink);
  box-shadow: 0 6px 24px rgba(0,0,0,.18); transition: transform .18s ease, box-shadow .18s ease; }
.gepy-lancio:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.22); }
.gepy-lancio:focus-visible { outline: 3px solid var(--gepy-accent); outline-offset: 3px; }
.gepy-lancio-testa { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--gepy-tint); position: relative; flex: 0 0 auto; }
.gepy-lancio-testa .gepy { position: absolute; }
.gepy-lancio b { font-weight: 800; font-size: .95rem; letter-spacing: .01em; }
.gepy-lancio small { display: block; font-weight: 500; font-size: .72rem; color: var(--gepy-muted); line-height: 1.1; }
#gepy-vetrina[data-aperto="1"] .gepy-lancio { display: none; }

/* La scena: sopra il sito (bolla) o dentro la pagina /gepy */
#gepy-vetrina[data-aperto="1"][data-modo="bolla"] { inset: 0; display: flex; align-items: stretch; justify-content: center; padding: 14px;
  background: rgba(17, 24, 39, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gepy-scena { display: none; position: relative; width: 100%; max-width: 1480px; height: 100%; min-height: 0; flex-direction: column; gap: 14px; animation: gepy-entra .35s ease-out; }
#gepy-vetrina[data-aperto="1"] .gepy-scena { display: flex; }
@keyframes gepy-entra { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
#gepy-vetrina[data-modo="pagina"] { position: static; display: flex; width: 100%; min-height: 0; }
#gepy-vetrina[data-modo="pagina"] .gepy-lancio { display: none; }
#gepy-vetrina[data-modo="pagina"] .gepy-scena { display: flex; flex: 1 1 auto; height: auto; animation: none; }
#gepy-vetrina[data-modo="pagina"] .gepy-chiudi { display: none; }

/* Palco: due schede affiancate */
.gepy-palco { flex: 1 1 auto; min-height: 0; position: relative; display: grid; grid-template-columns: minmax(380px, 45fr) 55fr; grid-template-rows: minmax(0, 1fr); gap: 20px; overflow: hidden; border-radius: var(--gepy-r); }   /* overflow: il cassetto chiuso (traslato a destra) non deve allargare la pagina */
.gepy-card { background: var(--gepy-bg); border-radius: var(--gepy-r); min-height: 0; }

/* La scheda di GEPY: titolo, personaggio e fumetto su un paesaggio di mare (o la foto del negozio, se impostata) */
.gepy-card-gepy { position: relative; overflow: hidden; display: flex; flex-direction: column; color: var(--gepy-mare); }
.gepy-sfondo { position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(55% 40% at 78% 28%, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 70%),
  linear-gradient(180deg, #a6d2fa 0%, #cfe7fd 36%, #eaf5ff 50%, #8dbde8 58%, #4b90d3 78%, #3a7cc2 100%); }
.gepy-sfondo::before { content: ''; position: absolute; left: 0; right: 0; top: 40%; height: 18%; opacity: .5;
  background: radial-gradient(42% 100% at 74% 100%, #6b8db4 0%, #6b8db4 58%, transparent 60%), radial-gradient(30% 100% at 96% 100%, #7d9bbf 0%, #7d9bbf 58%, transparent 60%); }
.gepy-sfondo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 13%; background: linear-gradient(180deg, rgba(217,195,160,0) 0%, #dcc6a3 22%, #c8ab83 100%); opacity: .9; }
.gepy-card-gepy[data-foto="1"] .gepy-sfondo { background-size: cover; background-position: center bottom; }
.gepy-card-gepy[data-foto="1"] .gepy-sfondo::before, .gepy-card-gepy[data-foto="1"] .gepy-sfondo::after { display: none; }
.gepy-card-testa { position: relative; z-index: 2; padding: 20px 24px 0; }
.gepy-nome { display: flex; align-items: center; gap: 10px; }
.gepy-nome b { font-size: 40px; font-weight: 900; letter-spacing: -.02em; line-height: 1; }
.gepy-pill { background: var(--gepy-accent); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.gepy-sotto { margin: 6px 0 0; font-size: 17px; color: #1f3b5c; }
.gepy-stato { display: block; margin-top: 2px; font-size: 13px; font-weight: 700; color: var(--gepy-accent); min-height: 1.25em; }
.gepy-figura { position: relative; z-index: 1; flex: 1 1 auto; min-height: 0; display: flex; align-items: flex-end; gap: 12px; padding: 0 20px 0 8px; }
.gepy-rig { position: relative; flex: 0 0 46%; align-self: stretch; min-height: 0; }
.gepy-rig .gepy { position: absolute; inset: 0; display: block; }
.gepy-rig .gepy svg { width: 100%; height: 100%; display: block; }
.gepy-fumetto { position: relative; flex: 1 1 auto; min-width: 0; align-self: flex-start; margin: 6% 0 12px; max-height: calc(94% - 12px); overflow-y: auto;
  background: var(--gepy-bg); border-radius: 20px; padding: 18px 20px; box-shadow: 0 8px 24px rgba(15,42,74,.12); font-size: 17px; line-height: 1.45; color: #1f2937; }
.gepy-fumetto::before { content: ''; position: absolute; left: -9px; top: 34px; width: 20px; height: 20px; background: var(--gepy-bg); border-radius: 3px; transform: rotate(45deg); }
.gepy-tu { font-size: .78rem; color: var(--gepy-muted); margin: 0 0 .6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gepy-tu b { color: var(--gepy-ink); font-weight: 700; }
.gepy-detto p { margin: 0; }
.gepy-detto p + p { margin-top: .55rem; }
.gepy-attivita { list-style: none; margin: .8rem 0 0; padding: 0; font-size: .8rem; color: var(--gepy-muted); display: flex; flex-direction: column; gap: .2rem; }
.gepy-attivita li::before { content: '✓'; color: var(--gepy-ok); font-weight: 800; margin-right: .4rem; }
.gepy-azioni { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .75rem; }
.gepy-azione { border-radius: 999px; border: 0; background: var(--gepy-tint); color: var(--gepy-accent); padding: .5rem 1rem; font-size: .9rem; font-weight: 600; text-decoration: none; }
.gepy-azione:hover { background: var(--gepy-accent); color: #fff; }
.gepy-scrive { display: inline-flex; align-items: center; gap: .55rem; color: var(--gepy-muted); font-size: .95rem; }
.gepy-scrive i { width: 7px; height: 7px; border-radius: 50%; background: var(--gepy-muted); opacity: .4; animation: gepy-punti 1.2s ease-in-out infinite; }
.gepy-scrive i:nth-child(2) { animation-delay: .2s; } .gepy-scrive i:nth-child(3) { animation-delay: .4s; }
@keyframes gepy-punti { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.gepy-card-strumenti { position: absolute; top: 14px; right: 14px; z-index: 3; display: flex; gap: 6px; }
.gepy-storia-toggle { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 8px 14px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); color: var(--gepy-mare); font-size: 13px; font-weight: 700; box-shadow: 0 1px 6px rgba(0,0,0,.08); }
.gepy-storia-toggle small { display: inline-block; min-width: 1.5em; padding: 0 .4em; border-radius: 999px; background: var(--gepy-accent); color: #fff; font-size: .75rem; text-align: center; line-height: 1.55; }
.gepy-storia-toggle[aria-expanded="true"] { background: var(--gepy-mare); color: #fff; }
.gepy-chiudi, .gepy-storia-chiudi { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); color: var(--gepy-mare); font-size: 1.3rem; line-height: 1; box-shadow: 0 1px 6px rgba(0,0,0,.08); }
.gepy-chiudi:hover, .gepy-storia-chiudi:hover { background: #fff; }
.gepy-chiudi:focus-visible, .gepy-storia-chiudi:focus-visible, .gepy-storia-toggle:focus-visible, .gepy-invia:focus-visible, .gepy-scheda button:focus-visible, .gepy-azione:focus-visible, .gepy-rapida:focus-visible, .gepy-freccia:focus-visible, .gepy-consenso button:focus-visible { outline: 3px solid var(--gepy-accent); outline-offset: 2px; }
.gepy-toast { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 6; background: var(--gepy-ink); color: #fff; font-size: .85rem; padding: .5rem 1rem; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.2); animation: gepy-entra .25s ease-out; max-width: calc(100% - 2rem); text-align: center; }

/* «Pensati per te»: la vetrina dei prodotti, un gruppo per ricerca, ognuno a scorrimento orizzontale */
.gepy-trovati { display: flex; flex-direction: column; overflow: hidden; }
.gepy-trovati > header { flex: 0 0 auto; display: flex; align-items: center; gap: 16px; padding: 20px 24px 8px; }
.gepy-trovati > header > div { min-width: 0; }
.gepy-icona { width: 52px; height: 52px; border-radius: 50%; background: var(--gepy-page); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: 24px; color: var(--gepy-ink); }
.gepy-trovati h2 { margin: 0; font-size: 20px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; line-height: 1.2; }
.gepy-trovati-sotto { margin: 2px 0 0; color: var(--gepy-muted); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gepy-vedi-tutti { margin-left: auto; color: var(--gepy-accent); font-weight: 600; text-decoration: none; white-space: nowrap; font-size: 15px; flex: 0 0 auto; }
.gepy-vedi-tutti:hover { text-decoration: underline; }
.gepy-trovati-lista { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 8px 24px 20px; display: flex; flex-direction: column; gap: 22px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d1d5db transparent; }
.gepy-gruppo { animation: gepy-entra .4s ease-out; }
.gepy-gruppo h4 { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--gepy-muted); text-transform: uppercase; letter-spacing: .04em; display: flex; align-items: center; gap: 10px; }
.gepy-gruppo h4::after { content: ''; flex: 1; height: 1px; background: var(--gepy-line); }
.gepy-gruppo.iniziale:only-child > h4 { display: none; }
.gepy-gruppo.vecchio { opacity: .85; }
.gepy-gruppo.vecchio:hover { opacity: 1; }
.gepy-carosello { position: relative; }
.gepy-schede { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 2px 2px 6px; scrollbar-width: none; }
.gepy-schede::-webkit-scrollbar { display: none; }
.gepy-freccia { position: absolute; top: 38%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--gepy-bg); color: var(--gepy-ink); box-shadow: 0 4px 14px rgba(0,0,0,.12); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.gepy-freccia.prev { left: -8px; } .gepy-freccia.prev svg { transform: rotate(180deg); }
.gepy-freccia.next { right: -8px; }
.gepy-freccia:hover { background: var(--gepy-tint); }

/* Schede prodotto */
.gepy-scheda { flex: 0 0 224px; scroll-snap-align: start; display: flex; flex-direction: column; font-size: 14px; }   /* tessera piatta: solo la foto è arrotondata, niente cornice */
.gepy-scheda-foto { position: relative; }
.gepy-scheda-foto a { display: block; border-radius: var(--gepy-rt); overflow: hidden; }
.gepy-scheda-img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--gepy-rt); background: var(--gepy-page); transition: transform .25s ease; }
.gepy-scheda:hover .gepy-scheda-img { transform: scale(1.03); }
.gepy-scheda-vuota { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1 / 1; border-radius: var(--gepy-rt); background: var(--gepy-page); color: var(--gepy-muted); font-size: 2rem; }
.gepy-scheda-badge { position: absolute; top: 12px; left: 12px; background: var(--gepy-accent); color: #fff; border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; }
.gepy-scheda-corpo { padding: 12px 4px 4px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.gepy-scheda-nome { font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--gepy-ink); text-decoration: none; }
.gepy-scheda-nome:hover { text-decoration: underline; }
.gepy-scheda-prezzo { font-weight: 800; font-size: 17px; }
.gepy-scheda-prezzo s { font-weight: 500; font-size: 14px; color: var(--gepy-muted); margin-left: .4rem; }
.gepy-scheda-breve { color: var(--gepy-muted); font-size: 13.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gepy-chiedi { align-self: flex-start; border: 0; background: none; padding: 0; font-size: 13px; color: var(--gepy-accent); font-weight: 600; }
.gepy-chiedi:hover { text-decoration: underline; }
.gepy-scheda-azioni { margin-top: auto; padding-top: 10px; }
.gepy-scheda-azioni > * { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 12px; font-size: 14px; font-weight: 600; text-decoration: none; }
.gepy-scheda-azioni .gepy-ico { font-size: 18px; }
.gepy-aggiungi { background: var(--gepy-accent); color: #fff; }
.gepy-aggiungi[disabled] { opacity: .65; cursor: default; }
.gepy-aggiunto, .gepy-aggiunto[disabled] { background: var(--gepy-ok); color: #fff; opacity: 1; }
.gepy-opzioni { background: var(--gepy-tint); color: var(--gepy-accent); }
.gepy-opzioni:hover { background: var(--gepy-accent); color: #fff; }
.gepy-scheda-esaurito { background: var(--gepy-page); color: var(--gepy-muted); cursor: default; }

/* Cassetto della conversazione */
.gepy-storia { position: absolute; top: 0; right: 0; bottom: 0; z-index: 5; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--gepy-bg); border-radius: var(--gepy-r);
  transform: translateX(104%); transition: transform .32s cubic-bezier(.4, .1, .2, 1); visibility: hidden; }
.gepy-scena[data-storia="1"] .gepy-storia { transform: none; visibility: visible; box-shadow: -16px 0 48px rgba(0,0,0,.16); }
.gepy-storia > header { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: .85rem .7rem .4rem 1.2rem; font-weight: 800; }
.gepy-storia-chiudi { box-shadow: none; background: transparent; color: var(--gepy-muted); }
.gepy-messaggi { flex: 1; overflow-y: auto; padding: .9rem .9rem .6rem; display: flex; flex-direction: column; gap: .6rem; overscroll-behavior: contain; }
.gepy-msg { max-width: 88%; padding: .6rem .8rem; border-radius: 14px; font-size: .9rem; white-space: pre-wrap; word-wrap: break-word; }
.gepy-msg.da-gepy { align-self: flex-start; background: var(--gepy-page); border-bottom-left-radius: 4px; }
.gepy-msg.da-te { align-self: flex-end; background: var(--gepy-accent); color: #fff; border-bottom-right-radius: 4px; }
.gepy-msg.sistema { align-self: center; background: transparent; color: var(--gepy-muted); font-size: .76rem; text-align: center; max-width: 100%; padding: .2rem .4rem; }
.gepy-msg p { margin: 0; }
.gepy-msg p + p { margin-top: .45rem; }
.gepy-msg.da-te a { color: #fff; }
.gepy-msg-prodotti { align-self: flex-start; display: flex; flex-wrap: wrap; gap: .3rem; max-width: 92%; }
.gepy-msg-prodotti a { font-size: .74rem; color: var(--gepy-ink); background: var(--gepy-page); border: 0; border-radius: 999px; padding: .25rem .65rem; text-decoration: none; }
.gepy-msg-prodotti a:hover { background: var(--gepy-tint); color: var(--gepy-accent); }

/* In basso: avatar, casella, suggerimenti */
.gepy-compo { flex: 0 0 auto; position: relative; z-index: 4; background: var(--gepy-bg); border-radius: var(--gepy-r); padding: 14px 18px 12px; }
.gepy-barra-input { display: flex; align-items: center; gap: 14px; }
.gepy-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--gepy-tint); overflow: hidden; position: relative; flex: 0 0 auto; }
.gepy-avatar .gepy { position: absolute; }
.gepy-compo form { flex: 1 1 auto; display: flex; gap: 12px; align-items: center; min-width: 0; }
.gepy-compo textarea { flex: 1; min-width: 0; resize: none; min-height: 56px; max-height: 140px; border: 0; border-radius: 28px; padding: 16px 22px; font: inherit; font-size: 17px; line-height: 1.4; background: var(--gepy-page); color: var(--gepy-ink); transition: background .18s ease, box-shadow .18s ease; }
.gepy-compo textarea::placeholder { color: #9ca3af; }
.gepy-compo textarea:placeholder-shown { overflow: hidden; }   /* casella vuota: il suggerimento può andare a capo senza barra di scorrimento */
.gepy-compo textarea:focus { outline: 0; background: var(--gepy-bg); box-shadow: 0 0 0 2px var(--gepy-accent); }
.gepy-invia { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--gepy-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: 24px; }
.gepy-invia[disabled] { opacity: .5; cursor: default; }
/* Voce: microfono (spento, pronto, in ascolto, parla), indicatore persistente, sottotitoli con Interrompi */
.gepy-mic { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--gepy-tint); color: var(--gepy-accent); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: 24px; position: relative; transition: background .18s ease, color .18s ease; }
.gepy-mic:hover { background: var(--gepy-accent); color: #fff; }
.gepy-mic[data-stato="pronto"] { box-shadow: inset 0 0 0 2px var(--gepy-accent); }
.gepy-mic[data-stato="ascolto"] { background: #dc2626; color: #fff; animation: gepy-pulsa 1.4s ease-out infinite; }
.gepy-mic[data-stato="parla"] { background: var(--gepy-accent); color: #fff; }
@keyframes gepy-pulsa { 0% { box-shadow: 0 0 0 0 rgba(220,38,38,.45); } 100% { box-shadow: 0 0 0 16px rgba(220,38,38,0); } }
.gepy-voce-indicatore { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .6rem; margin-top: 10px; font-size: 13px; color: var(--gepy-muted); }
.gepy-voce-indicatore i { width: 9px; height: 9px; border-radius: 50%; background: #dc2626; display: inline-block; flex: 0 0 auto; animation: gepy-punti 1.2s ease-in-out infinite; }
.gepy-voce-indicatore > span { flex: 1 1 auto; min-width: 0; }
.gepy-voce-msg { color: var(--gepy-ink); font-weight: 600; }
.gepy-voce-spegni { border: 0; background: none; color: var(--gepy-accent); font-weight: 600; text-decoration: underline; padding: 0; font-size: 13px; }
.gepy-sottotitoli { display: flex; align-items: center; gap: .6rem; margin-top: .7rem; padding: .5rem .8rem; border-radius: 999px; background: var(--gepy-page); font-size: .95rem; line-height: 1.4; }
.gepy-sottotitoli-testo { flex: 1 1 auto; min-width: 0; color: var(--gepy-muted); }
.gepy-sottotitoli-testo span.on { color: var(--gepy-accent); font-weight: 700; }
.gepy-interrompi { flex: 0 0 auto; border: 0; border-radius: 999px; background: var(--gepy-ink); color: #fff; padding: .4rem .8rem; font-size: .8rem; font-weight: 700; }
.gepy-interrompi:hover { background: #000; }
.gepy-rapide { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.gepy-rapida { border: 0; border-radius: 999px; padding: 9px 16px; background: var(--gepy-tint); color: var(--gepy-accent); font-size: 14px; font-weight: 600; animation: gepy-entra .3s ease-out; }
.gepy-rapida:hover { background: var(--gepy-accent); color: #fff; }
.gepy-nota { margin: 10px 0 0; font-size: 12px; color: var(--gepy-muted); line-height: 1.3; text-align: center; }
.gepy-nota a { color: var(--gepy-muted); }
.gepy-nota-corta { display: none; }
.gepy-consenso { padding: 0 .3rem; margin-bottom: .75rem; font-size: .84rem; color: var(--gepy-muted); display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; }   /* una riga di testo coi bottoni, senza riquadro */
.gepy-consenso p { margin: 0; flex: 1 1 320px; }
.gepy-consenso-bottoni { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.gepy-consenso button { border-radius: 999px; padding: .4rem .9rem; font-size: .8rem; font-weight: 700; border: 0; background: var(--gepy-page); color: var(--gepy-ink); }
.gepy-consenso button.si { background: var(--gepy-accent); color: #fff; }
.gepy-consenso a { font-size: .78rem; }
.gepy-consenso-nota { font-size: .74rem; color: var(--gepy-muted); text-align: center; margin-bottom: .5rem; }
.gepy-consenso-nota button { border: 0; background: none; color: var(--gepy-accent); text-decoration: underline; padding: 0; font-size: inherit; }

/* Nella pagina /gepy le due parti a destra e in basso non sono riquadri: stanno sul bianco della pagina, allineate al bordo del mare */
#gepy-vetrina[data-modo="pagina"] .gepy-trovati, #gepy-vetrina[data-modo="pagina"] .gepy-compo { background: transparent; border-radius: 0; }
#gepy-vetrina[data-modo="pagina"] .gepy-trovati > header { padding: 14px 4px 10px; }
#gepy-vetrina[data-modo="pagina"] .gepy-trovati-lista { padding: 8px 4px 20px; }
#gepy-vetrina[data-modo="pagina"] .gepy-freccia.prev { left: 0; }
#gepy-vetrina[data-modo="pagina"] .gepy-freccia.next { right: 0; }
#gepy-vetrina[data-modo="pagina"] .gepy-compo { padding: 12px 0 0; }

/* Schermi stretti: le schede una sotto l'altra, la pagina scorre, la barra resta in basso */
@media (max-width: 860px) {
  #gepy-vetrina[data-aperto="1"][data-modo="bolla"] { padding: 0; }
  #gepy-vetrina[data-modo="bolla"] .gepy-scena { gap: 10px; overflow-y: auto; padding: 10px 10px 0; -webkit-overflow-scrolling: touch; }
  #gepy-vetrina[data-modo="pagina"] .gepy-scena { display: flex; height: auto; gap: 10px; }
  .gepy-palco { display: flex; flex-direction: column; gap: 10px; flex: 0 0 auto; min-height: 0; }
  .gepy-card-gepy { height: 320px; flex: 0 0 auto; }
  .gepy-card-testa { padding: 14px 16px 0; }
  .gepy-nome b { font-size: 28px; }
  .gepy-pill { font-size: 11px; padding: 3px 9px; }
  .gepy-sotto { font-size: 14px; margin-top: 3px; }
  .gepy-stato { font-size: 12px; }
  .gepy-figura { gap: 8px; padding: 0 12px 0 2px; }
  .gepy-rig { flex: 0 0 44%; }
  .gepy-fumetto { font-size: 14.5px; padding: 12px 14px; margin: 2% 0 10px; border-radius: 16px; }
  .gepy-fumetto::before { top: 24px; }
  .gepy-card-strumenti { top: 10px; right: 10px; }
  .gepy-storia-toggle span { display: none; }
  .gepy-trovati { flex: 0 0 auto; overflow: visible; }
  .gepy-trovati > header { padding: 14px 14px 6px; gap: 10px; }
  #gepy-vetrina[data-modo="pagina"] .gepy-trovati > header { padding: 12px 4px 6px; }
  .gepy-icona { width: 40px; height: 40px; font-size: 18px; }
  .gepy-trovati h2 { font-size: 17px; }
  .gepy-trovati-sotto { font-size: 13px; }
  .gepy-vedi-tutti { font-size: 13px; }
  .gepy-trovati-lista { overflow: visible; padding: 4px 14px 14px; gap: 16px; }
  #gepy-vetrina[data-modo="pagina"] .gepy-trovati-lista { padding: 4px 4px 14px; }
  .gepy-scheda { flex-basis: 190px; }
  .gepy-freccia { display: none; }
  .gepy-storia { position: fixed; inset: 0; width: 100%; border-radius: 0; }
  .gepy-compo { position: sticky; bottom: 0; border-radius: 18px 18px 0 0; padding: 10px 12px 8px; box-shadow: 0 -8px 30px rgba(17,24,39,.1); }
  #gepy-vetrina[data-modo="pagina"] .gepy-compo { margin: 0 -12px; padding: 8px 12px 8px; border-radius: 0; box-shadow: none; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }   /* barra a tutta larghezza, velata sul contenuto che scorre sotto */
  .gepy-barra-input { gap: 10px; }
  .gepy-avatar { width: 46px; height: 46px; }
  .gepy-compo form { gap: 8px; }
  .gepy-compo textarea { min-height: 46px; padding: 12px 18px; font-size: 16px; border-radius: 23px; }   /* 16px: niente zoom automatico su iPhone */
  .gepy-invia { width: 46px; height: 46px; font-size: 20px; }
  .gepy-mic { width: 46px; height: 46px; font-size: 20px; }
  .gepy-voce-indicatore { font-size: 12px; margin-top: 8px; }
  .gepy-voce-nota { display: none; }   /* sul telefono resta solo lo stato */
  .gepy-sottotitoli { font-size: .88rem; padding: .4rem .7rem; }
  .gepy-rapide { flex-wrap: nowrap; overflow-x: auto; margin: 10px -12px 0; padding: 0 12px; scrollbar-width: none; }
  .gepy-rapide::-webkit-scrollbar { display: none; }
  .gepy-rapida { flex: 0 0 auto; font-size: 14px; padding: 8px 14px; }
  .gepy-nota { margin-top: 6px; }
  .gepy-nota-lunga { display: none; }
  .gepy-nota-corta { display: inline; }
  .gepy-consenso { padding: 0 .2rem; margin-bottom: .5rem; font-size: .76rem; }
  .gepy-consenso button { padding: .3rem .75rem; font-size: .76rem; }
  .gepy-consenso-nota { margin-bottom: .3rem; }
  .gepy-lancio b { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .gepy-scena, .gepy-gruppo, .gepy-rapida, .gepy-toast { animation: none; }
  .gepy-storia, .gepy-scheda-img, .gepy-lancio, .gepy-compo textarea { transition: none; }
  .gepy-schede { scroll-behavior: auto; }
  .gepy-scrive i { animation: none; opacity: .7; }
  .gepy-mic[data-stato="ascolto"], .gepy-voce-indicatore i { animation: none; }
}

/* ── Peppe 'o Baffo su tatta-shop.it (04/12/2026) ─────────────────────────────────────────────
   Sopra la scena di GEPY: colore e carattere del negozio, taglie sulla scheda, «Lo prendo». */
#gepy-vetrina { --gepy-accent: #1274b4; font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
#gepy-vetrina textarea, #gepy-vetrina button, #gepy-vetrina input { font-family: inherit; }
.gepy-scheda-azioni > .gepy-taglie { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px; padding: 0 0 10px; border-radius: 0; background: none; }
.gepy-taglia { border: 0; border-radius: 999px; min-width: 42px; padding: 7px 10px; background: var(--gepy-page); color: var(--gepy-ink); font-size: 13px; font-weight: 700; line-height: 1.1; }
.gepy-taglia:hover { background: var(--gepy-tint); color: var(--gepy-accent); }
.gepy-taglia[aria-pressed="true"] { background: var(--gepy-ink); color: #fff; }
.gepy-taglia:focus-visible, .gepy-prendo:focus-visible { outline: 3px solid var(--gepy-accent); outline-offset: 2px; }
.gepy-prendo { background: var(--gepy-accent); color: #fff; }
.gepy-prendo:hover { filter: brightness(1.08); }
.gepy-scuoti { animation: gepy-scuoti .35s ease; }
@keyframes gepy-scuoti { 0%, 100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .gepy-scuoti { animation: none; } }
/* Peppe: pulsante «Voce accesa / spenta» accanto a «Conversazione» */
.gepy-voce-toggle { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 8px 14px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); font-size: 13px; font-weight: 700; box-shadow: 0 1px 6px rgba(0,0,0,.08); cursor: pointer; font-family: inherit; }
.gepy-voce-toggle:focus-visible { outline: 3px solid var(--gepy-accent); outline-offset: 2px; }
.gepy-voce-toggle .gepy-voce-ico { display: inline-flex; }
@media (max-width: 1280px) { .gepy-voce-toggle span, .gepy-storia-toggle span { display: none; } .gepy-voce-toggle { padding: 8px 10px; } }
.gepy-voce-toggle[aria-pressed="true"] { background: var(--gepy-accent); color: #fff; }
.gepy-voce-toggle[aria-pressed="false"] { color: var(--gepy-muted); }
.gepy-voce-toggle[hidden] { display: none; }
