/* ============================================================
   RoomReveal — studio.css
   Sistema di design (v2) per le pagine secondarie/legali:
   privacy.html · termini.html · 404.html
   Palette: paper #FBFAF8 · ink #17181B · estate-green #1F5E4C · gold #C49A5A
   Font: Manrope (struttura) + Fraunces corsivo (accento)
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --paper: #FBFAF8;
  --paper-2: #F4F2EE;
  --ink: #17181B;
  --ink-soft: #55585E;
  --line: rgba(23,24,27,.10);
  --line-2: rgba(23,24,27,.06);
  --gold: #C49A5A;
  --gold-deep: #836427;
  --green: #1F5E4C;
  --green-deep: #1A5142;
  --green-tint: #EAF1EE;
  --grad: linear-gradient(90deg, var(--green), var(--gold));
  --ease: cubic-bezier(.22,.68,.28,1);
  --radius: 22px;
  --maxw: 1280px;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--paper); color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; line-height: 1.5;
  min-height: 100vh; display: flex; flex-direction: column;
  overflow-x: hidden; /* niente scroll orizzontale accidentale su mobile */
}
/* su schermi stretti la barra account va a capo invece di sforare (dashboard/studio a 375px) */
@media (max-width: 640px) { .nav-inner { height: auto; min-height: 76px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; row-gap: 6px; } .studio-account { flex-wrap: wrap; justify-content: flex-end; gap: 8px 10px; } }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* focus-visible ovunque, gli utenti da tastiera devono vederlo */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ===== toast (notifiche non bloccanti) — condiviso da app.html + dashboard.html (toast.js) ===== */
.rr-toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: 92vw; }
.rr-toast { color: #fff; padding: 12px 20px; border-radius: 12px; font-family: "Manrope", system-ui, sans-serif; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(23,24,27,.20); opacity: 0; transform: translateY(10px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.rr-toast.show { opacity: 1; transform: translateY(0); }
.rr-toast-success { background: var(--green); }
.rr-toast-error { background: #b4232a; }
.rr-toast-info { background: var(--ink); }

/* ===== nav / brand ===== */
nav.nav { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(14px); background: rgba(251,250,248,.82); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18.5px; letter-spacing: -.02em; text-decoration: none; color: var(--ink); }
.brand img { width: 30px; height: 30px; display: block; }
.brand span { line-height: 1; }
.nav-cta { display: flex; align-items: center; gap: 16px; }

/* ===== buttons / pill ===== */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 14.5px; text-decoration: none; color: var(--paper); background: var(--ink); border: none; cursor: pointer; transition: transform .25s var(--ease), background .25s; }
.pill:hover { transform: translateY(-2px); background: var(--green); }
.pill.btn-lg { padding: 16px 28px; font-size: 15.5px; }
.pill.pill-green { background: var(--green); }
.pill.pill-green:hover { background: var(--green-deep); }
.btn-ghost { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14.5px; transition: border-color .2s, transform .2s; }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ===== legal pages (privacy / termini) — prose ===== */
.legal-page { flex: 1; max-width: 780px; margin: 0 auto; width: 100%; padding: 56px 40px 96px; }
.legal-page .back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; color: var(--green); text-decoration: none; font-weight: 700; font-size: 14.5px; transition: color .2s; }
.legal-page .back:hover { color: var(--green-deep); }
.legal-page h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; margin-bottom: 10px; }
.legal-page h1 em { font-family: "Fraunces", serif; font-weight: 500; font-style: italic; color: var(--green); }
.legal-page .updated { color: var(--ink-soft); font-size: 14px; margin-bottom: 34px; }
.legal-page h2 { font-family: "Fraunces", serif; font-weight: 500; font-style: normal; font-size: clamp(1.35rem, 2.1vw, 1.7rem); letter-spacing: -.01em; color: var(--ink); margin: 40px 0 12px; }
.legal-page p, .legal-page li { color: var(--ink-soft); line-height: 1.75; font-size: 16px; }
.legal-page p { margin-bottom: 4px; }
.legal-page strong, .legal-page b { color: var(--ink); font-weight: 700; }
.legal-page ul { padding-left: 22px; margin: 10px 0 4px; }
.legal-page li { margin-bottom: 8px; }
.legal-page a { color: var(--green); text-decoration: underline; text-decoration-color: rgba(31,94,76,.35); text-underline-offset: 2px; transition: text-decoration-color .2s; }
.legal-page a:hover { text-decoration-color: var(--green); }
.legal-page .box { background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 22px; margin: 16px 0; }
.legal-page .box p { margin-bottom: 0; }
.legal-page .highlight { background: var(--green-tint); border-left: 3px solid var(--green); border-radius: 10px; padding: 16px 22px; margin: 20px 0; }
.legal-page .highlight h2 { margin-top: 0; }
.legal-page .doclinks { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); font-weight: 600; }

/* ===== 404 / notfound ===== */
.notfound { flex: 1; display: grid; place-items: center; text-align: center; padding: 80px 40px 100px; }
.notfound .nf-code { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; font-size: clamp(72px, 18vw, 148px); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--green); margin-bottom: 8px; }
.notfound h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -.025em; color: var(--ink); margin-bottom: 14px; }
.notfound h1 em { font-family: "Fraunces", serif; font-weight: 500; font-style: italic; color: var(--green); }
.notfound p { color: var(--ink-soft); font-size: 1.05rem; max-width: 44ch; margin: 0 auto 30px; line-height: 1.6; }

/* ===== footer (.app-foot) ===== */
footer.app-foot { border-top: 1px solid var(--line); padding: 28px 40px; text-align: center; color: var(--ink-soft); font-size: 13.5px; line-height: 1.9; }
footer.app-foot a { color: var(--ink); text-decoration: none; font-weight: 600; transition: color .2s; }
footer.app-foot a:hover { color: var(--green); }

/* ===== responsive (legali) ===== */
@media (max-width: 720px) {
  .wrap, .nav-inner { padding-left: 22px; padding-right: 22px; }
  .legal-page { padding: 40px 22px 72px; }
  .notfound { padding: 56px 22px 80px; }
  footer.app-foot { padding: 26px 22px; }
}

/* ============================================================
   STUDIO (app.html) + DASHBOARD (dashboard.html) — componenti
   ============================================================ */
/* i modali/elementi con [hidden] devono restare nascosti a prescindere */
[hidden] { display: none !important; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; width: 100%; }
h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.015em; }
.muted { color: var(--ink-soft); }
.serif { font-family: "Fraunces", serif; font-style: italic; font-weight: 400; }

/* account chip nella nav */
.studio-account { display: flex; align-items: center; gap: 14px; }
.credits-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 999px; background: var(--green-tint); color: var(--green); font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.credits-pill b { font-variant-numeric: tabular-nums; }

/* ===== sistema bottoni (.btn) ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 24px; min-height: 46px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 14.5px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), background .2s, border-color .2s, opacity .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--green); }
.btn.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.btn-ghost:hover { border-color: var(--ink); background: transparent; }
/* HD lucchettato: ghost discreto ma visibile, il lucchetto fa il lavoro visivo */
.btn.btn-locked { border-style: dashed; border-color: rgba(23,24,27,.22); color: var(--ink-soft); }
.btn.btn-locked:hover { border-color: var(--green); color: var(--green); background: transparent; }
.btn-danger { background: #fff; color: #b4232a; border-color: rgba(180,35,42,.35); }
.btn-danger:hover { background: #b4232a; color: #fff; border-color: #b4232a; }
.btn-sm { padding: 10px 17px; min-height: 40px; font-size: 13.5px; }
.btn-lg { padding: 17px 28px; min-height: 52px; font-size: 15.5px; }
.full { width: 100%; }

/* card generica */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 70px -40px rgba(23,24,27,.22); padding: 28px; }

/* ===== STUDIO: layout a due colonne ===== */
/* v19: strumento compatto e centrato — niente più pagina larga sbilanciata con mare di crema.
   Wrapper con max-width utile, colonna controlli a larghezza calmierata, risultato che prende
   il resto ma resta contenuto. align-items:start resta: ogni card si chiude alla propria altezza. */
.studio { flex: 1; display: grid; grid-template-columns: minmax(340px, 380px) minmax(0, 1fr); gap: 24px; padding-top: 40px; padding-bottom: 64px; align-items: start; max-width: 1120px; margin-inline: auto; }
.panel-step { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 14.5px; margin: 24px 0 12px; letter-spacing: -.01em; }
.panel-step:first-child { margin-top: 0; }
/* v19: pallino step leggermente più grande con ombra soft = profondità premium */
.panel-num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; font-weight: 800; flex-shrink: 0; box-shadow: 0 2px 6px -2px rgba(31,94,76,.5); }

/* dropzone upload */
.drop { display: block; border: 1.5px dashed var(--line); border-radius: 16px; background: var(--paper-2); padding: 30px 20px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; position: relative; overflow: hidden; }
.drop:hover { border-color: var(--green); background: var(--green-tint); }
.drop-ico { font-size: 26px; margin-bottom: 8px; }
.drop p { font-size: 14.5px; color: var(--ink); }
.drop p b { font-weight: 700; }
.drop small { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 12.5px; }
/* v19: la foto caricata sembra già "in cornice" — filo d'ombra + radius */
.preview { width: 100%; border-radius: 12px; display: block; box-shadow: 0 10px 26px -18px rgba(23,24,27,.5); }

/* segmented + griglia stili */
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--paper-2); padding: 5px; border-radius: 14px; }
.seg-opt { font: inherit; font-weight: 700; font-size: 13.5px; padding: 11px 8px; border-radius: 10px; border: none; background: transparent; color: var(--ink-soft); cursor: pointer; transition: background .2s, color .2s; }
.seg-opt.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -3px rgba(23,24,27,.25); }
/* v21: griglia stili -> STRISCIA orizzontale scorrevole (tipo filtri): tessere grandi ma su 1 riga -> colonna controlli molto piu' bassa, niente vuoto a fianco del risultato. */
.style-grid { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.style-opt { font: inherit; font-weight: 700; font-size: 13.5px; padding: 13px 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink-soft); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.style-opt:hover { border-color: var(--ink-soft); }
.style-opt.active { border-color: var(--green); background: var(--green-tint); color: var(--green); }

/* ============================================================
   Funzionalità extra (a costo zero): anteprime stile, drag&drop,
   card galleria, filtri, insight — Studio + Area personale
   ============================================================ */
/* dropzone durante il trascinamento */
.drop.drag-over { border-color: var(--green); background: var(--green-tint); box-shadow: 0 0 0 4px rgba(31,94,76,.14); }
/* anteprime stile con thumbnail reale */
.style-opt { padding: 0; overflow: hidden; display: flex; flex-direction: column; align-items: stretch; text-align: left; flex: 0 0 120px; scroll-snap-align: start; }
.style-thumb { display: block; width: 100%; height: 88px; background-size: cover; background-position: center; background-color: var(--paper-2); }
/* v21: anteprima upload piu' compatta (era ~180px) per abbassare la colonna controlli */
#preview.preview { max-height: 150px; object-fit: cover; }
.style-name { display: block; padding: 8px 12px; }
.style-opt.active .style-thumb { box-shadow: inset 0 0 0 2px var(--green); }
/* v19: micro-lift tattile su hover (scoped .style-grid, non tocca .btn globale) */
.style-grid .style-opt { transition: border-color .2s, color .2s, background .2s, transform .2s var(--ease); }
.style-grid .style-opt:hover { transform: translateY(-1px); }
.style-grid .style-opt.active { box-shadow: 0 0 0 1px rgba(31,94,76,.25); }

/* ============================================================
   v20 (F1/F2/F3) — anteprima grande stili · badge Japandi · striscia versioni
   Tutto SCOPED sotto .style-preview / .style-grid / .versions-strip: dashboard,
   pagine SEO e legali non sono toccate.
   ============================================================ */
/* v22: anteprima GRANDE dello stile — ora vive nell'AREA RISULTATO (#result-empty): riempie lo
   spazio (niente vuoto a fianco) e mostra lo stile in grande. Aggiornata da app.js su hover/selezione. */
.result-empty .style-preview { display: block; position: relative; width: 100%; aspect-ratio: 16/10; border-radius: 16px; overflow: hidden; margin: 0 auto; background: var(--paper-2); border: 1px solid var(--line); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5), 0 24px 50px -30px rgba(23,24,27,.3); }
.result-empty-hint { color: var(--ink-soft); font-size: 14px; margin: 12px 0 0; }
/* striscia stili con frecce di scorrimento */
.style-strip-wrap { position: relative; display: flex; align-items: center; gap: 8px; }
.style-arrow { flex: 0 0 auto; width: 34px; height: 64px; border: 1px solid var(--line); background: #fff; border-radius: 10px; font-size: 22px; line-height: 1; color: var(--ink-soft); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, color .2s, transform .15s var(--ease); }
.style-arrow:hover { border-color: var(--green); color: var(--green); transform: translateY(-1px); }
/* v24: attivazione — bottone reso VISIBILE (era testo grigio ink-soft = 0 click di sempre).
   Recupera il ~30% che si iscrive e non genera mai. Stesso id/handler, solo stile. */
.try-example { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 10px; padding: 11px 14px; background: var(--green-tint); border: 1.5px solid var(--green); border-radius: 12px; color: var(--green); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-align: center; transition: box-shadow .2s, transform .15s var(--ease); }
.try-example b { color: var(--green); font-weight: 800; }
.try-example:hover { box-shadow: 0 4px 12px -6px rgba(31,94,76,.5); transform: translateY(-1px); }
.style-preview-img { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: var(--paper-2); transition: opacity .25s var(--ease); }
/* placeholder gradiente brand quando lo stile non ha ancora una hero reale (Japandi) */
.style-preview.is-placeholder .style-preview-img { background: linear-gradient(135deg, var(--green-tint) 0%, #fff 45%, #F3ECDE 100%); }
.style-preview-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 12px; display: flex; align-items: center; gap: 8px; background: linear-gradient(to top, rgba(23,24,27,.62), rgba(23,24,27,0)); }
.style-preview-name { font-weight: 800; font-size: 15px; letter-spacing: -.01em; color: #fff; text-shadow: 0 1px 6px rgba(23,24,27,.5); }
/* placeholder: caption chiara su fondo tenue -> testo scuro */
.style-preview.is-placeholder .style-preview-cap { background: linear-gradient(to top, rgba(255,255,255,.85), rgba(255,255,255,0)); }
.style-preview.is-placeholder .style-preview-name { color: var(--green-deep); text-shadow: none; }

/* F2: badge "Nuovo" accanto al nome dello stile (nel nome tessera e nella caption) */
.style-badge { display: inline-block; vertical-align: middle; margin-left: 5px; font-size: 9.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 2px 6px; border-radius: 999px; }
/* F2: tessera placeholder Japandi — gradiente tenue, mai foto rotta */
.style-thumb.is-placeholder { background: linear-gradient(135deg, var(--green-tint) 0%, #fff 48%, #F3ECDE 100%); position: relative; }
.style-thumb.is-placeholder::after { content: "Japandi"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--green); opacity: .55; }

/* F3b: striscia "Le tue versioni" — miniature delle generazioni della sessione */
.versions-strip { margin-top: 16px; }
.versions-head { font-weight: 800; font-size: 12.5px; letter-spacing: -.01em; color: var(--ink); margin-bottom: 8px; }
.versions-hint { font-weight: 600; color: var(--ink-soft); }
.versions-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.versions-item { position: relative; flex: 0 0 auto; width: 72px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); cursor: pointer; padding: 0; transition: border-color .2s, transform .2s var(--ease); }
.versions-item:hover { border-color: var(--green); transform: translateY(-1px); }
.versions-item.active { border-color: var(--green); box-shadow: 0 0 0 2px rgba(31,94,76,.28); }
.versions-thumb { display: block; width: 72px; height: 54px; object-fit: cover; }
.versions-style { display: block; padding: 4px 6px; font-size: 10px; font-weight: 700; color: var(--ink-soft); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.versions-dl { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 6px; border: none; background: rgba(23,24,27,.62); color: #fff; font-size: 11px; line-height: 1; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .2s, background .2s; }
.versions-item:hover .versions-dl, .versions-item:focus-within .versions-dl { opacity: 1; }
.versions-dl:hover { background: var(--green); }

/* card galleria (classi .gcard generate da dashboard.js) */
.gcard { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 20px 50px -34px rgba(23,24,27,.3); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.gcard:hover { transform: translateY(-3px); box-shadow: 0 26px 60px -30px rgba(23,24,27,.4); }
.gcard-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; cursor: zoom-in; }
.gcard-body { padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gcard-meta { min-width: 0; }
.gcard-style { font-weight: 700; font-size: 14px; color: var(--ink); }
.gcard-date { font-size: 12px; color: var(--ink-soft); }
.gcard-actions { display: flex; gap: 6px; flex-shrink: 0; }
.gcard-btn { border: 1px solid var(--line); background: #fff; border-radius: 9px; width: 34px; height: 34px; cursor: pointer; font-size: 15px; display: grid; place-items: center; transition: border-color .2s, background .2s; }
.gcard-btn:hover { border-color: var(--green); background: var(--green-tint); }
.gcard-btn.ok { border-color: var(--green); background: var(--green-tint); }

/* lightbox galleria: immagine a schermo intero (chiusura: X, Esc, click sull'overlay) */
.lightbox { position: fixed; inset: 0; z-index: 600; background: rgba(23,24,27,.88); display: grid; place-items: center; padding: 24px; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 12px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); }
.lightbox-close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border: 1px solid rgba(251,250,248,.35); border-radius: 999px; background: rgba(23,24,27,.5); color: var(--paper); font-size: 17px; cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.lightbox-close:hover { background: rgba(23,24,27,.85); border-color: rgba(251,250,248,.65); }
/* barra filtri per stile */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter-chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 15px; font-weight: 600; font-size: 13px; color: var(--ink-soft); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.filter-chip:hover { border-color: var(--ink-soft); }
.filter-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
/* riga insight sotto l'intestazione */
.dash-insights { display: flex; flex-wrap: wrap; gap: 12px; margin: 2px 0 28px; }
.insight-pill { background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; font-size: 13.5px; color: var(--ink-soft); }
.insight-pill b { color: var(--ink); font-weight: 700; }
.gen-btn { margin-top: 26px; }
/* v19: azione primaria del pannello con peso premium — gradiente brand SCOPED a .panel
   così .btn-primary usato in paywall/dashboard/altre pagine resta invariato. */
.panel .gen-btn { background: linear-gradient(90deg, var(--green), var(--green-deep)); color: #fff; border-color: transparent; box-shadow: 0 12px 26px -14px rgba(31,94,76,.6); }
.panel .gen-btn:hover:not(:disabled) { background: linear-gradient(90deg, var(--green-deep), var(--green)); box-shadow: 0 16px 32px -14px rgba(31,94,76,.7); }
.panel .gen-btn:disabled { background: var(--ink); color: var(--paper); box-shadow: none; }
.gen-hint { text-align: center; color: var(--ink-soft); font-size: 12.5px; margin-top: 12px; }
/* selettore tipo di stanza + campo dettagli facoltativo (Studio) */
.room-select { width: 100%; padding: 13px 16px; min-height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink); cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2355585E' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; transition: border-color .2s, box-shadow .2s; }
.room-select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,94,76,.15); }
.step-opt { font-weight: 600; font-size: 11px; color: var(--ink-soft); background: var(--paper-2); border: 1px solid var(--line); padding: 2px 8px; border-radius: 999px; text-transform: none; letter-spacing: .01em; }
.details-input { width: 100%; padding: 12px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 14px; line-height: 1.5; color: var(--ink); resize: vertical; min-height: 62px; transition: border-color .2s, box-shadow .2s; }
.details-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,94,76,.15); }
.details-input::placeholder { color: var(--ink-soft); }
.details-hint { color: var(--ink-soft); font-size: 12px; margin-top: 7px; line-height: 1.4; }
/* label secondaria (es. Tipo di stanza sotto lo step) + toggle dettagli collassabile */
.sub-label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); margin: 16px 0 8px; }
.details-toggle { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 6px 0; background: none; border: none; color: var(--green); font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.details-toggle:hover { color: var(--green-deep); }
#details-wrap { margin-top: 10px; }

/* ===== STUDIO: risultato ===== */
/* v19: via il min-height:420px fisso (causava card vuota altissima con solo l'empty state e
   quindi il mare di crema). clamp dà all'empty/loading un'altezza dignitosa senza imporre
   altezza morta: le due colonne restano di altezza confrontabile, niente coda di crema. */
.result { min-height: clamp(360px, 52vh, 560px); display: flex; flex-direction: column; }
.result-empty, .result-loading { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--ink-soft); gap: 14px; padding: 40px; }
.result-ico { font-size: 44px; }
.result-empty p, .result-loading p { line-height: 1.5; }
.spinner { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--green); animation: rr-spin .8s linear infinite; }
@keyframes rr-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2s; } }

/* before/after risultato — FRAME EROE (v19)
   Altezza CALMIERATA senza rompere lo slider: il calcolo di setCompare() è width-based
   (getBoundingClientRect().width + clipPath inset laterale + divider left%), quindi cappare
   l'ALTEZZA è sicuro — il divisore e il clip restano corretti. showResult() scrive aspect-ratio
   inline sul #result-compare: convive con max-height (comportamento CSS deterministico); le
   immagini absolute object-fit:cover vengono ritagliate elegantemente, mai deformate.
   Abbasso da 68vh a clamp(340px,56vh,600px) così immagine + toolbar + note stanno above-the-fold. */
.rcompare { position: relative; width: 100%; aspect-ratio: 4/3; max-height: clamp(360px, 64vh, 660px); margin-inline: auto; border-radius: 16px; overflow: hidden; background: var(--green-tint); user-select: none; touch-action: pan-y; /* lo scroll verticale resta al browser, il drag orizzontale al comparatore */ border: 1px solid var(--line); box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), 0 24px 50px -30px rgba(23,24,27,.35); }
.rcompare-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.rcompare-before { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 50% 0 0); }
.rcompare-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; box-shadow: 0 0 0 1px var(--line); cursor: ew-resize; z-index: 3; }
.rcompare-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 15px; color: var(--ink); box-shadow: 0 6px 18px -6px rgba(23,24,27,.4); }
.rcompare-label { position: absolute; bottom: 12px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; z-index: 2; backdrop-filter: blur(4px); }
.rcompare-label-before { left: 12px; background: rgba(23,24,27,.6); color: #fff; }
.rcompare-label-after { right: 12px; background: rgba(255,255,255,.9); color: var(--ink); }
/* v19: toolbar subito sotto il frame (16px), sempre above-the-fold su desktop.
   Le note lunghe (saved/disclaimer/quality) restano SOTTO la toolbar e tipograficamente
   leggere così non competono con l'azione primaria (Scarica / Sblocca HD). */
.result-toolbar { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; align-items: center; }
.result-toolbar #download { flex: 0 0 auto; }
.result-disclaimer { margin-top: 12px; color: var(--ink-soft); font-size: 12.5px; line-height: 1.5; }
.result-saved { margin-top: 10px; color: var(--ink-soft); font-size: 12.5px; line-height: 1.5; }
.result-saved a { color: var(--green); }
.quality-note { margin-top: 10px; padding: 9px 14px; border-radius: 10px; background: var(--green-tint); border: 1px solid rgba(31,94,76,.22); color: var(--green-deep); font-size: 12.5px; line-height: 1.45; }
.quality-note b { font-weight: 800; }

/* ===== MODALI (login / paywall / delete) ===== */
.paywall { position: fixed; inset: 0; z-index: 500; background: rgba(23,24,27,.55); backdrop-filter: blur(3px); display: grid; padding: 24px; overflow-y: auto; }
.paywall-box { width: 100%; max-width: 420px; margin: auto; text-align: center; }
.paywall-box h2 { margin-bottom: 10px; }
.paywall-box > p { color: var(--ink-soft); margin-bottom: 22px; line-height: 1.5; }
.login-google { margin-bottom: 8px; }
.login-google svg { flex-shrink: 0; }
.login-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--ink-soft); font-size: 12.5px; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.login-input { width: 100%; padding: 13px 16px; min-height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 14.5px; color: var(--ink); margin-bottom: 12px; transition: border-color .2s, box-shadow .2s; }
.login-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,94,76,.15); }
.login-input::placeholder { color: var(--ink-soft); }
/* M1: su dispositivi touch porta gli input a 16px per evitare l'auto-zoom di iOS Safari al focus (zero impatto desktop) */
@media (pointer: coarse) { .login-input, .room-select, .details-input { font-size: 16px; } }
.login-msg { margin-top: 12px; font-size: 13.5px; color: var(--green); }
.login-msg.ok { color: var(--green); }
.login-msg.err { color: #b4232a; } /* stesso rosso dei toast di errore */
.paywall-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0 4px; }
.paywall-plans .btn[aria-busy="true"] { opacity: .6; } /* piano cliccato, in attesa del redirect Stripe */
/* Paywall rifinito: il Pro è la scelta consigliata — badge oro discreto, niente urgenza finta */
.plan-reco { position: relative; display: grid; }
.plan-reco .btn { width: 100%; }
.plan-reco-badge { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--ink); font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; white-space: nowrap; z-index: 1; box-shadow: 0 3px 10px -4px rgba(23,24,27,.35); pointer-events: none; }
/* Garanzie oneste sotto i piani: tolgono le ultime paure senza countdown né pressione */
.paywall-guarantees { margin-top: 14px; font-size: 12px; color: var(--ink-soft); line-height: 1.6; text-align: center; }
.paywall-note { margin-top: 12px; font-size: 11.5px; color: var(--ink-soft); line-height: 1.45; text-align: center; }
.paywall-consent { margin-top: 16px; font-size: 11.5px; color: var(--ink-soft); line-height: 1.5; }
.paywall-consent a { color: var(--green); }
.paywall-close { margin-top: 18px; background: none; border: none; color: var(--ink-soft); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; text-decoration: underline; }
.paywall-close:hover { color: var(--ink); }

/* ===== DASHBOARD ===== */
.dash { flex: 1; padding-top: 44px; padding-bottom: 72px; }
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.dash-head h1 { margin-bottom: 6px; }
.dash-stats { display: flex; gap: 30px; }
.dash-stat { text-align: right; }
.dash-stat b { display: block; font-family: "Fraunces", serif; font-style: italic; font-weight: 500; font-size: 1.9rem; color: var(--green); line-height: 1; }
.dash-stat span { font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.plan-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; background: var(--green-tint); border-color: rgba(31,94,76,.18); }
.plan-card h3 { margin-bottom: 4px; }
/* variante "Crediti esauriti" (Free a 0 crediti): ambra, stessi valori di .sub-banner.warn */
.plan-card.is-out { background: #FBF3E4; border-color: rgba(196,154,90,.45); }
.plan-card.is-out a { color: var(--green-deep); font-weight: 700; text-decoration: underline; }
.dash-section { margin-bottom: 44px; }
.dash-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.dash-loading, .dash-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 60px 24px; color: var(--ink-soft); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.dash-empty-ico { font-size: 44px; }
.dash-empty h3 { color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.gallery figure, .gallery-card { position: relative; margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 20px 50px -34px rgba(23,24,27,.3); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.gallery figcaption { padding: 12px 14px; font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.settings-card, .danger-card { margin-bottom: 20px; }
.settings-card h3, .danger-card h3 { margin-bottom: 14px; }
.danger-card { border-color: rgba(180,35,42,.2); }
.set-label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.set-label .login-input { margin-top: 7px; }

/* banner stato abbonamento (disdetta / pagamento fallito / scaduto) */
.sub-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px 20px; flex-wrap: wrap; padding: 15px 22px; border-radius: 16px; margin-bottom: 30px; border: 1px solid var(--line); font-size: 14.5px; line-height: 1.4; }
.sub-banner-text b { font-weight: 800; }
.sub-banner.warn { background: #FBF3E4; border-color: rgba(196,154,90,.45); color: #6b4e1e; }
.sub-banner.danger { background: #FBEBEC; border-color: rgba(180,35,42,.35); color: #8f2027; }
.sub-banner.info { background: var(--green-tint); border-color: rgba(31,94,76,.25); color: var(--green-deep); }
.sub-banner .btn { flex-shrink: 0; color: #fff; }
.sub-banner.warn .btn { background: var(--gold-deep); border-color: var(--gold-deep); }
.sub-banner.danger .btn { background: #b4232a; border-color: #b4232a; }
.sub-banner.info .btn { background: var(--green); border-color: var(--green); }
.sub-banner .btn:hover { transform: translateY(-2px); filter: brightness(1.08); }

/* ===== responsive studio/dashboard ===== */
@media (max-width: 860px) {
  /* v19: colonna singola ordinata; il max-width:1120px non nuoce (padding container lo comprime) */
  .studio { grid-template-columns: 1fr; gap: 18px; }
  .container { padding-left: 22px; padding-right: 22px; }
  /* v19: su mobile il frame usa max-height:64vh così le verticali non spingono la toolbar
     troppo sotto; lo scrollIntoView di app.js porta comunque l'eroe in vista */
  .rcompare { max-height: 64vh; }
  .dash-head { align-items: flex-start; }
  .dash-stats { gap: 22px; }
  .dash-stat { text-align: left; }
  .paywall-plans { grid-template-columns: 1fr; }
  .nav-inner { padding-left: 22px; padding-right: 22px; }
}
@media (max-width: 480px) {
  .card { padding: 20px; }
  .credits-pill { padding: 7px 12px; font-size: 12.5px; }
  .dash-stats { width: 100%; justify-content: space-between; gap: 12px; }
  /* v19: la toolbar resta a wrap con bottoni tap-friendly (.btn-sm già >=40px) */
  .result-toolbar #download { flex: 1 1 auto; }
}

/* ===== gp: money/guide pages ===== */
/* pagine editoriali lunghe: prezzi-virtual-staging.html ·
   virtual-staging-vs-home-staging.html · virtual-staging-agenzie-immobiliari.html */
.gp-main { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 56px 40px 100px; }

/* breadcrumb */
.gp-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 28px; }
.gp-breadcrumb a { color: var(--green); text-decoration: none; transition: color .2s; }
.gp-breadcrumb a:hover { color: var(--green-deep); text-decoration: underline; }
.gp-breadcrumb .gp-sep { opacity: .55; }

/* hero editoriale */
.gp-hero { margin-bottom: 34px; }
.gp-hero h1 { font-size: clamp(2.2rem, 5vw, 3.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; margin-bottom: 16px; }
.gp-hero h1 em { font-family: "Fraunces", serif; font-weight: 500; font-style: italic; color: var(--green); }
.gp-hero .gp-sub { color: var(--ink-soft); font-size: 1.15rem; line-height: 1.7; }

/* prosa */
.gp-main h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 52px 0 14px; }
.gp-main h2 em { font-family: "Fraunces", serif; font-weight: 500; font-style: italic; color: var(--green); }
.gp-main h3 { margin: 30px 0 8px; }
.gp-main p, .gp-main li { color: var(--ink-soft); font-size: 16.5px; line-height: 1.75; }
.gp-main p { margin-bottom: 14px; }
.gp-main ul, .gp-main ol { padding-left: 22px; margin: 10px 0 18px; }
.gp-main li { margin-bottom: 9px; }
.gp-main li::marker { color: var(--green); }
.gp-main strong, .gp-main b { color: var(--ink); font-weight: 700; }
.gp-main a { color: var(--green); text-decoration: underline; text-decoration-color: rgba(31,94,76,.35); text-underline-offset: 2px; transition: text-decoration-color .2s; }
.gp-main a:hover { text-decoration-color: var(--green); }
.gp-main a.pill, .gp-main a.pill:hover { text-decoration: none; color: var(--paper); }

/* tabella comparativa */
.gp-table-wrap { overflow-x: auto; margin: 26px 0 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 24px 60px -44px rgba(23,24,27,.25); }
.gp-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.gp-table th, .gp-table td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line-2); color: var(--ink-soft); line-height: 1.55; }
.gp-table thead th { background: var(--paper-2); color: var(--ink); font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--line); white-space: nowrap; }
.gp-table tbody th, .gp-table td:first-child { color: var(--ink); font-weight: 700; }
.gp-table tbody tr:last-child th, .gp-table tbody tr:last-child td { border-bottom: none; }
.gp-table .gp-row-hi th, .gp-table .gp-row-hi td { background: var(--green-tint); color: var(--green-deep); }
.gp-table .gp-row-hi th, .gp-table .gp-row-hi td:first-child { color: var(--green); }

/* box CTA */
.gp-cta { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 70px -40px rgba(23,24,27,.22); padding: 36px 32px; margin: 48px 0; text-align: center; }
.gp-cta h2, .gp-cta h3 { margin: 0 0 10px; font-size: clamp(1.3rem, 2.4vw, 1.6rem); letter-spacing: -.02em; }
.gp-cta h2 em, .gp-cta h3 em { font-family: "Fraunces", serif; font-weight: 500; font-style: italic; color: var(--green); }
.gp-cta p { margin: 0 auto 22px; max-width: 52ch; }
.gp-cta small { display: block; margin-top: 14px; color: var(--ink-soft); font-size: 12.5px; }

/* FAQ (details/summary) */
.gp-faq { margin: 22px 0 8px; border-top: 1px solid var(--line); }
.gp-faq details { border-bottom: 1px solid var(--line); }
.gp-faq summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 18px 2px; font-weight: 700; font-size: 16.5px; color: var(--ink); }
.gp-faq summary::-webkit-details-marker { display: none; }
.gp-faq summary::after { content: "+"; font-family: "Fraunces", serif; font-size: 24px; line-height: 1; color: var(--green); flex-shrink: 0; transition: transform .25s var(--ease); }
.gp-faq details[open] summary::after { transform: rotate(45deg); }
.gp-faq details > p { padding: 0 30px 18px 2px; margin-bottom: 0; }

/* nota piccola */
.gp-note { color: var(--ink-soft); font-size: 13px; line-height: 1.65; margin: 12px 0 18px; }

/* immagini editoriali */
.gp-img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); margin: 28px 0; }
figure.gp-figure { margin: 28px 0; }
figure.gp-figure .gp-img { margin: 0; }
figure.gp-figure figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-soft); text-align: center; }

/* responsive gp */
@media (max-width: 768px) {
  .gp-main { padding: 40px 22px 72px; }
  .gp-hero .gp-sub { font-size: 1.05rem; }
  .gp-main p, .gp-main li { font-size: 15.5px; }
  .gp-table { font-size: 14px; min-width: 560px; }
  .gp-table th, .gp-table td { padding: 12px 14px; }
  .gp-cta { padding: 28px 20px; margin: 40px 0; }
  .gp-faq summary { font-size: 15.5px; }
}

/* Banner "crediti esauriti" nello Studio: spinta al rinnovo, tono caldo brand.
   v19: alleggerito a nastro sottile (padding/font ridotti, bordo oro tenue) così non
   schiaccia lo strumento. Resta grid-column:1/-1 (occupa tutta la larghezza in cima). */
.credits-out {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: #FBF3E7; border: 1px solid rgba(196,154,90,.55); border-radius: 12px;
  padding: 12px 16px; font-size: 14px; line-height: 1.5; color: #17181B;
  margin-bottom: 4px;
}
.credits-out .btn { flex-shrink: 0; }
/* v19: sotto 640px il banner si impila (testo sopra, CTA a piena larghezza) per non schiacciare */
@media (max-width: 640px) {
  .credits-out { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 14px; text-align: left; }
  .credits-out .btn { width: 100%; }
}

/* ===== v17: card prezzi post-generazione (Studio) ===== */
/* Il listino si vede PRIMA di finire i crediti: toni caldi del brand (oro tenue),
   zero urgenza — è un'informazione utile, non una leva di pressione. */
.price-card { position: relative; margin-top: 14px; padding: 14px 44px 14px 16px; background: #FDF9F1; border: 1px solid rgba(196,154,90,.4); border-radius: 12px; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }
.price-card b { color: var(--ink); font-weight: 700; }
.price-card .btn { margin-top: 10px; }
.price-card-close { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: none; background: none; border-radius: 999px; color: var(--ink-soft); font-size: 14px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.price-card-close:hover { background: rgba(23,24,27,.07); color: var(--ink); }

/* ===== v16: feedback generazione (👍/👎) + toggle Prima/Dopo nel lightbox ===== */
.gen-feedback { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; font-size: 14px; color: #6b625a; }
.fb-btn { border: 1px solid #e5ddd3; background: #fff; border-radius: 999px; width: 42px; height: 42px; font-size: 18px; cursor: pointer; transition: transform .12s ease, border-color .12s ease; }
.fb-btn:hover { transform: scale(1.08); border-color: #C49A5A; }
.lightbox-toggle { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.35); background: rgba(20,18,16,.72); color: #fff; border-radius: 999px; padding: 10px 18px; font-size: 14px; cursor: pointer; }
.lightbox-toggle:hover { background: rgba(20,18,16,.9); }
