/* ==========================================================================
   LE CARD DEI PROGETTI
   ==========================================================================
   Copiate da genesyslabs.online: stesse regole, stessi numeri, stessi tempi.
   Stanno tutte sotto `.vetrine`, cosi' il resto del sito non le vede e loro
   non vedono il resto del sito. Le variabili qui sotto sono il :root del
   loro foglio, portato dentro al contenitore.

   L'unica cosa cambiata di proposito: gli angoli. La', le card sono
   stondate; qui sono vive, perche' questo sito non stonda niente.
   ========================================================================== */

.vetrine {
  /* Architectural Color Palette: Deep British Racing Green & Muted Sage */
  --color-canvas: #060b08;            /* Ultra-deep forest night */
  --color-surface: #0c1410;           /* Deep British racing green canvas */
  --color-surface-card: #121c16;      /* Elevated pine surface */
  --color-surface-hover: #17241d;     /* Interactive green card hover */
  --color-surface-alt: #09100c;       /* Muted darker section backing */
  
  /* Borders & Precision Grid Dividers */
  --border-hairline: rgba(74, 222, 128, 0.09);
  --border-strong: rgba(74, 222, 128, 0.22);
  --border-focus: #34d399;
  --border-blueprint: rgba(52, 211, 153, 0.4);

  /* Primary Accent: Muted Sage & Bright Emerald Mint */
  --accent-vermillion: #10b981;          /* Emerald mint primary */
  --accent-vermillion-light: #34d399;    /* Bright sage glow */
  --accent-vermillion-subtle: rgba(16, 185, 129, 0.09);

  /* Functional Supporting Accents */
  --accent-emerald: #34d399;             /* Vibrant sage green */
  --accent-emerald-bg: rgba(52, 211, 153, 0.12);
  --accent-amber: #f59e0b;
  --accent-cobalt: #38bdf8;

  /* Typography: Crisp Ice White & Muted Sage Grays */
  --text-primary: #f2f7f4;
  --text-secondary: #c4d7cd;
  --text-muted: #8fa89b;
  --text-dim: #5c7569;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Spacings & Containers */
  --container-max-width: 1320px;
  --radius-sharp: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition-studio: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Le regole globali di questo sito si fermano sulla soglia delle card:
   dentro, si riparte da quello che il loro foglio dava per scontato. */
.vetrine { line-height: 1.6; font-family: var(--font-sans); color: var(--text-primary); }
.vetrine h1, .vetrine h2, .vetrine h3, .vetrine h4 {
  font-family: inherit; text-transform: none; letter-spacing: normal; line-height: 1.3;
}
.vetrine p { max-width: none; }
.vetrine strong, .vetrine b { font-weight: 700; color: inherit; }
.vetrine em, .vetrine i { font-style: normal; }
.vetrine ul { list-style: none; }
.vetrine a { color: inherit; text-decoration: none; }
.vetrine svg { display: block; }

.vetrine .card-progetto-grande.vetrina {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  column-gap: 46px;
  row-gap: 0;
  padding: 40px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.5s cubic-bezier(0.22, 1.62, 0.36, 1), border-color 0.35s ease, box-shadow 0.4s ease;
  transform: translateZ(0);
}

.vetrine .card-progetto-grande.vetrina:hover {
  transform: translateY(-6px) translateZ(0);
}

.vetrine .vetrina-testa { grid-column: 1; grid-row: 1; position: relative; z-index: 1; margin-bottom: 20px; }

.vetrine .vetrina-corpo { grid-column: 1; grid-row: 2; position: relative; z-index: 1; display: flex; flex-direction: column; }

.vetrine .vetrina-visual { grid-column: 2; grid-row: 1 / span 2; align-self: center; position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; min-width: 0; }

.vetrine .vetrina-invertita .vetrina-testa, .vetrine .vetrina-invertita .vetrina-corpo { grid-column: 2; }

.vetrine .vetrina-invertita .vetrina-visual { grid-column: 1; grid-row: 1 / span 2; align-self: center; order: -1; }

.vetrine .vetrina-loot {
  --loot-base: #0A0C10;
  --loot-superficie: #0F1117;
  --loot-elevata: #161B22;
  --loot-accento: #FF6B2B;
  --loot-accento-chiaro: #FF8C5A;
  --loot-verde: #3FB950;
  --loot-bordo: #21262D;

  background: linear-gradient(165deg, #15171F 0%, #0D0F15 45%, #0A0C10 100%);
  border-color: rgba(255, 107, 43, 0.24);
  color: #E6EDF3;
}

.vetrine .vetrina-loot:hover {
  border-color: rgba(255, 107, 43, 0.6);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 38px rgba(255, 107, 43, 0.16);
}

.vetrine .vetrina-loot .vetrina-testa h3 {
  color: var(--loot-accento);
}

.vetrine .vetrina-loot .badge-stato-verde {
  color: var(--loot-verde);
  background: rgba(63, 185, 80, 0.12);
  border-color: rgba(63, 185, 80, 0.32);
}

.vetrine .vetrina-loot .btn-progetto {
  background: var(--loot-accento);
  color: #1A0A03;
  box-shadow: 0 12px 30px rgba(255, 107, 43, 0.26);
}

.vetrine .vetrina-loot .btn-progetto:hover {
  background: var(--loot-accento-chiaro);
  box-shadow: 0 18px 40px rgba(255, 107, 43, 0.38);
}

.vetrine .vetrina-loot .lista-check i {
  color: var(--loot-accento);
}

.vetrine .vetrina-invertita {
  --sorso-fondo: #02161C;
  --sorso-abisso: #04222B;
  --sorso-onda: #12586B;
  --sorso-glow: #7BF0FF;
  --sorso-schiuma: #EAFBFF;

  background: linear-gradient(180deg, var(--sorso-abisso) 0%, var(--sorso-fondo) 100%);
  border-color: rgba(123, 240, 255, 0.22);
  color: var(--sorso-schiuma);
}

.vetrine .vetrina-invertita:hover {
  border-color: rgba(123, 240, 255, 0.55);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 38px rgba(123, 240, 255, 0.18);
}

.vetrine .vetrina-invertita .vetrina-testa h3 {
  color: var(--sorso-glow);
}

.vetrine .vetrina-invertita .badge-stato-verde {
  color: var(--sorso-glow);
  background: rgba(123, 240, 255, 0.1);
  border-color: rgba(123, 240, 255, 0.3);
}

.vetrine .vetrina-invertita .matrice-item i {
  color: var(--sorso-glow);
}

.vetrine .vetrina-invertita .btn-progetto {
  background: var(--sorso-glow);
  color: #04303D;
  box-shadow: 0 12px 30px rgba(123, 240, 255, 0.24);
}

.vetrine .vetrina-invertita .btn-progetto:hover {
  background: var(--sorso-schiuma);
  box-shadow: 0 18px 40px rgba(123, 240, 255, 0.36);
}

.vetrine .vetrina-testa {
  z-index: 1;
  margin-bottom: 20px;
}

.vetrine .progetto-badge-linea {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.vetrine .tag-categoria {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #c9d1d9;
  letter-spacing: 0.5px;
}

.vetrine .tag-categoria i {
  font-size: 12px;
}

.vetrine .badge-stato-verde {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid;
}

.vetrine .vetrina-testa h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.vetrine .vetrina-corpo {
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.vetrine .progetto-testo-lungo {
  font-size: 14.5px;
  line-height: 1.68;
  color: #94a3b8;
  margin-bottom: 22px;
}

.vetrine .progetto-testo-lungo strong {
  color: #f1f5f9;
}

.vetrine .lista-check {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.vetrine .lista-check li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.5;
}

.vetrine .lista-check i {
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 14px;
}

.vetrine .progetto-pulsante-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  margin-bottom: 24px;
}

.vetrine .btn.btn-progetto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  font-size: 13.5px;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1.62, 0.36, 1);
}

.vetrine .btn.btn-progetto:hover {
  transform: translateY(-2px);
}

.vetrine .btn.btn-progetto:active {
  transform: scale(0.96);
}

.vetrine .btn-progetto-dev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #c9d1d9;
  cursor: pointer;
  transition: all 0.25s ease;
}

.vetrine .btn-progetto-dev:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.vetrine .btn-sorso-dev:hover {
  border-color: var(--sorso-glow);
  color: var(--sorso-glow);
  background: rgba(123, 240, 255, 0.1);
}

.vetrine .blocco-stack {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vetrine .stack-testa {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.vetrine .stack-etichetta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #cbd5e1;
}

.vetrine .stack-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #3fb950;
  background: rgba(63, 185, 80, 0.1);
  border: 1px solid rgba(63, 185, 80, 0.3);
  padding: 3px 9px;
  border-radius: 999px;
}

.vetrine .stack-barra {
  display: flex;
  gap: 3px;
  height: 4px;
  margin-bottom: 16px;
}

.vetrine .stack-barra span {
  width: var(--q);
  background: var(--c);
  border-radius: 2px;
  box-shadow: 0 0 8px color-mix(in srgb, var(--c) 55%, transparent);
  transform-origin: left;
  animation: gl-stack-cresce 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.vetrine .stack-voci {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vetrine .stack-voci span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 5px 10px;
}

.vetrine .stack-voci span b {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c);
}

.vetrine .stack-voci span em {
  font-style: normal;
  color: #cbd5e1;
}

.vetrine .vetrina-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vetrine .console-loot {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #0A0C10;
  border: 1px solid #21262D;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.6);
  font-family: var(--font-mono);
}

.vetrine .console-barra {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  background: #0F1117;
  border-bottom: 1px solid #21262D;
}

.vetrine .console-semafori {
  display: flex;
  gap: 7px;
}

.vetrine .console-semafori span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.vetrine .console-semafori span:nth-child(1) { background: #F85149; }

.vetrine .console-semafori span:nth-child(2) { background: #D29922; }

.vetrine .console-semafori span:nth-child(3) { background: #3FB950; }

.vetrine .console-titolo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  white-space: nowrap;
}

.vetrine .console-corpo {
  padding: 16px 14px;
  font-size: 11.5px;
  line-height: 1.85;
  color: #c9d1d9;
}

.vetrine .riga-log, .vetrine .console-drop, .vetrine .console-stato {
  animation: gl-log-scrive 9s linear infinite;
  animation-delay: var(--ritardo, 0s);
  opacity: 0;
}

.vetrine .log-commento { color: #64748b; }

.vetrine .log-ok { color: #3fb950; }

.vetrine .riga-log em { font-style: normal; font-weight: 700; color: #ff8c5a; }

.vetrine .riga-log i { color: #94a3b8; font-style: normal; }

.vetrine .console-drop {
  margin: 12px 0;
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(255, 107, 43, 0.06);
  border: 1px solid rgba(255, 107, 43, 0.28);
}

.vetrine .drop-testa {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.vetrine .drop-etichetta {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #ff8c5a;
}

.vetrine .drop-quando {
  font-size: 10px;
  color: #64748b;
}

.vetrine .drop-titolo {
  font-weight: 700;
  font-size: 12px;
  color: #f1f5f9;
  margin-bottom: 4px;
}

.vetrine .drop-prezzi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 11.5px;
  padding-bottom: 9px;
  border-bottom: 1px solid #21262D;
}

.vetrine .drop-prezzi b { color: #ff8c5a; font-weight: 700; }

.vetrine .drop-prezzi s { color: #64748b; margin-left: 4px; }

.vetrine .drop-mercato {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  color: #ff8c5a;
  border: 1px solid rgba(255, 140, 90, 0.4);
  border-radius: 4px;
  padding: 2px 7px;
}

.vetrine .drop-notifica {
  margin-top: 8px;
  font-size: 11px;
  color: #38bdf8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vetrine .console-stato {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #3fb950;
  line-height: 1.5;
  margin-top: 8px;
}

.vetrine .console-ping {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #3fb950;
  box-shadow: 0 0 8px #3fb950;
  animation: gl-pulsa 2s infinite ease-in-out;
}

.vetrine .console-cursore {
  width: 7px;
  height: 13px;
  flex-shrink: 0;
  background: #ff8c5a;
  animation: gl-lampeggia 1s steps(2) infinite;
}

.vetrine .card-sorso-wrapper {
  position: relative;
}

.vetrine .card-sorso-wrapper .card-progetto-grande.vetrina-invertita {
  position: relative;
  z-index: 2;
}

.vetrine .bollino-versione {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 24px;
  overflow: hidden;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 1.8px;
  line-height: 1;
  color: #3A2400;
  background: linear-gradient(90deg, #FFB74D, #FFD98A);
  border-radius: 9px;
  padding: 7px 13px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.vetrine .bollino-versione::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -25%;
  width: 150%;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.001) 5%,
    rgba(255,255,255,.002) 10%,
    rgba(255,255,255,.003) 15%,
    rgba(255,255,255,.004) 20%,
    rgba(255,255,255,.010) 25%,
    rgba(255,255,255,.016) 30%,
    rgba(255,255,255,.027) 35%,
    rgba(255,255,255,.057) 40%,
    rgba(255,255,255,.124) 45%,
    rgba(255,255,255,.256) 50%,
    rgba(255,255,255,.124) 55%,
    rgba(255,255,255,.057) 60%,
    rgba(255,255,255,.027) 65%,
    rgba(255,255,255,.016) 70%,
    rgba(255,255,255,.010) 75%,
    rgba(255,255,255,.004) 80%,
    rgba(255,255,255,.003) 85%,
    rgba(255,255,255,.002) 90%,
    rgba(255,255,255,.001) 95%,
    rgba(255,255,255,0) 100%);
  animation: gl-luccichio-oro 5.2s linear infinite;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .vetrine .bollino-versione::after { animation: none; opacity: 0; }
}

/* Lo stato di ogni progetto sta nell'angolo in alto a destra della card,
   dove Sorso tiene il bollino della versione: stessa altezza, stesso margine. */
.vetrine .bollino-stato {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 24px;
}

.vetrine .card-sorso-wrapper {
  --water-top: #0A7A8F;
  --water-mid: #0A5F7C;
  --water-deep: #073F5B;
  --water-grad: linear-gradient(180deg, #0A7A8F 0%, #0A5F7C 50%, #073F5B 100%);
  --onda-a: #0A7A8F;
  --onda-bc: #0B7690;
  --onda-accent: rgba(123, 240, 255, .34);
}

.vetrine .card-sorso-wrapper .mare {
  position: absolute;
  left: -6%;
  right: -6%;
  width: 112%;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  height: 104%;
  will-change: transform;
  transform: translate3d(0, 76%, 0);
  contain: strict;
}

.vetrine .card-sorso-wrapper .mare .respiro {
  position: absolute;
  inset: 0;
  animation: gl-respira 11s ease-in-out infinite;
}

.vetrine .card-sorso-wrapper .mare .corpo {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 22px;
  overflow: hidden;
  background: var(--water-grad) top / 100% 100% no-repeat;
  background-color: var(--water-deep);
}

.vetrine .card-sorso-wrapper .onda {
  position: absolute;
  left: 0;
  bottom: calc(100% - 24px);
  width: 200%;
  height: 26px;
}

.vetrine .card-sorso-wrapper .onda svg { display: block; width: 50%; height: 26px; float: left; }

.vetrine .card-sorso-wrapper .onda.a path { fill: var(--onda-a); }

.vetrine .card-sorso-wrapper .onda.b path, .vetrine .card-sorso-wrapper .onda.c path { fill: var(--onda-bc); }

.vetrine .card-sorso-wrapper .onda.a { animation: gl-scorri 14s linear infinite, gl-dondola 5.5s ease-in-out infinite; opacity: .7; }

.vetrine .card-sorso-wrapper .onda.b { animation: gl-scorri 21s linear infinite reverse, gl-dondola 7.5s ease-in-out -2s infinite; opacity: .45; bottom: calc(100% - 32px); }

.vetrine .card-sorso-wrapper .onda.c { animation: gl-scorri 30s linear infinite, gl-dondola 9.5s ease-in-out -4s infinite; opacity: .28; bottom: calc(100% - 40px); }

@media (prefers-reduced-motion: reduce) {
  .vetrine .card-sorso-wrapper .mare { transform: translate3d(0, 34%, 0); transition: none; }
  .vetrine .card-sorso-wrapper .mare .respiro { animation: none; }
  .vetrine .card-sorso-wrapper .onda { animation: none !important; }
}

.vetrine .matrice-caratteristiche {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: rgba(2, 22, 28, 0.55);
  border: 1px solid rgba(123, 240, 255, 0.16);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 24px;
}

.vetrine .matrice-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vetrine .matrice-item i {
  font-size: 16px;
  color: #7BF0FF;
}

.vetrine .matrice-item strong {
  display: block;
  font-size: 13.5px;
  color: #EAFBFF;
}

.vetrine .matrice-item span {
  display: block;
  font-size: 12px;
  color: #A9CBD6;
}

.vetrine .card-sorso-wrapper {
  --abisso: #041D27;
  --fondo: #02171F;
  --schiuma: #EAFBFF;
  --ink: #04303D;
  --mist: #9FCBD8;
  --mist-soft: rgba(159, 203, 216, .78);
  --glow: #7BF0FF;
  --glow-rgb: 123, 240, 255;
  --card-bg: rgba(11, 42, 52, .91);
  --card-border: rgba(123, 240, 255, .18);
  --card-hover-border: rgba(123, 240, 255, .40);
}

.vetrine .mock-telefono {
  position: relative;
  z-index: 1;
  width: 292px;
  max-width: 100%;
  padding: 11px;
  border-radius: 40px;
  background: linear-gradient(160deg, #2A303C 0%, #12151D 45%, #262C37 100%);
  box-shadow: 0 32px 68px rgba(0, 0, 0, 0.66), inset 0 0 0 1px var(--card-border);
  transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.2,.8,.3,1), box-shadow .35s, border-color .45s;
}

.vetrine .mock-telefono:hover { box-shadow: 0 40px 80px rgba(0,0,0,.75), inset 0 0 0 1px var(--card-hover-border); }

/* Scala e inclinazione del telefono in una sola trasformazione. Sugli
   schermi stretti il CSS lo rimpicciolisce (`--tel-scala`); il tilt del mouse
   (progetti.js) scrive solo gli angoli. Prima il tilt scriveva `transform`
   intero e cancellava la scala: bastava un clic sul telefono in una finestra
   stretta perche' tornasse a grandezza piena, sopra il testo. */
.vetrine .mock-telefono {
  transform: perspective(800px) rotateY(var(--tilt-y, 0deg)) rotateX(var(--tilt-x, 0deg))
             scale(calc(var(--tel-scala, 1) * var(--tilt-su, 1)));
}

.vetrine .tel-schermo {
  position: relative;
  height: 530px;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--abisso) 0%, var(--fondo) 100%);
  transition: background .45s ease;
}

.vetrine .tel-schermo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 21px;
  background: #0A0C11;
  border-radius: 0 0 13px 13px;
  z-index: 5;
}

.vetrine .tel-acqua {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--livello, 0%);
  background: var(--water-grad);
  transition: height 0.95s cubic-bezier(0.22, 1, 0.36, 1), background 0.45s ease;
  z-index: 1;
}

.vetrine .tel-onda {
  position: absolute;
  bottom: calc(100% - 1px);
  left: 0;
  display: block;
  width: 200%;
  height: 22px;
}

.vetrine .tel-onda path { fill: var(--onda-a); transition: fill .45s ease; }

.vetrine .onda-1 { animation: gl-onda-scorri 7s linear infinite; }

.vetrine .onda-2 {
  height: 18px;
  opacity: 0.65;
  animation: gl-onda-scorri 4.4s linear infinite reverse;
}

.vetrine .onda-2 path { fill: var(--onda-accent); transition: fill .45s ease; }

.vetrine .tel-ui {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 36px 18px 20px;
  display: flex;
  flex-direction: column;
  color: var(--schiuma);
  transition: color .35s ease;
}

.vetrine .tel-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }

.vetrine .tel-marchio { font-size: 13px; font-weight: 800; letter-spacing: 2.5px; color: var(--schiuma); transition: color .35s ease; }

.vetrine .tel-data { font-size: 11px; color: var(--mist-soft); margin-top: 3px; transition: color .35s ease; }

.vetrine .tel-goccia {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
  color: var(--glow);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: color .35s ease, background .35s ease, border-color .35s ease;
}

.vetrine .tel-numerone { margin-top: 24px; display: flex; align-items: baseline; gap: 6px; }

.vetrine .tel-numerone b {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--schiuma);
  transition: color .35s ease;
}

.vetrine .tel-numerone span { font-size: 16px; font-weight: 600; color: var(--mist-soft); transition: color .35s ease; }

.vetrine .tel-conta { font-size: 13px; color: var(--mist); margin-top: 8px; transition: color .35s ease; }

.vetrine .tel-bicchieri { display: flex; gap: 5px; margin-top: 22px; }

.vetrine .tel-bicchieri span {
  width: 14px;
  height: 18px;
  border-radius: 2px 2px 5px 5px;
  border: 1.5px solid var(--card-border);
  background: rgba(0,0,0,0.12);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.vetrine .tel-obiettivo {
  margin-top: 18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Roboto Mono", monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--mist-soft);
  transition: color .35s ease;
}

.vetrine .tel-pulsantone {
  margin-top: auto;
  background: var(--schiuma);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 750;
  text-align: center;
  padding: 13.5px;
  border-radius: 9999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  user-select: none;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.35s ease, color 0.35s ease;
}

.vetrine .tel-pulsantone:hover { transform: scale(1.02); box-shadow: 0 10px 24px rgba(0,0,0,0.32); }

.vetrine .tel-scorciatoie { display: flex; gap: 7px; margin-top: 11px; }

.vetrine .tel-scorciatoie span {
  flex: 1;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Roboto Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--schiuma);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 9999px;
  padding: 6.5px 0;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.vetrine .tel-scorciatoie span:hover {
  background: var(--card-hover-border);
  border-color: var(--glow);
  color: var(--schiuma);
}

@media (max-width: 1024px) {
  .vetrine .card-progetto-grande.vetrina {
      grid-template-columns: 1fr;
      row-gap: 26px;
      padding: 30px 22px;
    }
  .vetrine .vetrina-testa, .vetrine .vetrina-corpo, .vetrine .vetrina-visual, .vetrine .vetrina-invertita .vetrina-testa, .vetrine .vetrina-invertita .vetrina-corpo, .vetrine .vetrina-invertita .vetrina-visual {
      grid-column: 1 !important;
    }
  .vetrine .vetrina-testa { grid-row: 1 !important; }
  .vetrine .vetrina-visual { grid-row: 2 !important; }
  .vetrine .vetrina-corpo { grid-row: 3 !important; }
  .vetrine .vetrina-invertita .vetrina-visual { order: 0 !important; }
}

.vetrine .fondo-blueprint {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(135deg, #0a1e38 0%, #0F2D52 50%, #0d2447 100%);
}

.vetrine .blueprint-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vetrine .blueprint-glow {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,134,46,0.08) 0%, rgba(127,227,245,0.06) 40%, transparent 70%);
  pointer-events: none;
}

.vetrine .badge-stato-blu {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(232,134,46,0.15);
  color: #E8862E;
  border: 1px solid rgba(232,134,46,0.35);
}

.vetrine .tag-iotecknico {
  background: rgba(15,45,82,0.6);
  border-color: rgba(127,227,245,0.3);
  color: #7FE3F5;
}

.vetrine .alone-tek {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,134,46,0.12) 0%, rgba(127,227,245,0.06) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.vetrine .tek-mascot-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  cursor: pointer;
  transition: filter 0.3s ease;
}

.vetrine .tek-mascot-wrap:hover {
  filter: drop-shadow(0 0 22px rgba(232, 134, 46, 0.40)) drop-shadow(0 0 8px rgba(127,227,245,0.25));
}

.vetrine #tek-card {
  --tek-chiaro: #DCEAF5;
  --tek-scafo:  #6E93B4;
  --tek-scuro:  #123F6A;
  --tek-caldo:  #E8862E;
  --tek-luce:   #7FE3F5;
}

.vetrine .tek-svg {
  width: 210px;
  height: auto;
  max-width: 100%;
  overflow: visible;
}

.vetrine .tek-svg .tek-tutto, .vetrine .tek-svg .tek-testa { transform-box: view-box; transform-origin: 50% 100%; }

.vetrine .tek-tutto { animation: gl-tek-galleggia 3.6s ease-in-out infinite; }

.vetrine .tek-ombra {
  fill: var(--tek-scuro);
  transform-box: fill-box;
  transform-origin: center;
  animation: gl-tek-ombra-respira 3.6s ease-in-out infinite;
}

.vetrine .tek-ingranaggio-denti {
  transform-box: fill-box;
  transform-origin: center;
  animation: gl-tek-gira 9s linear infinite;
}

.vetrine .tek-nucleo { animation: gl-tek-nucleo-pulsa 2.4s ease-in-out infinite; }

.vetrine .tek-spia {
  transform-box: fill-box;
  transform-origin: center;
  animation: gl-tek-spia-pulsa 2s ease-in-out infinite;
}

.vetrine .tek-onda {
  fill: none;
  stroke: var(--tek-luce);
  stroke-width: 5;
  stroke-linecap: round;
  animation: gl-tek-onda-va 2.6s ease-in-out infinite;
}

.vetrine .tek-onda:nth-child(2) { animation-delay: .24s; }

.vetrine .tek-onda:nth-child(3) { animation-delay: .10s; }

.vetrine .tek-onda:nth-child(4) { animation-delay: .34s; }

.vetrine .tek-occhio {
  transform-box: fill-box;
  transform-origin: center;
  animation: gl-tek-batte 5.4s ease-in-out infinite;
}

.vetrine .tek-braccio-saluto { transform-box: fill-box; transform-origin: 2% 8%; }

@media (prefers-reduced-motion: reduce) {
  .vetrine .tek-tutto, .vetrine .tek-ombra, .vetrine .tek-ingranaggio-denti, .vetrine .tek-nucleo, .vetrine .tek-spia, .vetrine .tek-onda, .vetrine .tek-occhio { animation: none !important; }
}

.vetrine .tek-bubble {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.vetrine .tek-hint-label {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: rgba(127, 227, 245, 0.5);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  transition: opacity 0.3s ease;
}

.vetrine .tek-mascot-wrap:hover .tek-hint-label { opacity: 0; }

.vetrine .btn-tek-direct {
  background: linear-gradient(135deg, #E8862E, #c96d1a);
  color: #fff;
  border-color: #E8862E;
}

.vetrine .btn-tek-direct:hover {
  background: linear-gradient(135deg, #c96d1a, #b05c10);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 134, 46, 0.4);
}

.vetrine .tel-onda, .vetrine .tek-svg { will-change: transform; }

.vetrine .tek-bubble, .vetrine .alone-visual { will-change: opacity; }

.vetrine .card-progetto-grande { contain: layout style; }

@media (max-width: 768px) {
  .vetrine .tek-svg { width: 160px; animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .vetrine .tek-svg, .vetrine .tel-onda {
      animation: none !important;
      transition: none !important;
    }
}

@media print {
  .vetrine .fondo-blueprint, .vetrine .alone-visual, .vetrine .mock-telefono, .vetrine .tek-hint-label, .vetrine .progetto-pulsante-box, .vetrine .blueprint-grid, .vetrine .console-loot, .vetrine .btn { display: none !important; }
  .vetrine .card-progetto-grande {
      display: block !important;
      page-break-inside: avoid;
      break-inside: avoid;
      border: 1.5px solid #ccc !important;
      border-radius: 8px !important;
      padding: 16px !important;
      margin-bottom: 16px !important;
      background: #fafafa !important;
      box-shadow: none !important;
      contain: none !important;
      opacity: 1 !important;
      transform: none !important;
    }
  .vetrine .vetrina-testa h3 { font-size: 14px !important; color: #000 !important; }
  .vetrine .tag-categoria, .vetrine .badge-stato-verde, .vetrine .badge-stato-blu {
      font-size: 10px !important; color: #555 !important;
      background: #eee !important; border: none !important; padding: 2px 6px !important;
    }
  .vetrine .progetto-testo-lungo { font-size: 10px !important; color: #333 !important; }
  .vetrine .lista-check, .vetrine .matrice-caratteristiche { font-size: 10px !important; color: #444 !important; }
  .vetrine .stack-barra span { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .vetrine .tek-mascot-wrap { display: block !important; width: 80px; float: right; margin-left: 12px; }
  .vetrine .tek-bubble { opacity: 1 !important; }
  .vetrine #tek-card::after {
      content: "Stack: React / Next.js · Node.js / API · TypeScript · Design / UX";
      display: block; font-family: monospace; font-size: 9px; color: #888;
      margin-top: 8px; border-top: 1px solid #ddd; padding-top: 4px;
    }
}

.vetrine .alone-tek {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.vetrine .tek-mascot-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  cursor: pointer;
  /* Subtle glow ring on hover */
  transition: filter 0.3s ease;
}

.vetrine .tek-mascot-wrap:hover {
  filter: drop-shadow(0 0 18px rgba(6, 182, 212, 0.45));
}

.vetrine .tek-svg {
  width: 190px;
  height: auto;
  max-width: 100%;
  overflow: visible;
}

.vetrine .tek-bubble {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.vetrine .tek-hint-label {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: rgba(6, 182, 212, 0.55);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  transition: opacity 0.3s ease;
}

.vetrine .tek-mascot-wrap:hover .tek-hint-label {
  opacity: 0;
}

.vetrine .btn-tek-direct {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #fff;
  border-color: #06b6d4;
}

.vetrine .btn-tek-direct:hover {
  background: linear-gradient(135deg, #0891b2, #0e7490);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.35);
}

.vetrine .tel-onda {
  will-change: transform;
}

.vetrine .tek-bubble, .vetrine .alone-visual {
  will-change: opacity;
}

.vetrine .card-progetto-grande {
  contain: layout style;
}

@media (max-width: 768px) {
  .vetrine .tek-svg {
      width: 140px;
    }
}

@media (prefers-reduced-motion: reduce) {
  .vetrine .tel-onda {
      animation: none !important;
      transition: none !important;
    }
}

@media print {
  .vetrine .alone-visual, .vetrine .mock-telefono, .vetrine .tek-mascot-wrap .tek-hint-label, .vetrine .progetto-pulsante-box, .vetrine .console-loot, .vetrine .btn {
      display: none !important;
    }
  .vetrine .card-progetto-grande {
      display: block !important;
      page-break-inside: avoid;
      break-inside: avoid;
      border: 1.5px solid #ccc !important;
      border-radius: 8px !important;
      padding: 16px !important;
      margin-bottom: 16px !important;
      background: #fafafa !important;
      box-shadow: none !important;
      contain: none !important;
      opacity: 1 !important;
      transform: none !important;
    }
  .vetrine .vetrina-testa h3 {
      font-size: 14px !important;
      color: #000 !important;
      margin-bottom: 4px;
    }
  .vetrine .tag-categoria, .vetrine .badge-stato-verde {
      font-size: 10px !important;
      color: #555 !important;
      background: #eee !important;
      border: none !important;
      padding: 2px 6px !important;
    }
  .vetrine .progetto-testo-lungo {
      font-size: 10px !important;
      color: #333 !important;
      margin-bottom: 8px;
    }
  .vetrine .lista-check, .vetrine .matrice-caratteristiche {
      font-size: 10px !important;
      color: #444 !important;
    }
  .vetrine .stack-barra span {
      print-color-adjust: exact;
      -webkit-print-color-adjust: exact;
    }
  .vetrine .tek-mascot-wrap {
      display: block !important;
      width: 80px;
      float: right;
      margin-left: 12px;
    }
  .vetrine .tek-bubble {
      opacity: 1 !important;
    }
  .vetrine .tek-hint-label {
      display: none !important;
    }
  .vetrine #tek-card::after {
      content: "Stack: C++ / Arduino · Python / MQTT · Node-RED · ESP32 · Hardware Design";
      display: block;
      font-family: monospace;
      font-size: 9px;
      color: #888;
      margin-top: 8px;
      border-top: 1px solid #ddd;
      padding-top: 4px;
    }
}

.vetrine .sorso-in-breve {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  margin-bottom: 24px;
  border-radius: 18px;
  border: 1px solid rgba(123, 240, 255, 0.16);
  background: rgba(2, 22, 28, 0.55);
}

.vetrine .sorso-in-breve .riga {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  line-height: 1.4;
  color: #EAFBFF;
}

.vetrine .sorso-in-breve .riga > i {
  flex-shrink: 0;
  width: 18px;
  text-align: center;
  font-size: 15px;
  color: #7BF0FF;
}

.vetrine .sorso-in-breve .riga-plus {
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 217, 138, 0.22);
  color: rgba(255, 255, 255, 0.72);
}

.vetrine .sorso-in-breve .riga-plus > span:not(.plus-bollino) {
  flex: 1 1 200px;
  min-width: 0;
}

.vetrine .sorso-in-breve .plus-link { margin: 0 0 0 auto; }

.vetrine .card-sorso-wrapper .progetto-pulsante-box {
  /* Niente spinta in piu' sopra il tasto: tra il riquadro e il tasto resta
     lo stesso passo che c'e' tra testo e riquadro, come nelle altre card. */
  margin-top: 0;
  gap: 16px;
}

/* L'alone dietro il telefono. Era rimasto senza regola: senza `position`
   entrava nella riga come un elemento vero e, dai tablet in giu', dove
   prende 240px di larghezza, spingeva il telefono fuori centro. Ora sta
   dietro, centrato, e non occupa posto. */
.vetrine .alone-visual {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.vetrine .alone-acqua {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 240, 255, 0.14) 0%, rgba(123, 240, 255, 0.04) 45%, transparent 70%);
}

.vetrine .card-sorso-wrapper .btn.magnete {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translate(var(--mag-x, 0px), var(--mag-y, 0px));
  transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s, background .3s;
  will-change: transform;
}

.vetrine .card-sorso-wrapper .btn.magnete::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -140%;
  width: 55%;
  height: 140%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: skewX(-18deg);
  z-index: -1;
}

.vetrine .card-sorso-wrapper .btn.magnete:hover::after { animation: gl-lampo .85s ease-out; }

.vetrine .card-sorso-wrapper .btn.magnete:hover {
  transform: translate(var(--mag-x, 0px), calc(var(--mag-y, 0px) - 3px));
}

.vetrine .card-sorso-wrapper .btn.magnete:active {
  transform: translate(var(--mag-x, 0px), calc(var(--mag-y, 0px) - 3px)) scale(.96);
}

.vetrine .card-sorso-wrapper .btn.btn-progetto.oro, .vetrine .vetrina-invertita .btn-progetto.oro {
  background: linear-gradient(90deg, #FFB74D, #FFD98A);
  color: #3A2400;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(255, 183, 77, .22);
}

.vetrine .card-sorso-wrapper .btn.btn-progetto.oro:hover, .vetrine .vetrina-invertita .btn-progetto.oro:hover {
  background: linear-gradient(90deg, #FFB74D, #FFD98A);
  color: #3A2400;
  box-shadow: 0 16px 38px rgba(255, 183, 77, .32);
}

.vetrine .card-sorso-wrapper .btn.oro i { color: #3A2400; }

/* Il passaggio del mouse di «Scarica Sorso» su sorsoapp.it, completo: oltre
   al magnete, al sollevamento e al lampo, l'icona scende di tre pixel con un
   piccolo rimbalzo e dal tasto salgono le bollicine (le crea progetti.js).
   Regole e numeri sono quelli del suo index.html e del suo comune.css; le
   bollicine hanno i colori del tema di base, schiuma e ciano. Stanno appese
   al body, per questo la loro regola vive fuori da `.vetrine`. */
.vetrine .card-sorso-wrapper .btn .freccia {
  display: inline-block;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.vetrine .card-sorso-wrapper .btn:hover .freccia { transform: translateY(3px); }

.sfiato {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 55;
  background: radial-gradient(circle at 32% 27%, #EAFBFF, #7BF0FF 60%, transparent);
  animation: sfiata 1.25s ease-out forwards;
}
@keyframes sfiata {
  0%   { transform: translate(0, 0) scale(.5); opacity: 0; }
  18%  { opacity: .9; }
  100% { transform: translate(var(--dx, 0), -86px) scale(1.15); opacity: 0; }
}

.vetrine .card-sorso-wrapper .btn.oro::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -25%;
  width: 150%;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.001) 5%,
    rgba(255,255,255,.002) 10%,
    rgba(255,255,255,.003) 15%,
    rgba(255,255,255,.004) 20%,
    rgba(255,255,255,.010) 25%,
    rgba(255,255,255,.016) 30%,
    rgba(255,255,255,.027) 35%,
    rgba(255,255,255,.057) 40%,
    rgba(255,255,255,.124) 45%,
    rgba(255,255,255,.256) 50%,
    rgba(255,255,255,.124) 55%,
    rgba(255,255,255,.057) 60%,
    rgba(255,255,255,.027) 65%,
    rgba(255,255,255,.016) 70%,
    rgba(255,255,255,.010) 75%,
    rgba(255,255,255,.004) 80%,
    rgba(255,255,255,.003) 85%,
    rgba(255,255,255,.002) 90%,
    rgba(255,255,255,.001) 95%,
    rgba(255,255,255,0) 100%);
  animation: gl-luccichio-oro 5.2s linear infinite;
  will-change: transform;
}

.vetrine .card-sorso-wrapper .btn.oro > * { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .vetrine .card-sorso-wrapper .btn.oro::before { animation: none; opacity: 0; }
  .vetrine .card-sorso-wrapper .btn.magnete:hover::after { animation: none; }
}

.vetrine .plus-bollino {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 1.2px;
  color: #3A2400;
  background: linear-gradient(90deg, #FFB74D, #FFD98A);
  border-radius: 7px;
  padding: 3px 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.vetrine .plus-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-decoration: none;
  color: #FFD98A;
  transition: gap 0.25s ease, color 0.25s ease;
}

.vetrine .plus-link i { font-size: 10px; }

.vetrine .plus-link:hover { color: #FFE7B4; gap: 10px; }

.vetrine .gl-luccichio-oro::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -25%;
  width: 150%;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.001) 5%,
    rgba(255,255,255,.002) 10%,
    rgba(255,255,255,.003) 15%,
    rgba(255,255,255,.004) 20%,
    rgba(255,255,255,.010) 25%,
    rgba(255,255,255,.016) 30%,
    rgba(255,255,255,.027) 35%,
    rgba(255,255,255,.057) 40%,
    rgba(255,255,255,.124) 45%,
    rgba(255,255,255,.256) 50%,
    rgba(255,255,255,.124) 55%,
    rgba(255,255,255,.057) 60%,
    rgba(255,255,255,.027) 65%,
    rgba(255,255,255,.016) 70%,
    rgba(255,255,255,.010) 75%,
    rgba(255,255,255,.004) 80%,
    rgba(255,255,255,.003) 85%,
    rgba(255,255,255,.002) 90%,
    rgba(255,255,255,.001) 95%,
    rgba(255,255,255,0) 100%);
  animation: gl-luccichio-oro 5.2s linear infinite;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .vetrine .gl-luccichio-oro::after { animation: none; opacity: 0; }
}

.vetrine .btn, .vetrine .plus-link, .vetrine .tel-pulsantone, .vetrine .tel-scorciatoie span {
  transition: transform .18s cubic-bezier(.34, 1.56, .64, 1),
              box-shadow .25s ease, background .3s ease,
              color .25s ease, border-color .25s ease;
}

.vetrine .btn:active, .vetrine .plus-link:active, .vetrine .tel-scorciatoie span:active {
  transform: scale(.96);
}

.vetrine .btn i, .vetrine .plus-link i {
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.vetrine .btn:hover i.fa-arrow-up-right-from-square {
  transform: translate(2px, -2px);
}

.vetrine .btn:hover i.fa-arrow-right, .vetrine .plus-link:hover i.fa-arrow-right {
  transform: translateX(3px);
}

.vetrine .btn:focus-visible, .vetrine .plus-link:focus-visible, .vetrine .tel-pulsantone:focus-visible {
  outline: 2px solid var(--accent-emerald, #10B981);
  outline-offset: 3px;
  border-radius: inherit;
}

.vetrine .vetrina-loot      :focus-visible { outline-color: var(--loot-accento, #FF6B2B); }

.vetrine .card-sorso-wrapper :focus-visible { outline-color: #7BF0FF; }

.vetrine #tek-card          :focus-visible { outline-color: var(--tek-caldo, #E8862E); }

@media (prefers-reduced-motion: reduce) {
  .vetrine .btn, .vetrine .plus-link, .vetrine .tel-pulsantone, .vetrine .tel-scorciatoie span { transition: none; }
  .vetrine .btn:active, .vetrine .plus-link:active, .vetrine .tel-scorciatoie span:active { transform: none; }
  .vetrine .btn i, .vetrine .plus-link i { transition: none; }
}

@media (max-width: 768px) {
  .vetrine .card-progetto-grande.vetrina {
      padding: 22px 16px 20px;
      border-radius: 22px;
      row-gap: 18px;
    }
  .vetrine .vetrina-testa { margin-bottom: 0; }
  .vetrine .vetrina-testa h3, .vetrine .vetrina-loot .vetrina-testa h3, .vetrine .vetrina-invertita .vetrina-testa h3 { font-size: 1.32rem; line-height: 1.2; }
  .vetrine .progetto-badge-linea { flex-wrap: wrap; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
  .vetrine .bollino-versione { top: 12px; right: 14px; font-size: 10px; padding: 6px 10px; }
  /* Sul telefono il bollino sta nell'angolo e la categoria scende sotto di
     lui, in tutte e quattro le card: accanto, andava a capo su due o tre
     righe, e ogni card lo faceva a modo suo. */
  .vetrine .bollino-stato { top: 12px; right: 14px; font-size: 10px; padding: 5px 10px; }
  .vetrine .card-progetto-grande .progetto-badge-linea { padding-top: 26px; }
  /* Stesso passo fra testo, riquadro e tasti, come le altre card. */
  .vetrine .sorso-in-breve { margin-bottom: 16px; }
  .vetrine .progetto-testo-lungo { font-size: 0.93rem; line-height: 1.55; margin-bottom: 14px; }
  .vetrine .lista-check { margin-bottom: 16px; }
  .vetrine .lista-check li { font-size: 0.86rem; }
  .vetrine .matrice-caratteristiche { padding: 12px; gap: 10px; margin-bottom: 16px; }
  .vetrine .matrice-item strong { font-size: 13px; }
  .vetrine .matrice-item span { font-size: 11.5px; }
  .vetrine .sorso-in-breve { padding: 12px 14px; gap: 9px; }
  .vetrine .sorso-in-breve .riga { font-size: 12.5px; }
  .vetrine .progetto-pulsante-box, .vetrine .card-sorso-wrapper .progetto-pulsante-box { flex-direction: column; align-items: stretch; gap: 10px; margin: 0 0 18px; }
  .vetrine .progetto-pulsante-box .btn, .vetrine .progetto-pulsante-box .btn-progetto-dev { width: 100%; }
  .vetrine .blocco-stack { margin-top: 0; }
  .vetrine .stack-voci { gap: 6px; }
  .vetrine .stack-voci span { font-size: 10px; padding: 4px 8px; }
  .vetrine .console-titolo { position: static; transform: none; margin-left: 10px; overflow: hidden; text-overflow: ellipsis; }
  .vetrine .console-barra { display: flex; align-items: center; }
  .vetrine .card-sorso-wrapper .mock-telefono {
      --tel-scala: 0.8;
      transform-origin: top center;
      margin-bottom: -110px;                            /* 552px di telefono * 0.2 */
    }
  .vetrine .card-sorso-wrapper .mock-telefono:hover { box-shadow: 0 32px 68px rgba(0, 0, 0, 0.66), inset 0 0 0 1px var(--card-border); }
  .vetrine .card-sorso-wrapper .alone-visual { width: 240px; height: 240px; }
  .vetrine .blueprint-glow { width: 240px; height: 240px; }
  .vetrine .alone-tek { width: 220px; height: 220px; }
  .vetrine .tek-hint-label { display: none; }
}

@media (max-width: 600px) {
  .vetrine .card-progetto-grande.vetrina { padding: 20px 14px 18px; border-radius: 20px; }
}

@media (max-width: 400px) {
  .vetrine .card-sorso-wrapper .mock-telefono { --tel-scala: 0.72; margin-bottom: -154px; }
  .vetrine .tel-scorciatoie span { font-size: 11px; }
}

@media (hover: none) {
  .vetrine .card-progetto-grande.vetrina:hover { transform: translateZ(0); }
  .vetrine .btn.btn-progetto:hover, .vetrine .btn-progetto-dev:hover { transform: none; }
  .vetrine .tek-mascot-wrap:hover { filter: none; }
  .vetrine .mock-telefono:hover { box-shadow: 0 32px 68px rgba(0, 0, 0, 0.66), inset 0 0 0 1px var(--card-border); }
}

.vetrine .card-sorso-wrapper .mare .respiro, .vetrine .fondo-blueprint, .vetrine .blueprint-grid { top: 0; right: 0; bottom: 0; left: 0; }

@keyframes gl-lampeggia {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes gl-respira { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

@keyframes gl-scorri { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@keyframes gl-dondola { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

@keyframes gl-onda-scorri {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes gl-stack-cresce {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes gl-log-scrive {
  0%       { opacity: 0; clip-path: inset(0 100% 0 0); }
  1%       { opacity: 1; }
  7%       { clip-path: inset(0 0 0 0); }
  90%      { opacity: 1; clip-path: inset(0 0 0 0); }
  97%,100% { opacity: 0; clip-path: inset(0 0 0 0); }
}

@keyframes gl-pulsa {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.85); }
}

@keyframes gl-tek-galleggia {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@keyframes gl-tek-ombra-respira {
  0%, 100% { transform: scaleX(1);   opacity: .16; }
  50%      { transform: scaleX(.93); opacity: .10; }
}

@keyframes gl-tek-gira { to { transform: rotate(360deg); } }

@keyframes gl-tek-nucleo-pulsa { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

@keyframes gl-tek-spia-pulsa { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

@keyframes gl-tek-onda-va { 0%, 100% { opacity: .18; } 45% { opacity: .95; } }

@keyframes gl-tek-batte {
  0%, 92%, 100% { transform: scaleY(1); }
  95%           { transform: scaleY(.08); }
}

@keyframes gl-lampo { to { left: 150%; } }

@keyframes gl-luccichio-oro {
  from { transform: translateX(-56.67%); }
  to   { transform: translateX(56.67%); }
}


/* ==========================================================================
   L'UNICA DIFFERENZA VOLUTA: GLI ANGOLI
   ==========================================================================
   Su genesyslabs.online le card sono stondate. Questo sito non stonda
   niente, quindi il telaio di ogni progetto qui e' vivo. Si ferma al
   telaio: dentro, il telefono resta un telefono e la console resta una
   console, con i loro raggi.
   ========================================================================== */
.vetrine .card-progetto-grande { border-radius: 0; }
.vetrine .card-sorso-wrapper { border-radius: 0; }

/* La colonna che tiene le tre card, con lo stesso passo del loro sito. */
.vetrine .lista-progetti { display: flex; flex-direction: column; gap: 40px; }
@media (max-width: 768px) { .vetrine .lista-progetti { gap: 24px; } }

/* Il mare e' alto il 104% della card e sporge sotto: sul loro sito lo copre
   la sezione dopo, che ha il fondo pieno. Qui lo taglia la card stessa, che
   ha `overflow: hidden` e i suoi angoli tondi. Prima lo tagliava anche
   l'involucro, ma cosi' tagliava pure la card quando si alza al passaggio del
   mouse: il bordo di sopra spariva e l'alone del bordo non si vedeva mai. */
.vetrine .card-sorso-wrapper { overflow: visible; }

/* IoTeknico: il bordo che si accende al passaggio del mouse, come nelle
   altre card, con il ciano della luce di Tek. */
.vetrine #tek-card { border-color: rgba(127, 227, 245, 0.22); }
.vetrine #tek-card:hover {
  border-color: rgba(127, 227, 245, 0.55);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 38px rgba(127, 227, 245, 0.16);
}

/* ==========================================================================
   QUELLO CHE NASCE DAL JAVASCRIPT
   ==========================================================================
   Il canvas delle bollicine, il pelo vivo dell'acqua e i tre stati che il
   codice aggiunge (`premuto`, `saluta`, `visible`) non stanno nel markup:
   li crea progetti.js. Senza queste regole il canvas entrava nella griglia
   come una colonna e schiacciava il testo della card di Sorso.
   ========================================================================== */

.vetrine .card-sorso-wrapper .onda-viva {
  position: absolute; left: 0; top: 0; width: 100%; height: 150px;
  display: block; pointer-events: none; z-index: 2; overflow: visible;
}

.vetrine .card-sorso-wrapper .onda-viva .cima { stop-color: var(--onda-a); stop-opacity: .95; }

.vetrine .card-sorso-wrapper .onda-viva .fondo { stop-color: var(--onda-a); stop-opacity: 0; }

.vetrine .card-sorso-wrapper .onda-viva .polpa { fill: url(#sfuma-onda-viva); }

.vetrine .card-sorso-wrapper .onda-viva .cresta {
  fill: none;
  stroke: var(--onda-accent, rgba(123, 240, 255, .6));
  stroke-width: 1.7;
  stroke-linecap: round;
  opacity: .6;
}

.vetrine .card-sorso-wrapper .scena-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: block;
}

.vetrine .tel-pulsantone.premuto { animation: tel-premi 0.45s ease; }

.vetrine .tek-mascot-wrap.saluta .tek-braccio-saluto {
  animation: tek-saluto 2.1s cubic-bezier(.34, 1.25, .5, 1);
}

.vetrine .tek-mascot-wrap.saluta .tek-testa { animation: tek-testa-saluta 2.1s ease-in-out; }

.vetrine .tek-mascot-wrap.saluta .tek-onda { animation-duration: .9s; }

.vetrine .tek-mascot-wrap.saluta .tek-nucleo { animation-duration: .7s; }

.vetrine .tek-mascot-wrap.saluta .tek-bocca { animation: tek-sorride 2.1s ease-in-out; }

@media (prefers-reduced-motion: reduce) {
  .vetrine .tek-mascot-wrap.saluta .tek-braccio-saluto, .vetrine .tek-mascot-wrap.saluta .tek-testa, .vetrine .tek-mascot-wrap.saluta .tek-bocca { animation: none !important; }
}

.vetrine .tek-bubble.visible { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .vetrine .tek-bubble.visible { opacity: 1; }
}

.vetrine .tek-bubble.visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .vetrine .tek-bubble.visible {
    opacity: 1;
  }
}

.vetrine .card-sorso-wrapper .mare .respiro, .vetrine .card-sorso-wrapper .scena-canvas, .vetrine .fondo-blueprint, .vetrine .blueprint-grid { top: 0; right: 0; bottom: 0; left: 0; }

/* ==========================================================================
   MOVIDA MUSIC
   ==========================================================================
   Il telaio e' quello delle altre card; dentro, tutto viene da
   movidamusic.it: il nero quasi blu, il verde del bot, il viola di Discord
   in fondo all'onda. Il player e' la sua prima schermata, ridisegnata a
   mano: nessuna libreria, l'onda la muove il CSS e il tempo progetti.js.
   ========================================================================== */
.vetrine .vetrina-movida {
  --mv-verde: #52E094;
  --mv-verde-forte: #19B866;
  --mv-blurple: #5865F2;
  --mv-testo: #F2F5F3;
  --mv-spento: #929DA5;
  --mv-chiaro: #BAC2C8;
  --mv-filo: rgba(255, 255, 255, 0.08);

  background:
    radial-gradient(circle at 24% 42%, rgba(82, 224, 148, 0.09), transparent 26rem),
    linear-gradient(165deg, #0D1218 0%, #090D12 45%, #050709 100%);
  border-color: rgba(82, 224, 148, 0.22);
  color: var(--mv-testo);
}

.vetrine .vetrina-movida:hover {
  border-color: rgba(82, 224, 148, 0.55);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 38px rgba(82, 224, 148, 0.14);
}

/* Visual a sinistra, testo a destra: il ritmo della colonna resta
   alternato (L.O.O.T. dritta, Sorso rovesciata, IoTeknico dritta). */
.vetrine .vetrina-movida .vetrina-testa, .vetrine .vetrina-movida .vetrina-corpo { grid-column: 2; }
.vetrine .vetrina-movida .vetrina-visual { grid-column: 1; grid-row: 1 / span 2; }

.vetrine .vetrina-movida .vetrina-testa h3 { color: var(--mv-testo); }
.vetrine .vetrina-movida .vetrina-testa h3 em { color: var(--mv-verde); }
.vetrine .vetrina-movida .tag-categoria i { color: var(--mv-verde); }

.vetrine .vetrina-movida .badge-stato-verde {
  gap: 7px;
  color: var(--mv-verde);
  background: rgba(82, 224, 148, 0.1);
  border-color: rgba(82, 224, 148, 0.32);
}
.vetrine .vetrina-movida .badge-stato-verde::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.vetrine .vetrina-movida .progetto-testo-lungo { color: #A3AEB5; }
.vetrine .vetrina-movida .progetto-testo-lungo strong { color: var(--mv-testo); }
.vetrine .vetrina-movida .lista-check li { color: var(--mv-chiaro); }
.vetrine .vetrina-movida .lista-check i { color: var(--mv-verde); }

.vetrine .vetrina-movida .btn-progetto {
  background: var(--mv-verde);
  color: #04110A;
  box-shadow: 0 12px 30px rgba(25, 184, 102, 0.26);
}
.vetrine .vetrina-movida .btn-progetto:hover {
  background: #7CEBB0;
  box-shadow: 0 18px 40px rgba(25, 184, 102, 0.38);
}

.vetrine .alone-movida {
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82, 224, 148, 0.13) 0%, rgba(88, 101, 242, 0.05) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Il player ---------- */
.vetrine .player-movida {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: linear-gradient(150deg, #11171D, #070A0E 72%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px rgba(255, 255, 255, 0.06);
  font-family: var(--font-sans);
  color: var(--mv-testo);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}
.vetrine .player-movida::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 25% 38%, rgba(82, 224, 148, 0.1), transparent 20rem);
}
.vetrine .vetrina-movida:hover .player-movida {
  border-color: rgba(82, 224, 148, 0.3);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(82, 224, 148, 0.08);
}

/* La luce che passa sul vetro, come sul sito */
.vetrine .pm-scan {
  position: absolute;
  z-index: 1;
  top: 0; bottom: 0; left: 0;
  width: 32%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(82, 224, 148, 0.09), transparent);
  transform: translateX(-120%) skewX(-12deg);
  animation: mv-scan 7s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.vetrine .pm-testa {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 13px;
  border-bottom: 1px solid var(--mv-filo);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--mv-spento);
}
.vetrine .pm-testa span { display: inline-flex; align-items: center; gap: 7px; }
.vetrine .pm-testa i { font-size: 10px; }
.vetrine .pm-live { color: var(--mv-verde); }
.vetrine .pm-live i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mv-verde);
  box-shadow: 0 0 8px var(--mv-verde);
}

.vetrine .pm-centro {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px 6px 18px;
}

.vetrine .pm-copertina { position: relative; width: 132px; height: 132px; }
.vetrine .pm-copertina img {
  width: 100%; height: 100%;
  /* Come su movidamusic.it: il logo ha un filo chiaro sul bordo, e il sito
     lo toglie ingrandendolo del 12% e ritagliandolo a cerchio al 45%. */
  transform: scale(1.12);
  clip-path: circle(45% at 50% 50%);
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.4));
  animation: mv-respiro 3.6s ease-in-out infinite;
}
.vetrine .pm-play {
  position: absolute;
  right: 2px; bottom: 4px;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 4px solid #0B1014;
  border-radius: 50%;
  background: var(--mv-verde);
  color: #04110A;
  font-size: 10px;
  box-shadow: 0 10px 24px rgba(25, 184, 102, 0.3);
}

.vetrine .pm-brano { min-width: 0; }
.vetrine .pm-brano p {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--mv-verde);
  margin-bottom: 6px;
}
.vetrine .pm-brano h4 {
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 10px;
}
.vetrine .pm-brano h4 em { color: var(--mv-verde); font-weight: 300; }
.vetrine .pm-brano span { display: block; font-size: 12.5px; font-weight: 700; color: var(--mv-testo); }
.vetrine .pm-brano small { display: block; margin-top: 3px; font-size: 11px; color: var(--mv-spento); }

/* L'onda: 36 barre, ognuna col suo passo, dal viola di Discord al verde */
.vetrine .pm-onda {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 72px;
  padding: 8px 4px;
  border-top: 1px solid var(--mv-filo);
  border-bottom: 1px solid var(--mv-filo);
}
.vetrine .pm-onda i {
  --h: 1;
  flex: 1;
  min-width: 2px;
  height: calc(100% * var(--h));
  border-radius: 3px;
  background: linear-gradient(to top, var(--mv-blurple), var(--mv-verde));
  opacity: 0.88;
  transform-origin: center;
  animation: mv-barra 1.15s ease-in-out infinite alternate;
}
.vetrine .pm-onda i:nth-child(3n) { --h: .56; animation-duration: .9s; }
.vetrine .pm-onda i:nth-child(4n) { --h: .34; animation-duration: 1.4s; }
.vetrine .pm-onda i:nth-child(5n) { --h: .74; animation-duration: .8s; }
.vetrine .pm-onda i:nth-child(7n) { --h: .9;  animation-duration: 1.25s; }
.vetrine .pm-onda i:nth-child(2n) { animation-delay: -.35s; }
.vetrine .pm-onda i:nth-child(3n+1) { animation-delay: -.7s; }
.vetrine .pm-onda i:nth-child(5n+2) { animation-delay: -.2s; }

.vetrine .pm-avanzamento {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--mv-spento);
}
.vetrine .pm-avanzamento > div { height: 2px; overflow: hidden; background: rgba(255, 255, 255, 0.12); border-radius: 2px; }
.vetrine .pm-avanzamento > div i {
  display: block;
  width: 100%; height: 100%;
  transform: scaleX(var(--avanzato, 0.483));
  transform-origin: left;
  background: var(--mv-verde);
  box-shadow: 0 0 9px var(--mv-verde);
  transition: transform 1s linear;
}

.vetrine .pm-piede {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  padding-top: 12px;
  border-top: 1px solid var(--mv-filo);
}
.vetrine .pm-voce { display: flex; align-items: center; min-width: 0; }
.vetrine .pm-utente, .vetrine .pm-bot {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border: 2px solid #0B1014;
  border-radius: 50%;
  overflow: hidden;
}
.vetrine .pm-utente { background: var(--mv-blurple); color: #FFFFFF; font-size: 11px; font-weight: 800; }
.vetrine .pm-bot { margin-left: -8px; background: #0B5A37; }
.vetrine .pm-bot img { width: 100%; height: 100%; transform: scale(1.12); clip-path: circle(45% at 50% 50%); }
.vetrine .pm-voce p { margin-left: 10px; min-width: 0; line-height: 1.25; }
.vetrine .pm-voce strong { display: block; font-size: 12px; color: var(--mv-testo); white-space: nowrap; }
.vetrine .pm-voce small { display: block; font-size: 10.5px; color: var(--mv-spento); white-space: nowrap; }
.vetrine .pm-voce small i { color: var(--mv-verde); margin-right: 3px; }

.vetrine .pm-stato { display: flex; gap: 7px; flex-shrink: 0; }
.vetrine .pm-stato span, .vetrine .pm-stato code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid var(--mv-filo);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--mv-chiaro);
  white-space: nowrap;
}
.vetrine .pm-stato code { color: var(--mv-verde); border-color: rgba(82, 224, 148, 0.2); }

@keyframes mv-barra {
  from { transform: scaleY(0.28); }
  to   { transform: scaleY(1); }
}
@keyframes mv-scan {
  0%, 18%   { transform: translateX(-120%) skewX(-12deg); }
  62%, 100% { transform: translateX(420%) skewX(-12deg); }
}
@keyframes mv-respiro {
  0%, 100% { transform: scale(1.12); }
  50%      { transform: scale(1.16); }
}

@media (max-width: 1024px) {
  .vetrine .player-movida { max-width: 480px; margin: 0 auto; }
}

/* Il telefono e' la vista principale: il player si stringe senza perdere
   pezzi, e i due bottoni del piede vanno a capo sotto la voce. */
@media (max-width: 520px) {
  .vetrine .player-movida { padding: 13px; border-radius: 18px; }
  .vetrine .pm-testa { font-size: 9.5px; letter-spacing: 0.1em; }
  .vetrine .pm-centro { grid-template-columns: 92px 1fr; gap: 16px; padding: 18px 2px 14px; }
  .vetrine .pm-copertina { width: 92px; height: 92px; }
  .vetrine .pm-play { width: 30px; height: 30px; border-width: 3px; font-size: 9px; }
  .vetrine .pm-brano h4 { font-size: 26px; margin-bottom: 8px; }
  .vetrine .pm-onda { height: 56px; gap: 3px; }
  .vetrine .pm-onda i:nth-child(n+29) { display: none; }
  .vetrine .pm-piede { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .vetrine .pm-scan { display: none; }
  .vetrine .pm-onda i, .vetrine .pm-copertina img { animation: none; }
  .vetrine .pm-avanzamento > div i { transition: none; }
}

body.leggero .vetrine .pm-scan { display: none; }
body.leggero .vetrine .pm-copertina img { animation: none; }

@media print {
  .vetrine .player-movida, .vetrine .alone-movida { display: none !important; }
}
