/* zokku dj (DJSITE, 07/11/2026): only what the product pages do not already have, on top of css/site.css.
   Round 2 (07/11): every big part is a chapter on its own deck-colour field, with local tokens (--fg, --fg-2, --tile)
   so the site parts inside it (segmenti, seg-n, schede) take the field's ink; B2B gets the room diagram and four
   pillars; the library is a chapter with the programs it reads and writes; things open when you pass over them
   (.dj-apri: the points on the app, the seats, the platforms, the programs, the parts of the score).
   Motion (Emil/Apple): transform and opacity only, ease-out curves, popovers 160-200 ms in and faster out, scaled from
   their trigger (.96 to 1), hover only where a pointer hovers, tap and keyboard focus too; with reduced motion only
   opacity changes and nothing loops. */

/* REV (12/11/2026): the header right from the first paint. js/site.js gives the header the field crossing a line 67 px
   from the top; the head starts at 68 px, so at scroll 0 nothing crossed it and a light-theme phone opened the page with
   the site's paper header above the dark head. The header starts in the head's colours; while the page loads it changes
   at once and the page does not scroll smoothly, so an anchor or a reload lands in its place with its own header instead
   of travelling there from the top (dj.js adds dj-pronta two frames after load, and keeps the header right where that
   line sees no field). A chapter reached by an anchor starts right under the header, which takes its field; any other
   target keeps 16 px under the header. */
html[data-page="dj"]{scroll-padding-top:84px;--testata-bg:#121212;--testata-ink:#F6F6F5}
html[data-page="dj"] main > [data-bg][id]{scroll-margin-top:-18px}
html[data-page="dj"]:not(.dj-pronta) .testata{transition:none}
@media (prefers-reduced-motion:no-preference){html[data-page="dj"].dj-pronta{scroll-behavior:smooth}}
/* until js/site.js draws it the header is an empty box: once the head is read it is see-through, so a place the browser
   restores while it is still reading the page shows the page there, not a bar of the wrong colour; at the top the head's
   field reaches up behind it (the header is 68 px tall, css/site.css). Before the head is read it stays the head's dark. */
html[data-page="dj"] .testata:empty:has(~ main .dj-testa){background:transparent}
.dj-testa::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:68px;background:var(--campo)}

/* ---------- head: the ZOKKU symbol and the name, set like the plugin logos; the app picture with its points ---------- */
.dj-testa .sx{grid-column:1 / span 5}
.dj-testa .dx{grid-column:6 / span 7}
.p-testa h1.dj-nome{display:flex;align-items:center;gap:.2em;line-height:1;font-size:clamp(56px,6.6vw,104px);letter-spacing:-.045em;font-weight:500}
.dj-nome svg{flex:none;width:.82em;height:.82em}
/* BETA1 (12/11/2026): the "beta" tag beside the name, set like the "Out now" pill, at the top of the letters;
   and the sentence that says what beta means, under the announcement */
.dj-beta{flex:none;align-self:flex-start;margin-top:.1em;padding:5px 9px 6px;border-radius:var(--r-s);font-size:clamp(14px,.17em,17px);line-height:1;font-weight:500;letter-spacing:0;
  background:color-mix(in srgb,currentColor 9%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,currentColor 18%,transparent)}
.dj-beta-nota{margin-top:12px;max-width:44ch;font-size:var(--s-xs);line-height:1.45;color:color-mix(in srgb,var(--inchiostro) 78%,transparent)}
/* the narrowest phones: with the tag beside it the name would break in two lines */
@media (max-width:349px){.p-testa h1.dj-nome{font-size:50px}}
/* the frame does not clip, so the cards of its points can leave it; the picture keeps the rounded corners */
.dj-cornice{position:relative;border-radius:var(--r-m);background:#0d0e10;box-shadow:0 0 0 1px rgba(255,255,255,.08),0 32px 64px -32px rgba(0,0,0,.7)}
.dj-cornice video,.dj-cornice img{display:block;width:100%;height:auto;border-radius:var(--r-m)}
.dj-mappa-nota{display:flex;align-items:center;gap:10px;margin-top:14px;font-size:14px;color:color-mix(in srgb,var(--inchiostro) 72%,transparent)}
.dj-mappa-segno{flex:none;width:12px;height:12px;border-radius:50%;background:#F6F6F5;box-shadow:0 0 0 3px rgba(246,246,245,.25)}
@media (max-width:900px){.dj-testa .sx,.dj-testa .dx{grid-column:1 / -1}}
/* DJHERO (11/11/2026, the user: «nella testa dove vi è l'interfaccia presentata nel background mi piacerebbe avere i dj
   dietro che suonano»): behind the head, two DJs playing for a crowd, seen from behind (an atmosphere loop, Kling 3.0:
   wide, no hands in view, no text), going forward and back so it never jumps; the interface stays in front. The
   picture darkens towards the words so they read; on a desktop one DJ stands between the words and the interface,
   the other behind it; on a tablet it is drawn larger so their heads come up above the interface; a phone gets its
   own light portrait cut (testa-dj-tel: the two DJs at its sides, their heads just above the interface; dj.js swaps
   the cuts at 601 px). Played like every [data-video]: in view only, never with
   reduced motion or Save-Data (the still stays). */
.dj-testa{position:relative;isolation:isolate}
.dj-sfondo{position:absolute;inset:0;z-index:-1;overflow:hidden;background:#121212;pointer-events:none}
.dj-sfondo video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 45%}
.dj-sfondo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,18,18,.86) 0%,rgba(18,18,18,.52) 30%,rgba(18,18,18,.12) 46%,rgba(18,18,18,.12) 70%,rgba(18,18,18,.36) 100%),linear-gradient(180deg,rgba(18,18,18,.45) 0%,rgba(18,18,18,0) 22%,rgba(18,18,18,0) 74%,rgba(18,18,18,.94) 100%)}
@media (min-width:601px) and (max-width:900px){.dj-sfondo video{transform:scale(1.24);transform-origin:47% 100%}}
@media (max-width:900px){
  .dj-sfondo::after{background:linear-gradient(180deg,rgba(18,18,18,.74) 0%,rgba(18,18,18,.5) 28%,rgba(18,18,18,.2) 46%,rgba(18,18,18,.16) 62%,rgba(18,18,18,.5) 100%)}
}

/* a point on the picture: a 44 px target, a 22 px dot with a plus that turns into a cross when open, a ring that
   breathes three times when the head comes in, to say "you can open me", then stops */
.dj-punto{position:absolute;left:var(--x);top:var(--y);z-index:2;width:44px;height:44px;transform:translate(-50%,-50%)}
.dj-punto-tasto{position:relative;display:block;width:44px;height:44px;border-radius:50%;cursor:pointer}
.dj-punto-tasto::before{content:"";position:absolute;inset:11px;border-radius:50%;
  background:linear-gradient(#0A0A0A,#0A0A0A) center / 10px 2px no-repeat,linear-gradient(#0A0A0A,#0A0A0A) center / 2px 10px no-repeat,#F6F6F5;
  box-shadow:0 0 0 4px rgba(246,246,245,.28),0 6px 16px rgba(0,0,0,.45);transition:transform 200ms var(--ease-out)}
.dj-punto-tasto::after{content:"";position:absolute;inset:11px;border-radius:50%;box-shadow:0 0 0 2px #F6F6F5;opacity:0;pointer-events:none}
.dj-apri[data-aperto] > .dj-punto-tasto::before{transform:rotate(45deg)}
@media (prefers-reduced-motion:no-preference){
  .cascata-pronta.is-in .dj-punto-tasto::after{animation:dj-respiro 2400ms var(--ease-out) 3;animation-delay:calc(900ms + var(--d,0) * 140ms)}
  @keyframes dj-respiro{0%{opacity:.7;transform:scale(1)}70%,100%{opacity:0;transform:scale(2.1)}}
  .dj-punto-tasto:active::before{transform:scale(.92)}
}
@media (hover:hover) and (pointer:fine){.dj-punto-tasto:hover::before{box-shadow:0 0 0 6px rgba(246,246,245,.4),0 6px 16px rgba(0,0,0,.45)}}
.dj-mappa .dj-punto:nth-of-type(2){--d:1}.dj-mappa .dj-punto:nth-of-type(3){--d:2}.dj-mappa .dj-punto:nth-of-type(4){--d:3}
.dj-mappa .dj-punto:nth-of-type(5){--d:4}.dj-mappa .dj-punto:nth-of-type(6){--d:5}
.dj-punto-tasto:focus-visible{outline:none}
.dj-punto-tasto:focus-visible::before{box-shadow:0 0 0 3px #121212,0 0 0 6px #F6F6F5}
@media (max-width:600px){.dj-punto.solo-largo{display:none}}

/* ---------- things that open: a trigger and its card (.dj-pop), placed and kept on screen by dj.js ---------- */
/* zero specificity: the points on the picture (absolute) and the seats on the ring keep their own position */
:where(.dj-apri){position:relative}
/* closed cards are out of the layout (display:none), so none of them widens the page; dj.js shows a card with
   data-misura (laid out, still invisible) to measure and place it, then opens it with data-aperto */
.dj-pop{display:none;position:absolute;z-index:40;left:50%;top:calc(100% + 10px);width:max-content;max-width:min(300px,calc(100vw - 24px));
  padding:13px 15px 14px;border-radius:12px;background:#F6F6F5;color:#0A0A0A;text-align:left;
  font:400 15px/1.45 var(--font);letter-spacing:0;white-space:normal;
  box-shadow:0 22px 48px -18px rgba(0,0,0,.55),0 0 0 1px rgba(10,10,10,.08);
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translateX(calc(-50% + var(--dx,0px))) translateY(-4px) scale(.96);transform-origin:calc(50% - var(--dx,0px)) 0;
  transition:opacity 110ms ease-out,transform 130ms var(--ease-out),visibility 0s linear 130ms}
.dj-pop::before{content:"";position:absolute;left:calc(50% - var(--dx,0px));top:-5px;width:10px;height:10px;border-radius:2px;background:inherit;transform:translateX(-50%) rotate(45deg)}
.dj-apri[data-sopra] > .dj-pop{top:auto;bottom:calc(100% + 10px);transform:translateX(calc(-50% + var(--dx,0px))) translateY(4px) scale(.96);transform-origin:calc(50% - var(--dx,0px)) 100%}
.dj-apri[data-sopra] > .dj-pop::before{top:auto;bottom:-5px}
.dj-apri[data-misura] > .dj-pop,.dj-apri[data-aperto] > .dj-pop{display:block}
.dj-apri[data-aperto]{z-index:45}
.dj-apri[data-aperto] > .dj-pop{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(calc(-50% + var(--dx,0px)));
  transition:opacity 160ms ease-out,transform 200ms var(--ease-out),visibility 0s}
.dj-pop > b{display:block;margin-bottom:4px;font-size:16px;font-weight:500;line-height:1.25}
.dj-pop > b em{margin-left:6px;padding:2px 6px;border-radius:4px;background:rgba(10,10,10,.08);font:500 12px/1 var(--mono);font-style:normal;vertical-align:2px}
.dj-pop > span{display:block;color:#3a3a37}
.dj-pop .mono{font-size:.88em}
.dj-pop > a{display:inline-flex;align-items:center;min-height:32px;margin-top:6px;font-weight:500;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
@media (prefers-reduced-motion:reduce){
  .dj-pop,.dj-apri[data-sopra] > .dj-pop,.dj-apri[data-aperto] > .dj-pop{transform:translateX(calc(-50% + var(--dx,0px)))}
  .dj-pop{transition:opacity 120ms linear,visibility 0s linear 120ms}
  .dj-apri[data-aperto] > .dj-pop{transition:opacity 120ms linear,visibility 0s}
}

/* ---------- overview: the facts, each with the colour of its chapter ---------- */
/* LOGHI1 (12/11/2026): the overview as six tiles, one per chapter (they replace the .dj-dati list). Each tile opens its
   chapter. The logos are one-colour symbols (#lg-*) at the end of the page; the names stay in the text of the tile. */
.dj-cosa{padding-bottom:clamp(72px,9vw,128px)}
.dj-schede{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap);margin:clamp(40px,5vw,72px) 0 0;padding:0;list-style:none}
.dj-schede > li{display:flex}
.dj-sc{--campo:var(--c);--inchiostro:#0A0A0A;flex:1;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr auto;
  grid-template-areas:"testa freccia" "vista vista" "riga riga";row-gap:18px;min-height:clamp(232px,18vw,252px);padding:20px 20px 22px 22px;
  border-radius:16px;background:var(--tile);color:var(--fg);text-decoration:none;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--fg) 9%,transparent);
  transition:background-color var(--t-ui) var(--ease-out),box-shadow var(--t-ui) var(--ease-out),transform var(--t-ui) var(--ease-out)}
.dj-sc-testa{grid-area:testa;display:flex;align-items:center;gap:10px;font-size:17px;font-weight:500;line-height:1.2}
.dj-sc-testa .seg-n{transform:none}
.dj-sc[href="#live"] .seg-n{color:#FFFFFF}
.dj-sc-freccia{grid-area:freccia;width:36px;height:36px;padding:8px;border-radius:50%;color:var(--fg);background:color-mix(in srgb,var(--fg) 8%,transparent);
  transition:transform var(--t-ui) var(--ease-out),background-color var(--t-ui) var(--ease-out),color var(--t-ui) var(--ease-out)}
.dj-sc-vista{grid-area:vista;align-self:start;display:flex;align-items:center;flex-wrap:wrap;gap:14px 18px;min-height:96px}
.dj-sc-riga{grid-area:riga;font-size:clamp(17px,1.3vw,20px);font-weight:500;line-height:1.25;text-wrap:pretty}
.dj-sc-nota,.dj-sc-o{font-size:14px;line-height:1.3;color:var(--fg-2)}
.dj-sc-chip{display:flex;flex-wrap:wrap;gap:6px;flex:1 1 180px}
.dj-sc-chip > span{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 11px 0 10px;border-radius:999px;font:500 12.5px/1 var(--mono);letter-spacing:0;
  color:var(--fg);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--fg) 22%,transparent)}
.dj-sc-chip > span::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--c)}
.dj-sc-chip:not(.dj-sc-controlli){flex-wrap:nowrap}
.dj-sc-controlli{display:grid;grid-template-columns:repeat(3,max-content)}
.dj-sc-controlli .male{box-shadow:inset 0 0 0 1.5px #F07A4A}
.dj-sc-controlli .male::before{background:#F07A4A}

/* 01: eight seats, seven friends and yours */
.dj-anello{width:104px;height:104px;flex:none;color:var(--fg);overflow:visible}
.dj-anello-giro{transform-origin:60px 60px;transition:transform 900ms var(--ease-out)}
.dj-anello-tuo{fill:transparent;stroke:currentColor;stroke-width:2;stroke-dasharray:3.4 3;transition:fill var(--t-ui) ease}
/* 02: the score of a track */
.dj-misura{width:96px;height:96px;flex:none}
.dj-misura circle{fill:none;stroke-width:10}
.dj-misura-fondo{stroke:color-mix(in srgb,var(--fg) 12%,transparent)}
.dj-misura-arco{stroke:var(--c);stroke-linecap:round;stroke-dasharray:98 100}
.dj-misura text{fill:var(--fg);font:500 30px var(--mono)}
/* 03: 100, minus the penalties */
.dj-sc-voto{display:flex;align-items:baseline;gap:3px}
.dj-sc-voto b{font-size:56px;font-weight:500;line-height:.9;letter-spacing:-.03em}
.dj-sc-voto small{font-size:16px;color:var(--fg-2)}
/* 04: the three services, in their own colours (.dj-twitch, .dj-kick, .dj-obs as on the buttons of chapter 04) */
.dj-sc-app{gap:10px}
.dj-sc-app > span{display:grid;place-items:center;width:58px;height:58px;border-radius:15px;transition:transform var(--t-ui) var(--ease-out)}
.dj-sc-app svg{width:28px;height:28px;fill:currentColor}
/* 05: a QR in the room, a command in the chat */
.dj-qr{width:62px;height:62px;flex:none;padding:7px;border-radius:12px;background:#F6F6F5;fill:#0A0A0A;box-shadow:inset 0 0 0 1px rgba(10,10,10,.1)}
.dj-sc-chat{display:inline-flex;align-items:center;height:42px;padding:0 15px;border-radius:14px 14px 14px 4px;background:var(--c);color:#0A0A0A;font-size:16px;font-weight:500}
/* 06: the libraries it reads */
.dj-sc-loghi{gap:14px 24px;align-content:center;color:var(--fg)}
.dj-sc-loghi svg{display:block;flex:none;fill:currentColor}
.lg-rb{width:138px;height:20px}
.lg-se{width:76px;height:19px}
.lg-vd{width:91px;height:22px}
.lg-en{width:132px;height:20px}
.lg-tk{font-size:21px;font-weight:600;line-height:1;letter-spacing:-.015em}

.dj-sc:focus-visible{outline:3px solid var(--fg);outline-offset:3px;background:color-mix(in srgb,var(--c) 14%,var(--tile))}
@media (hover:hover) and (pointer:fine){
  .dj-sc:hover{background:color-mix(in srgb,var(--c) 14%,var(--tile));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c) 75%,transparent)}
  .dj-sc:hover .dj-sc-freccia{background:var(--c);color:#0A0A0A}
  .dj-sc:hover .dj-anello-tuo{fill:currentColor}
}
@media (prefers-reduced-motion:no-preference){.dj-sc:active{transform:scale(.985)}}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .dj-sc:hover{transform:translateY(-3px)}
  .dj-sc:hover:active{transform:translateY(-1px) scale(.985)}
  .dj-sc:hover .dj-sc-freccia{transform:translateX(3px)}
  .dj-sc:hover .dj-anello-giro{transform:rotate(45deg)}
  .dj-sc:hover .dj-misura-arco{animation:dj-arco 900ms var(--ease-out)}
  .dj-sc:hover .dj-sc-app > span{transform:translateY(-4px)}
  .dj-sc:hover .dj-sc-app > span:nth-child(2){transition-delay:50ms}
  .dj-sc:hover .dj-sc-app > span:nth-child(3){transition-delay:100ms}
}
@keyframes dj-arco{from{stroke-dashoffset:98}}
@media (max-width:1099px){.dj-schede{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){
  .dj-schede{grid-template-columns:1fr;gap:12px}
  .dj-sc{min-height:0;row-gap:14px;padding:16px 16px 18px}
  .dj-sc-vista{min-height:0;gap:12px 16px}
  .dj-anello{width:88px;height:88px}
  .dj-misura{width:76px;height:76px}
  .dj-sc-voto b{font-size:46px}
  .dj-sc-app > span{width:50px;height:50px;border-radius:13px}
  .dj-qr{width:54px;height:54px}
}
/* the library logos always split 3 + 2: three fit in 328 px, four need 443 */
.dj-sc{container-type:inline-size}
.dj-sc-loghi{max-width:340px}
@container (max-width:327px){.dj-sc-loghi{gap:12px 14px}.lg-rb{width:110px;height:16px}.lg-se{width:61px;height:15px}.lg-vd{width:73px;height:18px}.lg-en{width:106px;height:16px}.lg-tk{font-size:17px}}

/* ---------- chapters: a full-bleed field with its own ink ---------- */
.dj-capitolo{padding-block:clamp(72px,9vw,136px)}
.dj-campo{background:var(--campo);color:var(--inchiostro);--bg:var(--campo);--fg:var(--inchiostro);--fg-2:color-mix(in srgb,var(--inchiostro) 74%,transparent);
  --tile:color-mix(in srgb,#fff 36%,transparent);--sotto:color-mix(in srgb,#fff 36%,var(--campo));--btn-bg:var(--inchiostro);--btn-fg:var(--campo)}
.dj-campo.scuro{--tile:color-mix(in srgb,#fff 7%,transparent);--sotto:color-mix(in srgb,#fff 7%,var(--campo))}
.dj-campo .seg-n,.dj-campo .dj-flusso li::before{background:var(--inchiostro);color:var(--campo)}
.dj-campo .dj-flusso li:not(:last-child)::after{background:var(--inchiostro)}
.dj-campo .dj-esito,.dj-campo .dj-voto-tot{background:var(--inchiostro);color:var(--campo)}
.dj-campo .dj-voto li::before{background:var(--inchiostro)}
.dj-capitolo .segmenti{margin-top:clamp(36px,4vw,56px)}
.dj-capitolo > .wrap > .dj-scheda{margin-top:clamp(40px,4.5vw,64px)}

.dj-cap-testa{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap);row-gap:18px;align-items:end}
.dj-occhiello{grid-column:1 / -1;display:flex;align-items:center;gap:12px;font-size:var(--s-lead);font-weight:500;line-height:1.2}
.dj-titolo{grid-column:1 / span 8;font-size:clamp(44px,6.4vw,104px);font-weight:500;letter-spacing:-.04em;line-height:.96;text-wrap:balance}
.dj-lead{grid-column:9 / span 4;font-size:var(--s-lead);line-height:1.35;max-width:32ch;text-wrap:pretty}
@media (max-width:1000px){.dj-titolo,.dj-lead{grid-column:1 / -1}.dj-lead{max-width:44ch}}

/* a clip on a field: in its own dark frame */
.dj-tavola-campo{border-radius:var(--r-m);background:#0d0e10;padding:clamp(10px,1.4vw,18px);box-shadow:0 30px 60px -32px rgba(0,0,0,.5)}
.dj-tavola-campo img,.dj-tavola-campo video{display:block;width:100%;height:auto;border-radius:6px}
.dj-capitolo figcaption{margin-top:12px;font-size:15px;line-height:1.45;color:var(--fg-2);max-width:60em}

/* ---------- a part: the clip and its text on one row, the sheet under them ---------- */
.dj-seg{row-gap:28px}
.dj-seg .tavola{background:#0d0e10}
.dj-seg .seg-testo p{max-width:44ch}
.seg-full.dj-seg .seg-testo p{max-width:62ch}
.dj-seg .seg-testo h3 + p{margin-top:10px}
/* tall clips (the coach panel, the phone) take five columns, the text the other six */
.dj-alta .tavola{grid-column:1 / span 5}
.dj-alta .seg-testo{grid-column:7 / span 6}
.dj-alta.inv .tavola{grid-column:8 / span 5}
.dj-alta.inv .seg-testo{grid-column:1 / span 6}
.dj-alta .tavola video{max-height:min(720px,80svh);width:auto;max-width:100%}

/* the sheet: label and value in columns, a hairline over each, like a spec drawing */
.dj-scheda{grid-column:1 / -1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:var(--gap);row-gap:22px}
.dj-scheda-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.dj-scheda-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.dj-scheda-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.dj-scheda > div{padding-top:14px;border-top:1px solid color-mix(in srgb,var(--fg) 18%,transparent)}
.dj-scheda dt{font-size:14px;font-weight:500;color:var(--fg)}
.dj-scheda dd{margin-top:6px;font-size:15px;line-height:1.45;color:var(--fg-2);text-wrap:pretty}
.dj-scheda .mono,.dj-flusso .mono{font-size:.9em}
@media (max-width:1100px){.dj-scheda,.dj-scheda-4,.dj-scheda-5{grid-template-columns:repeat(2,minmax(0,1fr))}.dj-scheda-3{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:900px){.dj-alta .tavola video{max-height:560px}.dj-scheda-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.dj-scheda,.dj-scheda-3,.dj-scheda-4,.dj-scheda-5{grid-template-columns:1fr;row-gap:16px}}

/* ---------- schemas ---------- */
/* flow: three steps joined by a line, numbered by the list */
.dj-flusso{counter-reset:passo;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:22px}
.dj-flusso li{counter-increment:passo;position:relative;display:grid;gap:4px;align-content:start;padding:14px 14px 16px;border-radius:var(--r-s);background:var(--tile)}
.dj-flusso li::before{content:counter(passo);display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-bottom:6px;border-radius:6px;
  background:var(--campo);color:var(--inchiostro);font:500 13px/1 var(--mono)}
.dj-flusso li:not(:last-child)::after{content:"";position:absolute;top:26px;right:-10px;width:10px;height:2px;background:var(--campo)}
.dj-flusso b{font-weight:500;font-size:16px;line-height:1.25}
.dj-flusso span{font-size:14px;line-height:1.35;color:var(--fg-2)}
/* the same flow standing up, beside the chat cards */
.dj-flusso-colonna{grid-template-columns:1fr;margin-top:0}
.dj-flusso-colonna li{grid-template-columns:auto 1fr;column-gap:12px;align-items:center}
.dj-flusso-colonna li::before{grid-row:span 2;margin:0}
.dj-flusso-colonna li:not(:last-child)::after{top:auto;bottom:-10px;right:auto;left:25px;width:2px;height:10px}
@media (max-width:560px){
  .dj-flusso{grid-template-columns:1fr;gap:8px}
  .dj-flusso li{grid-template-columns:auto 1fr;column-gap:12px;align-items:center;padding:12px 14px}
  .dj-flusso li::before{grid-row:span 2;margin:0}
  .dj-flusso li:not(:last-child)::after{top:auto;bottom:-8px;right:auto;left:25px;width:2px;height:8px}
}

/* sum: key + tempo + energy = the score with its reason; each part opens */
.dj-somma{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:22px}
.dj-pezzo{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 13px;border-radius:var(--r-s);background:var(--tile);font:500 15px/1 var(--font);cursor:pointer;
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--fg) 14%,transparent);transition:transform var(--t-press) var(--ease-out),background-color var(--t-hover) ease}
.dj-pezzo::after{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.45}
.dj-pezzo:active{transform:scale(.97)}
.dj-apri[data-aperto] > .dj-pezzo{background:var(--inchiostro);color:var(--campo)}
@media (hover:hover) and (pointer:fine){.dj-pezzo:hover{background:color-mix(in srgb,#fff 55%,transparent)}}
.dj-somma i{font-style:normal;font:500 16px/1 var(--mono);color:var(--fg-2)}
.dj-esito{display:inline-flex;align-items:baseline;gap:10px;flex-wrap:wrap;padding:8px 14px 8px 12px;border-radius:var(--r-s);background:var(--campo);color:var(--inchiostro)}
.dj-esito b{font-size:28px;line-height:1;font-weight:500;letter-spacing:0}
.dj-esito span{font-size:13px}

/* score: five checks, the one that failed, the total */
.dj-voto{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:16px 24px;margin-top:22px;padding:16px 18px;border-radius:var(--r-m);background:var(--tile)}
.dj-voto ul{display:grid;gap:2px}
.dj-voto li{display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:12px;padding:7px 0;border-bottom:1px solid color-mix(in srgb,var(--fg) 12%,transparent);font-size:15px}
.dj-voto li:last-child{border-bottom:0}
.dj-voto li span{font-weight:500}
.dj-voto li em{font-style:normal;font-family:var(--mono);font-size:13px;color:var(--fg-2)}
.dj-voto li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--campo)}
.dj-voto li.male::before{background:#D8343A}
.dj-voto li.male em{color:var(--fg);font-weight:500}
.dj-voto-tot{display:flex;align-items:baseline;gap:4px;padding:8px 14px;border-radius:var(--r-s);background:var(--campo);color:var(--inchiostro)}
.dj-voto-tot b{font-size:44px;line-height:1;font-weight:500}
.dj-voto-tot span{font-size:14px}
@media (max-width:560px){.dj-voto{grid-template-columns:1fr}.dj-voto-tot{justify-self:start}}

/* the steps of a schema follow their part in: a short stagger once the part is in view */
@media (prefers-reduced-motion:no-preference){
  .cascata-pronta .dj-flusso:not(.dj-flusso-colonna) li,.cascata-pronta .dj-somma > *,.cascata-pronta .dj-voto li,.cascata-pronta .dj-regole li{opacity:0;transform:translateY(8px)}
  .cascata-pronta.is-in .dj-flusso:not(.dj-flusso-colonna) li,.cascata-pronta.is-in .dj-somma > *,.cascata-pronta.is-in .dj-voto li,.cascata-pronta.is-in .dj-regole li{opacity:1;transform:none;
    transition:opacity 360ms var(--ease-out),transform 520ms var(--ease-out);transition-delay:calc(260ms + var(--n,0) * 60ms)}
  .dj-flusso li:nth-child(2),.dj-somma > :nth-child(2),.dj-voto li:nth-child(2),.dj-regole li:nth-child(2){--n:1}
  .dj-flusso li:nth-child(3),.dj-somma > :nth-child(3),.dj-voto li:nth-child(3),.dj-regole li:nth-child(3){--n:2}
  .dj-somma > :nth-child(4),.dj-voto li:nth-child(4){--n:3}
  .dj-somma > :nth-child(5),.dj-voto li:nth-child(5){--n:4}
  .dj-somma > :nth-child(6){--n:5}
  .dj-somma > :nth-child(7){--n:7}
}

/* ---------- 01 B2B: the room film beside the room diagram, then the four pillars ---------- */
.dj-b2b-scena{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap);row-gap:28px;align-items:center;margin-top:clamp(40px,4.5vw,64px)}
.dj-b2b-film{grid-column:1 / span 7}
.dj-stanza{grid-column:8 / span 5;display:grid;gap:14px;padding:clamp(16px,2vw,24px);border-radius:18px;background:var(--tile)}
.dj-stanza-titolo{font-weight:500;font-size:17px}
.dj-stanza-titolo span{font-weight:400;color:var(--fg-2)}
.dj-cerchio{position:relative;width:100%;max-width:420px;aspect-ratio:1;margin-inline:auto;container-type:inline-size;--r:37cqw;--posto:clamp(44px,14cqw,58px)}
.dj-cerchio::before{content:"";position:absolute;inset:13cqw;border-radius:50%;border:1.5px dashed color-mix(in srgb,var(--inchiostro) 34%,transparent)}
.dj-battito{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:4px;text-align:center;pointer-events:none}
.dj-battito b{font-size:clamp(24px,8cqw,36px);font-weight:500;line-height:1;letter-spacing:0}
.dj-battito > span:not(.dj-battiti){font-size:13px;color:var(--fg-2)}
.dj-battiti{display:flex;gap:7px;margin-top:8px}
.dj-battiti i{width:9px;height:9px;border-radius:50%;background:color-mix(in srgb,var(--inchiostro) 22%,transparent)}
.dj-battiti i:first-child{background:var(--inchiostro)}
@media (prefers-reduced-motion:no-preference){
  .dj-cerchio.vivo .dj-battiti i{animation:dj-battito 1935ms steps(1,end) infinite}
  .dj-cerchio.vivo .dj-battiti i:nth-child(2){animation-delay:484ms}
  .dj-cerchio.vivo .dj-battiti i:nth-child(3){animation-delay:968ms}
  .dj-cerchio.vivo .dj-battiti i:nth-child(4){animation-delay:1452ms}
  @keyframes dj-battito{0%{background:var(--inchiostro)}25%,100%{background:color-mix(in srgb,var(--inchiostro) 22%,transparent)}}
}
/* a seat: placed on the ring with transform (rotate out, then back upright) */
.dj-posto{position:absolute;left:50%;top:50%;width:var(--posto);height:var(--posto);margin:calc(var(--posto) / -2) 0 0 calc(var(--posto) / -2);
  transform:rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1))}
.dj-posto-tasto{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:var(--c);color:#0A0A0A;font:500 clamp(14px,4.4cqw,18px)/1 var(--font);cursor:pointer;
  box-shadow:0 0 0 5px var(--sotto),0 12px 24px -12px rgba(0,0,0,.5);transition:transform 180ms var(--ease-out),box-shadow 180ms ease}
.dj-posto-tasto:active{transform:scale(.95)}
@media (hover:hover) and (pointer:fine){.dj-posto-tasto:hover{transform:scale(1.07)}}
.dj-apri[data-aperto] > .dj-posto-tasto{box-shadow:0 0 0 5px var(--sotto),0 0 0 7.5px var(--inchiostro),0 12px 24px -12px rgba(0,0,0,.5)}
.dj-libero .dj-posto-tasto{background:var(--sotto);color:color-mix(in srgb,var(--inchiostro) 64%,transparent);font-size:22px;
  box-shadow:0 0 0 5px var(--sotto),inset 0 0 0 1.5px color-mix(in srgb,var(--inchiostro) 34%,transparent)}
.dj-ruoli{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:14px;color:var(--fg-2)}
.dj-ruoli b{color:var(--fg);font-weight:500}
@media (max-width:900px){.dj-b2b-film,.dj-stanza{grid-column:1 / -1}}

.dj-pilastri{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--gap);margin-top:clamp(36px,4vw,56px)}
.dj-pilastro{display:flex;flex-direction:column;gap:8px;padding:12px 12px 22px;border-radius:18px;background:var(--tile)}
.dj-pilastro-media{display:grid;place-items:center;aspect-ratio:16 / 10;margin-bottom:10px;padding:clamp(10px,1.6vw,18px);border-radius:12px;background:#0d0e10;overflow:hidden}
.dj-pilastro-media img{max-width:100%;max-height:100%;width:auto;height:auto;border-radius:6px}
.dj-pilastro-media video{width:100%;height:100%;object-fit:contain;border-radius:6px}
.dj-pilastro-pila{display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:16px}
.dj-pilastro-pila img{width:100%;max-height:none}
.dj-pilastro-n,.dj-pilastro h3,.dj-pilastro > p{padding-inline:8px}
.dj-pilastro-n{font-size:13px;color:var(--fg-2)}
.dj-pilastro h3{font-size:var(--s-lead);line-height:1.15;letter-spacing:-.015em;font-weight:500}
.dj-pilastro > p:last-child{color:var(--fg-2);max-width:50ch;text-wrap:pretty}
@media (max-width:760px){.dj-pilastri{grid-template-columns:1fr}}

/* ---------- 04 Live stream: the platforms (they open), the chat cards with the flow, the demo ---------- */
.dj-piattaforme{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.dj-marchio{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:13px;min-width:176px;min-height:68px;padding:13px 20px 13px 16px;border-radius:14px;text-align:left;cursor:pointer;
  transition:transform var(--t-press) var(--ease-out),box-shadow var(--t-hover) ease}
.dj-marchio-logo{display:block;width:38px;height:38px;fill:currentColor}
.dj-marchio-testo{display:grid;gap:4px;justify-items:start}
.dj-marchio-nome{font-size:24px;font-weight:600;line-height:1;letter-spacing:-.01em}
/* the small line in the button's full ink (REV, 12/11/2026): at 85 % the white read 3.78:1 on the Twitch purple */
.dj-marchio-riga{font-size:13px}
.dj-twitch{background:#9146FF;color:#FFFFFF}
.dj-kick{background:#53FC18;color:#0A0A0A}
.dj-obs{background:#2A2A2D;color:#F6F6F5;box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}
.dj-marchio:active{transform:scale(.97)}
@media (hover:hover) and (pointer:fine){.dj-marchio:hover{transform:translateY(-2px)}}
.dj-apri[data-aperto] > .dj-marchio{box-shadow:0 0 0 2px var(--campo),0 0 0 4px var(--inchiostro)}
.dj-live-righe{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap);row-gap:24px;align-items:center;margin-top:clamp(40px,4.5vw,64px)}
.dj-live-carte{grid-column:1 / span 8}
.dj-live-righe .dj-flusso-colonna{grid-column:10 / span 3}
.dj-capitolo .palco{margin-top:clamp(40px,4.5vw,64px)}
@media (max-width:900px){.dj-live-carte,.dj-live-righe .dj-flusso-colonna{grid-column:1 / -1}}

/* ---------- 05 Requests: the phone clip with its sound button, the list under the text ---------- */
.dj-telefono{position:relative;flex-direction:column;gap:14px}
.dj-telefono video{border-radius:18px}
.dj-suono{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border-radius:var(--r-s);background:rgba(255,255,255,.12);color:#F6F6F5;font:500 14px/1 var(--font);
  transition:transform var(--t-press) var(--ease-out),background-color var(--t-hover) ease}
.dj-suono:active{transform:scale(.97)}
.dj-suono[aria-pressed="true"]{background:#F6F6F5;color:#0A0A0A}
@media (hover:hover) and (pointer:fine){.dj-suono:hover:not([aria-pressed="true"]){background:rgba(255,255,255,.2)}}
.dj-lista{margin-top:22px;border-radius:var(--r-m);overflow:hidden;background:#0d0e10;max-width:564px}
.dj-lista img{display:block;width:100%;height:auto}

/* ---------- 06 Library: what it reads, the library, what it writes; the import rules; the panels ---------- */
.dj-scambio{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr);gap:clamp(12px,2vw,28px);align-items:center;margin-top:clamp(40px,4.5vw,64px)}
.dj-scambio-col h3{margin-bottom:12px;font:500 14px/1.2 var(--mono);color:var(--fg-2)}
.dj-programmi{display:grid;gap:8px}
.dj-programma{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;min-height:52px;padding:0 16px;border-radius:12px;background:#0A0A0A;color:#F6F6F5;
  font:500 18px/1.1 var(--font);letter-spacing:-.01em;text-align:left;cursor:pointer;transition:transform var(--t-press) var(--ease-out),background-color var(--t-hover) ease}
.dj-programma small{margin-left:auto;font:400 12px/1 var(--mono);letter-spacing:0;color:rgba(246,246,245,.6)}
.dj-programma::after{content:"";flex:none;width:6px;height:6px;margin-left:auto;border-radius:50%;background:currentColor;opacity:.4}
.dj-programma:has(small)::after{margin-left:0}
.dj-programma-zokku{background:#F6F6F5;color:#0A0A0A;box-shadow:inset 0 0 0 1.5px #0A0A0A}
.dj-programma:active{transform:scale(.98)}
@media (hover:hover) and (pointer:fine){.dj-programma:hover{background:#262624}.dj-programma-zokku:hover{background:#FFFFFF}}
.dj-apri[data-aperto] > .dj-programma{box-shadow:0 0 0 2px var(--campo),0 0 0 4px var(--inchiostro)}
.dj-scambio-centro{display:flex;align-items:center;gap:10px}
.dj-freccia{flex:0 0 clamp(18px,2.6vw,44px);height:2px;background:repeating-linear-gradient(90deg,var(--inchiostro) 0 6px,transparent 6px 12px);background-size:12px 2px}
@media (prefers-reduced-motion:no-preference){
  .dj-scambio.is-in .dj-freccia{animation:dj-scorre 900ms linear infinite}
  @keyframes dj-scorre{from{background-position:0 0}to{background-position:12px 0}}
}
.dj-scambio-cuore{flex:1 1 auto;min-width:0;display:grid;gap:12px;padding:16px;border-radius:16px;background:#0A0A0A;color:#F6F6F5;box-shadow:0 30px 60px -32px rgba(0,0,0,.55)}
.dj-scambio-nome{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:500}
.dj-scambio-cuore img{display:block;width:100%;height:auto;border-radius:8px}
.dj-scambio-riga{font-size:14px;line-height:1.4;color:rgba(246,246,245,.72)}
.dj-scambio-nota{margin-top:12px;font-size:13px;line-height:1.45;color:var(--fg-2)}
@media (max-width:1000px){
  .dj-scambio{grid-template-columns:1fr}
  .dj-programmi{grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr))}
  .dj-scambio-centro{flex-direction:column}
  .dj-freccia{flex-basis:28px;width:2px;height:28px;background:repeating-linear-gradient(180deg,var(--inchiostro) 0 6px,transparent 6px 12px);background-size:2px 12px}
  @keyframes dj-scorre{from{background-position:0 0}to{background-position:0 12px}}
}
.dj-lib-parti{margin-top:clamp(48px,5vw,80px)}
.dj-regole{display:grid;gap:8px;margin-top:18px}
.dj-regole li{display:grid;gap:4px;padding:12px 14px;border-radius:12px;background:var(--tile)}
.dj-regole b{font:500 14px/1.2 var(--mono)}
.dj-regole .ora{box-shadow:inset 0 0 0 1.5px var(--inchiostro)}
.dj-regole .ora b::after{content:"default";margin-left:8px;padding:2px 6px;border-radius:4px;background:var(--inchiostro);color:var(--campo);font:500 11px/1 var(--mono);vertical-align:1px}
.dj-regole span{font-size:14px;line-height:1.4;color:var(--fg-2)}
.seg .tavola.dj-coppia{display:grid;grid-template-columns:minmax(0,.62fr) minmax(0,1fr);gap:clamp(10px,1.4vw,16px);align-items:center}
.dj-coppia img,.dj-coppia video{display:block;width:100%;height:auto;border-radius:6px}
@media (max-width:560px){.seg .tavola.dj-coppia{grid-template-columns:1fr}}

/* ---------- live stream demo: the stream with the real overlay (styles of web/Remote.cpp /overlay) and the chat ---------- */
.palco{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(0,1fr);gap:var(--gap)}
.palco figcaption{grid-column:1 / -1;font-size:15px;color:var(--fg-2);max-width:60em}
.stream{position:relative;aspect-ratio:16 / 9;border-radius:var(--r-m);overflow:hidden;background:#05070d;container-type:inline-size;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.stream-fondo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.42) saturate(.85)}
.ov{position:absolute;inset:0;--u:.55px;font:400 calc(15*var(--u))/1.35 "Geist","Segoe UI",system-ui,sans-serif;color:#ecece6}
@supports (width:1cqw){.ov{--u:max(calc(100cqw / 1120),.75px)}}
.ov-box,.ov-req,.ov-pill{position:absolute;background:rgba(19,20,18,.8);border:1px solid rgba(255,255,255,.12)}
.ov-box{left:calc(28*var(--u));bottom:calc(28*var(--u));width:calc(560*var(--u));border-radius:calc(22*var(--u));padding:calc(14*var(--u));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 calc(20*var(--u)) calc(50*var(--u)) rgba(0,0,0,.45)}
.ov-r{display:flex;align-items:flex-start;gap:calc(14*var(--u))}
.ov-r8{align-items:center;gap:calc(8*var(--u))}
.ov-sp{flex:1;min-width:0}
.ov-cov{width:calc(86*var(--u));height:calc(86*var(--u));border-radius:calc(12*var(--u));flex:none;background:#2b2340 center / cover no-repeat;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.ov-k{font:500 calc(11*var(--u))/1.2 ui-monospace,Consolas,monospace;letter-spacing:.05em;color:#75766f}
.ov-m{font:500 calc(12*var(--u))/1.3 ui-monospace,Consolas,monospace;color:#a3a49c}
.ov-m b{color:#ecece6;font-weight:500}
.ov-t1{font-weight:600;font-size:calc(20*var(--u));letter-spacing:-.01em;margin-top:calc(4*var(--u));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ov-t2{color:#a3a49c;font-size:calc(14*var(--u))}
.ov-meta{margin-top:calc(10*var(--u))}
.ov canvas{display:block;width:calc(532*var(--u));height:calc(34*var(--u));margin-top:calc(12*var(--u));border-radius:calc(8*var(--u));background:rgba(255,255,255,.04)}
.ov-nx{display:flex;align-items:center;gap:calc(10*var(--u));margin-top:calc(12*var(--u));padding-top:calc(12*var(--u));border-top:1px solid rgba(255,255,255,.09);color:#a3a49c;font-size:calc(12.5*var(--u))}
.ov-nx[hidden]{display:none}
.ov-nx b{color:#ecece6;font-weight:500}
.ov-req{right:calc(28*var(--u));bottom:calc(28*var(--u));width:calc(300*var(--u));padding:calc(10*var(--u)) calc(14*var(--u));border-radius:calc(16*var(--u))}
.ov-req div{color:#a3a49c;margin-top:calc(6*var(--u));font-size:calc(13*var(--u))}
.ov-req code{font:500 calc(13*var(--u)) ui-monospace,Consolas,monospace;background:rgba(255,255,255,.1);padding:calc(2*var(--u)) calc(6*var(--u));border-radius:calc(5*var(--u))}
.ov-pill{top:calc(24*var(--u));left:calc(28*var(--u));padding:calc(8*var(--u)) calc(14*var(--u));border-radius:999px;font-size:calc(13*var(--u));transition:opacity 400ms var(--ease-out),transform 400ms var(--ease-out)}
.ov-pill.fuori{opacity:0;transform:translateY(calc(-8*var(--u)))}
@container (max-width:640px){
  .ov{--u:calc(100cqw / 480)}
  .ov-box{left:calc(14*var(--u));right:calc(14*var(--u));bottom:calc(14*var(--u));width:auto}
  .ov canvas{width:100%}
  .ov-pill{left:calc(14*var(--u));top:calc(14*var(--u))}
  .ov-req{display:none}
}
.chat{display:flex;flex-direction:column;min-height:0;border-radius:var(--r-m);background:#0e1426;padding:18px 16px 14px;overflow:hidden;
  font:400 14px/1.35 "Geist","Segoe UI",system-ui,sans-serif;color:#e6e7ef;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.chat-h{font-size:11.5px;letter-spacing:.04em;color:#8b90a8;margin-bottom:10px}
.chat-righe{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:flex-end;gap:2px;overflow:hidden;margin:0;padding:0;list-style:none}
.chat-righe li{padding:6px 8px 6px 28px;border-radius:6px;position:relative}
.chat-righe li::before{content:"";position:absolute;left:9px;top:11px;width:10px;height:10px;border-radius:2.5px;background:var(--c,#9146ff)}
.chat-righe li.rq{background:color-mix(in srgb,var(--c,#9146ff) 14%,transparent)}
.chat-righe b{font-weight:600;margin-right:6px}
.chat-righe .cmd{font-family:ui-monospace,Consolas,monospace;font-size:13px}
.chat-righe .fonte{font-size:11px;color:#8b90a8;margin-left:6px}
@media (prefers-reduced-motion:no-preference){
  .chat-righe li{animation:dj-entra 320ms var(--ease-out)}
  @keyframes dj-entra{from{opacity:0;transform:translateY(8px)}}
}
@media (prefers-reduced-motion:reduce){.ov-pill{transition:none}}
@media (max-width:900px){.palco{grid-template-columns:1fr}.chat{height:300px}}
@media (max-width:680px){.stream{aspect-ratio:4 / 3}}

/* ---------- specs: each tile tinted with a deck colour ---------- */
.dj-spec .spec-fondo{background:color-mix(in srgb,var(--c,#9a9a96) 24%,var(--tile))}
@media (prefers-color-scheme:dark){.dj-spec .spec-fondo{background:color-mix(in srgb,var(--c,#9a9a96) 15%,var(--tile))}}

/* ---------- notify: the head's dark field, the form on the left, the price on the right ---------- */
.dj-banda-griglia{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap);row-gap:40px;align-items:start}
.dj-banda-griglia > div:first-child{grid-column:1 / span 6}
.dj-banda .dj-prezzo{grid-column:8 / span 5}
.dj-banda h2{max-width:14ch}
.dj-banda-riga{margin-top:14px;font-size:var(--s-lead);line-height:1.35;max-width:32ch}
.dj-modulo{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:28px;max-width:560px}
.dj-modulo input{min-height:48px;border-radius:var(--r-s);border:1.5px solid transparent;background:#F6F6F5;color:#0A0A0A;
  padding:0 16px;font:400 17px var(--font);transition:border-color var(--t-hover) ease}
.dj-modulo input::placeholder{color:#63635e;opacity:1}
.dj-modulo input:focus{outline:3px solid var(--inchiostro);outline-offset:2px}
.dj-modulo .btn:disabled{opacity:.6;cursor:progress}
.dj-esito-modulo{grid-column:1 / -1;min-height:1.5em;font-size:15px;font-weight:500}
.dj-esito-modulo:empty{min-height:0}
@media (prefers-reduced-motion:no-preference){.dj-esito-modulo.nuovo{animation:dj-esito 220ms var(--ease-out)}@keyframes dj-esito{from{opacity:0;transform:translateY(4px)}}}
.dj-nota{grid-column:1 / -1;font-size:14px;line-height:1.45;color:color-mix(in srgb,var(--inchiostro) 72%,transparent)}
.dj-nota a{text-decoration:underline;text-underline-offset:3px}
.dj-prezzo{padding:22px 24px 24px;border-radius:var(--r-m);background:color-mix(in srgb,var(--inchiostro) 7%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--inchiostro) 10%,transparent)}
.dj-prezzo-cifra{display:flex;align-items:baseline;gap:14px}
.dj-prezzo-cifra b{font-size:clamp(48px,5vw,72px);line-height:1;font-weight:500;letter-spacing:-.02em}
.dj-prezzo-cifra span{font-size:var(--s-lead);font-weight:500;text-wrap:balance}
.dj-prezzo-nota{margin-top:14px;font-size:15px;line-height:1.45;color:color-mix(in srgb,var(--inchiostro) 72%,transparent)}
.dj-marchi-nota{margin-top:clamp(40px,5vw,64px);max-width:80ch;font-size:13px;line-height:1.45;color:color-mix(in srgb,var(--inchiostro) 58%,transparent)}
@media (max-width:900px){.dj-banda-griglia > div:first-child,.dj-banda .dj-prezzo{grid-column:1 / -1}}
@media (max-width:480px){.dj-modulo{grid-template-columns:1fr}}
/* launch (10/11/2026): buy, download, activate */
.dj-passi{margin:22px 0 0;padding:0;list-style:none;counter-reset:passo;display:grid;gap:12px;max-width:46ch}
.dj-passi li{counter-increment:passo;display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;font-size:17px;line-height:1.45}
.dj-passi li::before{content:counter(passo);font:500 15px/32px var(--mono,monospace);text-align:center;border-radius:50%;
  height:32px;box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--inchiostro) 40%,transparent)}
.dj-compra-azioni{margin-top:28px}
.dj-scarica{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px;max-width:780px}
.dj-file{display:grid;gap:4px;text-decoration:none;padding:14px 16px;border-radius:var(--r-s);background:color-mix(in srgb,var(--inchiostro) 7%,transparent);
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--inchiostro) 14%,transparent);transition:background-color var(--t-hover) ease}
.dj-file:hover{background:color-mix(in srgb,var(--inchiostro) 13%,transparent)}
.dj-file:focus-visible{outline:3px solid var(--inchiostro);outline-offset:2px}
.dj-file b{font-size:17px;font-weight:500}
.dj-file span{font-size:14px;color:color-mix(in srgb,var(--inchiostro) 72%,transparent)}
.dj-scarica + .dj-nota{margin-top:18px}
.dj-nota + .dj-nota{margin-top:8px}
@media (max-width:720px){.dj-scarica{grid-template-columns:1fr}}
/* atmosphere loops (10/11/2026, generated, people from behind, no app UI): one wide strip under the head of B2B, live and requests */
.dj-atmo{margin:clamp(24px,3vw,40px) 0 0;border-radius:var(--r-m);overflow:hidden;aspect-ratio:1280 / 432;background:#0d0e10}
.dj-atmo video{display:block;width:100%;height:100%;object-fit:cover}
@media (max-width:700px){.dj-atmo{aspect-ratio:16 / 9}}
/* ---------- supported controllers (CTL1120, 20/11/2026): by brand, tiles tinted like the specs, a search on top. The
   list is written by work/dj-app-v1/tools/lista-controller/lista_sito.py; dj.js adds the search and folds long brands. */
.dj-testa .dj-ctl-link{margin-top:6px}
.dj-testa .dj-ctl-link .lnk{min-height:44px}
.dj-spec dd a{text-underline-offset:.2em;white-space:nowrap}
.dj-ctl{scroll-margin-top:68px}
.ctl-barra{display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:32px}
.ctl-cerca{position:relative;flex:1 1 320px;max-width:520px;display:block}
.ctl-cerca svg{position:absolute;left:16px;top:50%;width:20px;height:20px;transform:translateY(-50%);color:var(--fg-2);pointer-events:none}
.ctl-cerca input{width:100%;min-height:52px;padding:0 16px 0 46px;border-radius:var(--r-s);border:1.5px solid color-mix(in srgb,var(--fg) 18%,transparent);
  background:var(--tile);color:var(--fg);font:400 17px var(--font);-webkit-appearance:none;appearance:none;transition:border-color var(--t-hover) ease}
.ctl-cerca input::placeholder{color:var(--fg-2);opacity:1}
.ctl-cerca input:focus{outline:none;border-color:var(--fg)}
.ctl-cerca input:focus-visible{outline:3px solid color-mix(in srgb,#5EB0FF 70%,var(--fg));outline-offset:2px}
.ctl-conta{font-size:var(--s-small);color:var(--fg-2)}
.ctl-conta b{color:var(--fg);font-weight:500;font-family:var(--mono);font-size:.94em}
.ctl-lista{margin-top:24px}
.ctl-marche{columns:3 300px;column-gap:12px}
.ctl-marca{break-inside:avoid;display:inline-block;width:100%;margin:0 0 12px;padding:20px 20px 22px;border-radius:var(--r-m);
  background:color-mix(in srgb,var(--c,#9a9a96) 24%,var(--tile))}
.ctl-marca[hidden]{display:none}
.ctl-marca h3{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:20px;font-weight:500;line-height:1.2}
.ctl-n{color:var(--fg-2)}
.ctl-modelli{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.ctl-modelli li{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:4px 11px;border-radius:var(--r-s);
  background:color-mix(in srgb,var(--bg) 62%,transparent);font-size:15px;line-height:1.25}
.ctl-modelli li[hidden]{display:none}
.ctl-marca.chiusa .ctl-modelli li:nth-child(n+13){display:none}
.ctl-tutti{margin-top:12px;min-height:44px;padding:0 2px;border:0;background:none;color:var(--fg);font:500 15px var(--font);cursor:pointer;
  text-decoration:underline;text-decoration-color:color-mix(in srgb,currentColor 35%,transparent);text-underline-offset:.24em}
@media (hover:hover) and (pointer:fine){.ctl-tutti:hover{text-decoration-color:currentColor}}
.ctl-tutti:focus-visible{outline:2px solid var(--fg);outline-offset:2px;border-radius:4px}
.dj-ctl.cerca .ctl-tutti{display:none}
.ctl-tag{display:inline-flex;align-items:center;min-height:20px;padding:0 6px;border-radius:5px;font-family:var(--mono);font-size:11.5px;line-height:1;
  color:var(--fg-2);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--fg) 26%,transparent);white-space:nowrap}
.ctl-nulla{max-width:60ch;padding:20px;border-radius:var(--r-m);background:var(--tile);font-size:16px;line-height:1.45}
.ctl-note{display:grid;gap:10px;margin-top:20px;max-width:80ch;font-size:15px;line-height:1.5;color:var(--fg-2)}
.ctl-note a,.ctl-nulla a{color:var(--fg)}
.ctl-note .ctl-tag{vertical-align:1px}
@media (prefers-color-scheme:dark){.ctl-marca{background:color-mix(in srgb,var(--c,#9a9a96) 15%,var(--tile))}}
@media (max-width:560px){.ctl-marca{padding:16px 16px 18px}.ctl-modelli li{font-size:14.5px}}
.ctl-marca{scroll-margin-top:84px}
.dj-ctl.cerca .ctl-marca.chiusa .ctl-modelli li:nth-child(n+13):not([hidden]){display:inline-flex}
