/* ScanMAP LUCI – list and artwork details, 2026–27. Scoped, no other maps. */
#floatingPopup[data-scanmap-list-mode="luci"]{
  box-sizing:border-box!important;overflow-y:auto!important;overflow-x:hidden!important;
  background:linear-gradient(165deg,#061724 0%,#0b2233 100%)!important;
  color:#fff!important;border:1px solid rgba(213,178,99,.22)!important;
  box-shadow:0 14px 45px rgba(0,12,25,.36)!important;
  border-radius:20px!important;
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-wrap{padding:10px 10px 22px!important;}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-head{
  position:sticky;top:-10px;z-index:4;padding:12px 8px 10px;
  margin:-10px -10px 12px;
  background:linear-gradient(180deg,rgba(5,19,31,.99),rgba(5,19,31,.96));
  border-bottom:1px solid rgba(255,255,255,.12);backdrop-filter:blur(12px)
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-title{font-size:18px;font-weight:850;margin:0;color:#fff}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-subtitle{color:#a9bac7;font-size:12px;margin:4px 0 10px}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-search{
 width:100%;box-sizing:border-box;padding:11px 12px;border-radius:12px;border:1px solid #496074;
 color:#fff;background:#142d3e;font-size:16px;outline-offset:3px
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-filters{
 display:flex;gap:6px;margin-top:10px;
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-filter{
 flex:1;padding:9px 5px;border:1px solid #425768;border-radius:999px;
 background:#1b3343;color:#e0e8ec;font-size:12px;font-weight:750;cursor:pointer
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-filter.is-active{
 background:linear-gradient(125deg,#bd891f,#e7ad35);color:#0b2434;border-color:#e5c47f
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-card{
 display:grid;grid-template-columns:48px minmax(0,1fr);
 grid-template-areas:"img text" "actions actions";gap:8px;
 background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.14);
 border-radius:15px;padding:10px;margin:9px 0;box-shadow:0 6px 20px rgba(0,0,0,.16)
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-img{
 grid-area:img;width:48px;height:52px;object-fit:contain;padding:7px;
 box-sizing:border-box;border-radius:12px;background:rgba(222,167,52,.13)
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-text{grid-area:text;min-width:0;}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-name{
 color:#fff;font-size:15px;font-weight:800;line-height:1.22;overflow-wrap:anywhere
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-type{font-size:12px;color:#bed1df;margin-top:3px}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-status{display:inline-block;margin-top:6px;
 font-size:10px;letter-spacing:.01em;font-weight:750;border:1px solid rgba(224,183,89,.5);
 border-radius:100px;padding:3px 8px;color:#ffe0a0;background:rgba(201,144,37,.16)}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-desc{
 font-size:12px;line-height:1.4;color:#d3dce2;margin-top:6px;display:-webkit-box;
 -webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-actions{
 grid-area:actions;display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px;margin-top:3px
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-action-btn{
 border:1px solid rgba(255,255,255,.2);border-radius:12px;
 min-height:42px;padding:7px 3px;font-size:11px;font-weight:800;color:#fff;background:#253748;cursor:pointer
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-action-btn.primary{
 background:#178dd1;border-color:#36b4f2
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-action-btn.details{
 background:rgba(204,157,52,.21);border-color:rgba(228,184,96,.48);color:#ffe4ab
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-empty{padding:30px 12px;color:#cbd5dc;text-align:center}
.scanmap-luci-card{
 box-sizing:border-box;color:#eaf1f6;background:#071c2c;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
 border:1px solid rgba(230,194,115,.35);border-radius:18px;overflow:hidden;max-width:100%;
}
.scanmap-luci-hero{padding:18px;display:flex;gap:14px;align-items:center;
 background:radial-gradient(circle at 95% 0%,rgba(231,179,57,.28),transparent 48%),linear-gradient(145deg,#0d354d,#061825);
 border-bottom:1px solid rgba(255,255,255,.13)
}
.scanmap-luci-hero-icon{width:54px;height:62px;object-fit:contain;flex:0 0 auto}
.scanmap-luci-edition{text-transform:uppercase;letter-spacing:.13em;color:#e6bd72;font-size:10px;font-weight:850}
.scanmap-luci-title{margin:5px 0 4px;font-size:21px;font-weight:800;line-height:1.15;color:#fff}
.scanmap-luci-place{font-size:12px;line-height:1.4;color:#d3e3ec}
.scanmap-luci-card-body{padding:16px}
.scanmap-luci-card .scanmap-luci-status{display:inline-block;padding:5px 9px;border-radius:100px;
 background:rgba(220,164,52,.17);border:1px solid rgba(229,186,94,.4);
 color:#f7d58c;font-size:11px;font-weight:750}
.scanmap-luci-card p{font-size:13px;line-height:1.55;color:#e0e9ee;margin:12px 0}
.scanmap-luci-section{padding:13px 0;border-top:1px solid rgba(255,255,255,.12)}
.scanmap-luci-section h3{font-size:13px;letter-spacing:.02em;margin:0 0 6px;color:#f3ca78}
.scanmap-luci-section p{margin:0;color:#dce6ec}
.scanmap-luci-note{font-size:11px!important;color:#afc3cf!important}
.scanmap-luci-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}
.scanmap-luci-btn{min-height:43px;border-radius:12px;border:1px solid #415565;
 background:#203d52;color:#fff;font-size:12px;font-weight:800;cursor:pointer;padding:8px}
.scanmap-luci-btn.primary{background:#138bd0;border-color:#20aaf3}
.scanmap-luci-btn.more{grid-column:1/-1;background:rgba(188,136,35,.19);border-color:#b88c38;color:#ffe3a8}
.mapboxgl-popup:has(.scanmap-luci-card){max-width:min(380px,calc(100vw - 80px))!important}
.mapboxgl-popup-content:has(.scanmap-luci-card){padding:0!important;background:transparent!important;box-shadow:none!important}
.mapboxgl-popup .scanmap-luci-card .scanmap-luci-title{font-size:18px}
.mapboxgl-popup .scanmap-luci-hero{padding:12px}
.mapboxgl-popup .scanmap-luci-card-body{padding:12px}
.scanmap-luci-detail-backdrop{position:fixed;inset:0;z-index:2147483000;display:flex;
 align-items:center;justify-content:center;padding:12px;box-sizing:border-box;
 background:rgba(0,13,25,.78);backdrop-filter:blur(5px)
}
.scanmap-luci-detail-dialog{width:min(520px,100%);max-height:min(89dvh,850px);overflow:auto;
 border-radius:22px;box-shadow:0 20px 70px rgba(0,0,0,.5);position:relative}
.scanmap-luci-detail-close{position:sticky;top:8px;float:right;z-index:2;margin:8px 9px -40px 0;
 min-height:38px;min-width:38px;background:#f3f6f7;color:#0c2b40;border:0;border-radius:50%;
 font-size:19px;font-weight:800;cursor:pointer;box-shadow:0 3px 14px rgba(0,0,0,.35)}
@media(max-width:640px){
 #floatingPopup[data-scanmap-list-mode="luci"]{width:calc(100vw - 105px)!important;max-width:none!important;}
 #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-card{padding:8px;gap:5px 8px}
 #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-actions{gap:4px}
 #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-action-btn{font-size:10.5px}
 .scanmap-luci-detail-backdrop{padding:9px}
 .scanmap-luci-detail-dialog{max-height:92dvh}
}

#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-business-cta{display:block;margin-top:9px;padding:9px 10px;border:1px solid rgba(228,186,103,.38);border-radius:11px;background:rgba(231,183,94,.10);color:#f4d492;font-size:11px;text-decoration:none;font-weight:850;text-align:center}

/* Catalogo comunale 2026, foto e note provenienza */
.scanmap-luci-photo{margin:0;background:#051420}
.scanmap-luci-photo img{width:100%;max-height:260px;object-fit:cover;display:block}
.scanmap-luci-photo figcaption{padding:7px 12px;color:#cdd8dd;font-size:10px;line-height:1.5}
.scanmap-luci-photo a,.scanmap-luci-card a{color:#f4c776}
.scanmap-luci-photo-missing{margin:8px 14px;color:#b2bec7;font-size:12px}
.scanmap-luci-list-credit{color:#b5bcc3;font-size:10px;margin-top:6px}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-catalog-note{font-size:11px;line-height:1.35;color:#d8c592;margin:9px 0}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-actions{grid-template-columns:1fr 1fr}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-img{object-fit:cover}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-img[src$=".svg"]{object-fit:contain}

/* Luoghi delle opere 2026-27: segnaposti orientativi, non navigabili verso la singola opera */
.scanmap-luci-sitepin{position:relative;border:2px solid #fff;border-radius:13px;min-width:28px;height:32px;padding:0 6px;
background:#e7b64c;color:#0a2030;font:800 12px system-ui,sans-serif;box-shadow:0 2px 8px #08182c9c;cursor:pointer}
.scanmap-luci-sitepin:after{content:'';position:absolute;bottom:-7px;left:calc(50% - 5px);
border-left:5px solid transparent;border-right:5px solid transparent;border-top:7px solid #e7b64c}
.scanmap-luci-eventpin{background:#1c6079;color:#fff}
.scanmap-luci-eventpin:after{border-top-color:#1c6079}
.scanmap-luci-sitepin:focus{outline:3px solid #fff2b2}
.scanmap-luci-sitebubble{font:13px/1.5 system-ui,sans-serif;color:#102a3b}
.scanmap-luci-sitebubble p{margin:6px 0}
.scanmap-luci-sitebubble a{color:#006f9b}
.scanmap-luci-sitebubble button{display:block;border:0;border-radius:7px;margin-top:8px;padding:8px;background:#0a617f;color:#fff}
.scanmap-luci-fitall{width:auto!important;min-width:60px!important;white-space:nowrap;font-size:11px!important;padding:0 6px!important}

/* XXI edizione: lettura chiara, categorie e note solo nelle schede */
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-catalog-note{color:#dfe8ee;font-size:12px;line-height:1.45;margin:10px 0}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-context-note{color:#b8c8d1;display:block;font-size:11px;margin-top:2px}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-author{color:#e6c57f;font-size:11px;line-height:1.4;margin:5px 0 0}
.scanmap-luci-visit-note{padding:10px 12px;border-left:3px solid #c09e53;background:rgba(216,176,94,.07);color:#dfe7eb;font-size:12px;line-height:1.5}
.scanmap-luci-position-hint{display:block;margin-top:5px;color:#526875;font-size:11px}


/* Uniform artwork marker. Scoped to Luci d'Artista only. Legacy database pins
   are visually replaced, not removed from database/other maps. */
#map .scanmap-marker[data-marker-id="1218"],
#map .scanmap-marker[data-marker-id="1219"],
#map .scanmap-marker[data-marker-id="1220"],
#map .scanmap-marker[data-marker-id="1221"],
#map .scanmap-marker[data-marker-id="1222"],
#map .scanmap-marker[data-marker-id="1223"],
#map .scanmap-marker[data-marker-id="1224"],
#map .scanmap-marker[data-marker-id="1225"],
#map .scanmap-marker[data-marker-id="1226"]{
  display:none!important;
}
#map .scanmap-luci-sitepin.scanmap-luci-pin-uniform{
  width:34px!important;height:38px!important;min-width:34px!important;min-height:38px!important;
  padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;overflow:visible!important;
  color:inherit!important;display:block!important;cursor:pointer!important;
  -webkit-tap-highlight-color:transparent;
}
#map .scanmap-luci-sitepin.scanmap-luci-pin-uniform::after{
  display:none!important;content:none!important;
}
#map .scanmap-luci-pin-uniform .scanmap-luci-pin-icon{
  display:block!important;width:34px!important;height:38px!important;
  object-fit:contain!important;pointer-events:none!important;border:0!important;
  box-shadow:0 2px 6px rgba(0,0,0,.12);border-radius:8px;
}
#map .scanmap-luci-pin-uniform .scanmap-luci-pin-title{
  display:block!important;position:absolute!important;top:calc(100% + 3px)!important;
  left:50%!important;transform:translateX(-50%)!important;
  width:max-content!important;max-width:138px!important;min-width:53px!important;
  padding:4px 6px!important;border-radius:8px!important;
  border:1px solid rgba(181,141,67,.45)!important;
  background:rgba(255,253,249,.96)!important;color:#102d40!important;
  box-shadow:0 2px 8px rgba(0,20,36,.18)!important;
  font:750 10.5px/1.17 system-ui,-apple-system,"Segoe UI",sans-serif!important;
  text-align:center!important;white-space:normal!important;overflow-wrap:normal!important;
  word-break:normal!important;pointer-events:none!important;
  user-select:none!important;z-index:2!important;
}
#map .scanmap-luci-pin-uniform.scanmap-luci-pin-exhibition .scanmap-luci-pin-title{
  border-color:rgba(18,113,136,.5)!important;
}
#map .scanmap-luci-pin-uniform:hover .scanmap-luci-pin-title,
#map .scanmap-luci-pin-uniform:focus-visible .scanmap-luci-pin-title{
  background:white!important;border-color:#ad7116!important;z-index:10!important;
}
#map .scanmap-luci-pin-uniform:focus-visible{outline:2px solid #ffc55c!important;outline-offset:3px}
@media(max-width:640px){
  #map .scanmap-luci-pin-uniform .scanmap-luci-pin-title{
    max-width:108px!important;font-size:9.5px!important;padding:3px 5px!important;
  }
  #map .scanmap-luci-sitepin.scanmap-luci-pin-uniform{width:31px!important;height:35px!important;min-width:31px!important;min-height:35px!important}
  #map .scanmap-luci-pin-uniform .scanmap-luci-pin-icon{width:31px!important;height:35px!important}
}

/* LUCI rich marker popup and fullscreen image viewer, scoped to LUCI components. */
.mapboxgl-popup .scanmap-luci-sitebubble-rich{
  width:min(316px,calc(100vw - 58px));max-width:316px;color:#102b3c;
  font:13px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;
}
.mapboxgl-popup .scanmap-luci-popup-row{display:grid;grid-template-columns:98px minmax(0,1fr);gap:11px;align-items:start}
.mapboxgl-popup .scanmap-luci-popup-thumb{
  display:flex;align-items:center;justify-content:center;width:98px;height:95px;
  padding:0;overflow:hidden;border:1px solid #cfdae2;border-radius:11px;
  background:#102f43;cursor:zoom-in;
}
.mapboxgl-popup .scanmap-luci-popup-thumb img{
  width:100%;height:100%;object-fit:cover;display:block;
}
.mapboxgl-popup .scanmap-luci-popup-thumb.no-photo{cursor:default;background:#133347;border:0}
.mapboxgl-popup .scanmap-luci-popup-thumb.no-photo img{object-fit:contain;width:52px;height:61px;opacity:.9}
.mapboxgl-popup .scanmap-luci-popup-thumb:focus-visible{outline:3px solid #dca52f;outline-offset:2px}
.mapboxgl-popup .scanmap-luci-popup-summary{min-width:0;overflow-wrap:anywhere}
.mapboxgl-popup .scanmap-luci-popup-summary strong{display:block;font-size:15px;line-height:1.15;color:#102b3c}
.mapboxgl-popup .scanmap-luci-popup-summary span{display:block;font-size:11px;color:#4b6270;margin-top:4px}
.mapboxgl-popup .scanmap-luci-popup-summary p{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;
 overflow:hidden;margin:5px 0 0;font-size:12px;line-height:1.34;color:#1d3747}
.mapboxgl-popup .scanmap-luci-popup-credit{display:block;color:#526d7e;font-size:9px;line-height:1.25;margin:5px 0 0}
.mapboxgl-popup .scanmap-luci-popup-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:11px}
.mapboxgl-popup .scanmap-luci-popup-action{background:#0d5b7e;color:#fff;border:0;border-radius:9px;padding:9px 4px;
 font:700 11px/1.2 system-ui,sans-serif;min-height:38px;cursor:pointer}
.mapboxgl-popup .scanmap-luci-popup-action.details{background:#d8a73c;color:#142b3b}
.mapboxgl-popup .scanmap-luci-popup-action:disabled{opacity:.4;cursor:not-allowed}
.mapboxgl-popup .scanmap-luci-popup-action:focus-visible{outline:2px solid #c18b19;outline-offset:2px}
.mapboxgl-popup .scanmap-luci-popup-destination{display:block;margin-top:7px;color:#526c79;
 font:11px/1.4 system-ui,sans-serif}
html.scanmap-luci-lightbox-open{overflow:hidden!important}
.scanmap-luci-lightbox{position:fixed;inset:0;z-index:2147483600;background:rgba(2,11,20,.95);display:flex;
 align-items:center;justify-content:center;padding:18px;box-sizing:border-box}
.scanmap-luci-lightbox-content{position:relative;max-width:min(1100px,100%);max-height:100%;display:flex;
 flex-direction:column;align-items:center;gap:8px;color:#fff;text-align:center}
.scanmap-luci-lightbox-content img{max-width:calc(100vw - 36px);max-height:calc(100dvh - 116px);height:auto;
 width:auto;object-fit:contain;border-radius:6px}
.scanmap-luci-lightbox-content p{font-size:12px;line-height:1.4;margin:0;max-width:95vw}
.scanmap-luci-lightbox-content a{font-size:12px;color:#ffdb91;text-decoration:underline}
.scanmap-luci-lightbox-close{position:absolute;top:0;right:0;transform:translate(8px,-15px);
 border-radius:50%;width:38px;height:38px;background:#fff;color:#102c40;border:0;
 font-size:26px;line-height:1;cursor:pointer;z-index:1}
@media(max-width:450px){
  .mapboxgl-popup .scanmap-luci-sitebubble-rich{width:min(298px,calc(100vw - 58px))}
  .mapboxgl-popup .scanmap-luci-popup-row{grid-template-columns:88px minmax(0,1fr);gap:8px}
  .mapboxgl-popup .scanmap-luci-popup-thumb{width:88px;height:85px}
  .mapboxgl-popup .scanmap-luci-popup-summary strong{font-size:14px}
  .mapboxgl-popup .scanmap-luci-popup-summary p{font-size:11px;-webkit-line-clamp:3}
}

/* NOV 2026 – accessible dark popup. Scope strictly to LUCI markers. */
.mapboxgl-popup.scanmap-luci-popup-dark .mapboxgl-popup-content{
  background:#071b2b!important;color:#ffffff!important;
  border:1px solid #55758b!important;border-radius:14px!important;
  box-shadow:0 12px 36px rgba(1,9,16,.65)!important;
  padding:14px 13px 13px!important;
}
.mapboxgl-popup.scanmap-luci-popup-dark .mapboxgl-popup-tip{
  border-top-color:#071b2b!important;
  border-bottom-color:#071b2b!important;
}
.mapboxgl-popup.scanmap-luci-popup-dark .mapboxgl-popup-close-button{
  color:#fff!important;font-size:22px!important;font-weight:700!important;
  background:rgba(255,255,255,.08)!important;border-radius:0 14px 0 8px!important;
  width:30px!important;height:28px!important;line-height:1!important;
}
.mapboxgl-popup.scanmap-luci-popup-dark .scanmap-luci-sitebubble-rich{color:#fff!important;width:min(330px,calc(100vw - 58px))!important;max-width:330px!important}
.mapboxgl-popup.scanmap-luci-popup-dark .scanmap-luci-popup-summary strong{
  color:#ffffff!important;font-size:16px!important;line-height:1.21!important;
}
.mapboxgl-popup.scanmap-luci-popup-dark .scanmap-luci-popup-summary span{
  color:#e1ebf2!important;font-size:12px!important;line-height:1.28!important;
}
.mapboxgl-popup.scanmap-luci-popup-dark .scanmap-luci-popup-summary p{
  color:#ffffff!important;font-size:13px!important;line-height:1.46!important;
}
.mapboxgl-popup.scanmap-luci-popup-dark .scanmap-luci-popup-credit,
.mapboxgl-popup.scanmap-luci-popup-dark .scanmap-luci-popup-destination{
  color:#d5e3ee!important;font-size:11px!important;line-height:1.4!important;
}
.mapboxgl-popup.scanmap-luci-popup-dark .scanmap-luci-popup-action{
  color:#ffffff!important;background:#136287!important;
  border:1px solid #75a5bd!important;font-size:12px!important;
  min-height:43px!important;
}
.mapboxgl-popup.scanmap-luci-popup-dark .scanmap-luci-popup-action.details{
  color:#ffffff!important;background:#354b63!important;border:1px solid #b79d6c!important;
}
.mapboxgl-popup.scanmap-luci-popup-dark .scanmap-luci-popup-action:disabled{
  color:#e2e9ef!important;background:#344b5b!important;opacity:.6!important;
}
.mapboxgl-popup.scanmap-luci-popup-dark .scanmap-luci-popup-thumb{
  border:2px solid #b1cddd!important;background:#102f43!important;
}
.mapboxgl-popup.scanmap-luci-popup-dark .scanmap-luci-popup-thumb.no-photo{
  border:1px solid #668095!important;
}
.scanmap-luci-gallery-nav{display:flex;align-items:center;justify-content:center;gap:15px;color:#fff}
.scanmap-luci-gallery-nav button{
  color:#fff;background:#194765;border:1px solid #a1b9ca;border-radius:10px;
  width:44px;height:34px;font-size:25px;line-height:1;cursor:pointer;
}
.scanmap-luci-gallery-nav button:focus-visible{outline:3px solid #ffcc6a}
.scanmap-luci-gallery-count{font:700 13px system-ui,sans-serif;color:#fff;min-width:45px}
@media (max-width:450px){
  .mapboxgl-popup.scanmap-luci-popup-dark .scanmap-luci-sitebubble-rich{
    width:min(307px,calc(100vw - 56px))!important;
  }
}


/* LUCI — 2026 viewport-centered popup, prevents cropped text on phones/tablets */
html.scanmap-luci-centered-open{overflow:hidden!important}
#scanmapLuciCenteredPopup.scanmap-luci-centered-backdrop{
  position:fixed!important;inset:0!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;
  z-index:2147483000!important;
  padding:clamp(10px,3vw,24px)!important;
  background:rgba(0,9,19,.72)!important;
  overscroll-behavior:contain!important;
  -webkit-text-size-adjust:100%!important;
}
#scanmapLuciCenteredPopup .scanmap-luci-centered-card{
  position:relative!important;display:flex!important;flex-direction:column!important;
  box-sizing:border-box!important;
  width:min(100%,470px)!important;min-width:0!important;
  max-width:min(470px,100%)!important;
  max-height:calc(100dvh - 24px)!important;
  margin:auto!important;overflow:hidden!important;
  background:#071b2b!important;color:#fff!important;
  border:1px solid #6689a1!important;border-radius:18px!important;
  box-shadow:0 22px 62px rgba(0,8,20,.7)!important;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif!important;
  -webkit-text-size-adjust:100%!important;
}
#scanmapLuciCenteredPopup .scanmap-luci-centered-bar{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  flex:0 0 auto!important;padding:10px 13px!important;
  border-bottom:1px solid rgba(255,255,255,.14)!important;
  background:#0c273a!important;gap:8px!important;min-width:0!important;
}
#scanmapLuciCenteredPopup .scanmap-luci-centered-brand{
  color:#e9bb69!important;font-size:11px!important;letter-spacing:.045em!important;
  font-weight:800!important;line-height:1.4!important;
}
#scanmapLuciCenteredPopup .scanmap-luci-centered-close{
  flex:0 0 34px!important;width:34px!important;height:34px!important;padding:0!important;
  border-radius:8px!important;border:1px solid #7194ab!important;
  background:#203e52!important;color:#fff!important;
  font:700 27px/1 system-ui,sans-serif!important;cursor:pointer!important;
}
#scanmapLuciCenteredPopup .scanmap-luci-centered-content{
  padding:14px!important;box-sizing:border-box!important;
  width:100%!important;min-width:0!important;
  overflow-y:auto!important;overflow-x:hidden!important;
  max-height:calc(100dvh - 86px)!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
}
#scanmapLuciCenteredPopup .scanmap-luci-sitebubble-rich{
  display:block!important;box-sizing:border-box!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  color:#fff!important;font:400 14px/1.48 system-ui,-apple-system,"Segoe UI",sans-serif!important;
  overflow-wrap:anywhere!important;word-break:normal!important;white-space:normal!important;
  -webkit-text-size-adjust:100%!important;
}
#scanmapLuciCenteredPopup .scanmap-luci-popup-row{
  display:grid!important;grid-template-columns:100px minmax(0,1fr)!important;
  gap:12px!important;align-items:start!important;
  width:100%!important;min-width:0!important;
}
#scanmapLuciCenteredPopup .scanmap-luci-popup-thumb{
  width:100px!important;height:102px!important;box-sizing:border-box!important;
  padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;
  overflow:hidden!important;border:2px solid #8caec5!important;border-radius:11px!important;
  background:#14354c!important;cursor:zoom-in!important;
}
#scanmapLuciCenteredPopup .scanmap-luci-popup-thumb:disabled{cursor:default!important}
#scanmapLuciCenteredPopup .scanmap-luci-popup-thumb img{
  display:block!important;width:100%!important;height:100%!important;
  object-fit:cover!important;max-width:100%!important;
}
#scanmapLuciCenteredPopup .scanmap-luci-popup-thumb.no-photo img{
  width:58px!important;height:68px!important;object-fit:contain!important;
}
#scanmapLuciCenteredPopup .scanmap-luci-popup-summary{
  min-width:0!important;width:100%!important;max-width:100%!important;
  display:block!important;overflow-wrap:anywhere!important;
}
#scanmapLuciCenteredPopup .scanmap-luci-popup-summary strong{
  display:block!important;color:#fff!important;
  font-size:clamp(16px,4vw,19px)!important;line-height:1.23!important;
  font-weight:800!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
#scanmapLuciCenteredPopup .scanmap-luci-popup-summary span{
  display:block!important;color:#e2edf5!important;
  font-size:13px!important;line-height:1.4!important;margin-top:7px!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
}
#scanmapLuciCenteredPopup .scanmap-luci-popup-summary p{
  display:block!important;color:#fff!important;
  font-size:14px!important;line-height:1.5!important;
  margin:10px 0 0!important;max-width:100%!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
  -webkit-line-clamp:unset!important;line-clamp:unset!important;
  overflow:visible!important;text-overflow:clip!important;
}
#scanmapLuciCenteredPopup .scanmap-luci-popup-credit,
#scanmapLuciCenteredPopup .scanmap-luci-popup-destination{
  display:block!important;color:#d6e6f1!important;
  font-size:12px!important;line-height:1.48!important;
  margin-top:10px!important;overflow-wrap:anywhere!important;
}
#scanmapLuciCenteredPopup .scanmap-luci-popup-actions{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:9px!important;margin-top:16px!important;width:100%!important;
}
#scanmapLuciCenteredPopup .scanmap-luci-popup-action{
  box-sizing:border-box!important;width:100%!important;min-width:0!important;
  min-height:44px!important;
  padding:11px 7px!important;border:1px solid #87acc2!important;
  border-radius:10px!important;background:#15678b!important;color:white!important;
  font:750 13px/1.24 system-ui,sans-serif!important;white-space:normal!important;
  cursor:pointer!important;
}
#scanmapLuciCenteredPopup .scanmap-luci-popup-action.details{
  background:#344c65!important;color:white!important;border-color:#c9a761!important;
}
#scanmapLuciCenteredPopup .scanmap-luci-popup-action:disabled{
  opacity:.57!important;cursor:not-allowed!important;
}
#scanmapLuciCenteredPopup .scanmap-luci-popup-action:focus-visible,
#scanmapLuciCenteredPopup .scanmap-luci-centered-close:focus-visible{
  outline:3px solid #f6ca73!important;outline-offset:2px!important;
}
@media(max-width:420px){
  #scanmapLuciCenteredPopup .scanmap-luci-centered-content{padding:12px!important;}
  #scanmapLuciCenteredPopup .scanmap-luci-popup-row{grid-template-columns:83px minmax(0,1fr)!important;gap:9px!important;}
  #scanmapLuciCenteredPopup .scanmap-luci-popup-thumb{width:83px!important;height:88px!important;}
  #scanmapLuciCenteredPopup .scanmap-luci-popup-summary strong{font-size:16px!important;}
  #scanmapLuciCenteredPopup .scanmap-luci-popup-summary span{font-size:12px!important;}
  #scanmapLuciCenteredPopup .scanmap-luci-popup-summary p{font-size:13px!important;}
}
@media(max-width:340px){
  #scanmapLuciCenteredPopup .scanmap-luci-popup-row{grid-template-columns:1fr!important;gap:9px!important;}
  #scanmapLuciCenteredPopup .scanmap-luci-popup-thumb{width:102px!important;height:94px!important;}
}

/* LUCI LIST 2026–2027 — editorial identity and official photo banner.
   The hero scrolls away while the compact search/filters remain sticky. */
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature{
  display:block!important;position:relative!important;
  margin:0 0 10px!important;padding:14px 11px 0!important;
  overflow:hidden!important;text-align:center!important;
  background:radial-gradient(ellipse at 50% 5%,rgba(203,156,67,.14),transparent 65%)!important;
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-text{padding:0 4px 11px!important}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-kicker{
  display:block!important;color:#f2c778!important;
  font:800 9px/1.35 system-ui,-apple-system,sans-serif!important;
  letter-spacing:.16em!important;white-space:normal!important;
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-title{
  color:#fff!important;font-family:Georgia,"Times New Roman",serif!important;
  font-weight:700!important;font-size:clamp(24px,6.3vw,34px)!important;
  letter-spacing:-.035em!important;line-height:1.06!important;
  margin:5px 0 2px!important;overflow-wrap:normal!important;
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-edition{
  color:#f0bf69!important;font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(16px,4.8vw,23px)!important;font-weight:700!important;
  line-height:1.2!important;margin:0!important;letter-spacing:.01em!important;
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-figure{
  position:relative!important;overflow:hidden!important;
  width:100%!important;margin:0!important;padding:0!important;
  height:clamp(102px,27vw,148px)!important;
  border-radius:13px!important;border:1px solid rgba(237,190,94,.44)!important;
  background:#082033!important;box-sizing:border-box!important;
  box-shadow:0 8px 20px rgba(0,0,0,.29)!important;
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-figure img{
  width:100%!important;height:100%!important;display:block!important;
  object-fit:cover!important;object-position:50% 53%!important;
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-figure::after{
  position:absolute!important;content:''!important;inset:45% 0 0!important;
  background:linear-gradient(transparent,rgba(0,9,20,.83))!important;pointer-events:none!important;
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-figure figcaption{
  position:absolute!important;bottom:7px!important;left:10px!important;right:8px!important;
  z-index:1!important;text-align:left!important;color:#fff!important;
  font:650 10px/1.3 system-ui,-apple-system,sans-serif!important;
  text-shadow:0 1px 3px rgba(0,0,0,.6)!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-head{
  position:sticky!important;top:-1px!important;display:block!important;
  grid-template-columns:none!important;gap:0!important;
  padding:9px 10px 10px!important;margin:0 0 9px!important;
  box-sizing:border-box!important;z-index:5!important;
  background:rgba(5,22,35,.985)!important;
  border-top:1px solid rgba(223,179,93,.22)!important;
  border-bottom:1px solid rgba(223,179,93,.24)!important;
  backdrop-filter:blur(12px)!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-subtitle{
  display:block!important;position:static!important;margin:0 0 8px!important;
  color:#e3c58d!important;white-space:normal!important;
  font-size:11px!important;line-height:1.36!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-search{
  display:block!important;position:static!important;width:100%!important;
  margin:0!important;grid-column:auto!important;grid-row:auto!important;
  min-width:0!important;box-sizing:border-box!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-catalog-note{
  margin:8px 0 3px!important;color:#e5edf3!important;
  font-size:11px!important;line-height:1.3!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-context-note{
  display:block!important;margin-top:2px!important;color:#bdcdd8!important;
  font-size:10px!important;line-height:1.3!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-filters{
  display:flex!important;gap:5px!important;margin:8px 0 0!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-filter{
  min-width:0!important;padding:8px 4px!important;
  white-space:normal!important;line-height:1.2!important;
  font-size:clamp(10px,2.7vw,12px)!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-business-cta{
  display:block!important;margin:7px 7px 8px!important;
}
@media(max-width:359px){
  #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature{padding-inline:7px!important}
  #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-title{font-size:25px!important}
  #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-edition{font-size:17px!important}
}


/* LUCI — hero copertina: foto sotto al titolo, non una fascia successiva. */
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature{
  position:relative!important;isolation:isolate!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;height:clamp(186px,48vw,228px)!important;
  min-height:186px!important;margin:0 0 9px!important;padding:0!important;
  overflow:hidden!important;border-radius:13px!important;
  border:1px solid rgba(236,190,95,.55)!important;
  background:#071d30!important;
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-figure{
  position:absolute!important;inset:0!important;z-index:0!important;
  display:block!important;width:100%!important;height:100%!important;min-height:0!important;
  margin:0!important;padding:0!important;border:0!important;
  border-radius:inherit!important;box-shadow:none!important;
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-figure img{
  width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:50% 50%!important;
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-figure::after{
  content:''!important;position:absolute!important;inset:0!important;z-index:0!important;
  background:linear-gradient(180deg,rgba(2,12,25,.70) 0%,rgba(3,13,26,.36) 48%,rgba(1,10,23,.82) 100%)!important;
  pointer-events:none!important;
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-text{
  position:relative!important;z-index:2!important;
  flex:none!important;width:100%!important;
  box-sizing:border-box!important;min-width:0!important;
  padding:11px 13px 29px!important;text-align:center!important;
  text-shadow:0 2px 9px rgba(0,0,0,.95),0 1px 3px rgba(0,0,0,.9)!important;
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-kicker{
  color:#ffe2a1!important;text-shadow:0 1px 5px rgba(0,0,0,.95)!important;
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-title{
  color:#fff!important;font-size:clamp(24px,6vw,33px)!important;
  margin:7px 0 3px!important;line-height:1.08!important;
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-edition{
  color:#ffd484!important;font-size:clamp(16px,4.5vw,23px)!important;
}
#floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-figure figcaption{
  position:absolute!important;z-index:3!important;left:9px!important;
  right:9px!important;bottom:7px!important;text-align:center!important;
  font:600 9px/1.2 system-ui,-apple-system,sans-serif!important;
  color:#fff!important;text-shadow:0 1px 5px rgba(0,0,0,1)!important;
}
@media(max-width:359px){
  #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature{
    height:184px!important;min-height:184px!important;
  }
  #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-text{
    padding-inline:8px!important;
  }
}

/* LUCI — gold list background 20261108. Scoped to the LUCI LIST only. */
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"]{
  background-color:#c58d25!important;
  background-image:radial-gradient(ellipse at 16% 0%,rgba(255,244,194,.43) 0%,transparent 48%),linear-gradient(155deg,#e8be65 0%,#d4a241 34%,#ba7f1a 68%,#e1b654 100%)!important;
  color:#152d3c!important;
  border:1px solid #f5d48b!important;
  box-shadow:0 16px 44px rgba(21,14,4,.4)!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-wrap{
  background:transparent!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] #scanmapLuciListResults{
  background:transparent!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-card{
  background:linear-gradient(155deg,#0c2638,#132f42)!important;
  color:#fff!important;
  border:1px solid rgba(255,225,163,.75)!important;
  box-shadow:0 4px 14px rgba(38,22,2,.27)!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-head{
  background:rgba(7,29,45,.98)!important;
  border:1px solid rgba(247,216,142,.68)!important;
  border-radius:12px!important;
  box-shadow:0 4px 16px rgba(41,26,6,.24)!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-business-cta{
  background:#102c3c!important;
  border:1px solid #ffe2a3!important;
  color:#ffe4aa!important;
  box-shadow:0 3px 12px rgba(37,22,5,.26)!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature{
  box-shadow:0 5px 17px rgba(50,28,5,.32)!important;
}

/* LUCI — compact card actions: two small horizontal buttons, mobile-safe. */
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-actions{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  grid-template-columns:none!important;
  gap:6px!important;
  margin-top:1px!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-actions .scanmap-list-action-btn{
  appearance:none!important;
  flex:0 0 auto!important;
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:34px!important;
  height:34px!important;
  padding:5px 11px!important;
  border-radius:8px!important;
  font-size:11px!important;
  font-weight:750!important;
  line-height:1.1!important;
  white-space:nowrap!important;
  text-align:center!important;
}
@media (max-width:359px){
 html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-actions .scanmap-list-action-btn{
   padding:4px 8px!important;
   font-size:10.5px!important;
 }
}

/* LUCI LIST – three compact actions, touch-friendly and contained at 320px. */
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-actions{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:4px!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  margin-top:2px!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-actions .scanmap-list-action-btn{
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  min-height:34px!important;
  height:34px!important;
  padding:3px 3px!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
  line-height:1.12!important;
  font-size:clamp(9.5px,2.7vw,11px)!important;
  overflow:hidden!important;
  text-overflow:clip!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-action-btn.reach{
  background:#0f6a59!important;
  color:#fff!important;
  border:1px solid #59bea4!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-action-btn.reach:disabled{
  background:#405558!important;
  color:#e2e7e7!important;
  border-color:#718480!important;
  opacity:.57!important;
  cursor:not-allowed!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-list-actions .scanmap-list-action-btn:focus-visible{
  outline:2px solid #ffd77c!important;
  outline-offset:2px!important;
}

/* LUCI title hero: compact half-height, same photograph and legible overlay. */
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature {
  height:clamp(96px,28vw,112px)!important;
  min-height:96px!important;
  max-height:112px!important;
  margin-bottom:7px!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-text {
  padding:3px 6px 11px!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-kicker {
  font-size:8px!important;
  letter-spacing:.11em!important;
  line-height:1.12!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-title {
  font-size:clamp(20px,5vw,26px)!important;
  line-height:1.05!important;
  margin:3px 0 1px!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-edition {
  font-size:clamp(14px,3.8vw,19px)!important;
  line-height:1.08!important;
  margin:0!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-figure figcaption {
  bottom:4px!important;
  left:6px!important;
  right:6px!important;
  font-size:8px!important;
}
html.scanmap-responsive body #floatingPopup[data-scanmap-list-mode="luci"] .scanmap-luci-list-feature-figure img {
  object-position:50% 45%!important;
}


/* LUCI topbar gold matched to LIST — 20261108
   Deliberately scoped to the LUCI page and its app; other maps unaffected. */
html body[data-scanmap-page="luci"] #app .scanmap-topbar{
  background-color:#c58d25!important;
  background-image:
    radial-gradient(ellipse at 16% 0%,rgba(255,244,194,.43) 0%,transparent 48%),
    linear-gradient(155deg,#e8be65 0%,#d4a241 34%,#ba7f1a 68%,#e1b654 100%)!important;
  color:#102c3c!important;
  border-bottom:1px solid #f5d48b!important;
  box-shadow:0 5px 16px rgba(21,14,4,.25)!important;
}
html body[data-scanmap-page="luci"] #app .scanmap-topbar .scanmap-brand strong{
  color:#102c3c!important;
  text-shadow:0 1px 0 rgba(255,249,222,.45)!important;
}
html body[data-scanmap-page="luci"] #app .scanmap-topbar .scanmap-brand span,
html body[data-scanmap-page="luci"] #app .scanmap-topbar #pageTitleSubShell{
  color:#18384a!important;
}
html body[data-scanmap-page="luci"] #app .scanmap-topbar .scanmap-logo{
  background:linear-gradient(135deg,#0b2a3e,#16445d)!important;
  color:#fff!important;
  border:1px solid rgba(255,231,165,.8)!important;
  box-sizing:border-box!important;
  box-shadow:0 2px 8px rgba(29,22,5,.22)!important;
}
html body[data-scanmap-page="luci"] #app .scanmap-topbar .top-btn{
  background:#112e41!important;
  color:#fff!important;
  border:1px solid rgba(255,227,159,.83)!important;
  box-shadow:0 2px 8px rgba(32,23,5,.23)!important;
}
html body[data-scanmap-page="luci"] #app .scanmap-topbar .top-btn:hover,
html body[data-scanmap-page="luci"] #app .scanmap-topbar .top-btn.is-active{
  background:#214e64!important;
  color:#fff!important;
  border-color:#fff0c0!important;
}
html body[data-scanmap-page="luci"] #app .scanmap-topbar .top-btn:focus-visible,
html body[data-scanmap-page="luci"] #app .scanmap-topbar a:focus-visible{
  outline:3px solid #123b56!important;
  outline-offset:2px!important;
}


/* LUCI topbar official ScanMAP mark — 20261108.
   The same emblem is used in the other map category navbars; styles only LUCI. */
html body[data-scanmap-page="luci"] #app .scanmap-topbar .scanmap-logo.scanmap-luci-brand-logo{
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  max-width:40px!important;
  flex:0 0 40px!important;
  border-radius:50%!important;
  padding:0!important;
  overflow:hidden!important;
  background:transparent!important;
  border:1px solid rgba(255,233,170,.85)!important;
  box-sizing:border-box!important;
  box-shadow:0 2px 9px rgba(29,22,5,.25)!important;
}
html body[data-scanmap-page="luci"] #app .scanmap-topbar .scanmap-logo.scanmap-luci-brand-logo img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  border-radius:50%!important;
}


/* LUCI golden floating LIST tab — 20261108.
   Dedicated page scope; no styling changes to other ScanMAP maps. */
html body[data-scanmap-page="luci"] #app #floatingMarker.floating-marker{
  background-color:#c58d25!important;
  background-image:
    radial-gradient(ellipse at 16% 0%,rgba(255,244,194,.43) 0%,transparent 48%),
    linear-gradient(155deg,#e8be65 0%,#d4a241 34%,#ba7f1a 68%,#e1b654 100%)!important;
  color:#102c3c!important;
  border:1px solid #f5d48b!important;
  border-right:0!important;
  text-shadow:0 1px 0 rgba(255,247,212,.45)!important;
  box-shadow:-3px 3px 13px rgba(38,24,4,.3)!important;
  font-weight:850!important;
}
/* When the list is open, the gold tab becomes black with bold gold LISTA text. */
html body[data-scanmap-page="luci"] #app #floatingMarker.floating-marker.is-active{
  background-color:#090909!important;
  background-image:none!important;
  color:#eac16b!important;
  border-color:#ce9d40!important;
  text-shadow:none!important;
  font-weight:900!important;
}
html body[data-scanmap-page="luci"] #app #floatingMarker.floating-marker:hover,
html body[data-scanmap-page="luci"] #app #floatingMarker.floating-marker:focus-visible{
  filter:brightness(1.07)!important;
}
html body[data-scanmap-page="luci"] #app #floatingMarker.floating-marker:focus-visible{
  outline:3px solid #102c3c!important;
  outline-offset:2px!important;
}

/* LUCI-only footer replacing the category navbar with social follow links. */
html.scanmap-responsive body[data-scanmap-page="luci"] #navbar,
html body[data-scanmap-page="luci"] #navbar{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#071e30!important;
  background-image:linear-gradient(180deg,#133348,#071927)!important;
  border-top:1px solid rgba(243,196,104,.85)!important;
  box-shadow:0 -5px 19px rgba(4,13,23,.28)!important;
  padding:3px 6px calc(3px + env(safe-area-inset-bottom,0px))!important;
  overflow:hidden!important;
}
html body[data-scanmap-page="luci"] #navbar .luci-social-footer{
  width:100%!important;
  max-width:640px!important;
  min-width:0!important;
  height:100%!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding:1px 2px!important;
  gap:0!important;
  color:#f4f6f8!important;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif!important;
}
html body[data-scanmap-page="luci"] #navbar .luci-social-footer-top{
  box-sizing:border-box!important;
  width:100%!important;
  min-height:0!important;
  flex:1 1 auto!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:clamp(10px,4vw,25px)!important;
}
html body[data-scanmap-page="luci"] #navbar .luci-social-follow-title{
  font-size:clamp(10px,3.2vw,14px)!important;
  font-weight:800!important;
  line-height:1.15!important;
  letter-spacing:.01em!important;
  color:#ffdb90!important;
  white-space:nowrap!important;
}
html body[data-scanmap-page="luci"] #navbar .luci-social-links{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:clamp(7px,2.3vw,13px)!important;
}
html body[data-scanmap-page="luci"] #navbar .luci-follow-link{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 34px!important;
  min-width:34px!important;
  width:34px!important;
  height:34px!important;
  padding:0!important;
  box-sizing:border-box!important;
  background:#e7b55c!important;
  color:#0d2b3d!important;
  border:1px solid #ffe3a3!important;
  border-radius:50%!important;
  text-decoration:none!important;
  box-shadow:0 2px 8px rgba(0,0,0,.25)!important;
}
html body[data-scanmap-page="luci"] #navbar .luci-follow-link svg{
  display:block!important;
  width:20px!important;
  height:20px!important;
  fill:currentColor!important;
}
html body[data-scanmap-page="luci"] #navbar .luci-follow-link:hover{
  background:#ffda89!important;
}
html body[data-scanmap-page="luci"] #navbar a:focus-visible{
  outline:2px solid #ffe3a3!important;
  outline-offset:2px!important;
}
html body[data-scanmap-page="luci"] #navbar .luci-social-footer-credit{
  box-sizing:border-box!important;
  margin:0!important;
  padding:1px 0 2px!important;
  width:100%!important;
  min-height:17px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  flex:0 0 auto!important;
  white-space:nowrap!important;
  font-size:clamp(8px,2.65vw,10.5px)!important;
  line-height:1.25!important;
  letter-spacing:-.015em!important;
  color:#e8e8eb!important;
  text-align:center!important;
}
html body[data-scanmap-page="luci"] #navbar .luci-social-footer-credit a{
  color:#f5cf82!important;
  font:inherit!important;
  font-weight:700!important;
  text-decoration:underline!important;
  text-decoration-color:rgba(255,219,142,.55)!important;
  text-underline-offset:2px!important;
}
html body[data-scanmap-page="luci"] #navbar .luci-social-footer-credit span{
  color:#e8e8eb!important;
}
@media(max-width:350px){
 html body[data-scanmap-page="luci"] #navbar .luci-social-footer-top{gap:7px!important}
 html body[data-scanmap-page="luci"] #navbar .luci-social-links{gap:6px!important}
 html body[data-scanmap-page="luci"] #navbar .luci-follow-link{
   min-width:32px!important;width:32px!important;height:32px!important;flex-basis:32px!important;
 }
 html body[data-scanmap-page="luci"] #navbar .luci-social-footer-credit{
   font-size:8px!important;gap:1px!important;letter-spacing:-.025em!important;
 }
}


/* LUCI social footer — fourth gold icon for sharing the map. */
html body[data-scanmap-page="luci"] #navbar button.luci-share-map-link{
  appearance:none!important;
  cursor:pointer!important;
  font:inherit!important;
}
html body[data-scanmap-page="luci"] #navbar button.luci-share-map-link svg{
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
html body[data-scanmap-page="luci"] #luciShareMapFeedback{
  color:#0d2b3d!important;
}
html body[data-scanmap-page="luci"] #navbar .luci-social-links{
  gap:clamp(5px,1.7vw,10px)!important;
}
@media(max-width:350px){
 html body[data-scanmap-page="luci"] #navbar .luci-social-footer-top{gap:6px!important}
 html body[data-scanmap-page="luci"] #navbar .luci-social-links{gap:4px!important}
 html body[data-scanmap-page="luci"] #navbar .luci-follow-link{
   min-width:30px!important;width:30px!important;height:30px!important;flex-basis:30px!important;
 }
}
.luci-share-feedback{
  position:fixed;z-index:2147483010;left:50%;bottom:calc(90px + env(safe-area-inset-bottom,0px));
  transform:translateX(-50%);
  border-radius:12px;padding:10px 14px;
  background:#f3cd81;color:#0d2b3d;
  border:1px solid #ffedc3;
  box-shadow:0 5px 24px rgba(0,0,0,.32);
  font:700 13px/1.3 system-ui,-apple-system,sans-serif;
  text-align:center;pointer-events:none;
}


/* LUCI 2026 AI/IDIM photo marker size guard.
   On this map the shared photo-card stylesheet isn't loaded, so recommended
   artwork images otherwise retain native 900px dimensions on the map.
   Only the markers on LUCI are affected; photos in panels/modals are untouched. */
html body[data-scanmap-page="luci"] #map .scanmap-photo-card-marker{
  position:relative!important;
  display:block!important;
  width:86px!important;
  min-width:86px!important;
  max-width:86px!important;
  height:auto!important;
  min-height:0!important;
  max-height:120px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:4px!important;
  overflow:visible!important;
  background:#fff!important;
  border:1px solid rgba(245,207,136,.98)!important;
  border-radius:10px!important;
  box-shadow:0 2px 10px rgba(0,0,0,.25)!important;
  transform:none!important;
}
html body[data-scanmap-page="luci"] #map .scanmap-photo-card-marker img.scanmap-photo-card-img{
  box-sizing:border-box!important;
  display:block!important;
  width:76px!important;
  min-width:0!important;
  max-width:76px!important;
  height:49px!important;
  min-height:0!important;
  max-height:49px!important;
  aspect-ratio:76 / 49!important;
  object-fit:cover!important;
  object-position:center!important;
  padding:0!important;
  margin:0!important;
  border-radius:6px!important;
}
html body[data-scanmap-page="luci"] #map .scanmap-photo-card-marker .scanmap-photo-card-title{
  box-sizing:border-box!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  width:76px!important;
  max-width:76px!important;
  max-height:26px!important;
  overflow:hidden!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  font:750 9px/1.2 system-ui,-apple-system,sans-serif!important;
  text-align:center!important;
  margin:2px 0 0!important;
  padding:1px 1px 0!important;
  background:#fff!important;
  color:#172c3d!important;
}
html body[data-scanmap-page="luci"] #map .scanmap-photo-card-marker .scanmap-photo-card-tip{
  position:absolute!important;
  left:50%!important;
  bottom:-9px!important;
  width:0!important;
  height:0!important;
  margin:0!important;
  background:transparent!important;
  transform:translateX(-50%)!important;
  border-left:8px solid transparent!important;
  border-right:8px solid transparent!important;
  border-top:10px solid #fff!important;
  filter:drop-shadow(0 2px 1px rgba(0,0,0,.25))!important;
  pointer-events:none!important;
}
