/* Dedicated, scoped surfaces: never inherit theme button colors or tiny card fonts. */
body .apel-geo,body .apel-evening{--live:#ff168d;--cyan:#1bd8e4;box-sizing:border-box;width:100%;min-width:0;margin:22px auto;padding:24px;border:1px solid #59304b;border-radius:18px;background:radial-gradient(ellipse at 85% 0,#29101f,transparent 52%),#090d14;color:#f5f6fb;font:15px/1.5 Arial,sans-serif;text-align:left}
body .apel-geo *,body .apel-evening *{box-sizing:border-box}
body .apel-geo h2,body .apel-evening h2{color:#fff;font:bold clamp(24px,3vw,36px)/1.15 Arial,sans-serif;margin:8px 0 12px}
body .apel-geo h3,body .apel-evening h3{color:#fff;font:bold 18px/1.3 Arial,sans-serif;margin:8px 0 12px;overflow-wrap:anywhere}
body .apel-geo p,body .apel-evening p{font:inherit;color:#c9d0de;margin:8px 0 14px}
body .apel-geo small,body .apel-evening small{font:12px/1.4 Arial,sans-serif;color:#aebbcf}
body .apel-geo button,body .apel-geo a:not(.leaflet-control a),body .apel-evening button,body .apel-evening a,body a.apel-community-open{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 14px;border:1px solid #41516a;border-radius:9px;background:#151f2e;color:#fff;font:700 13px/1.3 Arial,sans-serif;text-decoration:none;cursor:pointer;box-shadow:none;letter-spacing:normal;text-transform:none;white-space:normal;text-align:center}
body .apel-geo button:focus-visible,body .apel-evening button:focus-visible,body .apel-geo a:focus-visible,body .apel-evening a:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}
body .apel-geo .is-primary,body .apel-evening .is-primary,body a.apel-community-open{background:#d80072;border-color:#ff168d;color:#fff}
body .apel-geo button:disabled,body .apel-evening button:disabled{opacity:.55;cursor:wait}
body .apel-geo-heading{display:flex;align-items:start;justify-content:space-between;gap:18px}
body .apel-geo-heading>div{min-width:0}body .apel-geo-heading small{color:#ff62ad;letter-spacing:.08em}
body .apel-geo-filters{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto;align-items:end;gap:12px;margin:20px 0}
body .apel-geo label,body .apel-evening label{display:grid;gap:6px;color:#e1e7f2;font:14px/1.5 Arial,sans-serif}
body .apel-geo input,body .apel-geo select,body .apel-evening input:not([type=checkbox]),body .apel-evening select,body .apel-evening textarea{display:block;min-height:46px;width:100%;min-width:0;max-width:100%;padding:10px 12px;background:#0d1521;color:#f2f6ff;border:1px solid #435068;border-radius:8px;font:16px/1.4 Arial,sans-serif}
body .apel-geo-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr);gap:16px}
body .apel-geo-layout>div{min-width:0}body .apel-geo-layout [data-geo-activate]{margin-bottom:10px}
body .apel-geo-canvas{height:440px;position:relative;z-index:0;border-radius:12px;border:1px solid #435068;background:#172b35;color:#101828}
body .apel-geo-canvas.is-passive{touch-action:pan-y pinch-zoom!important}
body .apel-geo .leaflet-control-attribution{font:11px/1.5 Arial,sans-serif;color:#202020;background:#fff}body .apel-geo .leaflet-control-attribution a{display:inline;padding:0;border:0;background:none;color:#00589b;font:inherit;min-height:0}
body .apel-geo .leaflet-control-zoom a{width:44px;height:44px;line-height:44px;font-size:24px}
body .apel-geo-results{height:494px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:10px;padding-right:5px;scrollbar-color:#ff168d #101725}
body .apel-geo button.apel-geo-result{display:flex;flex:none;width:100%;gap:12px;padding:9px;text-align:left;justify-content:start;border-color:#344258;background:#0e1723}
body .apel-geo-result>img,body .apel-geo-result>.apel-geo-noimage{width:72px;height:72px;object-fit:cover;border-radius:7px;flex:none}body .apel-geo-result>span{min-width:0;display:grid;gap:4px}body .apel-geo-result strong{font-size:16px;overflow-wrap:anywhere}
body .apel-geo-result[aria-pressed=true]{border-color:#ff168d!important;background:#281127!important}
body .apel-geo-pin{background:none;border:0}body .apel-geo-pin>span{display:grid;place-items:center;width:38px;height:42px;border-radius:22px 22px 22px 4px;transform:rotate(-35deg);background:#e30070;border:3px solid #fff;color:white;font:700 24px/1 Arial;box-shadow:0 2px 12px #0008}
body .apel-geo-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px;margin:14px 0}
body .apel-geo-card{display:flex;flex-direction:column;min-width:0;border:1px solid #334359;background:#0d1521;border-radius:13px;overflow:hidden}
body .apel-geo-card>img,body .apel-geo-card>.apel-geo-noimage{width:100%;height:185px;object-fit:contain;background:#070b11}
body .apel-geo-card>div:not(.apel-geo-noimage){padding:14px}body .apel-geo-noimage{display:grid;place-items:center;color:#ff168d;font-size:40px;background:#111d2b}
body .apel-geo-actions{display:flex;gap:8px;flex-wrap:wrap}body .apel-geo-actions>*{flex:1 1 auto}
body .apel-geo-selection:empty{display:none}body .apel-geo-selection{margin-top:24px;padding-top:16px;border-top:1px solid #344258}
body .apel-geo-booking{padding:16px;border:1px solid #1c7885;border-radius:12px;background:#0b212a;margin:16px 0}
body .apel-community-form{max-width:760px;margin:24px auto;padding:20px;display:grid;gap:15px;background:#101925;border:1px solid #684462;border-radius:14px}
body .apel-evening [hidden],body .apel-geo [hidden]{display:none!important}body .apel-evening .apel-geo-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
body .apel-evening .apel-community-consent{display:flex;align-items:start;gap:12px}body .apel-community-consent input{width:22px;height:22px;min-height:22px;flex:none;accent-color:#ff168d}
body .apel-evening [data-file-preview] img,body .apel-evening [data-file-preview] video{display:block;max-width:100%;max-height:260px;margin:12px auto}
body .apel-community-scores{display:flex;gap:18px;flex-wrap:wrap}body .apel-community-scores>div{display:grid;gap:6px;padding:12px;border:1px solid #493148;border-radius:10px}
body .apel-community-rating{display:inline-flex;gap:8px;align-items:center;color:#fff}
body .apel-community-stars{position:relative;display:inline-block;white-space:nowrap;overflow:hidden;font:22px/1 Arial,sans-serif;color:#536275;letter-spacing:1px}
body .apel-community-stars>span+span{position:absolute;left:0;top:0;overflow:hidden;color:#ff168d;white-space:nowrap}
body .apel-community-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:14px}
body .apel-geo-feedback{margin:12px 0;padding:16px;background:#0e1826;border:1px solid #344358;border-radius:12px;overflow-wrap:anywhere}
body .apel-community-gallery img,body .apel-community-gallery video{width:100%;max-height:300px;object-fit:contain}body .apel-community-gallery a{padding:0!important;width:100%;border:0!important;background:none!important}
body .apel-geo-location{display:grid;gap:12px;margin:16px 0;max-width:560px}body .apel-evening details{padding:16px;margin:12px 0;border:1px solid #435068;border-radius:12px}body .apel-evening summary{cursor:pointer;font-weight:bold;min-height:44px;padding:10px}
body .apel-geo-qr{display:grid;justify-items:center;gap:10px;max-width:340px;padding:20px;background:#090d16;border:1px solid #ff168d;border-radius:14px;text-align:center}
body .apel-geo-qr svg{width:224px;height:224px;max-width:100%;background:#fff}body .apel-community-open{margin:16px 0}
@media(max-width:850px){body .apel-geo,body .apel-evening{padding:16px;border-radius:13px}body .apel-geo-layout{grid-template-columns:1fr}body .apel-geo-results{height:auto;max-height:300px}body .apel-geo-canvas{height:360px}body .apel-geo-heading{flex-direction:column}body .apel-geo-filters{grid-template-columns:1fr 1fr}body .apel-geo-filters>label:first-child{grid-column:1/-1}}
@media(max-width:480px){body .apel-geo,body .apel-evening{padding:12px}body .apel-geo-filters{grid-template-columns:1fr}body .apel-geo-canvas{height:310px}body .apel-community-form{padding:14px}body .apel-geo-cards{grid-template-columns:1fr}body .apel-geo-actions{gap:8px}}
@media(prefers-reduced-motion:reduce){body .apel-geo *,body .apel-evening *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

body .apel-geo-qr-logo{display:block;width:240px;max-width:100%;height:auto;object-fit:contain}

/* 2.3.5 — compact map launcher + Effetto Live map popout. */
body .apel-geo-launch{--live:#ff168d;--violet:#8f36ff;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;width:100%;margin:22px auto;padding:18px 20px;border:1px solid rgba(255,22,141,.42);border-radius:18px;background:radial-gradient(circle at 82% 10%,rgba(255,22,141,.14),transparent 34%),linear-gradient(135deg,#0a0e17,#12101b 58%,#1b0d19);box-shadow:0 18px 50px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.035);color:#fff;font:15px/1.5 Arial,sans-serif;box-sizing:border-box}
body .apel-geo-launch *{box-sizing:border-box}
body .apel-geo-launch__icon{display:grid;place-items:center;width:70px;height:70px;border:1px solid rgba(255,22,141,.5);border-radius:17px;background:linear-gradient(145deg,rgba(255,22,141,.16),rgba(143,54,255,.08));box-shadow:0 0 30px rgba(255,22,141,.12)}
body .apel-geo-launch__icon svg{width:43px;height:43px;fill:none;stroke:#ff4ca4;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
body .apel-geo-launch__copy{min-width:0}
body .apel-geo-launch__copy small{display:block;margin:0 0 3px;color:#ff5dac;font:700 11px/1.2 Arial,sans-serif;letter-spacing:.16em}
body .apel-geo-launch__copy h3{margin:0 0 5px;color:#fff;font:800 clamp(19px,2vw,25px)/1.16 Arial,sans-serif}
body .apel-geo-launch__copy p{margin:0;color:#bfc7d6;font:14px/1.45 Arial,sans-serif}
body .apel-geo-launch button.apel-geo-launch__button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:11px 18px;border:1px solid #ff168d;border-radius:12px;background:linear-gradient(135deg,#f30075,#b80068);color:#fff;font:800 13px/1.2 Arial,sans-serif;text-decoration:none;cursor:pointer;box-shadow:0 0 22px rgba(255,22,141,.22);white-space:nowrap}
body .apel-geo-launch button.apel-geo-launch__button:hover{filter:brightness(1.08);transform:translateY(-1px)}
body .apel-geo-launch button.apel-geo-launch__button:focus-visible{outline:3px solid #1bd8e4;outline-offset:3px}

body.apel-geo-modal-open{overflow:hidden!important}
body .apel-geo-modal[hidden]{display:none!important}
body .apel-geo-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:24px;font-family:Arial,sans-serif}
body .apel-geo-modal__backdrop{position:absolute;inset:0;background:rgba(2,4,9,.82);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
body .apel-geo-modal__dialog{position:relative;z-index:1;width:min(1500px,96vw);max-height:94vh;overflow:hidden;border:1px solid rgba(255,22,141,.52);border-radius:20px;background:radial-gradient(circle at 85% 0,rgba(255,22,141,.14),transparent 35%),#080c13;box-shadow:0 35px 120px rgba(0,0,0,.75),0 0 45px rgba(255,22,141,.12);color:#fff}
body .apel-geo-modal__bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid rgba(255,255,255,.08);background:linear-gradient(90deg,#0b1018,#170d18)}
body .apel-geo-modal__bar small{display:block;color:#ff5dac;font:700 10px/1.2 Arial,sans-serif;letter-spacing:.18em;margin-bottom:3px}
body .apel-geo-modal__bar h2{margin:0;color:#fff;font:800 clamp(21px,2.4vw,30px)/1.15 Arial,sans-serif}
body .apel-geo-modal button.apel-geo-modal__close{display:grid;place-items:center;width:46px;height:46px;min-width:46px;padding:0;border:1px solid rgba(255,22,141,.6);border-radius:12px;background:#17111b;color:#fff;font:300 32px/1 Arial,sans-serif;cursor:pointer;box-shadow:none}
body .apel-geo-modal button.apel-geo-modal__close:hover{background:#2b1124;border-color:#ff168d}
body .apel-geo-modal__body{max-height:calc(94vh - 79px);overflow:auto;padding:0 18px 18px;overscroll-behavior:contain;scrollbar-color:#ff168d #101725}
body .apel-geo--modal-surface{margin:18px 0 0!important;border-color:rgba(255,255,255,.08)!important;border-radius:15px!important;background:rgba(7,11,18,.84)!important;box-shadow:none!important}
body .apel-geo--modal-surface .apel-geo-heading{padding-bottom:2px;border-bottom:0}
body .apel-geo--modal-surface .apel-geo-canvas{height:min(52vh,560px)}
body .apel-geo--modal-surface .apel-geo-results{height:min(57vh,614px)}

@media(max-width:850px){
 body .apel-geo-launch{grid-template-columns:auto minmax(0,1fr);gap:14px}
 body .apel-geo-launch__button{grid-column:1/-1;width:100%}
 body .apel-geo-modal{padding:0}
 body .apel-geo-modal__dialog{width:100vw;height:100dvh;max-height:none;border-radius:0;border-left:0;border-right:0}
 body .apel-geo-modal__body{max-height:calc(100dvh - 75px);padding:0 12px 18px}
 body .apel-geo--modal-surface{padding:14px!important;margin-top:12px!important}
 body .apel-geo--modal-surface .apel-geo-canvas{height:48vh}
 body .apel-geo--modal-surface .apel-geo-results{height:auto;max-height:260px}
}
@media(max-width:520px){
 body .apel-geo-launch{grid-template-columns:1fr;text-align:center;padding:16px}
 body .apel-geo-launch__icon{margin:auto;width:62px;height:62px}
 body .apel-geo-launch__button{grid-column:auto}
 body .apel-geo-modal__bar{padding:13px 14px}
 body .apel-geo-modal__bar h2{font-size:21px}
 body .apel-geo-modal button.apel-geo-modal__close{width:42px;height:42px;min-width:42px}
}


/* 2.3.6 — Mappa Live integrata nella barra QUANDO? + navigazione al locale. */
body .apel-home-discoverybar .apel-geo-filter-launch{display:flex;align-items:stretch;justify-content:center;min-width:0}
body .apel-home-discoverybar .apel-geo-filter-launch__button{display:flex;align-items:center;gap:10px;min-height:50px;padding:9px 15px;border:1px solid #ff168d;border-radius:13px;background:linear-gradient(135deg,#f30075 0%,#c10072 55%,#8218a3 100%);color:#fff;box-shadow:0 8px 26px rgba(255,22,141,.2),inset 0 1px 0 rgba(255,255,255,.16);cursor:pointer;text-align:left;white-space:nowrap;transition:transform .18s ease,filter .18s ease,box-shadow .18s ease}
body .apel-home-discoverybar .apel-geo-filter-launch__button:hover{transform:translateY(-1px);filter:brightness(1.08);box-shadow:0 12px 34px rgba(255,22,141,.28)}
body .apel-home-discoverybar .apel-geo-filter-launch__button:focus-visible{outline:3px solid #1bd8e4;outline-offset:3px}
body .apel-geo-filter-launch__icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border:1px solid rgba(255,255,255,.32);border-radius:10px;background:rgba(0,0,0,.17);font-size:20px}
body .apel-geo-filter-launch__button span:last-child{display:grid;gap:1px}
body .apel-geo-filter-launch__button small{font:700 9px/1.1 Arial,sans-serif;letter-spacing:.15em;color:#ffd8ec}
body .apel-geo-filter-launch__button strong{font:800 12px/1.1 Arial,sans-serif;letter-spacing:.02em}
body .apel-geo-modal__bar p{margin:4px 0 0;color:#bfc7d6;font:13px/1.4 Arial,sans-serif}
body a.apel-map-route,body .apel-venue-modal__links a.apel-map-route,body .apel-modal-actions a.apel-map-route,body a.apel-btn-map{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #ff168d!important;background:linear-gradient(135deg,#f30075,#9b168e)!important;color:#fff!important;font-weight:800!important;box-shadow:0 8px 24px rgba(255,22,141,.18);text-decoration:none!important}
body .apel-geo-actions a.apel-geo-route{font-weight:800;letter-spacing:.01em}
@media(max-width:980px){body .apel-home-discoverybar .apel-geo-filter-launch{width:100%}body .apel-home-discoverybar .apel-geo-filter-launch__button{width:100%;justify-content:center}}
@media(max-width:520px){body .apel-home-discoverybar .apel-geo-filter-launch__button{white-space:normal;padding:10px 12px}body .apel-geo-filter-launch__button strong{font-size:11px}}

/* 2.3.7 — refined Mappa Live UI aligned to the approved mockup. */
body .apel-geo{background:radial-gradient(circle at 80% 0,rgba(255,22,141,.12),transparent 34%),linear-gradient(180deg,#090d15 0%,#0b0f19 100%);border-color:rgba(255,22,141,.28);box-shadow:0 20px 60px rgba(0,0,0,.25)}
body .apel-geo-heading--live{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding-bottom:6px}
body .apel-geo-heading__icon{display:grid;place-items:center;width:72px;height:72px;border:1px solid rgba(255,22,141,.5);border-radius:20px;background:linear-gradient(145deg,rgba(255,22,141,.16),rgba(143,54,255,.08));box-shadow:0 0 34px rgba(255,22,141,.14);color:#ff4ca4;font:700 28px/1 Arial,sans-serif}
body .apel-geo-heading__copy small{display:block;margin:0 0 5px;color:#ff5dac;font:700 11px/1.2 Arial,sans-serif;letter-spacing:.18em}
body .apel-geo-heading__copy h2{margin:0 0 6px;font:800 clamp(28px,3vw,42px)/1.06 Arial,sans-serif}
body .apel-geo-heading__copy p{margin:0;color:#c6cede;font-size:15px;max-width:780px}
body .apel-geo-heading__page-link{align-self:start}
body .apel-geo-filters--live{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.95fr) auto;gap:14px;margin:18px 0 16px}
body .apel-geo-control{position:relative;gap:7px}
body .apel-geo-control>span{display:block;color:#fff;font:700 14px/1.2 Arial,sans-serif}
body .apel-geo-control input,body .apel-geo-control select{min-height:56px;padding:16px 16px 14px;border-radius:14px;border:1px solid #2a3852;background:linear-gradient(180deg,#0e1420,#0b111a);box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
body .apel-geo-nearme{min-width:170px;min-height:56px;border-radius:14px!important;background:linear-gradient(135deg,#171f2b,#0f1621)!important;border:1px solid #ff168d!important;color:#fff!important;box-shadow:0 8px 22px rgba(255,22,141,.14)}
body .apel-geo-layout--live{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(320px,1fr);gap:16px;align-items:start}
body .apel-geo-map-column,body .apel-geo-results-panel{padding:16px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:rgba(12,17,28,.76);box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
body .apel-geo-tools-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
body .apel-geo-tools-row [data-geo-status]{margin:0;padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);color:#dbe3f3;font-size:12px}
body .apel-geo-tools-row [data-geo-activate]{min-height:40px;padding:8px 14px;border-radius:12px;background:#171f2e;border-color:#324259;font-size:12px}
body .apel-geo-canvas{border-radius:16px;border:1px solid rgba(255,255,255,.08);overflow:hidden;box-shadow:0 12px 24px rgba(0,0,0,.16)}
body .apel-geo-map-note{display:block;margin-top:10px;color:#aab8cf;font-size:12px}
body .apel-geo-results-panel{display:flex;flex-direction:column;min-height:100%}
body .apel-geo-results-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
body .apel-geo-results-head h3{margin:0;font-size:24px}
body .apel-geo-results-head [data-geo-count]{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);color:#cfd8ea;font:700 12px/1.2 Arial,sans-serif}
body .apel-geo-results{height:min(57vh,640px);padding-right:3px;gap:12px}
body .apel-geo-result-card{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:linear-gradient(180deg,#101624,#0d131d);box-shadow:0 14px 28px rgba(0,0,0,.14);cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
body .apel-geo-result-card:hover{transform:translateY(-1px);border-color:rgba(255,22,141,.35);box-shadow:0 18px 36px rgba(0,0,0,.18)}
body .apel-geo-result-card.is-active{border-color:#ff168d;background:linear-gradient(180deg,#151225,#11131b);box-shadow:0 0 0 1px rgba(255,22,141,.1),0 18px 40px rgba(255,22,141,.08)}
body .apel-geo-result-card__preview{cursor:pointer}
body .apel-geo-result-card__preview img,body .apel-geo-result-card__preview .apel-geo-noimage{width:96px;height:96px;border-radius:14px;object-fit:cover;background:#070b11}
body .apel-geo-result-card__body{display:grid;gap:10px;min-width:0}
body .apel-geo-result-card__top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
body .apel-geo-result-card__top h4{margin:0;color:#fff;font:800 24px/1.1 Arial,sans-serif;overflow-wrap:anywhere}
body .apel-geo-result-card__top p{margin:4px 0 0;color:#fff;font:700 15px/1.25 Arial,sans-serif}
body .apel-geo-result-card__distance{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border-radius:999px;background:rgba(255,22,141,.1);border:1px solid rgba(255,22,141,.22);color:#ff7bbd;font:700 12px/1.2 Arial,sans-serif;white-space:nowrap}
body .apel-geo-result-card__meta{display:grid;gap:4px;color:#aebbd2;font:13px/1.35 Arial,sans-serif}
body .apel-geo-result-card__actions{display:flex;flex-wrap:wrap;gap:8px}
body .apel-geo-mini-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border:1px solid #324259;border-radius:11px;background:#141d2a;color:#fff;font:800 12px/1.2 Arial,sans-serif;text-decoration:none;cursor:pointer}
body .apel-geo-mini-btn.is-primary{border-color:#ff168d;background:linear-gradient(135deg,#f30075,#9f188d);box-shadow:0 10px 24px rgba(255,22,141,.18)}
body .apel-geo-mini-btn.is-disabled{opacity:.45;cursor:default}
body .apel-geo-empty{margin:0;padding:16px;border:1px dashed rgba(255,255,255,.14);border-radius:14px;background:rgba(255,255,255,.03);color:#c9d3e6}
body .apel-geo-selection{margin-top:18px;padding:18px;border:1px solid rgba(255,22,141,.22);border-radius:18px;background:linear-gradient(180deg,#0d1320,#0c1018)}
body .apel-geo-selection__head{margin-bottom:12px}
body .apel-geo-selection__head small{display:block;margin-bottom:4px;color:#ff5dac;font-weight:700;letter-spacing:.15em}
body .apel-geo-selection__head h3{margin:0 0 5px;font-size:28px}
body .apel-geo-selection__head p{margin:0;color:#bec8db}
body .apel-geo-card{border-color:rgba(255,255,255,.08);background:linear-gradient(180deg,#0e1522,#0c1118);box-shadow:0 14px 28px rgba(0,0,0,.14)}
body .apel-geo-card>img,body .apel-geo-card>.apel-geo-noimage{height:190px;object-fit:cover}
body .apel-geo-actions>*{flex:0 0 auto}
body .apel-geo-actions a.apel-geo-route{background:linear-gradient(135deg,#f30075,#9f188d)!important;border-color:#ff168d!important;box-shadow:0 10px 24px rgba(255,22,141,.16)}
body .apel-geo-modal__dialog{background:radial-gradient(circle at 80% 0,rgba(255,22,141,.14),transparent 34%),#090d15}
body .apel-geo-modal__bar{padding:18px 22px;background:linear-gradient(90deg,#0b1018,#180d18 70%)}
body .apel-geo-modal__bar h2{font-size:32px}
body .apel-geo-modal__body{padding:0 20px 20px}
body .apel-geo--modal-surface{margin-top:14px!important;padding:20px!important;border-radius:20px!important;background:rgba(9,13,21,.92)!important}
body .apel-home-discoverybar .apel-geo-filter-launch__button{min-height:56px;padding:10px 16px;border-radius:14px;background:linear-gradient(135deg,#f30075 0%,#ca0f73 50%,#8418a3 100%);box-shadow:0 12px 30px rgba(255,22,141,.2),inset 0 1px 0 rgba(255,255,255,.14)}
body .apel-home-discoverybar .apel-geo-filter-launch__icon{width:36px;height:36px;border-radius:11px}
body .apel-home-discoverybar .apel-geo-filter-launch__button small{font-size:9px}
body .apel-home-discoverybar .apel-geo-filter-launch__button strong{font-size:13px}
@media(max-width:1120px){body .apel-geo-layout--live{grid-template-columns:1fr}body .apel-geo-results{height:auto;max-height:360px}}
@media(max-width:860px){body .apel-geo-heading--live{grid-template-columns:auto minmax(0,1fr);align-items:flex-start}body .apel-geo-heading__page-link{grid-column:1/-1}body .apel-geo-filters--live{grid-template-columns:1fr 1fr}body .apel-geo-nearme{grid-column:1/-1}}
@media(max-width:560px){body .apel-geo-heading--live{grid-template-columns:1fr;text-align:left}body .apel-geo-heading__icon{width:62px;height:62px}body .apel-geo-filters--live{grid-template-columns:1fr}body .apel-geo-tools-row{flex-direction:column;align-items:stretch}body .apel-geo-result-card{grid-template-columns:82px minmax(0,1fr)}body .apel-geo-result-card__preview img,body .apel-geo-result-card__preview .apel-geo-noimage{width:82px;height:82px}body .apel-geo-result-card__top{flex-direction:column}body .apel-geo-result-card__top h4{font-size:20px}body .apel-geo-result-card__actions{display:grid;grid-template-columns:1fr}body .apel-geo-mini-btn{width:100%}}

/* 2.3.8 — Mappa Live: layout allineato al mockup approvato. */
body .apel-geo-modal{padding:18px}
body .apel-geo-modal__dialog{width:min(1180px,96vw);max-height:90vh;border:1px solid rgba(255,24,145,.72);border-radius:18px;background:linear-gradient(180deg,#0b0d16 0%,#0b0d14 100%);box-shadow:0 32px 100px rgba(0,0,0,.78),0 0 36px rgba(255,22,141,.12);overflow:hidden}
body .apel-geo-modal__bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid rgba(255,255,255,.07);background:radial-gradient(circle at 86% 0,rgba(255,22,141,.08),transparent 28%),#0b0e17}
body .apel-geo-modal__identity{display:flex;align-items:center;gap:14px;min-width:0}
body .apel-geo-modal__icon{display:grid;place-items:center;flex:0 0 54px;width:54px;height:54px;border:1px solid rgba(255,22,141,.62);border-radius:14px;background:linear-gradient(145deg,rgba(255,22,141,.16),rgba(105,34,160,.12));color:#ff49a6;font:700 23px/1 Arial,sans-serif;box-shadow:0 0 18px rgba(255,22,141,.11)}
body .apel-geo-modal__identity small{display:block;margin:0 0 3px;color:#ff5dac;font:800 10px/1.2 Arial,sans-serif;letter-spacing:.16em}
body .apel-geo-modal__identity h2{margin:0 0 3px;color:#fff;font:800 clamp(22px,2.4vw,31px)/1.06 Arial,sans-serif}
body .apel-geo-modal__identity p{margin:0;color:#b8c3d6;font:12px/1.35 Arial,sans-serif}
body .apel-geo-modal button.apel-geo-modal__close{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;min-width:40px;padding:0;border:1px solid rgba(255,255,255,.13);border-radius:10px;background:#111521;color:#fff;font:300 27px/1 Arial,sans-serif;box-shadow:none}
body .apel-geo-modal__body{max-height:calc(90vh - 91px);overflow:auto;padding:12px 14px 14px;background:#090c13}
body .apel-geo--modal-surface{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body .apel-geo--modal-surface>.apel-geo-heading{display:none!important}
body .apel-geo--modal-surface .apel-geo-filters--live{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(215px,.92fr) auto;gap:9px;margin:0 0 10px;padding:0}
body .apel-geo--modal-surface .apel-geo-control{gap:0}
body .apel-geo--modal-surface .apel-geo-control>span{display:none}
body .apel-geo--modal-surface .apel-geo-control input,body .apel-geo--modal-surface .apel-geo-control select{min-height:43px;height:43px;padding:9px 12px;border:1px solid #263247;border-radius:10px;background:#0c1320;color:#f5f7fb;font:12px/1.2 Arial,sans-serif;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}
body .apel-geo--modal-surface .apel-geo-nearme{min-width:135px;min-height:43px;height:43px;padding:8px 14px;border-radius:10px!important;border:1px solid #ff168d!important;background:linear-gradient(135deg,#26112d,#171221)!important;color:#ff69b2!important;font:800 11px/1.2 Arial,sans-serif;box-shadow:0 0 18px rgba(255,22,141,.08)!important}
body .apel-geo--modal-surface .apel-geo-layout--live{display:grid;grid-template-columns:minmax(0,1.58fr) minmax(310px,1fr);gap:10px;align-items:stretch}
body .apel-geo--modal-surface .apel-geo-map-column,body .apel-geo--modal-surface .apel-geo-results-panel{padding:0;border:1px solid rgba(255,255,255,.07);border-radius:12px;background:#0c111b;overflow:hidden;box-shadow:none}
body .apel-geo--modal-surface .apel-geo-canvas{height:min(54vh,470px);min-height:330px;border:0;border-radius:0;background:#15222c}
body .apel-geo--modal-surface .apel-geo-map-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px;padding:8px 10px;border-top:1px solid rgba(255,255,255,.06);background:#0a0f18}
body .apel-geo--modal-surface .apel-geo-map-note{margin:0;color:#8795aa;font:10px/1.3 Arial,sans-serif}
body .apel-geo--modal-surface .apel-geo-map-footer [data-geo-activate]{min-height:30px;padding:5px 9px;border-radius:8px;border:1px solid #334157;background:#131c29;color:#fff;font:700 9px/1.1 Arial,sans-serif}
body .apel-geo--modal-surface .apel-geo-map-status{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
body .apel-geo--modal-surface .apel-geo-results-panel{display:flex;flex-direction:column;min-height:0}
body .apel-geo--modal-surface .apel-geo-results-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;margin:0;padding:10px 11px;border-bottom:1px solid rgba(255,255,255,.06);background:#0d121d}
body .apel-geo--modal-surface .apel-geo-results-head h3{margin:0;color:#fff;font:800 14px/1.2 Arial,sans-serif}
body .apel-geo--modal-surface .apel-geo-results-head [data-geo-count]{padding:4px 7px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:#151b26;color:#aeb9ca;font:800 9px/1 Arial,sans-serif}
body .apel-geo--modal-surface .apel-geo-results{height:min(54vh,470px);max-height:none;padding:8px;gap:8px;overflow-y:auto;background:#0a0e16;scrollbar-width:thin;scrollbar-color:#ff168d #0a0e16}
body .apel-geo--modal-surface .apel-geo-result-card{display:grid;grid-template-columns:70px minmax(0,1fr);gap:9px;padding:8px;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:linear-gradient(180deg,#111725,#0d131e);cursor:default;box-shadow:none;transform:none!important}
body .apel-geo--modal-surface .apel-geo-result-card.is-active{border-color:rgba(255,22,141,.62);box-shadow:0 0 0 1px rgba(255,22,141,.05),0 0 16px rgba(255,22,141,.06)}
body .apel-geo--modal-surface .apel-geo-result-card__preview{display:block;width:70px;height:70px;padding:0;border:0;border-radius:8px;background:#090d13;overflow:hidden;cursor:pointer;min-height:0}
body .apel-geo--modal-surface .apel-geo-result-card__preview img,body .apel-geo--modal-surface .apel-geo-result-card__preview .apel-geo-noimage{display:block;width:70px;height:70px;border-radius:8px;object-fit:cover;background:#080b11}
body .apel-geo--modal-surface .apel-geo-result-card__body{display:grid;gap:5px;min-width:0}
body .apel-geo--modal-surface .apel-geo-result-card__top{display:flex;align-items:flex-start;justify-content:space-between;gap:7px}
body .apel-geo--modal-surface .apel-geo-result-card__top h4{margin:0;color:#fff;font:800 12px/1.2 Arial,sans-serif;overflow-wrap:anywhere}
body .apel-geo--modal-surface .apel-geo-result-card__top p{margin:2px 0 0;color:#d6deea;font:10px/1.2 Arial,sans-serif}
body .apel-geo--modal-surface .apel-geo-result-card__distance{padding:3px 5px;border:0;background:transparent;color:#ff4aa5;font:800 9px/1.1 Arial,sans-serif;white-space:nowrap}
body .apel-geo--modal-surface .apel-geo-result-card__meta{display:grid;gap:2px;color:#8f9bb0;font:9px/1.2 Arial,sans-serif}
body .apel-geo--modal-surface .apel-geo-result-card__actions{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,.78fr) minmax(0,1.35fr);gap:5px;margin-top:2px}
body .apel-geo--modal-surface .apel-geo-mini-btn{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:29px;padding:5px 6px;border:1px solid #2c384b;border-radius:7px;background:#111925;color:#fff;font:800 8px/1.05 Arial,sans-serif;text-align:center;text-decoration:none;white-space:nowrap}
body .apel-geo--modal-surface .apel-geo-mini-btn.is-primary{border-color:#ff168d;background:linear-gradient(135deg,#f30075,#c00078);box-shadow:0 5px 14px rgba(255,22,141,.18);color:#fff}
body .apel-geo--modal-surface .apel-geo-mini-btn.is-disabled{opacity:.38}
body .apel-geo--modal-surface .apel-geo-empty{margin:0;padding:12px;border:1px dashed rgba(255,255,255,.13);border-radius:9px;background:#0e1420;color:#b9c4d6;font:10px/1.35 Arial,sans-serif}
body .apel-geo--modal-surface .apel-geo-selection{display:none!important}
body .apel-geo--modal-surface .apel-geo-pin>span{width:30px;height:34px;border-width:2px;font-size:16px;box-shadow:0 0 12px rgba(255,22,141,.38),0 2px 8px rgba(0,0,0,.45)}
body .apel-geo--modal-surface .leaflet-control-zoom a{width:32px;height:32px;line-height:32px;font-size:18px}
body .apel-geo--modal-surface .leaflet-control-attribution{font-size:8px}
@media(max-width:920px){body .apel-geo-modal{padding:0}body .apel-geo-modal__dialog{width:100vw;height:100dvh;max-height:none;border-radius:0;border-left:0;border-right:0}body .apel-geo-modal__body{max-height:calc(100dvh - 88px)}body .apel-geo--modal-surface .apel-geo-layout--live{grid-template-columns:1fr}body .apel-geo--modal-surface .apel-geo-canvas{height:45vh;min-height:300px}body .apel-geo--modal-surface .apel-geo-results{height:auto;max-height:360px}}
@media(max-width:620px){body .apel-geo-modal__bar{padding:12px 13px}body .apel-geo-modal__icon{width:44px;height:44px;flex-basis:44px;border-radius:11px}body .apel-geo-modal__identity h2{font-size:19px}body .apel-geo-modal__identity p{font-size:10px}body .apel-geo--modal-surface .apel-geo-filters--live{grid-template-columns:1fr}body .apel-geo--modal-surface .apel-geo-nearme{width:100%}body .apel-geo--modal-surface .apel-geo-result-card{grid-template-columns:62px minmax(0,1fr)}body .apel-geo--modal-surface .apel-geo-result-card__preview,body .apel-geo--modal-surface .apel-geo-result-card__preview img,body .apel-geo--modal-surface .apel-geo-result-card__preview .apel-geo-noimage{width:62px;height:62px}body .apel-geo--modal-surface .apel-geo-result-card__actions{grid-template-columns:1fr}body .apel-geo--modal-surface .apel-geo-mini-btn{white-space:normal}}

/* 2.3.14: selezione reciproca e allegati touch */
.apel-geo-photo-pin{background:none!important;border:0!important}.apel-geo-photo-pin__drop{display:flex;width:50px;height:50px;align-items:center;justify-content:center;overflow:hidden;border:3px solid #00d9e7;border-radius:50% 50% 50% 5%;transform:rotate(-45deg);background:#10131c;box-shadow:0 4px 14px #0009}.apel-geo-photo-pin__drop img{width:100%;height:100%;object-fit:cover;transform:rotate(45deg) scale(1.2)}.apel-geo-photo-pin__drop>span{transform:rotate(45deg);color:#ff009c}.apel-geo-photo-pin.is-active .apel-geo-photo-pin__drop{border-color:#ff009c;box-shadow:0 0 0 5px #ff009c40,0 0 22px #ff009c80}.apel-geo-marker-preview{display:grid;gap:5px;width:150px;white-space:normal;color:#fff}.apel-geo-marker-preview img{width:150px;max-height:180px;object-fit:contain;background:#080a10}.apel-geo-marker-preview small{font-size:11px}.leaflet-tooltip.apel-geo-photo-tooltip{background:#10131cf5;border:1px solid #ff009c;border-radius:12px;padding:10px}.apel-geo-seasonal-status{color:#ffd68a!important}.apel-community-form .apel-attach-button{min-height:52px;background:#eb008d;color:white;border-radius:14px;font-size:16px}.apel-community-form .apel-attach-menu{padding:12px;background:#111725;border:1px solid #344253;border-radius:14px}.apel-community-form [hidden]{display:none!important}.apel-community-form .apel-media-file{max-width:100%;font-size:13px}.apel-community-form [data-file-preview] img,.apel-community-form [data-file-preview] video{width:100%;max-height:360px;object-fit:contain;border-radius:12px}.apel-community-form input,.apel-community-form select,.apel-community-form textarea{font-size:16px;box-sizing:border-box;max-width:100%}.apel-community-form button{min-height:44px}.apel-community-form{min-width:0}.apel-geo-seasonal input:not([type=checkbox]){width:100%}
@media(min-width:921px){body .apel-geo .apel-geo-layout--live{grid-template-columns:minmax(310px,1fr) minmax(0,1.58fr)}body .apel-geo .apel-geo-results-panel{order:-1}}


/* 2.3.19 — anteprima marker sempre interamente leggibile nel viewport mappa. */
body .apel-geo-marker-preview{max-width:min(180px,calc(100vw - 54px));justify-items:center;text-align:center}
body .apel-geo-marker-preview img{display:block;width:auto!important;max-width:100%!important;height:auto!important;max-height:min(210px,52vh)!important;object-fit:contain!important;object-position:center!important;margin-inline:auto}
body .leaflet-tooltip.apel-geo-photo-tooltip{max-width:min(200px,calc(100vw - 34px));box-sizing:border-box}


/* 2.3.21 · Anteprima marker sempre contenuta e centrabile nella cartina. */
body .leaflet-tooltip.apel-geo-photo-tooltip{
  width:max-content!important;
  max-width:calc(100% - 24px)!important;
  box-sizing:border-box!important;
}
body .apel-geo-marker-preview{
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  justify-items:center!important;
  text-align:center!important;
  overflow:visible!important;
}
body .apel-geo-marker-preview img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin:0 auto!important;
}

/* 2.3.22 · Mappa fluida, anteprima centrale e card elenco senza sovrapposizioni. */
body .apel-geo--modal-surface .apel-geo-result-card{
  grid-template-columns:82px minmax(0,1fr)!important;
  align-items:start!important;
  gap:10px!important;
  min-height:98px!important;
  overflow:hidden!important;
}
body .apel-geo--modal-surface button.apel-geo-result-card__preview{
  position:relative!important;
  display:block!important;
  width:82px!important;
  min-width:82px!important;
  max-width:82px!important;
  height:82px!important;
  min-height:82px!important;
  max-height:82px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:9px!important;
  background:#070b11!important;
  box-shadow:none!important;
  overflow:hidden!important;
  transform:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  isolation:isolate!important;
}
body .apel-geo--modal-surface button.apel-geo-result-card__preview::before,
body .apel-geo--modal-surface button.apel-geo-result-card__preview::after{
  content:none!important;
  display:none!important;
}
body .apel-geo--modal-surface .apel-geo-result-card__preview img,
body .apel-geo--modal-surface .apel-geo-result-card__preview .apel-geo-noimage{
  position:relative!important;
  z-index:1!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:8px!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:#070b11!important;
  transform:none!important;
}
body .apel-geo--modal-surface .apel-geo-result-card__body{
  position:relative!important;
  z-index:2!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  align-content:start!important;
  gap:5px!important;
  min-width:0!important;
  width:100%!important;
  overflow:hidden!important;
}
body .apel-geo--modal-surface .apel-geo-result-card__top{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
  gap:6px!important;
  min-width:0!important;
}
body .apel-geo--modal-surface .apel-geo-result-card__top>div{min-width:0!important}
body .apel-geo--modal-surface .apel-geo-result-card__top h4,
body .apel-geo--modal-surface .apel-geo-result-card__top p,
body .apel-geo--modal-surface .apel-geo-result-card__meta span{
  max-width:100%!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  white-space:normal!important;
}
body .apel-geo--modal-surface .apel-geo-result-card__actions{
  position:relative!important;
  z-index:3!important;
  min-width:0!important;
  overflow:visible!important;
}

body .apel-geo-map-preview{
  --apel-preview-max-w:380px;
  --apel-preview-max-h:330px;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  z-index:750!important;
  display:grid!important;
  width:max-content!important;
  max-width:calc(100% - 48px)!important;
  max-height:calc(100% - 44px)!important;
  transform:translate(-50%,-50%)!important;
  pointer-events:none!important;
  border:1px solid rgba(255,22,141,.92)!important;
  border-radius:16px!important;
  background:rgba(8,10,16,.94)!important;
  box-shadow:0 20px 55px rgba(0,0,0,.58),0 0 28px rgba(255,22,141,.20)!important;
  overflow:hidden!important;
  backdrop-filter:blur(8px)!important;
}
body .apel-geo-map-preview[hidden]{display:none!important}
body .apel-geo-map-preview__media{
  display:grid!important;
  place-items:center!important;
  max-width:var(--apel-preview-max-w)!important;
  max-height:var(--apel-preview-max-h)!important;
  padding:10px 10px 0!important;
  background:linear-gradient(180deg,#080b11,#0b0f17)!important;
}
body .apel-geo-map-preview__media img,
body .apel-geo-map-preview__media .apel-geo-noimage{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:var(--apel-preview-max-w)!important;
  max-height:var(--apel-preview-max-h)!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin:0 auto!important;
  border-radius:10px!important;
  background:#06080d!important;
}
body .apel-geo-map-preview__copy{
  display:grid!important;
  gap:3px!important;
  width:min(var(--apel-preview-max-w),420px)!important;
  max-width:100%!important;
  padding:10px 13px 12px!important;
  background:linear-gradient(180deg,rgba(13,18,28,.98),rgba(8,11,17,.98))!important;
  color:#fff!important;
  text-align:left!important;
}
body .apel-geo-map-preview__copy strong{
  color:#fff!important;
  font:800 14px/1.25 Arial,sans-serif!important;
  overflow-wrap:anywhere!important;
}
body .apel-geo-map-preview__copy small{
  color:#b8c2d2!important;
  font:11px/1.3 Arial,sans-serif!important;
  overflow-wrap:anywhere!important;
}

body .apel-geo .apel-geo-layer-switch{
  display:flex!important;
  align-items:center!important;
  gap:0!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.22)!important;
  border-radius:9px!important;
  background:rgba(8,12,18,.92)!important;
  box-shadow:0 8px 24px rgba(0,0,0,.28)!important;
}
body .apel-geo .apel-geo-layer-switch button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:72px!important;
  min-height:34px!important;
  height:34px!important;
  margin:0!important;
  padding:0 10px!important;
  border:0!important;
  border-right:1px solid rgba(255,255,255,.12)!important;
  border-radius:0!important;
  background:#111826!important;
  color:#dce4ef!important;
  box-shadow:none!important;
  font:800 10px/1 Arial,sans-serif!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
body .apel-geo .apel-geo-layer-switch button:last-child{border-right:0!important}
body .apel-geo .apel-geo-layer-switch button.is-active{
  background:linear-gradient(135deg,#f30075,#a90070)!important;
  color:#fff!important;
}
body .apel-geo .apel-geo-layer-switch button::before,
body .apel-geo .apel-geo-layer-switch button::after{content:none!important;display:none!important}

@media(max-width:620px){
  body .apel-geo--modal-surface .apel-geo-result-card{grid-template-columns:72px minmax(0,1fr)!important;gap:8px!important;min-height:88px!important}
  body .apel-geo--modal-surface button.apel-geo-result-card__preview{width:72px!important;min-width:72px!important;max-width:72px!important;height:72px!important;min-height:72px!important;max-height:72px!important}
  body .apel-geo-map-preview{max-width:calc(100% - 26px)!important;max-height:calc(100% - 26px)!important}
  body .apel-geo .apel-geo-layer-switch button{min-width:64px!important;padding:0 8px!important;font-size:9px!important}
}


/* =========================================================
   2.3.45 — VIVI LA SERATA LIVE
   Mobile-first UI based on the approved Effetto Live mockup.
   ========================================================= */
body .apel-evening{
 --live:#ff0a8a;--live2:#bc007d;--blue:#1978ff;--panel:#0b1220;--panel2:#0a0f19;
 max-width:980px!important;margin:18px auto!important;padding:18px!important;
 background:radial-gradient(circle at 82% 0,rgba(255,10,138,.16),transparent 28%),linear-gradient(180deg,#060910,#090d16)!important;
 border:1px solid rgba(255,10,138,.38)!important;border-radius:22px!important;box-shadow:0 28px 90px rgba(0,0,0,.45)!important;
}
body .apel-evening>.apel-geo-heading{display:block!important;padding:6px 4px 14px!important;border:0!important}
body .apel-evening>.apel-geo-heading small{color:#ff38a3!important;font-weight:900!important;letter-spacing:.12em!important}
body .apel-evening>.apel-geo-heading h2{font-size:clamp(30px,5vw,52px)!important;margin:5px 0!important}
body .apel-evening>.apel-geo-heading p{font-size:15px!important;margin:0!important}
body .apel-live-shell{display:grid;gap:14px}
body .apel-live-event-card{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;padding:14px;border:1px solid rgba(45,111,255,.78);border-radius:18px;background:linear-gradient(145deg,#0b101b,#0c1220);box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
body .apel-live-event-card__media{aspect-ratio:1/1;border-radius:13px;overflow:hidden;background:#05070c}
body .apel-live-event-card__media img{width:100%!important;height:100%!important;object-fit:cover!important}
body .apel-live-event-card__copy{display:flex;flex-direction:column;justify-content:center;min-width:0}
body .apel-live-event-card__copy small{color:#ff2d9b!important;font-weight:900!important;letter-spacing:.08em}
body .apel-live-event-card__copy small i{display:inline-block;width:9px;height:9px;margin-right:6px;border-radius:50%;background:#ff0a8a;box-shadow:0 0 16px #ff0a8a}
body .apel-live-event-card__copy h2{margin:6px 0!important;font-size:clamp(20px,4vw,30px)!important}
body .apel-live-event-card__copy p{margin:3px 0!important}
body .apel-live-event-card__copy>div{display:flex;gap:18px;flex-wrap:wrap;margin-top:6px;color:#dfe8f7;font-weight:700}
body .apel-live-form{display:grid!important;gap:14px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
body .apel-live-card{position:relative;padding:18px;border:1px solid rgba(43,101,165,.62);border-radius:18px;background:linear-gradient(180deg,rgba(10,19,34,.98),rgba(7,13,24,.98));box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}
body .apel-live-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
body .apel-live-section-head small{display:block;color:#ff3ba7!important;font:900 9px/1.2 Arial,sans-serif!important;letter-spacing:.14em}
body .apel-live-section-head h3{margin:3px 0 2px!important;font-size:22px!important}
body .apel-live-section-head p{margin:0!important;font-size:13px!important}
body .apel-live-section-head>span{flex:0 0 auto;padding:6px 10px;border:1px solid rgba(255,10,138,.55);border-radius:999px;background:#160c18;color:#ff69b6;font-size:11px;font-weight:800}
body .apel-live-stars{display:flex;justify-content:center;gap:12px;padding:10px 0 4px}
body .apel-live-stars button{min-width:0!important;min-height:0!important;width:56px!important;height:56px!important;padding:0!important;border:0!important;background:transparent!important;color:#38455c!important;font-size:49px!important;line-height:1!important;text-shadow:none;transition:transform .15s ease,color .15s ease,filter .15s ease}
body .apel-live-stars button:hover,body .apel-live-stars button.is-on{color:#ff0a8a!important;filter:drop-shadow(0 0 12px rgba(255,10,138,.65));transform:scale(1.08)}
body .apel-live-instant{text-align:center;color:#cfd8e8!important;font-size:13px!important}
body .apel-live-rating-done{padding:13px 14px;border:1px solid rgba(76,220,150,.42);border-radius:12px;background:rgba(23,120,76,.13);color:#9cf0c1;font-weight:800}
body .apel-live-comment textarea{min-height:120px!important;padding:14px!important;border-radius:14px!important;background:#0d182a!important;border-color:#314767!important}
body .apel-live-counter{text-align:right;margin-top:-28px;padding-right:12px;color:#8493a9;font-size:11px;pointer-events:none}
body .apel-live-moderated{margin:20px 0 0!important;color:#c6d1e0!important;font-size:12px!important}
body .apel-live-upload-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
body .apel-live-upload-actions button{min-height:58px!important;border-radius:14px!important;font-size:16px!important;font-weight:900!important}
body .apel-live-upload-actions .is-photo{background:linear-gradient(135deg,#ff0787,#cc006f)!important;border-color:#ff38a6!important;box-shadow:0 0 24px rgba(255,10,138,.18)!important}
body .apel-live-upload-actions .is-video{background:linear-gradient(135deg,#0c3f88,#0f2163)!important;border-color:#238dff!important;box-shadow:0 0 24px rgba(31,113,255,.16)!important}
body .apel-live-selected{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;margin-top:10px}
body .apel-live-selected__item{min-width:0;padding:6px;border:1px solid #263952;border-radius:10px;background:#070b12}
body .apel-live-selected__item img,body .apel-live-selected__item video{display:block;width:100%;height:120px;object-fit:contain;border-radius:7px;background:#000}
body .apel-live-selected__item small{display:block;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .apel-live-limit{margin-top:10px;padding:10px 12px;border:1px solid #2b527d;border-radius:11px;background:#0c1b2d;color:#d7e3f1;font-size:12px}
body .apel-live-limit strong{color:#54a7ff}
body .apel-live-save-device{display:flex!important;grid-template-columns:none!important;align-items:flex-start!important;gap:10px!important;margin-top:10px;padding:12px;border:1px solid rgba(255,10,138,.34);border-radius:12px;background:rgba(255,10,138,.06)}
body .apel-live-save-device input{width:18px!important;height:18px!important;min-height:0!important;margin-top:2px!important}
body .apel-live-save-device span{display:grid;gap:2px}
body .apel-live-save-device strong{color:#fff}
body .apel-live-save-device small{font-size:11px!important;color:#aebbd0!important}
body .apel-live-gallery{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body .apel-live-gallery.apel-live-card{display:block}
body .apel-live-gallery.apel-live-card .apel-live-gallery-block+ .apel-live-gallery-block{margin-top:14px}
body .apel-live-gallery-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;color:#fff}
body .apel-live-gallery-title span{display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:#102747;color:#7eb7ff;font-size:11px;font-weight:900}
body .apel-live-gallery-track{display:flex;gap:9px;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#ff0a8a #0a111c}
body .apel-live-media-card{flex:0 0 min(210px,72vw);scroll-snap-align:start;margin:0!important;padding:6px!important;border:1px solid #263a55!important;border-radius:12px!important;background:#080d15!important}
body .apel-live-media-card img,body .apel-live-media-card video{display:block;width:100%!important;height:220px!important;max-height:none!important;object-fit:contain!important;background:#000;border-radius:8px}
body .apel-live-media-card a{display:block!important;padding:0!important;border:0!important;background:none!important}
body .apel-live-media-card small{display:block;margin-top:5px}
body .apel-live-gallery.is-compact{display:block;margin:16px 0;padding:14px;border:1px solid rgba(38,110,186,.45);border-radius:15px;background:#08111d}
body .apel-live-gallery.is-compact .apel-live-gallery-block+.apel-live-gallery-block{margin-top:12px}
body .apel-live-comments{display:block}
body .apel-live-comment-list{display:grid;gap:8px}
body .apel-live-comment-list article{padding:12px;border:1px solid #283b55;border-radius:11px;background:#091320}
body .apel-live-comment-list article p{margin:0 0 6px!important}
body .apel-community-consent{display:flex!important;grid-template-columns:none!important;align-items:flex-start!important;gap:10px!important;padding:12px!important;border:1px solid #293b55;border-radius:12px;background:#0a1421}
body .apel-community-consent input{width:18px!important;height:18px!important;min-height:0!important;margin-top:2px!important}
body .apel-live-privacy{justify-self:start!important}
body .apel-live-submit{width:100%!important;min-height:60px!important;border-radius:15px!important;background:linear-gradient(135deg,#ff0a8a,#d20071)!important;border-color:#ff38a7!important;font-size:17px!important;font-weight:900!important;box-shadow:0 0 32px rgba(255,10,138,.28)!important}
body .apel-live-form [data-submit-status]{margin:0!important;text-align:center;font-weight:800}
body .apel-live-modal-gallery{margin-top:14px}
@media(max-width:700px){
 body .apel-evening{margin:0!important;padding:12px!important;border-radius:0!important;border-left:0!important;border-right:0!important}
 body .apel-live-event-card{grid-template-columns:104px minmax(0,1fr);gap:11px;padding:10px}
 body .apel-live-event-card__copy h2{font-size:18px!important}
 body .apel-live-event-card__copy>div{gap:8px;font-size:11px}
 body .apel-live-card{padding:14px}
 body .apel-live-section-head h3{font-size:19px!important}
 body .apel-live-stars{gap:5px}
 body .apel-live-stars button{width:48px!important;height:48px!important;font-size:43px!important}
 body .apel-live-gallery{grid-template-columns:1fr}
}
@media(max-width:430px){
 body .apel-live-upload-actions{grid-template-columns:1fr}
 body .apel-live-stars button{width:42px!important;height:42px!important;font-size:38px!important}
 body .apel-live-event-card{grid-template-columns:88px minmax(0,1fr)}
 body .apel-live-media-card{flex-basis:78vw}
 body .apel-live-media-card img,body .apel-live-media-card video{height:240px!important}
}


/* 2.3.55 — X geolocalizzazione uniformata al design system Effetto Live */
body .apel-geo-modal button.apel-geo-modal__close{
  -webkit-appearance:none!important;appearance:none!important;box-sizing:border-box!important;
  display:grid!important;place-items:center!important;position:relative!important;
  flex:0 0 38px!important;width:38px!important;min-width:38px!important;max-width:38px!important;
  height:38px!important;min-height:38px!important;max-height:38px!important;padding:0!important;
  border:1px solid #ff1493!important;border-radius:10px!important;background:#10131b!important;
  color:transparent!important;font-size:0!important;line-height:0!important;text-indent:-9999px!important;
  overflow:hidden!important;box-shadow:0 0 12px rgba(255,20,147,.14)!important;cursor:pointer!important
}
body .apel-geo-modal button.apel-geo-modal__close::before,
body .apel-geo-modal button.apel-geo-modal__close::after{
  content:""!important;position:absolute!important;left:50%!important;top:50%!important;
  width:16px!important;height:2px!important;background:#fff!important;border:0!important;border-radius:2px!important;
  transform-origin:center!important;pointer-events:none!important
}
body .apel-geo-modal button.apel-geo-modal__close::before{transform:translate(-50%,-50%) rotate(45deg)!important}
body .apel-geo-modal button.apel-geo-modal__close::after{transform:translate(-50%,-50%) rotate(-45deg)!important}
body .apel-geo-modal button.apel-geo-modal__close:hover,
body .apel-geo-modal button.apel-geo-modal__close:focus-visible{background:#ff1493!important;border-color:#ff4fb4!important;outline:none!important}
@media(max-width:700px){body .apel-geo-modal button.apel-geo-modal__close{flex-basis:36px!important;width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;min-height:36px!important;max-height:36px!important;border-radius:9px!important}}

/* 2.3.73 — la X Mappa Live segue esattamente il design system globale. */
body .apel-geo-modal button.apel-geo-modal__close{
  width:var(--apel-close-final-size,38px)!important;
  min-width:var(--apel-close-final-size,38px)!important;
  max-width:var(--apel-close-final-size,38px)!important;
  height:var(--apel-close-final-size,38px)!important;
  min-height:var(--apel-close-final-size,38px)!important;
  max-height:var(--apel-close-final-size,38px)!important;
  aspect-ratio:1/1!important;
  padding:0!important;
  border-radius:var(--apel-close-final-radius,9px)!important;
}


/* 2.3.79 — Community direttamente nella scheda Evento */
body .apel-live-modal-community-host{margin:18px 0}
body .apel-live-modal-loading,body .apel-live-modal-error{padding:14px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:#0a1019;color:#aeb8c6}
body .apel-live-modal-locked{padding:18px;border:1px solid rgba(255,47,159,.28);border-radius:15px;background:linear-gradient(145deg,#0d1119,#120b16);color:#fff;opacity:.84}
body .apel-live-modal-locked>span{color:#ff4fa9;font:900 9px/1 Arial,sans-serif;letter-spacing:.1em}
body .apel-live-modal-locked h3{margin:7px 0 5px;font-size:20px;color:#fff}
body .apel-live-modal-locked p{margin:0;color:#aeb8c6;font-size:11px;line-height:1.5}
body .apel-live-modal-locked>div{margin-top:12px;color:#7f8b9b;font-size:10px}
body .apel-live-modal-community .apel-community-form{max-width:none!important;margin:0!important}
body .apel-live-mode{display:grid;gap:4px;margin:-4px 0 12px;padding:12px;border:1px solid rgba(255,47,159,.30);border-radius:12px;background:linear-gradient(135deg,rgba(255,10,138,.08),rgba(26,84,170,.08))}
body .apel-live-mode small{color:#ff4fa9;font-size:9px;font-weight:900;letter-spacing:.09em}
body .apel-live-mode strong{color:#fff;font-size:17px}
body .apel-live-mode span{color:#aeb8c6;font-size:10px;line-height:1.4}
body .apel-live-form.is-past .apel-live-mode{border-color:rgba(60,170,255,.34)}
body .apel-live-form.is-past .apel-live-mode small{color:#65d6ff}
body .apel-live-media-download{display:flex!important;align-items:center!important;justify-content:center!important;margin-top:6px!important;padding:8px!important;border:1px solid rgba(65,151,255,.45)!important;border-radius:8px!important;background:#0b1930!important;color:#79c5ff!important;text-decoration:none!important;font-size:9px!important;font-weight:900!important}
body .apel-live-save-device{border-color:rgba(65,151,255,.35)!important;background:#0a1727!important}
@media(max-width:700px){body .apel-live-modal-locked{padding:14px}body .apel-live-modal-locked h3{font-size:17px}}


/* =========================================================
   2.3.82 — LIVE COMMUNITY / MOMENTI ISTANTANEI
   ========================================================= */
body .apel-live-form.is-live-window{position:relative}
body .apel-live-form.is-live-window::before{
  content:"LIVE COMMUNITY";display:block;margin:0 0 2px;padding:10px 14px;border:1px solid #ff2f9f;border-radius:12px;
  background:linear-gradient(90deg,rgba(255,10,138,.20),rgba(20,90,190,.16));color:#fff;
  font:900 11px/1 Montserrat,Arial,sans-serif;letter-spacing:.13em;text-align:center;box-shadow:0 0 28px rgba(255,10,138,.18)
}
body .apel-live-instant-zone{
  position:relative;overflow:hidden;padding:20px;border:1px solid rgba(255,20,147,.72);border-radius:20px;
  background:radial-gradient(circle at 12% 0,rgba(255,19,147,.28),transparent 30%),linear-gradient(145deg,#160918,#071426);
  box-shadow:0 0 0 1px rgba(255,20,147,.10),0 20px 60px rgba(0,0,0,.35),0 0 38px rgba(255,20,147,.16)
}
body .apel-live-instant-zone::after{content:"";position:absolute;inset:-60% auto auto -20%;width:70%;height:180%;transform:rotate(25deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.06),transparent);pointer-events:none}
body .apel-live-instant-zone__pulse{display:flex;align-items:center;gap:8px;margin-bottom:9px;color:#ff62b5;font:900 9px/1 Montserrat,Arial,sans-serif;letter-spacing:.10em}
body .apel-live-instant-zone__pulse i{width:10px;height:10px;border-radius:50%;background:#ff0a8a;box-shadow:0 0 0 5px rgba(255,10,138,.13),0 0 20px #ff0a8a;animation:apelLivePulse 1.35s ease-in-out infinite}
body .apel-live-instant-zone h3{margin:0 0 5px!important;color:#fff!important;font-size:clamp(24px,4vw,36px)!important}
body .apel-live-instant-zone p{margin:0 0 14px!important;color:#d3ddeb!important;font-size:13px!important}
body .apel-live-instant-zone>small{display:block;margin-top:9px;color:#8091a7;font-size:10px}
body .apel-live-camera-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
body .apel-live-camera-actions button{
  min-height:76px!important;border-radius:16px!important;color:#fff!important;font-size:15px!important;font-weight:900!important;
  box-shadow:0 12px 30px rgba(0,0,0,.24)!important
}
body .apel-live-camera-actions .is-camera-photo{border-color:#ff40ad!important;background:linear-gradient(135deg,#ff0a8a,#b90078)!important}
body .apel-live-camera-actions .is-camera-video{border-color:#38a0ff!important;background:linear-gradient(135deg,#135fcc,#132b78)!important}
body .apel-live-camera-actions button>span{margin-left:6px}
body .apel-live-media-card.is-instant{position:relative;border-color:rgba(255,20,147,.55)!important;box-shadow:0 0 24px rgba(255,20,147,.10)}
body .apel-live-instant-badge{position:absolute;z-index:3;top:10px;left:10px;padding:5px 7px;border-radius:999px;background:rgba(255,10,138,.92);color:#fff;font:900 8px/1 Arial,sans-serif;letter-spacing:.07em;box-shadow:0 0 18px rgba(255,10,138,.45)}
body .apel-live-modal-locked{border-color:rgba(255,20,147,.42)!important;box-shadow:0 0 34px rgba(255,20,147,.10)!important}
@keyframes apelLivePulse{0%,100%{transform:scale(.92);opacity:.72}50%{transform:scale(1.15);opacity:1}}
@media(max-width:520px){
  body .apel-live-camera-actions{grid-template-columns:1fr}
  body .apel-live-camera-actions button{min-height:68px!important}
  body .apel-live-instant-zone{padding:15px}
}
@media(prefers-reduced-motion:reduce){body .apel-live-instant-zone__pulse i{animation:none!important}}

/* 2.3.84 — preview mappa cliccabile */
body .apel-geo-map-preview__open{appearance:none!important;display:grid!important;grid-template-columns:minmax(100px,46%) 1fr!important;width:100%!important;max-width:none!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;color:inherit!important;text-align:left!important;cursor:pointer!important}
body .apel-geo-map-preview__open:focus-visible{outline:2px solid #ff1493!important;outline-offset:3px!important;border-radius:14px}
body .apel-geo-map-preview__copy em{display:inline-flex;margin-top:7px;padding:5px 8px;border:1px solid rgba(255,20,147,.48);border-radius:999px;color:#ff67b5;font-style:normal;font-size:8px;font-weight:900;letter-spacing:.05em}
@media(max-width:520px){body .apel-geo-map-preview__open{grid-template-columns:42% 1fr!important}}
