/* SUBMIT DJ — schermata candidatura. Carta, nero, viola. Ombre nette, niente angoli tondi. */
.dj-open, .dj-open body { overflow: hidden; }
.dj {
  position: fixed; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 32;
  width: 100%; max-width: 480px; background: var(--paper); color: var(--black);
  display: flex; flex-direction: column;
}
.dj[hidden] { display: none; }
.dj-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }

/* testa */
.dj-form, .dj-done { padding: 0 var(--pad) 32px; }
.dj-top { background: var(--violet) url("../img/motivo.webp") 0 0 / 280px repeat; color: var(--paper); margin: 0 calc(-1 * var(--pad)) 24px; padding: 24px var(--pad) 18px; border-bottom: 2px solid var(--black); }
.dj-kick { display: inline-block; background: var(--black); padding: 4px 8px; font-size: 13px; margin: 0 0 12px; }
.dj-title { font: 700 clamp(44px, 14vw, 68px)/0.86 "Clash", sans-serif; text-transform: uppercase; margin: 0 0 20px; }
.dj-top .dj-title { background: none; }
.dj-top.small { padding-top: 16px; padding-bottom: 14px; margin-bottom: 20px; }
.dj-top.small .dj-kick, .dj-top.small .dj-title { display: none; }
.dj-top.small .dj-stepname { font-size: 26px; padding: 6px 10px 4px; }
.dj-prog { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.dj-prog i { height: 10px; background: var(--paper); border: 2px solid var(--black); }
.dj-prog i.on { background: var(--black); }
.dj-stepname { display: inline-block; margin: 12px 0 0; background: var(--black); padding: 5px 9px; font: 600 15px/1 "Clash", sans-serif; text-transform: uppercase; }

/* inizio */
.dj-intro { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; margin: 0 0 20px; }
.dj-intro img { width: 96px; height: 96px; object-fit: contain; background: var(--violet) url("../img/motivo.webp") 0 0 / 160px repeat; border: 2px solid var(--black); box-shadow: var(--hard); padding: 4px; }
.dj-intro p { margin: 0; font-size: 17px; line-height: 1.38; }
.dj-h3 { font: 700 20px/1.1 "Clash", sans-serif; text-transform: uppercase; margin: 24px 0 12px; }
.dj-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.dj-list li { border: 2px solid var(--black); padding: 10px 12px 10px 38px; position: relative; font-size: 15px; background: var(--paper); }
.dj-list li::before { content: "✹"; position: absolute; left: 12px; top: 9px; color: var(--violet); }
.dj-note { border-left: 4px solid var(--violet); padding: 2px 0 2px 12px; margin: 0 0 18px; font-size: 15px; }

/* campi */
.dj-step { display: grid; gap: 20px; }
.dj-step[hidden] { display: none; }
.dj-f { display: grid; gap: 7px; border: 0; margin: 0; padding: 0; min-width: 0; }
.dj-l { font: 700 16px/1.2 "Syne", sans-serif; padding: 0; }
.dj-req { font-style: normal; color: var(--violet); margin-left: 4px; }
.dj-h { font-size: 13px; line-height: 1.4; display: block; }
.dj-f input:not([type=checkbox]):not([type=radio]):not([type=file]), .dj-f select, .dj-f textarea {
  width: 100%; min-height: 50px; border: 2px solid var(--black); border-radius: 0; background: var(--paper); color: var(--black);
  padding: 12px; font: 400 16px/1.35 "Syne", sans-serif; -webkit-appearance: none; appearance: none;
}
.dj-f textarea { resize: vertical; }
.dj-f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M0 0h14L7 9z' fill='%23000'/%3E%3C/svg%3E"); background-position: right 14px center; background-repeat: no-repeat; padding-right: 40px; }
.dj-f input::placeholder, .dj-f textarea::placeholder { color: var(--violet); opacity: 1; }
.dj-f input:focus, .dj-f select:focus, .dj-f textarea:focus { outline: none; border-color: var(--violet); box-shadow: 4px 4px 0 var(--violet); }
.dj-f input[type=date] { color-scheme: light; }
.dj-bad { animation: dj-shake 0.35s; border-color: var(--violet) !important; box-shadow: 4px 4px 0 var(--violet) !important; }
@keyframes dj-shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* chip */
.dj-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px; }
.dj-chip { display: block; position: relative; }
.dj-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.dj-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border: 2px solid var(--black); font-weight: 700; font-size: 14px; cursor: pointer; background: var(--paper); }
.dj-chip input:checked + span { background: var(--black); color: var(--paper); box-shadow: 3px 3px 0 var(--violet); }
.dj-chip input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }

/* istruzioni SoundCloud */
.dj-how { border: 2px solid var(--black); margin-top: -10px; }
.dj-how summary { cursor: pointer; padding: 10px 12px; font-weight: 700; font-size: 14px; list-style: none; display: flex; justify-content: space-between; }
.dj-how summary::-webkit-details-marker { display: none; }
.dj-how summary::after { content: "+"; font-size: 18px; line-height: 1; }
.dj-how[open] summary { border-bottom: 2px solid var(--black); background: var(--black); color: var(--paper); }
.dj-how[open] summary::after { content: "−"; }
.dj-how ol { margin: 12px 0 0; padding: 0 12px 0 32px; display: grid; gap: 8px; font-size: 14px; }
.dj-how p { margin: 12px; font-size: 13px; }

/* foto */
.dj-press { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 2px 0 10px; }
.dj-empty { grid-column: 1 / -1; margin: 0; padding: 18px; border: 2px dashed var(--black); text-align: center; font-size: 14px; }
.dj-pp { margin: 0; position: relative; border: 2px solid var(--black); background: var(--black); }
.dj-pp img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.dj-pp figcaption { font-size: 11px; color: var(--paper); padding: 3px 5px; }
.dj-pp figcaption b { color: var(--paper); background: var(--violet); padding: 0 3px; }
.dj-pp button { position: absolute; top: 4px; right: 4px; width: 30px; height: 30px; border: 2px solid var(--black); background: var(--paper); color: var(--black); border-radius: 0; cursor: pointer; font-weight: 700; }
.dj-add { position: relative; justify-self: start; }
.dj-add input, .dj-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dj-add.busy, .dj-slot.busy { pointer-events: none; cursor: wait; outline: 3px dashed var(--violet); outline-offset: 2px; }
.dj-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dj-slots.one { grid-template-columns: 1fr 1fr; }
.dj-slot { border: 2px solid var(--black); padding: 8px; display: flex; flex-direction: column; gap: 4px; background: var(--paper); }
.dj-slot.ok { box-shadow: 4px 4px 0 var(--violet); }
.dj-thumb { aspect-ratio: 1; border: 2px dashed var(--black); display: grid; place-items: center; overflow: hidden; margin-bottom: 4px; }
.dj-slot.ok .dj-thumb { border-style: solid; }
.dj-thumb span { font: 700 34px/1 "Clash", sans-serif; }
.dj-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dj-slot b { font-size: 14px; line-height: 1.15; }
.dj-slot small { font-size: 12px; line-height: 1.3; margin-bottom: 8px; }
.dj-pick { position: relative; margin-top: auto; min-height: 40px; display: grid; place-items: center; background: var(--black); color: var(--paper); font-weight: 700; font-size: 14px; cursor: pointer; }
.dj-slot.ok .dj-pick { background: var(--paper); color: var(--black); border: 2px solid var(--black); }
.dj-pick:focus-within, .dj-add:focus-within { outline: 3px solid var(--violet); outline-offset: 2px; }

/* bio */
.dj-count { font-weight: 700; }

/* consensi */
.dj-consents { display: grid; gap: 10px; }
.dj-consent { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; border: 2px solid var(--black); padding: 12px; cursor: pointer; font-size: 14px; line-height: 1.4; position: relative; }
.dj-consent input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.dj-consent i { width: 28px; height: 28px; border: 2px solid var(--black); display: grid; place-items: center; background: var(--paper); }
.dj-consent input:checked + i { background: var(--violet); }
.dj-consent input:checked + i::after { content: "✓"; color: var(--paper); font-style: normal; font-weight: 800; font-size: 17px; }
.dj-consent input:focus-visible + i { outline: 3px solid var(--violet); outline-offset: 2px; }
.dj-consent:has(input:checked) { box-shadow: 4px 4px 0 var(--violet); }
.dj-consent.optional { border-style: dashed; }
.dj-consent small { display: block; margin-top: 4px; font-size: 12px; }
.dj-linklike { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--violet); text-decoration: underline; cursor: pointer; }
.dj-agreement { border: 2px solid var(--black); padding: 14px; max-height: 220px; overflow-y: auto; font-size: 14px; background: var(--paper); }
.dj-sign { width: 100%; height: auto; aspect-ratio: 100 / 34; border: 2px solid var(--black); background: var(--paper); touch-action: none; cursor: crosshair; display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='2'%3E%3Crect width='10' height='2' fill='%23000'/%3E%3C/svg%3E"); background-size: calc(100% - 32px) 2px; background-position: 16px 72%; background-repeat: no-repeat; }
.dj-sign.inked { box-shadow: 4px 4px 0 var(--violet); }
.dj-clear { justify-self: start; background: none; border: 2px solid var(--black); border-radius: 0; padding: 6px 12px; font-weight: 700; font-size: 14px; cursor: pointer; }
.dj-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* errore: sopra la barra in basso, sempre visibile */
.dj-bar { color: var(--paper); }
.dj-err { margin: 0; font-weight: 700; font-size: 15px; line-height: 1.35; }
.dj-err:empty { display: none; }
.dj-err:not(:empty) { background: var(--black); color: var(--paper); padding: 12px var(--pad); border-top: 4px solid var(--violet); }
.dj-err .dj-linklike { color: var(--paper); }

/* barra in basso */
.dj-nav { display: flex; gap: 10px; padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 2px solid var(--black); }
.dj-nav[hidden] { display: none; }
.dj-nav .btn { justify-content: center; }
.dj-back { width: 56px; flex: none; padding: 0; font-size: 20px; }
.dj-back[hidden] { display: none; }
.dj-next { flex: 1; box-shadow: var(--hard); }
.dj-next:disabled { cursor: wait; }
.dj.sending .dj-scroll { pointer-events: none; }

/* fatto */
.dj-done { background: var(--violet) url("../img/motivo.webp") 0 0 / 280px repeat; color: var(--paper); min-height: 100%; padding-top: 34px; }
.dj-done img { width: 150px; height: 150px; object-fit: contain; transform: rotate(-8deg); margin: 0 0 14px; }
.dj-done .dj-title { display: table; background: var(--violet); padding: 0 6px; margin-left: -6px; }
.dj-done p { background: var(--black); padding: 12px 14px; margin: 0 0 10px; font-size: 16px; line-height: 1.4; }
.dj-done .btn { margin-top: 14px; }

/* privacy */
.dj-priv { position: absolute; inset: 0; z-index: 3; background: var(--black); display: flex; align-items: flex-end; }
.dj-priv[hidden] { display: none; }
.dj-priv-in { background: var(--paper); width: 100%; max-height: 88%; overflow-y: auto; padding: 22px var(--pad) calc(22px + env(safe-area-inset-bottom)); border-top: 2px solid var(--violet); }
.dj-priv h3 { font: 700 28px/1 "Clash", sans-serif; text-transform: uppercase; margin: 0 0 6px; }
.dj-priv h4 { font: 700 15px/1.2 "Syne", sans-serif; margin: 16px 0 4px; }
.dj-priv p { margin: 0; font-size: 14px; line-height: 1.45; }
.dj-priv .btn { margin-top: 20px; width: 100%; justify-content: center; }

@media (prefers-reduced-motion: reduce) { .dj-bad { animation: none; } }
.dj-open .mini-wrap { display: none; }

/* prefisso + numero */
.dj-phone { display: grid; grid-template-columns: 112px 1fr; gap: 8px; }
.dj-f .dj-phone select, .dj-f .dj-phone input { min-width: 0; }

/* schermata di caricamento durante l'invio */
.dj-load { position: absolute; inset: 0; z-index: 4; background: var(--violet) url("../img/motivo.webp") center / 520px repeat; color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; padding: 28px var(--pad) calc(28px + env(safe-area-inset-bottom)); }
.dj-load[hidden] { display: none; }
.dj-load img { width: 120px; height: 120px; object-fit: contain; background: var(--violet); border: 2px solid var(--black); box-shadow: var(--hard); margin-bottom: 20px; animation: dj-bob 1.2s steps(2) infinite; }
@keyframes dj-bob { 50% { transform: rotate(-6deg); } }
.dj-load-title { font: 700 clamp(48px, 15vw, 72px)/0.88 "Clash", sans-serif; text-transform: uppercase; margin: 0 0 22px; }
.dj-load-bar { height: 26px; background: var(--paper); border: 2px solid var(--black); box-shadow: var(--hard); }
.dj-load-bar i { display: block; height: 100%; width: 0; background: var(--black); transition: width 0.25s linear; }
.dj-load-row { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 4px; }
.dj-load-pct { font: 700 34px/1 "Clash", sans-serif; }
.dj-load-row span { font-size: 13px; }
.dj-load-say { font-weight: 700; margin: 6px 0 0; min-height: 1.4em; background: var(--violet); align-self: flex-start; }
.dj-load-keep { font-size: 13px; margin: 18px 0 0; background: var(--violet); align-self: flex-start; }
@media (prefers-reduced-motion: reduce) { .dj-load img { animation: none; } .dj-load-bar i { transition: none; } }

/* niente giallo del riempimento automatico del browser */
.dj-f input:-webkit-autofill, .dj-f input:-webkit-autofill:focus, .dj-f select:-webkit-autofill, .dj-f textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--paper) inset; box-shadow: 0 0 0 1000px var(--paper) inset; -webkit-text-fill-color: var(--black); caret-color: var(--black);
}

/* scansione guidata del viso */
.dj-scan { display: grid; gap: 6px; margin: 4px 0 14px; }
.dj-scan[hidden] { display: none; }
.dj-scan .btn { justify-content: center; }
.dj-scan small { font-size: 13px; }
.fs { position: fixed; inset: 0; z-index: 60; background: var(--black); color: var(--paper); display: flex; flex-direction: column; max-width: 480px; margin: 0 auto; }
.fs-top { display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) var(--pad) 10px; }
.fs-x { background: var(--paper); color: var(--black); border: 2px solid var(--black); border-radius: 0; font: 700 14px "Syne", sans-serif; padding: 8px 12px; cursor: pointer; }
.fs-now { margin: 0 0 0 auto; font: 700 12px "Syne", sans-serif; text-transform: uppercase; text-align: right; }
.fs-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 3px; }
.fs-steps li { width: 12px; height: 12px; border: 2px solid var(--paper); }
.fs-steps li span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fs-steps li.on { background: var(--paper); }
.fs-steps li.done { background: var(--violet); border-color: var(--violet); }
/* inizio: consigli + scelta da solo / con un amico */
.fs-intro { flex: 1; overflow-y: auto; padding: 8px var(--pad) calc(20px + env(safe-area-inset-bottom)); display: none; }
.fs-start .fs-intro { display: block; }
.fs-start .fs-stage, .fs-start .fs-bottom, .fs-start .fs-steps, .fs-start .fs-now { display: none; }
.fs-intro > p { margin: 0 0 14px; font-size: 15px; }
.fs-tips { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.fs-tips li { border: 2px solid var(--paper); padding: 10px 12px; font-size: 14px; box-shadow: 4px 4px 0 var(--violet); }
.fs-tips li::before { content: "⟡ "; color: var(--violet); }
.fs-intro .fs-use + .fs-use { margin-top: 12px; }
.fs-intro .fs-note { text-align: left; margin-top: 12px; }
/* fotocamera dietro (amico): niente effetto specchio */
.fs-rear .fs-video, .fs-rear .fs-thumbs img { transform: none; }
.fs-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--black); display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; align-items: center; gap: 12px; padding: 4px var(--pad) 0; }
.fs-guide { display: block; height: 100%; max-height: 360px; max-width: 100%; aspect-ratio: 1; border: 2px solid var(--paper); box-shadow: 6px 6px 0 var(--violet); background: var(--black); }
.fs-cam { position: relative; height: min(28vh, 220px); aspect-ratio: 3 / 4; border: 4px solid var(--paper); overflow: hidden; background: var(--black); }
.fs-good .fs-cam { border-color: var(--violet); }
.fs-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.fs-flash { position: absolute; inset: 0; background: var(--paper); }
.fs-flash[hidden] { display: none; }
.fs-bottom { padding: 14px var(--pad) calc(18px + env(safe-area-inset-bottom)); min-height: 150px; display: grid; gap: 8px; align-content: start; }
.fs-say { font: 700 clamp(24px, 7vw, 32px)/1 "Clash", sans-serif; text-transform: uppercase; margin: 0; }
.fs-good .fs-say { color: var(--paper); background: var(--violet); justify-self: start; padding: 2px 6px; }
.fs-sub { margin: 0; font-size: 14px; min-height: 1.4em; }
.fs-anyway[hidden] { display: none; }
.fs-done .fs-stage, .fs-done .fs-bottom { display: none; }
.fs-review { flex: 1; overflow-y: auto; padding: 8px var(--pad) calc(20px + env(safe-area-inset-bottom)); }
.fs-review[hidden] { display: none; }
.fs-title { font: 700 clamp(40px, 12vw, 56px)/0.9 "Clash", sans-serif; text-transform: uppercase; margin: 6px 0 12px; }
.fs-mesh { display: block; width: 100%; max-width: 320px; aspect-ratio: 1; border: 2px solid var(--paper); margin: 0 auto; background: var(--black); }
.fs-note { font-size: 14px; text-align: center; margin: 8px 0 16px; }
.fs-thumbs { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fs-thumbs li { display: grid; gap: 4px; justify-items: center; }
.fs-thumbs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 2px solid var(--paper); transform: scaleX(-1); }
.fs-thumbs span { font: 700 11px "Syne", sans-serif; text-transform: uppercase; }
.fs-thumbs button { background: none; border: 2px solid var(--paper); border-radius: 0; color: var(--paper); font: 700 12px "Syne", sans-serif; padding: 4px 8px; cursor: pointer; }
.fs-use { width: 100%; justify-content: center; }
@media (min-width: 600px) { .fs { border-left: 2px solid var(--paper); border-right: 2px solid var(--paper); } }
.fs-tex { width: 100%; max-width: 320px; justify-content: center; margin: 0 auto 18px; display: flex; }

/* avatar 3D (passo "3D you") */
.dj-av { display: grid; gap: 18px; margin-top: 26px; padding-top: 22px; border-top: 2px solid var(--black); }
.dj-av .dj-h3 { margin: 0; }
/* anteprima + schede restano in alto mentre si scorre la categoria */
.dj-av-top { position: sticky; top: 0; z-index: 3; display: grid; gap: 14px; margin: 0 calc(-1 * var(--pad)); padding: 10px var(--pad) 12px; background: var(--paper); border-bottom: 2px solid var(--black); }
.dj-av-stage { position: relative; height: min(40vh, 360px); border: 2px solid var(--black); box-shadow: 6px 6px 0 var(--violet); background: var(--paper); }
@media (max-height: 700px) { .dj-av-stage { height: 30vh; } .dj-av-top { gap: 10px; padding-top: 6px; } }
.dj-av-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 2px solid var(--black); }
.dj-av-tabs button { min-height: 44px; padding: 0 4px; border: 0; border-radius: 0; background: var(--paper); color: var(--black); font: 700 14px "Syne", sans-serif; cursor: pointer; }
.dj-av-tabs button + button { border-left: 2px solid var(--black); }
.dj-av-tabs button[aria-selected="true"] { background: var(--black); color: var(--paper); box-shadow: inset 0 -5px 0 var(--violet); }
.dj-av-tabs button:focus-visible { outline: 3px solid var(--violet); outline-offset: -5px; }
.dj-av-panel { display: grid; gap: 18px; }
.dj-av-panel[hidden] { display: none; }
.dj-av-next { justify-self: start; min-height: 44px; padding: 0 16px; border: 2px solid var(--black); border-radius: 0; background: var(--violet); color: var(--paper); font: 700 15px "Syne", sans-serif; box-shadow: 4px 4px 0 var(--black); cursor: pointer; }
.dj-av-next:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
/* riquadri capigliature: immagine dall'anteprima 3D + nome */
.dj-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; padding: 2px; }
.dj-tile { position: relative; display: block; }
.dj-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.dj-tile span { display: grid; grid-template-rows: auto 1fr; height: 100%; border: 2px solid var(--black); background: var(--paper); cursor: pointer; }
.dj-tile img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-bottom: 2px solid var(--black); }
.dj-tile img[hidden] { display: block; visibility: hidden; }
.dj-tile b { display: grid; place-items: center; padding: 6px 4px; font-size: 13px; text-align: center; line-height: 1.1; }
.dj-tile input:checked + span { outline: 3px solid var(--black); outline-offset: 2px; box-shadow: 6px 6px 0 var(--violet); }
.dj-tile input:checked + span b { background: var(--black); color: var(--paper); }
.dj-tile input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 3px; }
.dj-av-view { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.dj-av-view:active { cursor: grabbing; }
.dj-av-wait { position: absolute; inset: auto 0 0 0; margin: 0; padding: 10px 12px; background: var(--black); color: var(--paper); font-size: 14px; }
.dj-av-cap { margin-top: -8px; }
.dj-av-cm { display: inline-block; margin-left: 8px; background: var(--black); color: var(--paper); padding: 2px 6px; }
.dj-f input.dj-range:not([type=checkbox]):not([type=radio]):not([type=file]) { -webkit-appearance: none; appearance: none; min-height: 0; height: 14px; padding: 0; border: 2px solid var(--black); background: var(--paper); box-shadow: none; }
.dj-range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; background: var(--violet); border: 2px solid var(--black); box-shadow: 3px 3px 0 var(--black); border-radius: 0; cursor: pointer; }
.dj-range::-moz-range-thumb { width: 24px; height: 24px; background: var(--violet); border: 2px solid var(--black); box-shadow: 3px 3px 0 var(--black); border-radius: 0; cursor: pointer; }
.dj-f input.dj-range:not([type=checkbox]):not([type=radio]):not([type=file]):focus { box-shadow: none; outline: 3px solid var(--violet); outline-offset: 4px; }
.dj-sws { display: flex; flex-wrap: wrap; gap: 10px; }
.dj-sw { position: relative; display: block; }
.dj-sw input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.dj-sw span { display: block; width: 44px; height: 44px; border: 2px solid var(--black); cursor: pointer; }
.dj-sw input:checked + span { outline: 3px solid var(--black); outline-offset: 3px; box-shadow: 7px 7px 0 var(--violet); }
.dj-sw input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 3px; }
.dj-av-zoom { position: absolute; top: 10px; right: 10px; min-height: 40px; padding: 0 12px; border: 2px solid var(--black); background: var(--paper); color: var(--black); font: 700 14px "Syne", sans-serif; box-shadow: 3px 3px 0 var(--black); border-radius: 0; cursor: pointer; }
.dj-av-zoom[aria-pressed="true"] { background: var(--black); color: var(--paper); box-shadow: 3px 3px 0 var(--violet); }
/* vestiti: titolo con riga sopra, loghi in riquadri neri con il logo vero */
.dj-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dj-logo { position: relative; display: block; }
.dj-logo input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.dj-logo span { display: grid; grid-template-rows: 1fr auto; height: 100%; border: 2px solid var(--black); background: var(--paper); cursor: pointer; }
.dj-logo img { display: block; width: 100%; height: 64px; object-fit: contain; padding: 12px 10px; background: var(--black); box-sizing: border-box; }
.dj-logo span:not(:has(img))::before { content: "⟡"; display: grid; place-items: center; height: 64px; background: var(--black); color: var(--paper); font-size: 22px; }
.dj-logo b { padding: 8px 6px; font-size: 14px; text-align: center; }
.dj-logo input:checked + span { box-shadow: 6px 6px 0 var(--violet); outline: 3px solid var(--black); outline-offset: 2px; }
.dj-logo input:checked + span b { background: var(--black); color: var(--paper); }
.dj-logo input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 3px; }
.dj-av-logoc[hidden], .dj-av-logo[hidden] { display: none; }
.dj-chips + .dj-sws { margin-top: 12px; }
