*{box-sizing:border-box}body{margin:0;background:#050505;color:#fff;font-family:Segoe UI,Arial,sans-serif;overflow:hidden}#app{display:flex;height:100vh}.sidebar{width:315px;background:#101010;border-right:2px solid #333;overflow:auto;z-index:10}.brand{padding:14px 18px;color:#ff9d00;font-size:20px}.brand span{display:block;color:#777;font-size:10px;letter-spacing:2px}nav{display:flex;padding:0 10px;gap:4px}nav button,.panel button,.login-card button{background:#1d1d1d;color:#bbb;border:1px solid #252525;padding:12px;font-weight:800;font-size:11px;cursor:pointer;border-radius:3px}.tab.active,.panel button:hover,#saveSettings{background:#ff9d00;color:#111}.panel{display:none;padding:14px}.panel.active{display:block}.panel label{display:block;color:#888;font-size:10px;font-weight:900;margin-top:14px}input,select,textarea{width:100%;background:#151515;color:white;border:1px solid #2e2e2e;border-radius:4px;padding:12px;margin-top:6px}textarea{min-height:90px}.code{height:230px;color:#00ff48;font-family:monospace}.row{display:flex;gap:6px}.row button{width:90px}.colors,.grid2{display:grid;grid-template-columns:1fr 1fr;gap:8px}.colors input{height:35px;padding:2px}.stage{flex:1;position:relative;background:#000}.topbar{height:36px;background:#f39a00;color:#090909;font-weight:1000;font-size:20px;line-height:36px;letter-spacing:.5px}.preview{height:calc(100vh - 36px);position:relative;overflow:hidden;--neon:#ff9900;--title:#ff1616;--year:#20d34a;--desc:#fff;--brightness:65%;--posterW:210px;--posterH:315px;--posterX:27%;--posterY:55%;--logoW:220px;--cardW:66%;--cardH:32%;--glow:20px;--guideOpacity:16}.backdrop{position:absolute;inset:0;background:linear-gradient(120deg,#1a2a33,#0b0503),url('');background-size:var(--tmdbZoom,100%);background-position:var(--tmdbX,50%) var(--tmdbY,50%);filter:brightness(var(--brightness)) blur(2px);transform:scale(1.03)}.shade{position:absolute;inset:0;background:radial-gradient(circle at 50% 55%,transparent 0,#0008 55%,#000 100%),linear-gradient(to top,#000 0,#0008 35%,transparent)}.watermark{position:absolute;right:15px;bottom:10px;font-size:12px;color:#ffffff55}.info-card{position:absolute;left:50%;top:62%;transform:translate(-50%,-50%);width:var(--cardW);min-height:var(--cardH);border:1px solid var(--neon);box-shadow:0 0 var(--glow) var(--neon),inset 0 0 40px #000;background:#050505cc;border-radius:18px;padding:35px;display:flex;align-items:center;gap:32px;backdrop-filter:blur(12px)}.poster{width:var(--posterW);height:var(--posterH);object-fit:cover;border-radius:9px;box-shadow:0 0 22px #000}.logo{max-width:var(--logoW);max-height:130px;object-fit:contain;display:none}.text h1{margin:0 0 10px;color:var(--title);font-size:46px;font-weight:1000;text-shadow:0 0 14px #000}.meta{display:flex;gap:14px;flex-wrap:wrap;color:var(--year);font-size:13px;font-weight:900;letter-spacing:2px}.stars{color:white;background:#0009;border-radius:18px;padding:4px 9px}.text p{color:var(--desc);font-size:17px;line-height:1.55;max-width:900px}.mini-stack{position:absolute;left:12%;top:26%;display:flex;gap:10px;transform:perspective(700px) rotateY(20deg)}.mini-stack div{width:75px;height:240px;background:linear-gradient(180deg,#ff9d00,#131313);border:1px solid #fff3;box-shadow:0 0 20px #000}.layout01_cinema_focus .info-card{top:48%;left:59%;width:48%}.layout01_cinema_focus .poster{transform:perspective(600px) rotateY(25deg)}.layout02_netflix_bar .info-card{top:82%;left:54%;width:80%;min-height:210px}.layout02_netflix_bar .poster{width:170px;height:250px}.layout03_sky_card .info-card{top:54%;width:58%;border-radius:26px}.layout04_poster_right .info-card{top:78%;width:70%;flex-direction:row-reverse}.layout05_gallery_split .mini-stack{display:flex}.layout06_disney_glow .info-card{border-color:#2db7ff;box-shadow:0 0 35px #2db7ff}.layout07_anime_vertical .info-card{left:35%;height:70%;width:35%;flex-direction:column}.layout08_app_banner .info-card{top:72%;width:86%;min-height:180px}.layout09_glass_premium .info-card{background:#ffffff12;border:1px solid #ffffff55}.layout10_full_editor .info-card{resize:both;overflow:auto}.login-body{display:grid;place-items:center;height:100vh;background:radial-gradient(circle,#28210f,#050505)}.login-card{width:360px;background:#111;border:1px solid #ff9d00;padding:30px;border-radius:20px;box-shadow:0 0 30px #ff9d0066}.login-card h1{color:#ff9d00}.alert{background:#4a0000;padding:10px;border:1px solid red;margin:10px 0}footer{padding:16px;font-size:11px;color:#777;text-align:center}footer a{display:block;margin-top:12px;color:#ff4444;border:1px solid #822;padding:10px;text-decoration:none}#results{max-height:180px;overflow:auto}.result{padding:8px;border-bottom:1px solid #333;cursor:pointer}.result:hover{background:#222}@media(max-width:900px){#app{flex-direction:column}.sidebar{width:100%;height:45vh}.stage{height:55vh}.info-card{width:92%!important;left:50%!important}.text h1{font-size:30px}.poster{width:120px!important;height:180px!important}}

/* =====  40 LAYOUT PACK - stile Rebranding ===== */
.layout-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.layout-tile{background:#171717!important;color:#eee!important;border:1px solid #333!important;padding:10px!important;text-align:left!important;border-radius:8px!important}.layout-tile b{color:#ff9d00;display:block}.layout-tile span{font-size:10px}.hint{color:#888;font-size:11px;line-height:1.5}.topbar{box-shadow:0 2px 12px #000;z-index:3;position:relative}.preview:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#000 0%,transparent 18%,transparent 82%,#000 100%);z-index:1}.preview>*{z-index:2}.backdrop{z-index:0}.shade{z-index:1}.info-card,.mini-stack,.watermark{z-index:2}.logo:not([src=""]){display:block}.layout01_ht_original .info-card{top:45%;left:76%;width:28%;min-height:260px;border:0;background:transparent;box-shadow:none;display:block;padding:0}.layout01_ht_original .poster,.layout01_ht_original .logo{display:none}.layout01_ht_original .text h1{font-size:56px;color:var(--title);text-align:left}.layout01_ht_original .meta{display:none}.layout01_ht_original .text p{font-weight:700;text-align:center;max-width:260px}.layout01_ht_original .mini-stack{display:flex;left:14%;top:24%;gap:8px}.layout01_ht_original .mini-stack div{width:70px;height:270px;background:linear-gradient(90deg,#111,#ff9d00,#123);border:1px solid #fff6;transform:skewY(-2deg)}
.layout02_ht_editor_bottom .info-card{top:82%;left:55%;width:72%;min-height:180px;background:#0008;border:0;border-top:1px solid #333;box-shadow:none;border-radius:0;padding:18px 25px}.layout02_ht_editor_bottom .poster{width:170px;height:250px;margin-top:-120px;transform:perspective(600px) rotateY(18deg)}.layout02_ht_editor_bottom .text h1{font-size:42px}.layout02_ht_editor_bottom .logo{max-width:180px}.layout03_ht_rating_right .info-card{top:79%;left:38%;width:68%;min-height:170px;background:transparent;border:0;box-shadow:none}.layout03_ht_rating_right .poster{position:fixed;right:4%;top:-120px;width:190px;height:280px}.layout03_ht_rating_right .stars{position:fixed;right:4%;top:-160px}.layout03_ht_rating_right .text h1{font-size:34px}.layout04_ht_center_glass .info-card{top:48%;left:55%;width:52%;min-height:300px;background:#040404cc;border:2px solid var(--neon);box-shadow:0 0 22px var(--neon),inset 0 0 70px #000;border-radius:18px}.layout04_ht_center_glass .poster{width:92px;height:240px;transform:perspective(700px) rotateY(32deg)}.layout05_ht_movie_card .info-card{top:64%;left:56%;width:74%;min-height:260px;border:2px solid var(--neon);background:#050505cc;box-shadow:0 0 24px var(--neon);border-radius:18px}.layout05_ht_movie_card .poster{width:150px;height:220px}.layout05_ht_movie_card .logo{display:block;max-width:190px}.layout05_ht_movie_card .text{display:grid;grid-template-columns:auto 1fr;gap:6px 16px}.layout05_ht_movie_card .text h1{font-size:34px;grid-column:2}.layout05_ht_movie_card .text p{grid-column:1/3}.layout06_cinema_focus .info-card{top:48%;left:58%;width:48%}.layout06_cinema_focus .poster{transform:perspective(600px) rotateY(25deg)}.layout07_netflix_lowbar .info-card{top:82%;left:54%;width:82%;min-height:210px;border-color:#e50914;box-shadow:0 0 var(--glow) #e50914}.layout08_sky_premium .info-card{top:62%;left:56%;width:70%;border-color:#0ea5ff;box-shadow:0 0 25px #0ea5ff}.layout09_disney_blue .info-card{top:58%;left:55%;width:62%;border-color:#2db7ff;box-shadow:0 0 35px #2db7ff}.layout10_prime_clean .info-card{top:70%;left:55%;width:80%;border-color:#00a8e1;box-shadow:0 0 20px #00a8e1}.layout11_hbo_dark .info-card{top:58%;left:50%;width:58%;border-color:#8b5cf6;box-shadow:0 0 35px #8b5cf6}.layout12_anime_vertical .info-card{left:35%;top:52%;height:72%;width:35%;flex-direction:column}.layout13_kids_color .info-card{border-color:#ffdd00;box-shadow:0 0 30px #ff00cc;background:#230025cc}.layout14_action_fire .info-card{border-color:#ff3b00;box-shadow:0 0 45px #ff3b00;background:#160300dd}.layout15_horror_red .backdrop{filter:brightness(45%) blur(3px) grayscale(.3)}.layout15_horror_red .info-card{border-color:#b00000;box-shadow:0 0 45px #b00000}.layout16_sport_score .info-card{top:78%;width:86%;border-color:#20d34a}.layout17_series_episode .info-card{top:75%;left:50%;width:76%;min-height:220px}.layout18_documentary_minimal .info-card{background:#0006;border-color:#fff4;box-shadow:none}.layout19_landscape_card .poster{width:280px;height:160px}.layout20_poster_wall .mini-stack{display:flex;left:8%;top:18%;gap:4px}.layout20_poster_wall .mini-stack div{width:90px;height:300px}.layout21_logo_big .logo{display:block;max-width:360px}.layout21_logo_big .text h1{display:none}.layout22_title_big .text h1{font-size:78px}.layout23_right_panel .info-card{left:78%;top:54%;width:34%;height:70%;flex-direction:column}.layout24_left_panel .info-card{left:25%;top:54%;width:38%;height:70%;flex-direction:column}.layout25_top_panel .info-card{top:23%;width:76%;min-height:170px}.layout26_bottom_panel .info-card{top:82%;width:82%;min-height:190px}.layout27_center_neon .info-card{top:50%;width:55%;border-width:3px}.layout28_glass_blur .info-card{background:#ffffff14;border-color:#ffffff77;backdrop-filter:blur(22px)}.layout29_gold_frame .info-card{border-color:#ffbf00;box-shadow:0 0 60px #ffbf00}.layout30_red_frame .info-card{border-color:#ff1616;box-shadow:0 0 50px #ff1616}.layout31_green_year .meta{color:#00ff62}.layout32_rating_focus .stars{font-size:18px;padding:8px 14px}.layout33_tmdb_info .info-card{width:86%;top:72%}.layout34_app_mobile .info-card{width:360px;height:640px;left:50%;top:52%;flex-direction:column}.layout35_tv_banner .info-card{width:92%;top:70%;min-height:240px}.layout36_small_cards .info-card{width:45%;min-height:220px}.layout37_carousel_3d .poster{transform:perspective(800px) rotateY(35deg) rotateZ(-2deg)}.layout38_floating_poster .poster{transform:translateY(-35px) perspective(700px) rotateY(18deg);box-shadow:0 30px 60px #000}.layout39_overlay_clean .shade{background:linear-gradient(to top,#000 0,#000a 40%,transparent 100%)}.layout39_overlay_clean .info-card{background:transparent;border:0;box-shadow:none}.layout40_master_editor .info-card{resize:both;overflow:auto;outline:1px dashed #fff6}.layout40_master_editor .poster{resize:both;overflow:auto}


/* ===== ACTIVE LAYOUT MINI SCHEMI CLEAN  41-60 =====
   Solo nuovi layout: non cambia il look degli altri layout.
   Obiettivo: immagine pulita visibile, trama leggibile, niente bordo nero pesante. */
.preview[class*="layout4"], .preview[class*="layout5"], .layout60_clean_full_image_roles, .layout59_clean_cinema_light{--cleanPanel:rgba(255,255,255,.14);--cleanBorder:rgba(255,255,255,.38);--cleanShadow:0 18px 55px rgba(0,0,0,.28);--readShadow:0 2px 9px rgba(0,0,0,.85),0 0 20px rgba(0,0,0,.45)}
.preview[class*="layout4"] .backdrop,.preview[class*="layout5"] .backdrop,.layout59_clean_cinema_light .backdrop,.layout60_clean_full_image_roles .backdrop{filter:brightness(88%) saturate(115%);transform:scale(1);background-size:cover;background-position:center}
.preview[class*="layout4"] .shade,.preview[class*="layout5"] .shade,.layout59_clean_cinema_light .shade,.layout60_clean_full_image_roles .shade{background:linear-gradient(90deg,rgba(255,255,255,.10),rgba(255,255,255,.02) 40%,rgba(0,0,0,.10)),linear-gradient(to top,rgba(0,0,0,.16),transparent 50%,rgba(255,255,255,.04))}
.preview[class*="layout4"] .mini-stack,.preview[class*="layout5"] .mini-stack,.layout59_clean_cinema_light .mini-stack,.layout60_clean_full_image_roles .mini-stack{display:none!important}
.preview[class*="layout4"] .info-card,.preview[class*="layout5"] .info-card,.layout59_clean_cinema_light .info-card,.layout60_clean_full_image_roles .info-card{background:var(--cleanPanel)!important;border:1px solid var(--cleanBorder)!important;box-shadow:var(--cleanShadow)!important;backdrop-filter:blur(10px) saturate(1.25);border-radius:24px;padding:18px 20px;gap:16px;min-height:auto;color:#fff;text-shadow:var(--readShadow);overflow:hidden}
.preview[class*="layout4"] .poster,.preview[class*="layout5"] .poster,.layout59_clean_cinema_light .poster,.layout60_clean_full_image_roles .poster{width:clamp(70px,8vw,126px)!important;height:clamp(105px,12vw,188px)!important;border-radius:15px;box-shadow:0 14px 32px rgba(0,0,0,.35);flex:0 0 auto}
.preview[class*="layout4"] .logo,.preview[class*="layout5"] .logo,.layout59_clean_cinema_light .logo,.layout60_clean_full_image_roles .logo{display:block;max-width:clamp(100px,16vw,240px);max-height:72px;object-fit:contain}
.preview[class*="layout4"] .text h1,.preview[class*="layout5"] .text h1,.layout59_clean_cinema_light .text h1,.layout60_clean_full_image_roles .text h1{font-size:clamp(24px,3.2vw,54px);line-height:1;margin-bottom:8px;color:#fff;text-shadow:var(--readShadow)}
.preview[class*="layout4"] .meta,.preview[class*="layout5"] .meta,.layout59_clean_cinema_light .meta,.layout60_clean_full_image_roles .meta{color:#fff;font-size:clamp(10px,1vw,13px);gap:8px;text-shadow:var(--readShadow)}
.preview[class*="layout4"] .text p,.preview[class*="layout5"] .text p,.layout59_clean_cinema_light .text p,.layout60_clean_full_image_roles .text p{font-size:clamp(13px,1.25vw,18px);line-height:1.45;color:#fff;text-shadow:var(--readShadow);margin:10px 0 0;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;max-width:100%}

/* posizioni mini schema destra */
.layout41_mini_dx_alto_small .info-card,.layout42_mini_dx_alto_medium .info-card,.layout43_mini_dx_alto_large .info-card{left:auto;right:3.5%;top:12%;transform:none;width:min(520px,36vw);flex-direction:row}
.layout44_mini_dx_medio_small .info-card,.layout45_mini_dx_medio_medium .info-card,.layout46_mini_dx_medio_large .info-card{left:auto;right:3.5%;top:50%;transform:translateY(-50%);width:min(560px,38vw);flex-direction:row}
.layout47_mini_dx_basso_small .info-card,.layout48_mini_dx_basso_medium .info-card,.layout49_mini_dx_basso_large .info-card{left:auto;right:3.5%;top:auto;bottom:7%;transform:none;width:min(620px,42vw);flex-direction:row}
/* posizioni mini schema sinistra */
.layout50_mini_sx_alto_small .info-card,.layout51_mini_sx_alto_medium .info-card,.layout52_mini_sx_alto_large .info-card{left:3.5%;right:auto;top:12%;transform:none;width:min(520px,36vw);flex-direction:row-reverse}
.layout53_mini_sx_medio_small .info-card,.layout54_mini_sx_medio_medium .info-card,.layout55_mini_sx_medio_large .info-card{left:3.5%;right:auto;top:50%;transform:translateY(-50%);width:min(560px,38vw);flex-direction:row-reverse}
.layout56_mini_sx_basso_small .info-card,.layout57_mini_sx_basso_medium .info-card,.layout58_mini_sx_basso_large .info-card{left:3.5%;right:auto;top:auto;bottom:7%;transform:none;width:min(620px,42vw);flex-direction:row-reverse}
/* dimensione trama */
.layout41_mini_dx_alto_small .text p,.layout44_mini_dx_medio_small .text p,.layout47_mini_dx_basso_small .text p,.layout50_mini_sx_alto_small .text p,.layout53_mini_sx_medio_small .text p,.layout56_mini_sx_basso_small .text p{-webkit-line-clamp:3;font-size:clamp(12px,1vw,15px)}
.layout42_mini_dx_alto_medium .text p,.layout45_mini_dx_medio_medium .text p,.layout48_mini_dx_basso_medium .text p,.layout51_mini_sx_alto_medium .text p,.layout54_mini_sx_medio_medium .text p,.layout57_mini_sx_basso_medium .text p{-webkit-line-clamp:5;font-size:clamp(14px,1.18vw,17px)}
.layout43_mini_dx_alto_large .text p,.layout46_mini_dx_medio_large .text p,.layout49_mini_dx_basso_large .text p,.layout52_mini_sx_alto_large .text p,.layout55_mini_sx_medio_large .text p,.layout58_mini_sx_basso_large .text p{-webkit-line-clamp:8;font-size:clamp(15px,1.35vw,19px)}
.layout43_mini_dx_alto_large .info-card,.layout46_mini_dx_medio_large .info-card,.layout49_mini_dx_basso_large .info-card,.layout52_mini_sx_alto_large .info-card,.layout55_mini_sx_medio_large .info-card,.layout58_mini_sx_basso_large .info-card{width:min(720px,48vw);padding:24px}

/* layout cinema pulito e full image */
.layout59_clean_cinema_light .info-card{left:50%;top:auto;bottom:5%;transform:translateX(-50%);width:min(1180px,88%);flex-direction:row;background:linear-gradient(90deg,rgba(255,255,255,.18),rgba(255,255,255,.08))!important}
.layout59_clean_cinema_light .text p{-webkit-line-clamp:4;font-size:clamp(15px,1.3vw,20px)}
.layout60_clean_full_image_roles .info-card{left:50%;top:50%;transform:translate(-50%,-50%);width:min(960px,72%);flex-direction:column;align-items:flex-start;background:rgba(255,255,255,.12)!important}
.layout60_clean_full_image_roles .poster{display:none}.layout60_clean_full_image_roles .text p{-webkit-line-clamp:7;font-size:clamp(15px,1.45vw,21px)}
.layout60_clean_full_image_roles .meta span{background:rgba(255,255,255,.18);padding:5px 10px;border-radius:18px}

@media(max-width:900px){.preview[class*="layout4"] .info-card,.preview[class*="layout5"] .info-card,.layout59_clean_cinema_light .info-card,.layout60_clean_full_image_roles .info-card{left:50%!important;right:auto!important;top:auto!important;bottom:4%!important;transform:translateX(-50%)!important;width:94%!important;flex-direction:row!important}.preview[class*="layout4"] .text p,.preview[class*="layout5"] .text p{font-size:13px;-webkit-line-clamp:4}.layout60_clean_full_image_roles .poster{display:block}}


/* ===== FIX : STRISCE SOLO COME OPZIONE + AUTO STATUS ===== */
.checkline{display:flex!important;align-items:center;gap:8px;color:#ddd!important;font-size:11px!important;background:#171717;border:1px solid #2b2b2b;border-radius:8px;padding:10px;margin-top:12px!important}
.checkline input{width:auto;margin:0;accent-color:#ff9d00}
.auto-status{font-size:10px;color:#ffcc66;background:#160f00;border:1px solid #5a3800;border-radius:8px;padding:8px;margin-top:8px;line-height:1.35}
.preview .mini-stack{display:none!important}
.preview.stripes-on .mini-stack{display:flex!important}
.preview.stripes-on .mini-stack div{background-size:cover!important;background-position:center!important;background-color:#111!important}
.preview.stripes-on.layout01_ht_original .mini-stack{display:flex!important}
.preview.stripes-on.layout20_poster_wall .mini-stack{display:flex!important}
.preview:not(.stripes-on) .mini-stack{display:none!important}


/* ACTIVE LAYOUT 61-65: stile pulito come immagine Auto Ads 14 */
.layout61_auto_ads_14_clean_card,
.layout62_auto_ads_14_card_destra,
.layout63_auto_ads_14_card_sinistra,
.layout64_auto_ads_14_card_basso,
.layout65_auto_ads_14_light_focus{--aaPanel:rgba(18,18,18,.64);--aaPanelLight:rgba(255,255,255,.12);--aaBorder:rgba(255,255,255,.30);--aaGold:#ffd400;--aaText:#f8f8f8;--aaShadow:0 22px 70px rgba(0,0,0,.38);--aaRead:0 2px 10px rgba(0,0,0,.85)}
.layout61_auto_ads_14_clean_card .backdrop,
.layout62_auto_ads_14_card_destra .backdrop,
.layout63_auto_ads_14_card_sinistra .backdrop,
.layout64_auto_ads_14_card_basso .backdrop,
.layout65_auto_ads_14_light_focus .backdrop{filter:brightness(92%) saturate(112%) blur(3px);transform:scale(1.02);background-position:center;background-size:cover}
.layout61_auto_ads_14_clean_card .shade,
.layout62_auto_ads_14_card_destra .shade,
.layout63_auto_ads_14_card_sinistra .shade,
.layout64_auto_ads_14_card_basso .shade,
.layout65_auto_ads_14_light_focus .shade{background:linear-gradient(90deg,rgba(255,255,255,.08),rgba(0,0,0,.10) 35%,rgba(255,255,255,.06)),linear-gradient(to bottom,rgba(255,255,255,.06),rgba(0,0,0,.16))}
.layout61_auto_ads_14_clean_card .mini-stack,
.layout62_auto_ads_14_card_destra .mini-stack,
.layout63_auto_ads_14_card_sinistra .mini-stack,
.layout64_auto_ads_14_card_basso .mini-stack,
.layout65_auto_ads_14_light_focus .mini-stack{display:none!important}
.layout61_auto_ads_14_clean_card .info-card,
.layout62_auto_ads_14_card_destra .info-card,
.layout63_auto_ads_14_card_sinistra .info-card,
.layout64_auto_ads_14_card_basso .info-card,
.layout65_auto_ads_14_light_focus .info-card{background:linear-gradient(90deg,rgba(18,18,18,.70),rgba(18,18,18,.52))!important;border:1px solid var(--aaBorder)!important;box-shadow:var(--aaShadow)!important;backdrop-filter:blur(14px) saturate(1.15);border-radius:13px!important;padding:26px!important;gap:24px!important;min-height:auto!important;overflow:hidden;color:var(--aaText);text-shadow:var(--aaRead)}
.layout61_auto_ads_14_clean_card .poster,
.layout62_auto_ads_14_card_destra .poster,
.layout63_auto_ads_14_card_sinistra .poster,
.layout64_auto_ads_14_card_basso .poster,
.layout65_auto_ads_14_light_focus .poster{display:block!important;width:clamp(118px,13vw,210px)!important;height:clamp(178px,19vw,315px)!important;object-fit:cover;border-radius:9px!important;box-shadow:0 16px 42px rgba(0,0,0,.48)!important;flex:0 0 auto;transform:none!important}
.layout61_auto_ads_14_clean_card .logo,
.layout62_auto_ads_14_card_destra .logo,
.layout63_auto_ads_14_card_sinistra .logo,
.layout64_auto_ads_14_card_basso .logo,
.layout65_auto_ads_14_light_focus .logo{display:none!important}
.layout61_auto_ads_14_clean_card .text,
.layout62_auto_ads_14_card_destra .text,
.layout63_auto_ads_14_card_sinistra .text,
.layout64_auto_ads_14_card_basso .text,
.layout65_auto_ads_14_light_focus .text{min-width:0;flex:1}
.layout61_auto_ads_14_clean_card .text h1,
.layout62_auto_ads_14_card_destra .text h1,
.layout63_auto_ads_14_card_sinistra .text h1,
.layout64_auto_ads_14_card_basso .text h1,
.layout65_auto_ads_14_light_focus .text h1{color:var(--aaText)!important;font-size:clamp(24px,2.6vw,46px)!important;line-height:1.05!important;margin:0 0 10px!important;text-shadow:var(--aaRead)!important}
.layout61_auto_ads_14_clean_card .meta,
.layout62_auto_ads_14_card_destra .meta,
.layout63_auto_ads_14_card_sinistra .meta,
.layout64_auto_ads_14_card_basso .meta,
.layout65_auto_ads_14_light_focus .meta{display:flex!important;color:#e9e9e9!important;font-size:clamp(10px,.9vw,14px)!important;gap:8px!important;letter-spacing:0!important;margin-bottom:12px!important;align-items:center;flex-wrap:wrap}
.layout61_auto_ads_14_clean_card .meta span,
.layout62_auto_ads_14_card_destra .meta span,
.layout63_auto_ads_14_card_sinistra .meta span,
.layout64_auto_ads_14_card_basso .meta span,
.layout65_auto_ads_14_light_focus .meta span{background:rgba(255,255,255,.12);border-radius:18px;padding:5px 10px;color:#f0f0f0}
.layout61_auto_ads_14_clean_card .stars,
.layout62_auto_ads_14_card_destra .stars,
.layout63_auto_ads_14_card_sinistra .stars,
.layout64_auto_ads_14_card_basso .stars,
.layout65_auto_ads_14_light_focus .stars{background:transparent!important;color:var(--aaGold)!important;padding:0!important;font-weight:900!important}
.layout61_auto_ads_14_clean_card .text p,
.layout62_auto_ads_14_card_destra .text p,
.layout63_auto_ads_14_card_sinistra .text p,
.layout64_auto_ads_14_card_basso .text p,
.layout65_auto_ads_14_light_focus .text p{color:var(--aaText)!important;font-size:clamp(13px,1.2vw,18px)!important;line-height:1.5!important;max-width:100%!important;margin:0!important;text-shadow:var(--aaRead)!important;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:7}
.layout61_auto_ads_14_clean_card .info-card{left:50%;top:50%;transform:translate(-50%,-50%)!important;width:min(1100px,74%)!important;flex-direction:row!important}
.layout62_auto_ads_14_card_destra .info-card{left:auto!important;right:3.5%!important;top:50%!important;transform:translateY(-50%)!important;width:min(760px,48%)!important;flex-direction:row!important}
.layout63_auto_ads_14_card_sinistra .info-card{left:3.5%!important;right:auto!important;top:50%!important;transform:translateY(-50%)!important;width:min(760px,48%)!important;flex-direction:row-reverse!important}
.layout64_auto_ads_14_card_basso .info-card{left:50%!important;top:auto!important;bottom:5%!important;transform:translateX(-50%)!important;width:min(1250px,86%)!important;flex-direction:row!important}
.layout64_auto_ads_14_card_basso .poster{width:clamp(100px,10vw,160px)!important;height:clamp(150px,15vw,240px)!important}.layout64_auto_ads_14_card_basso .text p{-webkit-line-clamp:4!important}
.layout65_auto_ads_14_light_focus .info-card{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(1180px,78%)!important;background:linear-gradient(90deg,rgba(255,255,255,.18),rgba(15,15,15,.40))!important;border:1px solid rgba(255,255,255,.40)!important;flex-direction:row!important}.layout65_auto_ads_14_light_focus .text h1{color:#fff!important}.layout65_auto_ads_14_light_focus .meta span{background:rgba(0,0,0,.22)}
@media(max-width:900px){.layout61_auto_ads_14_clean_card .info-card,.layout62_auto_ads_14_card_destra .info-card,.layout63_auto_ads_14_card_sinistra .info-card,.layout64_auto_ads_14_card_basso .info-card,.layout65_auto_ads_14_light_focus .info-card{left:50%!important;right:auto!important;top:auto!important;bottom:4%!important;transform:translateX(-50%)!important;width:94%!important;flex-direction:row!important;padding:14px!important;gap:14px!important}.layout61_auto_ads_14_clean_card .poster,.layout62_auto_ads_14_card_destra .poster,.layout63_auto_ads_14_card_sinistra .poster,.layout64_auto_ads_14_card_basso .poster,.layout65_auto_ads_14_light_focus .poster{width:96px!important;height:144px!important}.layout61_auto_ads_14_clean_card .text p,.layout62_auto_ads_14_card_destra .text p,.layout63_auto_ads_14_card_sinistra .text p,.layout64_auto_ads_14_card_basso .text p,.layout65_auto_ads_14_light_focus .text p{-webkit-line-clamp:4!important;font-size:12px!important}.layout61_auto_ads_14_clean_card .text h1,.layout62_auto_ads_14_card_destra .text h1,.layout63_auto_ads_14_card_sinistra .text h1,.layout64_auto_ads_14_card_basso .text h1,.layout65_auto_ads_14_light_focus .text h1{font-size:22px!important}}


/* ===== ACTIVE LAYOUT 66-80 importati da auto_layout.php ===== */
.preview[class*="layout6"] .mini-stack,.preview[class*="layout7"] .mini-stack,.preview[class*="layout8"] .mini-stack{display:none!important}
.layout66_auto_ads_0_preview .backdrop,.layout67_auto_ads_1_left_card .backdrop,.layout68_auto_ads_2_right_card .backdrop,.layout69_auto_ads_3_top_card .backdrop,.layout70_auto_ads_4_bottom_card .backdrop,.layout71_auto_ads_5_center_glass .backdrop,.layout72_auto_ads_6_poster_left .backdrop,.layout73_auto_ads_7_poster_right .backdrop,.layout74_auto_ads_8_mini_top_right .backdrop,.layout75_auto_ads_9_mini_top_left .backdrop,.layout76_auto_ads_10_clean_wide .backdrop,.layout77_auto_ads_11_rotating_card .backdrop,.layout78_auto_ads_12_gold_movie .backdrop,.layout79_auto_ads_13_soft_blur .backdrop,.layout80_auto_ads_14_modern_clean .backdrop{filter:brightness(86%) saturate(118%) blur(1.5px);transform:scale(1.015);background-size:cover;background-position:center}
.layout66_auto_ads_0_preview .shade,.layout67_auto_ads_1_left_card .shade,.layout68_auto_ads_2_right_card .shade,.layout69_auto_ads_3_top_card .shade,.layout70_auto_ads_4_bottom_card .shade,.layout71_auto_ads_5_center_glass .shade,.layout72_auto_ads_6_poster_left .shade,.layout73_auto_ads_7_poster_right .shade,.layout74_auto_ads_8_mini_top_right .shade,.layout75_auto_ads_9_mini_top_left .shade,.layout76_auto_ads_10_clean_wide .shade,.layout77_auto_ads_11_rotating_card .shade,.layout78_auto_ads_12_gold_movie .shade,.layout79_auto_ads_13_soft_blur .shade,.layout80_auto_ads_14_modern_clean .shade{background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.06),rgba(0,0,0,.18) 65%,rgba(0,0,0,.36)),linear-gradient(90deg,rgba(0,0,0,.18),transparent 35%,rgba(0,0,0,.18))}
.layout66_auto_ads_0_preview .info-card,.layout67_auto_ads_1_left_card .info-card,.layout68_auto_ads_2_right_card .info-card,.layout69_auto_ads_3_top_card .info-card,.layout70_auto_ads_4_bottom_card .info-card,.layout71_auto_ads_5_center_glass .info-card,.layout72_auto_ads_6_poster_left .info-card,.layout73_auto_ads_7_poster_right .info-card,.layout74_auto_ads_8_mini_top_right .info-card,.layout75_auto_ads_9_mini_top_left .info-card,.layout76_auto_ads_10_clean_wide .info-card,.layout77_auto_ads_11_rotating_card .info-card,.layout78_auto_ads_12_gold_movie .info-card,.layout79_auto_ads_13_soft_blur .info-card,.layout80_auto_ads_14_modern_clean .info-card{background:rgba(8,8,8,.50)!important;border:1px solid rgba(255,255,255,.42)!important;box-shadow:0 18px 55px rgba(0,0,0,.45),inset 0 0 28px rgba(255,255,255,.06)!important;backdrop-filter:blur(12px) saturate(1.1);border-radius:16px!important;padding:24px!important;gap:24px!important;overflow:hidden;text-shadow:0 2px 10px rgba(0,0,0,.9)}
.layout66_auto_ads_0_preview .poster,.layout67_auto_ads_1_left_card .poster,.layout68_auto_ads_2_right_card .poster,.layout69_auto_ads_3_top_card .poster,.layout70_auto_ads_4_bottom_card .poster,.layout71_auto_ads_5_center_glass .poster,.layout72_auto_ads_6_poster_left .poster,.layout73_auto_ads_7_poster_right .poster,.layout74_auto_ads_8_mini_top_right .poster,.layout75_auto_ads_9_mini_top_left .poster,.layout76_auto_ads_10_clean_wide .poster,.layout77_auto_ads_11_rotating_card .poster,.layout78_auto_ads_12_gold_movie .poster,.layout79_auto_ads_13_soft_blur .poster,.layout80_auto_ads_14_modern_clean .poster{display:block!important;width:clamp(120px,12vw,190px)!important;height:clamp(180px,18vw,285px)!important;object-fit:cover;border-radius:12px!important;box-shadow:0 0 22px rgba(255,255,255,.28),0 18px 42px rgba(0,0,0,.58)!important;flex:0 0 auto;transform:none!important}.layout66_auto_ads_0_preview .logo,.layout67_auto_ads_1_left_card .logo,.layout68_auto_ads_2_right_card .logo,.layout69_auto_ads_3_top_card .logo,.layout70_auto_ads_4_bottom_card .logo,.layout71_auto_ads_5_center_glass .logo,.layout72_auto_ads_6_poster_left .logo,.layout73_auto_ads_7_poster_right .logo,.layout74_auto_ads_8_mini_top_right .logo,.layout75_auto_ads_9_mini_top_left .logo,.layout76_auto_ads_10_clean_wide .logo,.layout77_auto_ads_11_rotating_card .logo,.layout78_auto_ads_12_gold_movie .logo,.layout79_auto_ads_13_soft_blur .logo,.layout80_auto_ads_14_modern_clean .logo{display:none!important}
.layout66_auto_ads_0_preview .text h1,.layout67_auto_ads_1_left_card .text h1,.layout68_auto_ads_2_right_card .text h1,.layout69_auto_ads_3_top_card .text h1,.layout70_auto_ads_4_bottom_card .text h1,.layout71_auto_ads_5_center_glass .text h1,.layout72_auto_ads_6_poster_left .text h1,.layout73_auto_ads_7_poster_right .text h1,.layout74_auto_ads_8_mini_top_right .text h1,.layout75_auto_ads_9_mini_top_left .text h1,.layout76_auto_ads_10_clean_wide .text h1,.layout77_auto_ads_11_rotating_card .text h1,.layout78_auto_ads_12_gold_movie .text h1,.layout79_auto_ads_13_soft_blur .text h1,.layout80_auto_ads_14_modern_clean .text h1{font-size:clamp(22px,2.3vw,42px)!important;color:#ffe600!important;margin:0 0 10px!important;line-height:1.05!important}.layout66_auto_ads_0_preview .meta,.layout67_auto_ads_1_left_card .meta,.layout68_auto_ads_2_right_card .meta,.layout69_auto_ads_3_top_card .meta,.layout70_auto_ads_4_bottom_card .meta,.layout71_auto_ads_5_center_glass .meta,.layout72_auto_ads_6_poster_left .meta,.layout73_auto_ads_7_poster_right .meta,.layout74_auto_ads_8_mini_top_right .meta,.layout75_auto_ads_9_mini_top_left .meta,.layout76_auto_ads_10_clean_wide .meta,.layout77_auto_ads_11_rotating_card .meta,.layout78_auto_ads_12_gold_movie .meta,.layout79_auto_ads_13_soft_blur .meta,.layout80_auto_ads_14_modern_clean .meta{display:flex!important;gap:8px!important;color:#eee!important;font-size:clamp(10px,.85vw,13px)!important;letter-spacing:0!important;margin-bottom:10px!important}.layout66_auto_ads_0_preview .stars,.layout67_auto_ads_1_left_card .stars,.layout68_auto_ads_2_right_card .stars,.layout69_auto_ads_3_top_card .stars,.layout70_auto_ads_4_bottom_card .stars,.layout71_auto_ads_5_center_glass .stars,.layout72_auto_ads_6_poster_left .stars,.layout73_auto_ads_7_poster_right .stars,.layout74_auto_ads_8_mini_top_right .stars,.layout75_auto_ads_9_mini_top_left .stars,.layout76_auto_ads_10_clean_wide .stars,.layout77_auto_ads_11_rotating_card .stars,.layout78_auto_ads_12_gold_movie .stars,.layout79_auto_ads_13_soft_blur .stars,.layout80_auto_ads_14_modern_clean .stars{color:#ffcc00!important;background:transparent!important}.layout66_auto_ads_0_preview .text p,.layout67_auto_ads_1_left_card .text p,.layout68_auto_ads_2_right_card .text p,.layout69_auto_ads_3_top_card .text p,.layout70_auto_ads_4_bottom_card .text p,.layout71_auto_ads_5_center_glass .text p,.layout72_auto_ads_6_poster_left .text p,.layout73_auto_ads_7_poster_right .text p,.layout74_auto_ads_8_mini_top_right .text p,.layout75_auto_ads_9_mini_top_left .text p,.layout76_auto_ads_10_clean_wide .text p,.layout77_auto_ads_11_rotating_card .text p,.layout78_auto_ads_12_gold_movie .text p,.layout79_auto_ads_13_soft_blur .text p,.layout80_auto_ads_14_modern_clean .text p{font-size:clamp(12px,1.05vw,17px)!important;line-height:1.48!important;color:#fff!important;max-width:100%!important;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:6;text-shadow:0 2px 9px rgba(0,0,0,.95)!important}
.layout66_auto_ads_0_preview .info-card{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(760px,60%)!important;flex-direction:row!important}.layout67_auto_ads_1_left_card .info-card{left:4%!important;top:50%!important;transform:translateY(-50%)!important;width:min(720px,48%)!important;flex-direction:row!important}.layout68_auto_ads_2_right_card .info-card{left:auto!important;right:4%!important;top:50%!important;transform:translateY(-50%)!important;width:min(720px,48%)!important;flex-direction:row!important}.layout69_auto_ads_3_top_card .info-card{left:50%!important;top:12%!important;transform:translateX(-50%)!important;width:min(930px,72%)!important;flex-direction:row!important}.layout70_auto_ads_4_bottom_card .info-card{left:50%!important;top:auto!important;bottom:8%!important;transform:translateX(-50%)!important;width:min(980px,76%)!important;flex-direction:row!important}.layout71_auto_ads_5_center_glass .info-card{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(900px,68%)!important;flex-direction:row!important;background:rgba(255,255,255,.13)!important}.layout72_auto_ads_6_poster_left .info-card{left:8%!important;top:50%!important;transform:translateY(-50%)!important;width:min(860px,60%)!important;flex-direction:row!important}.layout72_auto_ads_6_poster_left .poster{width:clamp(170px,16vw,250px)!important;height:clamp(255px,24vw,375px)!important}.layout73_auto_ads_7_poster_right .info-card{left:auto!important;right:8%!important;top:50%!important;transform:translateY(-50%)!important;width:min(860px,60%)!important;flex-direction:row-reverse!important}.layout73_auto_ads_7_poster_right .poster{width:clamp(170px,16vw,250px)!important;height:clamp(255px,24vw,375px)!important}.layout74_auto_ads_8_mini_top_right .info-card{left:auto!important;right:4%!important;top:8%!important;transform:none!important;width:min(560px,40%)!important;flex-direction:row!important}.layout75_auto_ads_9_mini_top_left .info-card{left:4%!important;right:auto!important;top:8%!important;transform:none!important;width:min(560px,40%)!important;flex-direction:row-reverse!important}.layout76_auto_ads_10_clean_wide .info-card{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(1180px,82%)!important;flex-direction:row!important;background:rgba(255,255,255,.10)!important}.layout77_auto_ads_11_rotating_card .info-card{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(800px,62%)!important;flex-direction:row!important}.layout77_auto_ads_11_rotating_card .poster{animation:autoPosterSpin 12s linear infinite;transform-style:preserve-3d}.layout78_auto_ads_12_gold_movie .info-card{left:50%!important;top:55%!important;transform:translate(-50%,-50%)!important;width:min(940px,70%)!important;flex-direction:row!important;border-color:rgba(255,210,0,.72)!important;box-shadow:0 0 28px rgba(255,210,0,.35),0 22px 70px rgba(0,0,0,.5)!important}.layout79_auto_ads_13_soft_blur .info-card{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(900px,68%)!important;flex-direction:row!important;background:rgba(20,20,20,.38)!important}.layout79_auto_ads_13_soft_blur .backdrop{filter:brightness(var(--brightness)) saturate(110%) blur(5px)}.layout80_auto_ads_14_modern_clean .info-card{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(980px,72%)!important;flex-direction:row!important;background:rgba(30,30,30,.54)!important;border-radius:11px!important}.layout80_auto_ads_14_modern_clean .poster{width:clamp(130px,14vw,220px)!important;height:clamp(195px,21vw,330px)!important}
@keyframes autoPosterSpin{0%{transform:perspective(900px) rotateY(0deg)}100%{transform:perspective(900px) rotateY(360deg)}}
@media(max-width:900px){.layout66_auto_ads_0_preview .info-card,.layout67_auto_ads_1_left_card .info-card,.layout68_auto_ads_2_right_card .info-card,.layout69_auto_ads_3_top_card .info-card,.layout70_auto_ads_4_bottom_card .info-card,.layout71_auto_ads_5_center_glass .info-card,.layout72_auto_ads_6_poster_left .info-card,.layout73_auto_ads_7_poster_right .info-card,.layout74_auto_ads_8_mini_top_right .info-card,.layout75_auto_ads_9_mini_top_left .info-card,.layout76_auto_ads_10_clean_wide .info-card,.layout77_auto_ads_11_rotating_card .info-card,.layout78_auto_ads_12_gold_movie .info-card,.layout79_auto_ads_13_soft_blur .info-card,.layout80_auto_ads_14_modern_clean .info-card{left:50%!important;right:auto!important;top:auto!important;bottom:4%!important;transform:translateX(-50%)!important;width:94%!important;flex-direction:row!important;padding:14px!important;gap:14px!important}.layout66_auto_ads_0_preview .poster,.layout67_auto_ads_1_left_card .poster,.layout68_auto_ads_2_right_card .poster,.layout69_auto_ads_3_top_card .poster,.layout70_auto_ads_4_bottom_card .poster,.layout71_auto_ads_5_center_glass .poster,.layout72_auto_ads_6_poster_left .poster,.layout73_auto_ads_7_poster_right .poster,.layout74_auto_ads_8_mini_top_right .poster,.layout75_auto_ads_9_mini_top_left .poster,.layout76_auto_ads_10_clean_wide .poster,.layout77_auto_ads_11_rotating_card .poster,.layout78_auto_ads_12_gold_movie .poster,.layout79_auto_ads_13_soft_blur .poster,.layout80_auto_ads_14_modern_clean .poster{width:92px!important;height:138px!important}.layout66_auto_ads_0_preview .text p,.layout67_auto_ads_1_left_card .text p,.layout68_auto_ads_2_right_card .text p,.layout69_auto_ads_3_top_card .text p,.layout70_auto_ads_4_bottom_card .text p,.layout71_auto_ads_5_center_glass .text p,.layout72_auto_ads_6_poster_left .text p,.layout73_auto_ads_7_poster_right .text p,.layout74_auto_ads_8_mini_top_right .text p,.layout75_auto_ads_9_mini_top_left .text p,.layout76_auto_ads_10_clean_wide .text p,.layout77_auto_ads_11_rotating_card .text p,.layout78_auto_ads_12_gold_movie .text p,.layout79_auto_ads_13_soft_blur .text p,.layout80_auto_ads_14_modern_clean .text p{-webkit-line-clamp:4!important;font-size:12px!important}}


/* === FIX GENNY: MINI SCHERMO PIU PICCOLO MA TRAMA LEGGIBILE ===
   Non elimina file e non cambia il sistema: solo override CSS per ACTIVE LAYOUT 66-80.
   Mini layout compatti, immagine pulita, testo/trama leggibile. */
.layout66_auto_ads_0_preview .info-card,
.layout67_auto_ads_1_left_card .info-card,
.layout68_auto_ads_2_right_card .info-card,
.layout69_auto_ads_3_top_card .info-card,
.layout70_auto_ads_4_bottom_card .info-card,
.layout71_auto_ads_5_center_glass .info-card,
.layout72_auto_ads_6_poster_left .info-card,
.layout73_auto_ads_7_poster_right .info-card,
.layout74_auto_ads_8_mini_top_right .info-card,
.layout75_auto_ads_9_mini_top_left .info-card,
.layout76_auto_ads_10_clean_wide .info-card,
.layout77_auto_ads_11_rotating_card .info-card,
.layout78_auto_ads_12_gold_movie .info-card,
.layout79_auto_ads_13_soft_blur .info-card,
.layout80_auto_ads_14_modern_clean .info-card{
    min-height:0!important;
    padding:clamp(10px,1.05vw,18px)!important;
    gap:clamp(10px,1vw,16px)!important;
    border-radius:14px!important;
    background:rgba(8,8,8,.42)!important;
    backdrop-filter:blur(8px)!important;
    -webkit-backdrop-filter:blur(8px)!important;
    overflow:hidden!important;
}
.layout66_auto_ads_0_preview .poster,
.layout67_auto_ads_1_left_card .poster,
.layout68_auto_ads_2_right_card .poster,
.layout69_auto_ads_3_top_card .poster,
.layout70_auto_ads_4_bottom_card .poster,
.layout71_auto_ads_5_center_glass .poster,
.layout72_auto_ads_6_poster_left .poster,
.layout73_auto_ads_7_poster_right .poster,
.layout74_auto_ads_8_mini_top_right .poster,
.layout75_auto_ads_9_mini_top_left .poster,
.layout76_auto_ads_10_clean_wide .poster,
.layout77_auto_ads_11_rotating_card .poster,
.layout78_auto_ads_12_gold_movie .poster,
.layout79_auto_ads_13_soft_blur .poster,
.layout80_auto_ads_14_modern_clean .poster{
    width:clamp(78px,8.5vw,138px)!important;
    height:clamp(117px,12.7vw,207px)!important;
    border-radius:10px!important;
}
.layout66_auto_ads_0_preview .text h1,
.layout67_auto_ads_1_left_card .text h1,
.layout68_auto_ads_2_right_card .text h1,
.layout69_auto_ads_3_top_card .text h1,
.layout70_auto_ads_4_bottom_card .text h1,
.layout71_auto_ads_5_center_glass .text h1,
.layout72_auto_ads_6_poster_left .text h1,
.layout73_auto_ads_7_poster_right .text h1,
.layout74_auto_ads_8_mini_top_right .text h1,
.layout75_auto_ads_9_mini_top_left .text h1,
.layout76_auto_ads_10_clean_wide .text h1,
.layout77_auto_ads_11_rotating_card .text h1,
.layout78_auto_ads_12_gold_movie .text h1,
.layout79_auto_ads_13_soft_blur .text h1,
.layout80_auto_ads_14_modern_clean .text h1{
    font-size:clamp(16px,1.55vw,28px)!important;
    margin-bottom:6px!important;
    text-shadow:0 2px 8px #000!important;
}
.layout66_auto_ads_0_preview .meta,
.layout67_auto_ads_1_left_card .meta,
.layout68_auto_ads_2_right_card .meta,
.layout69_auto_ads_3_top_card .meta,
.layout70_auto_ads_4_bottom_card .meta,
.layout71_auto_ads_5_center_glass .meta,
.layout72_auto_ads_6_poster_left .meta,
.layout73_auto_ads_7_poster_right .meta,
.layout74_auto_ads_8_mini_top_right .meta,
.layout75_auto_ads_9_mini_top_left .meta,
.layout76_auto_ads_10_clean_wide .meta,
.layout77_auto_ads_11_rotating_card .meta,
.layout78_auto_ads_12_gold_movie .meta,
.layout79_auto_ads_13_soft_blur .meta,
.layout80_auto_ads_14_modern_clean .meta{
    font-size:clamp(8px,.72vw,11px)!important;
    margin-bottom:6px!important;
    gap:6px!important;
}
.layout66_auto_ads_0_preview .text p,
.layout67_auto_ads_1_left_card .text p,
.layout68_auto_ads_2_right_card .text p,
.layout69_auto_ads_3_top_card .text p,
.layout70_auto_ads_4_bottom_card .text p,
.layout71_auto_ads_5_center_glass .text p,
.layout72_auto_ads_6_poster_left .text p,
.layout73_auto_ads_7_poster_right .text p,
.layout74_auto_ads_8_mini_top_right .text p,
.layout75_auto_ads_9_mini_top_left .text p,
.layout76_auto_ads_10_clean_wide .text p,
.layout77_auto_ads_11_rotating_card .text p,
.layout78_auto_ads_12_gold_movie .text p,
.layout79_auto_ads_13_soft_blur .text p,
.layout80_auto_ads_14_modern_clean .text p{
    font-size:clamp(10px,.86vw,14px)!important;
    line-height:1.42!important;
    -webkit-line-clamp:5!important;
    text-shadow:0 2px 8px #000,0 0 4px #000!important;
}
/* mini schermi veri: ancora piu piccoli */
.layout74_auto_ads_8_mini_top_right .info-card,
.layout75_auto_ads_9_mini_top_left .info-card{
    width:min(380px,27%)!important;
    max-height:245px!important;
}
.layout74_auto_ads_8_mini_top_right .poster,
.layout75_auto_ads_9_mini_top_left .poster{
    width:clamp(62px,6vw,94px)!important;
    height:clamp(93px,9vw,141px)!important;
}
.layout74_auto_ads_8_mini_top_right .text p,
.layout75_auto_ads_9_mini_top_left .text p{
    -webkit-line-clamp:6!important;
    font-size:clamp(9px,.72vw,12px)!important;
}
/* varianti compatte, ma non invisibili */
.layout66_auto_ads_0_preview .info-card{width:min(560px,43%)!important;}
.layout67_auto_ads_1_left_card .info-card{width:min(520px,35%)!important;}
.layout68_auto_ads_2_right_card .info-card{width:min(520px,35%)!important;}
.layout69_auto_ads_3_top_card .info-card{width:min(680px,48%)!important;top:9%!important;}
.layout70_auto_ads_4_bottom_card .info-card{width:min(720px,52%)!important;bottom:6%!important;}
.layout76_auto_ads_10_clean_wide .info-card{width:min(820px,58%)!important;}
.layout80_auto_ads_14_modern_clean .info-card{width:min(740px,54%)!important;}
@media(max-width:900px){
  .layout66_auto_ads_0_preview .info-card,.layout67_auto_ads_1_left_card .info-card,.layout68_auto_ads_2_right_card .info-card,.layout69_auto_ads_3_top_card .info-card,.layout70_auto_ads_4_bottom_card .info-card,.layout71_auto_ads_5_center_glass .info-card,.layout72_auto_ads_6_poster_left .info-card,.layout73_auto_ads_7_poster_right .info-card,.layout74_auto_ads_8_mini_top_right .info-card,.layout75_auto_ads_9_mini_top_left .info-card,.layout76_auto_ads_10_clean_wide .info-card,.layout77_auto_ads_11_rotating_card .info-card,.layout78_auto_ads_12_gold_movie .info-card,.layout79_auto_ads_13_soft_blur .info-card,.layout80_auto_ads_14_modern_clean .info-card{
    width:92%!important;max-height:180px!important;padding:10px!important;gap:10px!important;
  }
  .layout66_auto_ads_0_preview .poster,.layout67_auto_ads_1_left_card .poster,.layout68_auto_ads_2_right_card .poster,.layout69_auto_ads_3_top_card .poster,.layout70_auto_ads_4_bottom_card .poster,.layout71_auto_ads_5_center_glass .poster,.layout72_auto_ads_6_poster_left .poster,.layout73_auto_ads_7_poster_right .poster,.layout74_auto_ads_8_mini_top_right .poster,.layout75_auto_ads_9_mini_top_left .poster,.layout76_auto_ads_10_clean_wide .poster,.layout77_auto_ads_11_rotating_card .poster,.layout78_auto_ads_12_gold_movie .poster,.layout79_auto_ads_13_soft_blur .poster,.layout80_auto_ads_14_modern_clean .poster{
    width:58px!important;height:87px!important;
  }
  .layout66_auto_ads_0_preview .text h1,.layout67_auto_ads_1_left_card .text h1,.layout68_auto_ads_2_right_card .text h1,.layout69_auto_ads_3_top_card .text h1,.layout70_auto_ads_4_bottom_card .text h1,.layout71_auto_ads_5_center_glass .text h1,.layout72_auto_ads_6_poster_left .text h1,.layout73_auto_ads_7_poster_right .text h1,.layout74_auto_ads_8_mini_top_right .text h1,.layout75_auto_ads_9_mini_top_left .text h1,.layout76_auto_ads_10_clean_wide .text h1,.layout77_auto_ads_11_rotating_card .text h1,.layout78_auto_ads_12_gold_movie .text h1,.layout79_auto_ads_13_soft_blur .text h1,.layout80_auto_ads_14_modern_clean .text h1{font-size:17px!important;}
  .layout66_auto_ads_0_preview .text p,.layout67_auto_ads_1_left_card .text p,.layout68_auto_ads_2_right_card .text p,.layout69_auto_ads_3_top_card .text p,.layout70_auto_ads_4_bottom_card .text p,.layout71_auto_ads_5_center_glass .text p,.layout72_auto_ads_6_poster_left .text p,.layout73_auto_ads_7_poster_right .text p,.layout74_auto_ads_8_mini_top_right .text p,.layout75_auto_ads_9_mini_top_left .text p,.layout76_auto_ads_10_clean_wide .text p,.layout77_auto_ads_11_rotating_card .text p,.layout78_auto_ads_12_gold_movie .text p,.layout79_auto_ads_13_soft_blur .text p,.layout80_auto_ads_14_modern_clean .text p{font-size:11px!important;-webkit-line-clamp:5!important;}
}


/* === ACTIVE LAYOUT PULITI AUTO ADS 0-14 - solo questi layout nel menu === */
.layout-grid{grid-template-columns:1fr!important;gap:10px!important}.layout-tile{padding:8px!important}.layout-tile img{width:100%;height:auto;border-radius:7px;display:block;margin-bottom:7px;border:1px solid #333}.layout-tile b{display:inline-block;background:#ffbd18;color:#111!important;border-radius:4px;padding:2px 6px;margin-right:6px}.layout-tile span{font-size:11px!important;color:#fff!important}
.preview[class*="auto_ads_layout_"] .shade{background:linear-gradient(90deg,rgba(0,0,0,.22),rgba(0,0,0,.03),rgba(0,0,0,.18))!important}.preview[class*="auto_ads_layout_"]:before{background:none!important}.preview[class*="auto_ads_layout_"] .backdrop{filter:brightness(94%) saturate(108%) blur(0)!important;transform:scale(1)!important;background-position:center!important}.preview[class*="auto_ads_layout_"] .mini-stack{display:none!important}.preview[class*="auto_ads_layout_"] .info-card{background:rgba(20,20,15,.48)!important;border:1px solid rgba(255,255,255,.45)!important;box-shadow:0 16px 55px rgba(0,0,0,.32)!important;backdrop-filter:blur(9px)!important;border-radius:16px!important;padding:clamp(14px,2vw,28px)!important;gap:clamp(14px,2vw,28px)!important;min-height:auto!important}.preview[class*="auto_ads_layout_"] .poster{width:clamp(92px,13vw,190px)!important;height:clamp(138px,19.5vw,285px)!important;border-radius:13px!important;object-fit:cover!important;box-shadow:0 0 20px rgba(255,255,255,.28),0 18px 42px rgba(0,0,0,.46)!important}.preview[class*="auto_ads_layout_"] .logo{max-width:clamp(135px,22vw,330px)!important;max-height:120px!important}.preview[class*="auto_ads_layout_"] .text h1{color:#ffe900!important;font-size:clamp(20px,3vw,44px)!important;line-height:1.05!important;text-shadow:0 2px 14px rgba(0,0,0,.75)!important;margin:0 0 8px!important}.preview[class*="auto_ads_layout_"] .meta{color:#f7d455!important;font-size:clamp(9px,.9vw,13px)!important;gap:8px!important;letter-spacing:.5px!important}.preview[class*="auto_ads_layout_"] .stars{color:#ffd34a!important;background:transparent!important;padding:0!important}.preview[class*="auto_ads_layout_"] .text p{color:#fff!important;font-size:clamp(11px,1.15vw,16px)!important;line-height:1.42!important;max-width:760px!important;text-shadow:0 2px 10px #000!important;display:-webkit-box;-webkit-line-clamp:7;-webkit-box-orient:vertical;overflow:hidden}.preview[class*="auto_ads_layout_"] .watermark{display:none!important}.preview:not(.stripes-on) .mini-stack{display:none!important}.preview.stripes-on .mini-stack{display:flex!important}
.auto_ads_layout_0 .info-card{left:auto!important;right:6%!important;top:50%!important;transform:translateY(-50%)!important;width:min(620px,42%)!important;background:transparent!important;border:0!important;box-shadow:none!important;text-align:right!important}.auto_ads_layout_0 .poster,.auto_ads_layout_0 .logo{display:none!important}.auto_ads_layout_0 .text h1{font-size:clamp(26px,3.4vw,52px)!important}.auto_ads_layout_0 .text p{margin-left:auto!important;max-width:460px!important}.auto_ads_layout_0 .meta{justify-content:flex-end!important}
.auto_ads_layout_1 .info-card{left:3%!important;top:8%!important;transform:none!important;width:min(460px,38%)!important;display:block!important;background:rgba(0,0,0,.28)!important;border:0!important}.auto_ads_layout_1 .poster{display:none!important}.auto_ads_layout_1 .logo{display:block!important;max-width:95%!important;max-height:180px!important}.auto_ads_layout_1 .text h1{font-size:clamp(22px,4.5vw,58px)!important;color:#fff!important;text-transform:uppercase}.auto_ads_layout_1 .text p{font-size:clamp(10px,1vw,14px)!important;-webkit-line-clamp:8!important}
.auto_ads_layout_2 .info-card{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(920px,72%)!important;flex-direction:row-reverse!important;background:rgba(0,0,0,.42)!important}.auto_ads_layout_2 .poster{width:clamp(120px,15vw,220px)!important;height:clamp(180px,22.5vw,330px)!important}.auto_ads_layout_2 .text{flex:1}.auto_ads_layout_2 .text h1{color:#fff!important}
.auto_ads_layout_3 .info-card{display:none!important}.auto_ads_layout_3 .shade{background:linear-gradient(90deg,rgba(0,0,0,.06),transparent,rgba(0,0,0,.04))!important}
.auto_ads_layout_4 .info-card{left:50%!important;bottom:7%!important;top:auto!important;transform:translateX(-50%)!important;width:min(1040px,76%)!important;min-height:120px!important;background:rgba(0,0,0,.68)!important;border-radius:10px!important}.auto_ads_layout_4 .poster{display:none!important}.auto_ads_layout_4 .text h1{font-size:clamp(18px,2.2vw,32px)!important;color:#fff!important}.auto_ads_layout_4 .text p{-webkit-line-clamp:3!important}
.auto_ads_layout_5 .info-card{left:3%!important;top:4%!important;transform:none!important;width:min(430px,34%)!important;display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;background:rgba(0,0,0,.38)!important}.auto_ads_layout_5 .poster{width:clamp(120px,16vw,230px)!important;height:clamp(180px,24vw,345px)!important}.auto_ads_layout_5 .text h1{font-size:clamp(15px,1.8vw,24px)!important}.auto_ads_layout_5 .text p{font-size:clamp(10px,.95vw,13px)!important;-webkit-line-clamp:8!important}
.auto_ads_layout_6 .info-card{left:3%!important;top:6%!important;transform:none!important;width:min(360px,28%)!important;display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;border-color:#ff9d00!important}.auto_ads_layout_6 .poster{width:clamp(110px,14vw,210px)!important;height:clamp(165px,21vw,315px)!important}.auto_ads_layout_6 .text p{-webkit-line-clamp:6!important;font-size:clamp(9px,.9vw,12px)!important}
.auto_ads_layout_7 .info-card{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(430px,32%)!important;display:flex!important;flex-direction:column!important;text-align:center!important;background:rgba(0,0,0,.52)!important;border-color:#ffb300!important}.auto_ads_layout_7 .poster{width:clamp(160px,22vw,320px)!important;height:clamp(240px,33vw,480px)!important}.auto_ads_layout_7 .text p{-webkit-line-clamp:5!important;font-size:clamp(10px,.9vw,13px)!important}
.auto_ads_layout_8 .info-card{left:auto!important;right:3%!important;top:12%!important;transform:none!important;width:min(500px,37%)!important;border:3px solid #23b536!important;background:rgba(0,0,0,.35)!important;flex-direction:column!important}.auto_ads_layout_8 .poster{display:none!important}.auto_ads_layout_8 .text h1{color:#fff!important;text-transform:uppercase}.auto_ads_layout_8 .text p{-webkit-line-clamp:8!important}
.auto_ads_layout_9 .info-card{left:52%!important;top:52%!important;transform:translate(-50%,-50%)!important;width:min(840px,64%)!important;border:3px solid #23b536!important;background:rgba(0,0,0,.34)!important;flex-direction:row-reverse!important}.auto_ads_layout_9 .poster{width:clamp(105px,12vw,180px)!important;height:clamp(158px,18vw,270px)!important}.auto_ads_layout_9 .text p{-webkit-line-clamp:6!important}
.auto_ads_layout_10 .backdrop{background-size:cover!important;background-position:left center!important}.auto_ads_layout_10 .info-card{left:auto!important;right:0!important;top:0!important;bottom:0!important;transform:none!important;width:22%!important;height:100%!important;border:0!important;border-radius:0!important;background:#000!important;display:flex!important;flex-direction:column!important;justify-content:center!important;text-align:center!important}.auto_ads_layout_10 .poster{width:clamp(90px,10vw,160px)!important;height:clamp(135px,15vw,240px)!important}.auto_ads_layout_10 .text h1{font-size:clamp(13px,1.3vw,20px)!important}.auto_ads_layout_10 .text p{font-size:clamp(8px,.72vw,11px)!important;-webkit-line-clamp:8!important}
.auto_ads_layout_11 .info-card{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(760px,58%)!important;flex-direction:row!important;background:rgba(0,0,0,.34)!important;border-color:rgba(255,255,255,.78)!important}.auto_ads_layout_11 .poster{width:clamp(100px,12vw,170px)!important;height:clamp(150px,18vw,255px)!important}.auto_ads_layout_11 .text h1{font-size:clamp(18px,2vw,30px)!important}.auto_ads_layout_11 .text p{-webkit-line-clamp:5!important;text-align:center!important}
.auto_ads_layout_12 .info-card{left:auto!important;right:3%!important;bottom:8%!important;top:auto!important;transform:none!important;width:min(480px,36%)!important;display:flex!important;flex-direction:column!important;border:2px solid #34a853!important;background:rgba(0,0,0,.28)!important}.auto_ads_layout_12 .poster{display:none!important}.auto_ads_layout_12 .text p{-webkit-line-clamp:7!important}.auto_ads_layout_12 .meta:after{content:'  •  RUOLI / CAST';color:#fff;background:rgba(255,255,255,.15);border-radius:12px;padding:2px 8px}
.auto_ads_layout_13 .info-card{left:auto!important;right:4%!important;bottom:5%!important;top:auto!important;transform:none!important;width:min(480px,35%)!important;display:flex!important;flex-direction:column!important;border:3px solid #ff9d00!important;background:rgba(0,0,0,.31)!important;text-align:center!important}.auto_ads_layout_13 .poster{display:none!important}.auto_ads_layout_13 .text h1{color:#fff!important;text-transform:uppercase}.auto_ads_layout_13 .text p{-webkit-line-clamp:7!important}
.auto_ads_layout_14 .info-card{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(1160px,86%)!important;min-height:min(320px,38vh)!important;flex-direction:row!important;background:rgba(20,20,20,.68)!important;border:0!important;border-radius:12px!important}.auto_ads_layout_14 .poster{width:clamp(130px,15vw,240px)!important;height:clamp(195px,22.5vw,360px)!important}.auto_ads_layout_14 .text h1{color:#fff!important}.auto_ads_layout_14 .text p{-webkit-line-clamp:8!important}
@media(max-width:900px){.preview[class*="auto_ads_layout_"] .info-card{left:50%!important;right:auto!important;top:auto!important;bottom:5%!important;transform:translateX(-50%)!important;width:94%!important;flex-direction:row!important;padding:12px!important;gap:12px!important}.preview[class*="auto_ads_layout_"] .poster{width:80px!important;height:120px!important}.preview[class*="auto_ads_layout_"] .text h1{font-size:17px!important}.preview[class*="auto_ads_layout_"] .text p{font-size:11px!important;-webkit-line-clamp:5!important}.auto_ads_layout_3 .info-card{display:none!important}.auto_ads_layout_10 .info-card{width:34%!important;right:0!important;left:auto!important;bottom:0!important;top:0!important;height:100%!important;transform:none!important;flex-direction:column!important}.auto_ads_layout_10 .poster{width:70px!important;height:105px!important}}


/* === GENNY FIX: ACTIVE LAYOUT GEMELLI 0-14 + SPECIAL 15-24 === */
.preview[class*="auto_ads_layout_"], .preview[class*="special_layout_"]{background:#000!important}
.preview[class*="auto_ads_layout_"] .backdrop,.preview[class*="special_layout_"] .backdrop{filter:brightness(96%) saturate(110%) blur(0)!important;transform:scale(1)!important;background-position:center!important}
.preview[class*="auto_ads_layout_"] .shade,.preview[class*="special_layout_"] .shade{background:linear-gradient(90deg,rgba(0,0,0,.20),rgba(0,0,0,.02),rgba(0,0,0,.16))!important}
.preview[class*="auto_ads_layout_"] .info-card,.preview[class*="special_layout_"] .info-card{min-height:0!important;background:rgba(22,22,16,.46)!important;border:1px solid rgba(255,255,255,.55)!important;box-shadow:0 18px 60px rgba(0,0,0,.35)!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;border-radius:16px!important;padding:clamp(13px,1.8vw,28px)!important;gap:clamp(12px,1.8vw,26px)!important;overflow:hidden!important}
.preview[class*="auto_ads_layout_"] .poster,.preview[class*="special_layout_"] .poster{width:clamp(95px,12vw,185px)!important;height:clamp(142px,18vw,278px)!important;border-radius:13px!important;object-fit:cover!important;box-shadow:0 0 22px rgba(255,255,255,.25),0 20px 46px rgba(0,0,0,.48)!important}
.preview[class*="auto_ads_layout_"] .text h1,.preview[class*="special_layout_"] .text h1{color:#ffe900!important;font-size:clamp(18px,2.5vw,42px)!important;line-height:1.05!important;margin:0 0 8px!important;text-shadow:0 2px 14px #000!important}
.preview[class*="auto_ads_layout_"] .text p,.preview[class*="special_layout_"] .text p{font-size:clamp(10px,1vw,15px)!important;line-height:1.42!important;color:#fff!important;text-shadow:0 2px 10px #000!important;-webkit-line-clamp:7!important;max-width:760px!important}
.preview[class*="auto_ads_layout_"] .meta,.preview[class*="special_layout_"] .meta{font-size:clamp(8px,.78vw,12px)!important;gap:8px!important;color:#f6d550!important;letter-spacing:.3px!important}
.auto_ads_layout_0 .info-card{right:6%!important;left:auto!important;top:50%!important;transform:translateY(-50%)!important;width:min(620px,42%)!important;background:transparent!important;border:0!important;box-shadow:none!important;text-align:right!important}.auto_ads_layout_0 .poster,.auto_ads_layout_0 .logo{display:none!important}.auto_ads_layout_0 .text p{margin-left:auto!important;max-width:460px!important}.auto_ads_layout_0 .meta{justify-content:flex-end!important}
.auto_ads_layout_1 .info-card{left:3%!important;top:8%!important;transform:none!important;width:min(465px,38%)!important;display:block!important;background:rgba(0,0,0,.30)!important;border:0!important}.auto_ads_layout_1 .poster{display:none!important}.auto_ads_layout_1 .logo{display:block!important;max-width:100%!important;max-height:180px!important}.auto_ads_layout_1 .text h1{color:#fff!important;text-transform:uppercase!important;font-size:clamp(30px,4.6vw,72px)!important}.auto_ads_layout_1 .text p{-webkit-line-clamp:9!important}
.auto_ads_layout_2 .info-card{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(920px,72%)!important;flex-direction:row-reverse!important;background:rgba(0,0,0,.42)!important}.auto_ads_layout_2 .poster{width:clamp(120px,15vw,220px)!important;height:clamp(180px,22.5vw,330px)!important}
.auto_ads_layout_3 .info-card{display:none!important}.auto_ads_layout_3 .shade{background:linear-gradient(90deg,rgba(0,0,0,.06),transparent,rgba(0,0,0,.04))!important}
.auto_ads_layout_4 .info-card{left:50%!important;bottom:7%!important;top:auto!important;transform:translateX(-50%)!important;width:min(1040px,76%)!important;min-height:115px!important;background:rgba(0,0,0,.66)!important;border-radius:10px!important}.auto_ads_layout_4 .poster,.auto_ads_layout_4 .logo{display:none!important}.auto_ads_layout_4 .text p{-webkit-line-clamp:3!important}
.auto_ads_layout_5 .info-card{left:3%!important;top:4%!important;transform:none!important;width:min(430px,34%)!important;display:flex!important;flex-direction:column!important;text-align:center!important;background:rgba(0,0,0,.38)!important}.auto_ads_layout_5 .poster{width:clamp(120px,15vw,230px)!important;height:clamp(180px,22.5vw,345px)!important}.auto_ads_layout_5 .text p{-webkit-line-clamp:8!important}
.auto_ads_layout_6 .info-card{left:3%!important;top:6%!important;transform:none!important;width:min(360px,28%)!important;display:flex!important;flex-direction:column!important;text-align:center!important;border-color:#ff9d00!important}.auto_ads_layout_6 .poster{width:clamp(110px,13vw,205px)!important;height:clamp(165px,19.5vw,307px)!important}.auto_ads_layout_6 .text p{-webkit-line-clamp:6!important;font-size:clamp(9px,.82vw,12px)!important}
.auto_ads_layout_7 .info-card{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(430px,32%)!important;display:flex!important;flex-direction:column!important;text-align:center!important;border-color:#ffb300!important}.auto_ads_layout_7 .poster{width:clamp(160px,21vw,320px)!important;height:clamp(240px,31.5vw,480px)!important}.auto_ads_layout_7 .text p{-webkit-line-clamp:5!important;font-size:clamp(10px,.85vw,13px)!important}
.auto_ads_layout_8 .info-card{right:3%!important;left:auto!important;top:12%!important;transform:none!important;width:min(500px,37%)!important;border:3px solid #23b536!important;background:rgba(0,0,0,.35)!important;flex-direction:column!important}.auto_ads_layout_8 .poster{display:none!important}.auto_ads_layout_8 .text h1{color:#fff!important;text-transform:uppercase!important}.auto_ads_layout_8 .text p{-webkit-line-clamp:8!important}
.auto_ads_layout_9 .info-card{left:52%!important;top:52%!important;transform:translate(-50%,-50%)!important;width:min(840px,64%)!important;border:3px solid #23b536!important;background:rgba(0,0,0,.34)!important;flex-direction:row-reverse!important}.auto_ads_layout_9 .poster{width:clamp(105px,12vw,180px)!important;height:clamp(158px,18vw,270px)!important}.auto_ads_layout_9 .text p{-webkit-line-clamp:6!important}
.auto_ads_layout_10 .info-card{right:0!important;left:auto!important;top:0!important;bottom:0!important;transform:none!important;width:22%!important;height:100%!important;border:0!important;border-radius:0!important;background:#000!important;display:flex!important;flex-direction:column!important;justify-content:center!important;text-align:center!important}.auto_ads_layout_10 .poster{width:clamp(88px,9vw,150px)!important;height:clamp(132px,13.5vw,225px)!important}.auto_ads_layout_10 .text h1{font-size:clamp(13px,1.25vw,20px)!important}.auto_ads_layout_10 .text p{font-size:clamp(8px,.68vw,11px)!important;-webkit-line-clamp:8!important}
.auto_ads_layout_11 .info-card{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(760px,58%)!important;flex-direction:row!important;background:rgba(0,0,0,.34)!important;border-color:rgba(255,255,255,.78)!important}.auto_ads_layout_11 .poster{width:clamp(100px,11vw,170px)!important;height:clamp(150px,16.5vw,255px)!important}.auto_ads_layout_11 .text p{-webkit-line-clamp:5!important;text-align:center!important}
.auto_ads_layout_12 .info-card{right:3%!important;left:auto!important;bottom:8%!important;top:auto!important;transform:none!important;width:min(480px,36%)!important;display:flex!important;flex-direction:column!important;border:2px solid #34a853!important;background:rgba(0,0,0,.28)!important}.auto_ads_layout_12 .poster{display:none!important}.auto_ads_layout_12 .meta:after{content:' • RUOLI / CAST';color:#fff;background:rgba(255,255,255,.15);border-radius:12px;padding:2px 8px}
.auto_ads_layout_13 .info-card{right:4%!important;left:auto!important;bottom:5%!important;top:auto!important;transform:none!important;width:min(480px,35%)!important;display:flex!important;flex-direction:column!important;border:3px solid #ff9d00!important;background:rgba(0,0,0,.31)!important;text-align:center!important}.auto_ads_layout_13 .poster{display:none!important}.auto_ads_layout_13 .text h1{color:#fff!important;text-transform:uppercase!important}
.auto_ads_layout_14 .info-card{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(1160px,86%)!important;min-height:min(320px,38vh)!important;flex-direction:row!important;background:rgba(20,20,20,.68)!important;border:0!important;border-radius:12px!important}.auto_ads_layout_14 .poster{width:clamp(130px,15vw,240px)!important;height:clamp(195px,22.5vw,360px)!important}.auto_ads_layout_14 .text h1{color:#fff!important}
.special_layout_15 .info-card{right:5%!important;bottom:7%!important;left:auto!important;top:auto!important;transform:none!important;width:min(560px,40%)!important;background:rgba(255,255,255,.12)!important}.special_layout_16 .info-card{left:50%!important;bottom:5%!important;top:auto!important;transform:translateX(-50%)!important;width:min(1200px,88%)!important;background:rgba(255,255,255,.14)!important}.special_layout_17 .info-card{left:8%!important;top:50%!important;transform:translateY(-50%)!important;width:min(820px,58%)!important;border-color:#ffd34a!important}.special_layout_18 .info-card{left:50%!important;top:12%!important;transform:translateX(-50%)!important;width:min(760px,56%)!important;background:transparent!important;border:0!important;box-shadow:none!important;text-align:center!important}.special_layout_18 .poster,.special_layout_18 .text p{display:none!important}.special_layout_19 .info-card{left:4%!important;top:8%!important;transform:none!important;width:min(650px,48%)!important;background:rgba(255,255,255,.10)!important}.special_layout_20 .info-card{left:50%!important;bottom:8%!important;top:auto!important;transform:translateX(-50%)!important;width:min(900px,66%)!important;background:rgba(0,0,0,.36)!important}.special_layout_21 .info-card{right:4%!important;left:auto!important;top:8%!important;transform:none!important;width:min(430px,31%)!important;background:rgba(0,0,0,.30)!important}.special_layout_21 .poster{width:100px!important;height:150px!important}.special_layout_22 .info-card{left:4%!important;bottom:10%!important;top:auto!important;transform:none!important;width:min(520px,38%)!important;background:rgba(255,255,255,.12)!important}.special_layout_23 .info-card{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(760px,55%)!important;background:rgba(0,0,0,.18)!important;text-align:center!important;justify-content:center!important}.special_layout_23 .poster{display:none!important}.special_layout_24 .info-card{right:6%!important;left:auto!important;top:50%!important;transform:translateY(-50%)!important;width:min(620px,42%)!important;background:rgba(12,12,12,.52)!important;border-color:#ff9d00!important}
@media(max-width:900px){.preview[class*="auto_ads_layout_"] .info-card,.preview[class*="special_layout_"] .info-card{left:50%!important;right:auto!important;top:auto!important;bottom:5%!important;transform:translateX(-50%)!important;width:94%!important;height:auto!important;max-height:205px!important;flex-direction:row!important;padding:12px!important;gap:12px!important}.preview[class*="auto_ads_layout_"] .poster,.preview[class*="special_layout_"] .poster{width:70px!important;height:105px!important}.preview[class*="auto_ads_layout_"] .text h1,.preview[class*="special_layout_"] .text h1{font-size:17px!important}.preview[class*="auto_ads_layout_"] .text p,.preview[class*="special_layout_"] .text p{font-size:11px!important;-webkit-line-clamp:5!important}.auto_ads_layout_3 .info-card{display:none!important}.auto_ads_layout_10 .info-card{width:34%!important;right:0!important;left:auto!important;bottom:0!important;top:0!important;height:100%!important;transform:none!important;flex-direction:column!important}.special_layout_18 .poster,.special_layout_18 .text p{display:none!important}}


/* === FIX RICHIESTO GENNY: poster più piccoli nei layout senza rompere sistema === */
.preview[class*="auto_ads_layout_"] .poster,
.preview[class*="special_layout_"] .poster{
    width:clamp(58px,8.5vw,135px)!important;
    height:clamp(87px,12.75vw,203px)!important;
    min-width:58px!important;
    object-fit:cover!important;
}
.auto_ads_layout_2 .poster,
.auto_ads_layout_5 .poster,
.auto_ads_layout_6 .poster,
.auto_ads_layout_7 .poster,
.auto_ads_layout_9 .poster,
.auto_ads_layout_11 .poster,
.auto_ads_layout_14 .poster,
.special_layout_21 .poster{
    width:clamp(62px,8.8vw,140px)!important;
    height:clamp(93px,13.2vw,210px)!important;
}
.auto_ads_layout_10 .poster{
    width:clamp(54px,6.5vw,98px)!important;
    height:clamp(81px,9.75vw,147px)!important;
}
.preview[class*="auto_ads_layout_"] .info-card,
.preview[class*="special_layout_"] .info-card{
    gap:clamp(8px,1.3vw,18px)!important;
}
.preview[class*="auto_ads_layout_"] .text p,
.preview[class*="special_layout_"] .text p{
    font-size:clamp(10px,1.02vw,15px)!important;
    line-height:1.45!important;
    -webkit-line-clamp:7!important;
}
@media(max-width:900px){
  .preview[class*="auto_ads_layout_"] .poster,
  .preview[class*="special_layout_"] .poster{width:52px!important;height:78px!important;}
}

.layout-guide{
position:absolute;
inset:0;
pointer-events:none;
opacity:calc(var(--guideOpacity,16) / 100);
background-size:contain;
background-position:center;
background-repeat:no-repeat;
mix-blend-mode:screen;
z-index:2;
}

/* FIX GENNY: brightness e regolazione TMDB sempre attivi anche sugli ACTIVE LAYOUT. */
.preview .backdrop{
  background-size:var(--tmdbZoom,115%) auto!important;
  background-position:var(--tmdbX,50%) var(--tmdbY,50%)!important;
  filter:brightness(var(--brightness)) blur(2px)!important;
}
.layout-guide{opacity:calc(var(--guideOpacity,16) / 100)!important;pointer-events:none!important;}

/* === FIX DEFINITIVO GENNY: ACTIVE LAYOUT usa foto come guida, TMDB resta regolabile ===
   Questa regola sta in fondo ed ha la stessa/ maggiore priorità delle vecchie regole ACTIVE LAYOUT. */
.preview[class*="auto_ads_layout_"] .backdrop,
.preview[class*="special_layout_"] .backdrop,
.preview .backdrop{
  background-size:var(--tmdbZoom,100%) auto!important;
  background-position:var(--tmdbX,50%) var(--tmdbY,50%)!important;
  filter:brightness(var(--brightness,65%)) saturate(110%) blur(0)!important;
  transform:scale(1)!important;
}
.layout-guide{
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  opacity:calc(var(--guideOpacity,16) / 100)!important;
  background-size:100% 100%!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  mix-blend-mode:screen!important;
  z-index:2!important;
}
.preview .shade,.preview .info-card,.preview .mini-stack,.preview .watermark{position:absolute}


/* === FIX DEFINITIVO GENNY: ACTIVE LAYOUT segue la foto selezionata ===
   Non tocca BRIGNESS. Serve solo a fare rispettare X/Y/ZOOM TMDB anche sui layout ACTIVE.
*/
.preview[class*="auto_ads_layout_"] .backdrop,
.preview[class*="special_layout_"] .backdrop{
  background-size:var(--tmdbZoom,115%) auto!important;
  background-position:var(--tmdbX,50%) var(--tmdbY,50%)!important;
  filter:brightness(var(--brightness,65%)) saturate(110%) blur(0)!important;
  transform:scale(1)!important;
}

/* La foto guida resta solo riferimento leggero e non sostituisce il TMDB */
.layout-guide{
  pointer-events:none!important;
  mix-blend-mode:screen;
  opacity:calc(var(--guideOpacity,16) / 100)!important;
}


/* === FIX FINALE ACTIVE LAYOUT - TMDB SI ADEGUA ALLO STILE DELLA FOTO ===
   Brightness resta invariato. La foto ACTIVE LAYOUT è una guida grafica sopra il TMDB,
   mentre il TMDB sotto prende X/Y/ZOOM diversi per ogni stile. */
.preview[class*="auto_ads_layout_"] .backdrop,
.preview[class*="special_layout_"] .backdrop{
  background-size:var(--tmdbZoom,125%) auto!important;
  background-position:var(--tmdbX,50%) var(--tmdbY,50%)!important;
  filter:brightness(var(--brightness,65%)) saturate(112%) contrast(104%) blur(0)!important;
  transform:scale(1)!important;
}
.layout-guide{
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  opacity:calc(var(--guideOpacity,28) / 100)!important;
  mix-blend-mode:soft-light!important;
  z-index:1!important;
}
.preview .shade{z-index:2!important}
.preview .info-card,.preview .mini-stack,.preview .watermark{z-index:3!important}

/* === GENNY FIX REALE ACTIVE LAYOUT: ogni foto comanda il taglio TMDB ===
   BRIGNESS resta funzionante. Qui il TMDB non resta generico: cambia posizione,
   zoom e anche fonte sfondo quando lo stile della foto usa poster/montaggio. */
.preview[class*="auto_ads_layout_"] .backdrop,
.preview[class*="special_layout_"] .backdrop{
  background-position:var(--tmdbX,50%) var(--tmdbY,50%)!important;
  background-size:var(--tmdbZoom,120%) auto!important;
  filter:brightness(var(--brightness,65%)) saturate(112%) contrast(104%) blur(0)!important;
  transform:scale(1)!important;
}
.auto_ads_layout_7 .backdrop{
  background-repeat:repeat-x!important;
  background-size:auto var(--tmdbZoom,92%)!important;
  background-position:center center!important;
}
.auto_ads_layout_4 .backdrop{
  background-size:cover!important;
  background-position:center center!important;
}
.layout-guide{
  opacity:calc(var(--guideOpacity,0) / 100)!important;
  pointer-events:none!important;
  z-index:1!important;
}


/* =========================================================
   GENNY FIX DEFINITIVO ACTIVE LAYOUT STILE FOTO
   Ogni thumbnail ACTIVE LAYOUT comanda DAVVERO grafica, taglio e posizione.
   BRIGNESS resta collegato a --brightness.
   ========================================================= */
.preview.auto_ads_layout_0 .backdrop{background-size:var(--tmdbZoom,122%) auto!important;background-position:var(--tmdbX,58%) var(--tmdbY,50%)!important;filter:brightness(var(--brightness,65%)) saturate(112%) contrast(104%)!important;transform:scale(1)!important}.preview.auto_ads_layout_0 .shade{background:linear-gradient(90deg,rgba(0,0,0,.08) 0%,rgba(0,0,0,.18) 45%,rgba(0,0,0,.74) 100%)!important}.preview.auto_ads_layout_0 .info-card{right:5%!important;left:auto!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;width:min(620px,42%)!important;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;text-align:right!important;display:block!important;padding:0!important}.preview.auto_ads_layout_0 .poster,.preview.auto_ads_layout_0 .logo{display:none!important}.preview.auto_ads_layout_0 .text p{margin-left:auto!important;max-width:460px!important}
.preview.auto_ads_layout_1 .backdrop{background-size:var(--tmdbZoom,134%) auto!important;background-position:var(--tmdbX,68%) var(--tmdbY,48%)!important;filter:brightness(var(--brightness,65%)) saturate(118%) contrast(106%)!important}.preview.auto_ads_layout_1 .shade{background:linear-gradient(90deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.38) 42%,rgba(0,0,0,.08) 100%)!important}.preview.auto_ads_layout_1 .info-card{left:3.5%!important;right:auto!important;top:8%!important;bottom:auto!important;transform:none!important;width:min(520px,40%)!important;background:rgba(0,0,0,.18)!important;border:0!important;box-shadow:none!important;display:block!important;text-align:left!important}.preview.auto_ads_layout_1 .poster{display:none!important}.preview.auto_ads_layout_1 .text h1{text-transform:uppercase!important;color:#fff!important;font-size:clamp(34px,5vw,74px)!important}
.preview.auto_ads_layout_2 .backdrop{background-size:var(--tmdbZoom,122%) auto!important;background-position:var(--tmdbX,48%) var(--tmdbY,50%)!important}.preview.auto_ads_layout_2 .shade{background:radial-gradient(circle at 50% 50%,rgba(0,0,0,.08),rgba(0,0,0,.72))!important}.preview.auto_ads_layout_2 .info-card{left:50%!important;right:auto!important;top:50%!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:min(920px,72%)!important;flex-direction:row-reverse!important;background:rgba(0,0,0,.42)!important;border:1px solid rgba(255,255,255,.42)!important;box-shadow:0 18px 65px rgba(0,0,0,.42)!important}.preview.auto_ads_layout_2 .poster{display:block!important;width:clamp(120px,13vw,210px)!important;height:clamp(180px,19.5vw,315px)!important}
.preview.auto_ads_layout_3 .backdrop{background-size:cover!important;background-position:var(--tmdbX,50%) var(--tmdbY,50%)!important;filter:brightness(var(--brightness,65%)) saturate(116%) contrast(106%)!important}.preview.auto_ads_layout_3 .shade{background:linear-gradient(to top,rgba(0,0,0,.18),transparent 45%,rgba(0,0,0,.08))!important}.preview.auto_ads_layout_3 .info-card{display:none!important}
.preview.auto_ads_layout_4 .backdrop{background-size:cover!important;background-position:center center!important;filter:brightness(var(--brightness,65%)) saturate(112%) contrast(105%)!important}.preview.auto_ads_layout_4 .shade{background:linear-gradient(to top,rgba(0,0,0,.86) 0%,rgba(0,0,0,.34) 36%,transparent 82%)!important}.preview.auto_ads_layout_4 .info-card{left:50%!important;right:auto!important;top:auto!important;bottom:6%!important;transform:translateX(-50%)!important;width:min(1060px,78%)!important;min-height:118px!important;background:rgba(0,0,0,.68)!important;border:0!important;border-radius:10px!important;box-shadow:0 15px 40px rgba(0,0,0,.45)!important}.preview.auto_ads_layout_4 .poster{display:none!important}
.preview.auto_ads_layout_5 .backdrop{background-size:var(--tmdbZoom,130%) auto!important;background-position:var(--tmdbX,62%) var(--tmdbY,50%)!important}.preview.auto_ads_layout_5 .shade{background:linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.22),rgba(0,0,0,.08))!important}.preview.auto_ads_layout_5 .info-card{left:3%!important;right:auto!important;top:4%!important;bottom:auto!important;transform:none!important;width:min(430px,34%)!important;flex-direction:column!important;text-align:center!important;background:rgba(0,0,0,.38)!important;border:1px solid rgba(255,255,255,.35)!important}.preview.auto_ads_layout_5 .poster{display:block!important;width:clamp(120px,11vw,190px)!important;height:clamp(180px,16.5vw,285px)!important}
.preview.auto_ads_layout_6 .backdrop{background-size:var(--tmdbZoom,138%) auto!important;background-position:var(--tmdbX,58%) var(--tmdbY,47%)!important}.preview.auto_ads_layout_6 .shade{background:linear-gradient(90deg,rgba(0,0,0,.80),rgba(0,0,0,.25),rgba(0,0,0,.08))!important}.preview.auto_ads_layout_6 .info-card{left:3%!important;right:auto!important;top:6%!important;bottom:auto!important;transform:none!important;width:min(370px,29%)!important;flex-direction:column!important;text-align:center!important;border:2px solid #ff9d00!important;background:rgba(0,0,0,.42)!important}.preview.auto_ads_layout_6 .poster{display:block!important;width:clamp(100px,10vw,172px)!important;height:clamp(150px,15vw,258px)!important}
.preview.auto_ads_layout_7 .backdrop{background-image:var(--activeBg)!important;background-size:auto var(--tmdbZoom,96%)!important;background-repeat:repeat-x!important;background-position:var(--tmdbX,50%) var(--tmdbY,50%)!important;filter:brightness(var(--brightness,65%)) saturate(118%) contrast(108%)!important}.preview.auto_ads_layout_7 .shade{background:radial-gradient(circle at center,rgba(0,0,0,.06),rgba(0,0,0,.72))!important}.preview.auto_ads_layout_7 .info-card{left:50%!important;right:auto!important;top:50%!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:min(430px,32%)!important;flex-direction:column!important;text-align:center!important;border:2px solid #ffb300!important;background:rgba(0,0,0,.45)!important}.preview.auto_ads_layout_7 .poster{display:block!important;width:clamp(145px,15vw,250px)!important;height:clamp(218px,22.5vw,375px)!important}
.preview.auto_ads_layout_8 .backdrop{background-size:var(--tmdbZoom,126%) auto!important;background-position:var(--tmdbX,42%) var(--tmdbY,50%)!important}.preview.auto_ads_layout_8 .shade{background:linear-gradient(90deg,rgba(0,0,0,.10),rgba(0,0,0,.20),rgba(0,0,0,.72))!important}.preview.auto_ads_layout_8 .info-card{right:3%!important;left:auto!important;top:12%!important;bottom:auto!important;transform:none!important;width:min(500px,37%)!important;flex-direction:column!important;border:3px solid #23b536!important;background:rgba(0,0,0,.35)!important}.preview.auto_ads_layout_8 .poster{display:none!important}
.preview.auto_ads_layout_9 .backdrop{background-size:var(--tmdbZoom,124%) auto!important;background-position:var(--tmdbX,48%) var(--tmdbY,50%)!important}.preview.auto_ads_layout_9 .shade{background:radial-gradient(circle at 52% 52%,rgba(0,0,0,.05),rgba(0,0,0,.68))!important}.preview.auto_ads_layout_9 .info-card{left:52%!important;right:auto!important;top:52%!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:min(840px,64%)!important;flex-direction:row-reverse!important;border:3px solid #23b536!important;background:rgba(0,0,0,.34)!important}.preview.auto_ads_layout_9 .poster{display:block!important;width:clamp(110px,11vw,180px)!important;height:clamp(165px,16.5vw,270px)!important}
.preview.auto_ads_layout_10 .backdrop{background-size:var(--tmdbZoom,122%) auto!important;background-position:var(--tmdbX,36%) var(--tmdbY,50%)!important}.preview.auto_ads_layout_10 .shade{background:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.05) 70%,rgba(0,0,0,1) 78%)!important}.preview.auto_ads_layout_10 .info-card{right:0!important;left:auto!important;top:0!important;bottom:0!important;transform:none!important;width:22%!important;height:100%!important;border:0!important;border-radius:0!important;background:#000!important;flex-direction:column!important;justify-content:center!important;text-align:center!important}.preview.auto_ads_layout_10 .poster{display:block!important;width:clamp(72px,7vw,125px)!important;height:clamp(108px,10.5vw,188px)!important}
.preview.auto_ads_layout_11 .backdrop{background-size:var(--tmdbZoom,122%) auto!important;background-position:var(--tmdbX,52%) var(--tmdbY,49%)!important}.preview.auto_ads_layout_11 .shade{background:radial-gradient(circle at center,rgba(255,255,255,.02),rgba(0,0,0,.68))!important}.preview.auto_ads_layout_11 .info-card{left:50%!important;right:auto!important;top:50%!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:min(760px,58%)!important;background:rgba(0,0,0,.34)!important;border-color:rgba(255,255,255,.78)!important}.preview.auto_ads_layout_11 .poster{display:block!important;width:clamp(120px,12vw,200px)!important;height:clamp(180px,18vw,300px)!important}
.preview.auto_ads_layout_12 .backdrop{background-size:var(--tmdbZoom,126%) auto!important;background-position:var(--tmdbX,42%) var(--tmdbY,50%)!important}.preview.auto_ads_layout_12 .shade{background:linear-gradient(90deg,rgba(0,0,0,.08),rgba(0,0,0,.24),rgba(0,0,0,.68))!important}.preview.auto_ads_layout_12 .info-card{right:3%!important;left:auto!important;top:auto!important;bottom:8%!important;transform:none!important;width:min(480px,36%)!important;flex-direction:column!important;border:2px solid #34a853!important;background:rgba(0,0,0,.28)!important}.preview.auto_ads_layout_12 .poster{display:none!important}
.preview.auto_ads_layout_13 .backdrop{background-size:var(--tmdbZoom,126%) auto!important;background-position:var(--tmdbX,45%) var(--tmdbY,50%)!important}.preview.auto_ads_layout_13 .shade{background:linear-gradient(90deg,rgba(0,0,0,.12),rgba(0,0,0,.28),rgba(0,0,0,.72))!important}.preview.auto_ads_layout_13 .info-card{right:4%!important;left:auto!important;top:auto!important;bottom:5%!important;transform:none!important;width:min(480px,35%)!important;flex-direction:column!important;border:3px solid #ff9d00!important;background:rgba(0,0,0,.31)!important;text-align:center!important}.preview.auto_ads_layout_13 .poster{display:none!important}
.preview.auto_ads_layout_14 .backdrop{background-size:var(--tmdbZoom,126%) auto!important;background-position:var(--tmdbX,50%) var(--tmdbY,50%)!important}.preview.auto_ads_layout_14 .shade{background:radial-gradient(circle at 50% 50%,rgba(0,0,0,.05),rgba(0,0,0,.72))!important}.preview.auto_ads_layout_14 .info-card{left:50%!important;right:auto!important;top:50%!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:min(1160px,86%)!important;min-height:min(320px,38vh)!important;background:rgba(20,20,20,.68)!important;border:0!important;border-radius:12px!important}.preview.auto_ads_layout_14 .poster{display:block!important;width:clamp(130px,14vw,220px)!important;height:clamp(195px,21vw,330px)!important}
.preview[class*="special_layout_"] .backdrop{background-size:var(--tmdbZoom,124%) auto!important;background-position:var(--tmdbX,50%) var(--tmdbY,50%)!important;filter:brightness(var(--brightness,65%)) saturate(112%) contrast(104%)!important}.preview[class*="special_layout_"] .info-card{background:rgba(0,0,0,.36)!important}
.preview .layout-guide{opacity:calc(var(--guideOpacity,0) / 100)!important;pointer-events:none!important;z-index:1!important}
.preview .shade{z-index:2!important}.preview .info-card,.preview .mini-stack,.preview .watermark{z-index:3!important}

/* FIX PRECISO ACTIVE LAYOUT: la foto selezionata non sostituisce il TMDB.
   Serve solo a trasferire luce/contrasto/stile grafico della miniatura sul TMDB dinamico. */
.preview .layout-style-skin{
  position:absolute!important;
  inset:0!important;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  opacity:calc(var(--layoutSkinOpacity,0) / 100)!important;
  mix-blend-mode:soft-light!important;
  pointer-events:none!important;
  z-index:1!important;
  filter:saturate(1.08) contrast(1.04)!important;
}
.preview .layout-guide{
  position:absolute!important;
  inset:0!important;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  opacity:calc(var(--guideOpacity,0) / 100)!important;
  pointer-events:none!important;
  z-index:1!important;
}
.preview .backdrop{z-index:0!important;}
.preview .shade{z-index:2!important;}
.preview .info-card,.preview .mini-stack,.preview .watermark{z-index:3!important;}

/* Taglio TMDB più fedele alle 15 foto Auto Ads originali */
.preview.auto_ads_layout_0 .backdrop{background-size:var(--tmdbZoom,116%) auto!important;background-position:var(--tmdbX,52%) var(--tmdbY,48%)!important;}
.preview.auto_ads_layout_1 .backdrop{background-size:var(--tmdbZoom,134%) auto!important;background-position:var(--tmdbX,67%) var(--tmdbY,47%)!important;}
.preview.auto_ads_layout_2 .backdrop{background-size:var(--tmdbZoom,118%) auto!important;background-position:var(--tmdbX,51%) var(--tmdbY,50%)!important;}
.preview.auto_ads_layout_3 .backdrop{background-size:cover!important;background-position:var(--tmdbX,50%) var(--tmdbY,49%)!important;}
.preview.auto_ads_layout_4 .backdrop{background-size:var(--tmdbZoom,112%) auto!important;background-position:var(--tmdbX,50%) var(--tmdbY,50%)!important;}
.preview.auto_ads_layout_5 .backdrop{background-size:var(--tmdbZoom,128%) auto!important;background-position:var(--tmdbX,62%) var(--tmdbY,49%)!important;}
.preview.auto_ads_layout_6 .backdrop{background-size:var(--tmdbZoom,112%) auto!important;background-position:var(--tmdbX,50%) var(--tmdbY,48%)!important;}
.preview.auto_ads_layout_7 .backdrop{background-size:auto var(--tmdbZoom,96%)!important;background-position:var(--tmdbX,50%) var(--tmdbY,50%)!important;}
.preview.auto_ads_layout_8 .backdrop{background-size:var(--tmdbZoom,122%) auto!important;background-position:var(--tmdbX,38%) var(--tmdbY,49%)!important;}
.preview.auto_ads_layout_9 .backdrop{background-size:var(--tmdbZoom,118%) auto!important;background-position:var(--tmdbX,46%) var(--tmdbY,50%)!important;}
.preview.auto_ads_layout_10 .backdrop{background-size:var(--tmdbZoom,120%) auto!important;background-position:var(--tmdbX,34%) var(--tmdbY,50%)!important;}
.preview.auto_ads_layout_11 .backdrop{background-size:var(--tmdbZoom,112%) auto!important;background-position:var(--tmdbX,50%) var(--tmdbY,49%)!important;}
.preview.auto_ads_layout_12 .backdrop{background-size:var(--tmdbZoom,122%) auto!important;background-position:var(--tmdbX,40%) var(--tmdbY,50%)!important;}
.preview.auto_ads_layout_13 .backdrop{background-size:var(--tmdbZoom,116%) auto!important;background-position:var(--tmdbX,46%) var(--tmdbY,50%)!important;}
.preview.auto_ads_layout_14 .backdrop{background-size:var(--tmdbZoom,114%) auto!important;background-position:var(--tmdbX,50%) var(--tmdbY,50%)!important;}

/* FIX FINALE GENNY - ACTIVE LAYOUT PRECISO + ATTORI TMDB */
.preview .backdrop{background-size:var(--tmdbZoom) auto!important;background-position:var(--tmdbX) var(--tmdbY)!important;filter:brightness(var(--brightness)) saturate(1.08)!important;}
.layout-guide,.layout-style-skin{pointer-events:none!important;}
.layout-guide{opacity:var(--guideOpacity,0)!important;mix-blend-mode:normal!important;}
.layout-style-skin{opacity:0!important;display:none!important;}
.actor-strip{position:absolute;z-index:9;gap:10px;align-items:center;pointer-events:none;filter:drop-shadow(0 8px 18px rgba(0,0,0,.55));}
.actor-strip .actor{width:64px;text-align:center;color:#fff;font-size:10px;font-weight:800;text-shadow:0 2px 8px #000;}
.actor-strip .actor img{width:54px;height:54px;object-fit:cover;border-radius:50%;border:2px solid rgba(255,255,255,.85);box-shadow:0 0 0 3px rgba(0,0,0,.25),0 8px 18px rgba(0,0,0,.55);background:#111;}
.actor-strip.bottom-right{right:5%;bottom:5%;}
.actor-strip.bottom-left{left:6%;bottom:6%;}
.actor-strip.inside-card{right:5%;bottom:8%;}
.actor-strip.bottom-card{right:7%;bottom:6%;}
.preview:not(.has-cast) .actor-strip{display:none!important;}
.auto_ads_layout_5 .actor-strip,.auto_ads_layout_6 .actor-strip,.auto_ads_layout_12 .actor-strip,.auto_ads_layout_13 .actor-strip,.special_layout_22 .actor-strip,.special_layout_24 .actor-strip{display:flex;}
.auto_ads_layout_12 .actor-strip .actor,.auto_ads_layout_13 .actor-strip .actor{width:58px;}
.auto_ads_layout_12 .actor-strip .actor img,.auto_ads_layout_13 .actor-strip .actor img{width:48px;height:48px;border-color:#ffd86b;}
.auto_ads_layout_6 .actor-strip .actor img{border-color:#f6c765;}

/* Tagli più fedeli alle foto guida: il layout cambia il modo in cui il TMDB entra nello stile */
.preview.mode-hero-right .backdrop{background-size:128% auto!important;background-position:48% 47%!important;}
.preview.mode-hero-left .backdrop{background-size:132% auto!important;background-position:61% 47%!important;}
.preview.mode-clean .backdrop{background-size:126% auto!important;background-position:50% 48%!important;}
.preview.mode-trailer .backdrop{background-size:112% auto!important;background-position:50% 50%!important;}
.preview.mode-poster-left-cast .backdrop{background-size:132% auto!important;background-position:60% 49%!important;}
.preview.mode-green-right .backdrop{background-size:127% auto!important;background-position:48% 49%!important;}
.preview.mode-green-center-poster .backdrop{background-size:128% auto!important;background-position:48% 49%!important;}
.preview.mode-split-right .backdrop{background-size:128% auto!important;background-position:42% 49%!important;}
.preview.mode-glass-center .backdrop{background-size:122% auto!important;background-position:50% 45%!important;}
.preview.mode-green-cast-right .backdrop{background-size:130% auto!important;background-position:50% 49%!important;}
.preview.mode-orange-cast-right .backdrop{background-size:128% auto!important;background-position:49% 48%!important;}
.preview.mode-big-horizontal .backdrop{background-size:114% auto!important;background-position:50% 50%!important;}
.preview.mode-poster-center .backdrop{background-size:cover!important;background-position:center!important;}
.auto_ads_layout_7 .backdrop{background-image:var(--activeBg)!important;background-size:cover!important;background-position:center!important;}
