/* J8 — slot slim, categorie quadrate, colonna annunci, Come funziona, form a sezioni */
html body main .h5-category-layout{grid-template-columns:160px minmax(0,640px) 160px;justify-content:center;gap:24px;align-items:start}
html body main .h5-category-layout .h5-ad-slot,html body main .layout .j8-adcol{width:160px;height:480px;min-height:0;position:sticky;top:96px;align-self:start}
html body main .layout.j8-hasad{grid-template-columns:210px minmax(0,1fr) 160px}
html body main .layout.j8-hasad .j8-adcol{grid-column:3;grid-row:1}
@media(max-width:1099px){html body main .layout .j8-adcol{display:none}html body main .layout.j8-hasad{grid-template-columns:210px 1fr}}
@media(max-width:900px){html body main .layout.j8-hasad{grid-template-columns:1fr}}
/* categorie */
html body .h5-category-layout .h5-cat{aspect-ratio:1/1;min-height:0;position:relative;overflow:hidden;isolation:isolate;clip-path:polygon(0 0,calc(100% - 16px) 0,100% 16px,100% 100%,16px 100%,0 calc(100% - 16px));border-radius:0;background:#0a0a0a;box-shadow:none;border:0;justify-content:flex-end}
html body .h5-category-layout .h5-cat::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(5,5,5,.35),rgba(5,5,5,.88));pointer-events:none}
html body .h5-category-layout .h5-cat::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);transition:box-shadow .18s ease-out}
html body .h5-category-layout .h5-cat>svg.j8-bg{position:absolute;inset:0;width:100%;height:100%;z-index:-2;color:#e5e7eb;opacity:.26;transition:opacity .18s ease-out}
html body .h5-category-layout .h5-cat:hover>svg.j8-bg,html body .h5-category-layout .h5-cat:focus-visible>svg.j8-bg{opacity:.4}
html body .h5-category-layout .h5-cat:hover::after,html body .h5-category-layout .h5-cat:focus-visible::after{box-shadow:inset 0 0 0 1px #f27121}
html body .h5-category-layout .h5-cat:hover{transform:none}
@media(max-width:600px){html body .h5-category-layout .h5-cat>span:not(.go){display:none}html body .h5-category-layout .h5-cat{padding:12px}}
@media(prefers-reduced-motion:reduce){html body .h5-category-layout .h5-cat>svg.j8-bg,html body .h5-category-layout .h5-cat::after{transition:none}}
/* come funziona */
.cf-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media(max-width:760px){.cf-grid{grid-template-columns:1fr}}
.cf-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:18px}
.cf-steps li{display:grid;grid-template-columns:auto 36px 1fr;gap:12px;align-items:start}
.cf-n{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:28px;line-height:1;color:#f27121}
.cf-i{width:36px;height:36px;color:#9ca3af}.cf-i svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.4}
.cf-steps h3{margin:0 0 4px;font-family:Orbitron,sans-serif;font-size:13px;letter-spacing:.12em;text-transform:uppercase}
.cf-steps p{margin:0;color:#9ca3af}
.cf-safe{margin-top:16px;border-left:2px solid #f27121}
.cf-end{margin-top:16px}
/* form a sezioni */
.fx-prog{list-style:none;margin:0 0 12px;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;position:sticky;top:0;z-index:5;background:#050505;padding:10px 0}
.fx-prog a{display:block;padding:8px 10px;font:600 11px Orbitron,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#9ca3af;border-top:2px solid rgba(255,255,255,.1);text-decoration:none}
.fx-prog a i{display:block;font-style:normal;margin-bottom:2px}
.fx-prog li.done a{color:#e5e7eb;border-top-color:#22c55e}
.fx-prog li.cur a{color:#e5e7eb;border-top-color:#f27121}
.fx-prog a:focus-visible{outline:2px solid #f27121;outline-offset:2px}
@media(max-width:600px){.fx-prog a{font-size:0;padding:6px}.fx-prog a i{font-size:12px}}
.fx-legend{margin:0 0 12px;font-size:13px;color:#9ca3af}
.fx-req{color:#e94057;font-style:normal}
.fx-sec{margin:0 0 28px;padding:20px;background:rgba(255,255,255,.02);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,14px 100%,0 calc(100% - 14px))}
.fx-sec h2{display:flex;align-items:center;gap:12px;margin:0 0 14px}
.fx-n{font-size:14px;color:#f27121}
.fx-help{display:block;margin-top:4px;font-size:12px;line-height:1.35;color:#9ca3af;font-weight:500}
.fx-err{display:block;margin-top:4px;font-size:13px;color:#e94057}
.fx-sum{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;margin:0 0 16px}
.fx-sum dt{font:600 11px Orbitron,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#9ca3af}
.fx-sum dd{margin:0;overflow-wrap:anywhere}.fx-sum dd.miss{color:#e94057}
/* dialogo accesso */
#auth-modal{background:#0a0a0a!important;border:1px solid rgba(255,255,255,.1)!important}
#auth-modal::backdrop{background:rgba(0,0,0,.88)!important;backdrop-filter:blur(10px)!important}
html body .h5-ad-slot .sp-ad-body a,html body .h5-ad-slot .sp-ad-body{overflow-wrap:anywhere;word-break:break-word}
html body .h5-ad-slot .sp-ad-body a{font-size:11px}
/* J8b — categorie a tutta larghezza, slot laterali spostati attorno a "Le più viste" */
html body main .h5-category-layout.j8-catfull{display:block;position:relative;isolation:isolate}
html body main .h5-category-layout.j8-catfull::before{content:"";position:absolute;inset:-24px 0;z-index:-1;background:rgba(255,255,255,.02);box-shadow:0 0 0 100vmax rgba(255,255,255,.02);clip-path:inset(-24px -100vmax);border-block:1px solid rgba(255,255,255,.06)}
html body main .j8-catfull .h5-cats{grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:16px;width:100%}
html body main .h5-category-layout.j8-adrow{grid-template-columns:160px minmax(0,1fr) 160px;justify-content:stretch;gap:24px}
html body main .j8-admid{min-width:0}
@media(max-width:1099px){html body main .h5-category-layout.j8-adrow{display:block}html body main .j8-adrow>.h5-ad-slot{display:none}}
@media(max-width:700px){html body main .j8-catfull .h5-cats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
/* Vetrina a stato vuoto */
html body .j8-vet-empty{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;padding:22px 24px;background:rgba(10,10,10,.7);backdrop-filter:blur(6px);clip-path:polygon(0 0,calc(100% - 16px) 0,100% 16px,100% 100%,16px 100%,0 calc(100% - 16px));box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
html body .j8-vet-empty>svg{color:#f27121}
html body .j8-vet-empty strong{font-family:Orbitron,Rajdhani,sans-serif;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:#e5e7eb}
html body .j8-vet-empty p{margin:6px 0 0;color:#9ca3af;font-size:14px;line-height:1.5}
html body .j8-vet-cta{min-height:44px}
@media(max-width:700px){html body .j8-vet-empty{grid-template-columns:1fr;gap:14px}}
