*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#f5f5f2;color:#171717}header{position:sticky;top:0;z-index:1000;height:64px;border-bottom:1px solid #ddd;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 4.5vw}.logo{font-size:25px;font-weight:900;letter-spacing:-1px}header button,.actions button{border:1px solid #d7d7d7;background:#fff;border-radius:12px;padding:12px 18px;font-weight:800;cursor:pointer}.hero{max-width:950px;margin:70px auto 40px;display:flex;justify-content:space-between;align-items:end;padding:0 20px}.hero small,.diary>small,dialog small{font-weight:800;letter-spacing:2px;font-size:11px;color:#666}.hero h1{font-size:76px;line-height:.88;margin:15px 0 25px;letter-spacing:-4px}.hero p{font-size:17px;color:#555;max-width:520px}.actions{display:flex;gap:10px}.dark{background:#171717!important;color:#fff!important;border-color:#171717!important;cursor:pointer}.map{max-width:1100px;height:470px;margin:0 auto;background:#e3e5e1;position:relative}.map #map{width:100%;height:100%}.mapfallback{height:100%;display:flex;align-items:center;justify-content:center;color:#777}.mapadd{position:absolute;right:24px;top:22px;width:52px;height:52px;border:0;border-radius:50%;background:#fff;font-size:25px;font-weight:800;box-shadow:0 3px 14px #0002;cursor:pointer}.map-locate{position:absolute;left:16px;top:16px;border:0;border-radius:22px;background:#fff;padding:10px 14px;font-size:13px;font-weight:800;box-shadow:0 3px 14px #0002;cursor:pointer;z-index:5}.map-locate.needs-location{box-shadow:0 0 0 2px #171717,0 3px 14px #0002}.map-locate:active{transform:scale(.98)}
.status{position:absolute;left:16px;bottom:14px;background:#fff;border-radius:10px;padding:8px 12px;font-size:12px;box-shadow:0 2px 8px #0002}.diary{max-width:950px;margin:45px auto;padding:0 20px 70px}.title{display:flex;align-items:center;gap:12px}.title h2{font-size:30px}.title b{background:#171717;color:#fff;border-radius:20px;padding:5px 10px}.card,.empty{background:#fff;border:1px solid #ddd;border-radius:14px;padding:18px;margin:10px 0}.card h3{margin:0 0 6px}.card span,.card small{display:block;color:#666;margin:5px 0}.card .price{font-weight:400;color:#171717;margin:10px 0}.card .price-amount{color:#e5008c;font-weight:400}.card .price-label{color:#171717;font-weight:400}.card button{float:right;margin-top:-30px;border:0;background:#eee;border-radius:8px;padding:7px;cursor:pointer}.empty{text-align:center;color:#666;padding:35px}.empty strong{color:#171717}.empty button{margin-top:10px;border:1px solid #ddd;background:#fff;border-radius:10px;padding:10px 14px;font-weight:800;cursor:pointer}dialog{border:0;border-radius:18px;padding:26px;width:min(520px,calc(100% - 30px));box-shadow:0 20px 70px #0003}dialog::backdrop{background:#0005}.x{position:absolute;right:15px;top:15px;border:0;border-radius:50%;width:32px;height:32px;cursor:pointer;font-size:20px}dialog h2{margin-top:8px}label{display:block;font-size:12px;font-weight:800;margin-top:14px}input{width:100%;padding:13px;border:1px solid #ccc;border-radius:10px;margin-top:6px;font-size:15px}.full{width:100%;padding:13px;border-radius:10px;margin-top:14px;border:0;font-weight:800}.or{text-align:center;color:#777;font-size:12px;margin:18px 0}.search{display:flex;gap:8px}.search input{flex:1}.search button{border:1px solid #ddd;background:#fff;border-radius:10px;padding:0 16px;font-weight:800;cursor:pointer}.gm-card{border:1px solid #ddd;border-radius:10px;padding:12px;margin-top:8px;cursor:pointer}.gm-card small{display:block;color:#777;margin-top:4px}.selected{background:#f2f4f1;border-radius:10px;padding:12px;margin-top:10px}.rule,.authnote,#locmsg{font-size:12px;color:#777}.big{font-size:55px;font-weight:900;margin-top:15px}.tabs{display:flex;border-bottom:1px solid #ddd;margin:10px 0}.tabs button{border:0;background:none;padding:10px 14px;font-weight:800;cursor:pointer}.tabs .active{border-bottom:2px solid #171717}@media(max-width:750px){.hero{display:block;margin-top:40px}.hero h1{font-size:60px}.actions{margin-top:25px;display:grid}.map{height:400px}.actions button{width:100%}}
.diary-sub{margin:-5px 0 18px;color:#777;font-size:14px}.city-group{margin:22px 0 30px}.city-title{font-size:26px;text-transform:uppercase;letter-spacing:-.5px;margin:0 0 10px}.card h4{margin:0 0 6px;font-size:20px}.meta-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.distance{font-size:12px;background:#f0f1ee;border-radius:999px;padding:5px 9px;color:#555;white-space:nowrap}
.map-place-card{min-width:210px;font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:1.35}.map-place-card strong{display:block;font-size:15px;margin-bottom:4px}.map-save{margin-top:9px;border:0;background:#171717;color:#fff;border-radius:8px;padding:8px 11px;font-weight:800;cursor:pointer}.map-share{margin-top:9px;border:0;background:#171717;color:#fff;border-radius:8px;padding:8px 11px;font-weight:800;cursor:pointer}.authnote{margin:8px 0}

.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.card-head h4{margin:0}.call-btn,.map-call{display:inline-block;background:#171717;color:#fff;text-decoration:none;border-radius:8px;padding:8px 10px;font-size:12px;font-weight:800;white-space:nowrap}.checkline{display:flex;align-items:flex-start;gap:8px;margin-top:14px;font-size:13px;font-weight:600;line-height:1.35}.checkline input{width:auto;margin:2px 0 0}.map-place-card .map-call{margin-top:9px}@media(max-width:600px){.card-head{align-items:flex-start;flex-direction:column}.call-btn{width:100%;text-align:center}}

.gm-card{transition:background .15s,border-color .15s,box-shadow .15s}.gm-card.selected-result{border:2px solid #171717;background:#f1f2ef;box-shadow:0 2px 10px #0001}.gm-card.selected-result::after{content:'✓ Selezionata';display:block;margin-top:8px;font-size:11px;font-weight:800;color:#171717}


/* Galleria foto Google Places — mobile first */
.pranzo-photo-gallery{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;margin:10px 0 8px;padding:0 0 3px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;max-width:100%;}
.pranzo-photo-gallery::-webkit-scrollbar{height:6px}
.pranzo-photo-gallery img{display:block;flex:0 0 78%;width:78%;height:150px;object-fit:cover;border-radius:10px;scroll-snap-align:start;background:#eee;}
@media (min-width:700px){.pranzo-photo-gallery img{flex-basis:48%;width:48%;height:130px;}}
.diary-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:12px}
.diary-actions button{float:none!important;margin:0!important}
.diary-actions .diary-dir{background:#171717;color:#fff;border:0;border-radius:8px;padding:8px 10px;font-weight:800;cursor:pointer}
.diary-actions button[data-remove]{background:#eee;color:#171717}
@media(max-width:600px){.diary-actions{display:grid;grid-template-columns:1fr 1fr}.diary-actions button{width:100%}}
.profile-details{margin:14px 0 18px;padding:14px;border:1px solid #ddd;border-radius:14px;background:#fafafa;text-align:left}.profile-avatar-wrap{display:flex;gap:12px;align-items:center}.profile-avatar,.person-row img{width:56px;height:56px;border-radius:50%;object-fit:cover;background:#eee}.profile-name{font-weight:800;font-size:18px}.profile-email{font-size:13px;color:#666;word-break:break-word}.profile-stats{display:flex;gap:8px;margin-top:14px}.profile-stat{flex:1;background:#fff;border:1px solid #ddd;border-radius:10px;padding:9px;cursor:pointer}.profile-stat b,.profile-stat span{display:block}.profile-stat span{font-size:12px;color:#666}.profile-link{margin-top:10px;background:none;border:0;text-decoration:underline;padding:0;cursor:pointer}.profile-search-btn{margin-top:12px}.people-search{margin-top:10px}.person-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #eee}.person-row img{width:42px;height:42px;flex:none}.person-row>div{flex:1;min-width:0}.follow-btn{border:1px solid #111;background:#fff;border-radius:999px;padding:7px 10px;cursor:pointer;white-space:nowrap}.profile-preview{width:96px;height:96px;border-radius:50%;object-fit:cover;display:block;margin:4px 0 12px;background:#eee}.follow-dialog{max-width:420px;width:calc(100% - 32px);border:0;border-radius:18px;padding:24px}.follow-list{max-height:55vh;overflow:auto}.follow-dialog::backdrop,#profileEditDlg::backdrop{background:rgba(0,0,0,.35)}
.profile-link.danger{color:#a00;margin-top:14px;}

.person-open{display:flex;align-items:center;gap:10px;flex:1;min-width:0;border:0;background:none;padding:0;text-align:left;cursor:pointer}.person-open span{min-width:0}.user-profile-dialog hr{border:0;border-top:1px solid #eee;margin:16px 0}.user-profile-dialog h3{margin:0 0 10px}.user-favorites-list .card{margin-bottom:10px}.profile-follow-action{margin-top:12px}

#mapFilterBar{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0;}
#mapFilterBar button{border:1px solid #111;background:#fff;color:#111;border-radius:8px;padding:8px 10px;font-weight:700;cursor:pointer;}
#mapFilterBar button.active{background:#111;color:#fff;}
@media(max-width:600px){#mapFilterBar{overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch;}#mapFilterBar button{white-space:nowrap;flex:0 0 auto;}}
.map-followers-link{display:block;width:100%;text-align:left;border:0;background:none;padding:5px 0;color:#111;text-decoration:underline;cursor:pointer;font:inherit}.person-row-btn{width:100%;border:0;background:#fff;text-align:left;cursor:pointer}.person-row-btn span:nth-child(2){flex:1}.person-arrow{font-size:24px;color:#777}
/* V10.40.1: la selezione resta evidenziata direttamente nei risultati; nessuna scheda duplicata. */
#selected{display:none!important}

/* PRANSÖ MOBILE-FIRST HOME — V10.44 */
:root{--ink:#111;--paper:#fff;--soft:#f4f3f1;--line:#deddd9;--magenta:#ef1591;--serif:Georgia,'Times New Roman',serif;--sans:-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif}
html{scroll-behavior:smooth;background:#fff;overflow-x:hidden}
body{background:#fff;color:var(--ink);font-family:var(--sans);padding-bottom:76px;overflow-x:hidden}
header{position:sticky;top:0;height:64px;padding:0 20px;background:rgba(255,255,255,.96);border-bottom:0;z-index:1000}
.logo{font-family:var(--serif);font-size:32px;font-weight:900;letter-spacing:-1.8px}
header #profile{display:none}
.menu-btn{display:block;border:0!important;background:none!important;padding:4px!important;font-size:29px!important;font-weight:400!important;line-height:1;cursor:pointer}
main{width:100%;max-width:none}
.hero{display:block;max-width:none;margin:0;padding:5px 24px 22px}
.hero small{display:block;font-size:11px;letter-spacing:3px;color:#444;font-weight:700;margin:3px 0 28px;text-transform:uppercase}
.hero h1{font-family:var(--serif);font-size:72px;line-height:.84;letter-spacing:-5px;margin:0;color:#050505}
.hero-line{display:block;width:68px;height:4px;background:var(--magenta);margin:27px 0 25px}
.hero p{font-family:var(--serif);font-style:italic;font-size:23px;line-height:1.18;color:#1b1b1b;margin:0;max-width:360px}
.find-panel{padding:0 20px 12px;background:#fff;position:relative;z-index:20}
.home-search{width:100%;height:62px;border:0;border-radius:32px;background:#f1f0ee;display:flex;align-items:center;gap:13px;padding:0 19px;color:#333;cursor:pointer;font-family:var(--sans);font-size:18px;text-align:left}
.map-section-title{display:flex;align-items:center;gap:5px;flex-wrap:nowrap;white-space:nowrap;overflow:hidden;margin:18px 0 15px;padding:0 2px;font-family:var(--serif);font-size:18px;line-height:1.05;font-weight:900;letter-spacing:-1px;color:#080808}.map-section-title span:last-child{white-space:nowrap;min-width:0;flex:1;display:block}.map-section-title-o{display:inline-block;flex:0 0 auto;color:var(--magenta);font-family:var(--serif);font-size:22px;line-height:1;font-weight:900;letter-spacing:-1.5px;vertical-align:middle;transform:none}.map-section-title+ #filterMount{margin-top:0}

.search-icon{font-size:32px;font-weight:300;line-height:1;transform:rotate(-20deg);display:inline-block;color:#111}
.search-label{flex:1;color:#555}
.filter-icon{font-size:28px;font-weight:300;line-height:1;color:#222}
#mapFilterBar{display:flex;gap:8px;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:10px 0 2px;padding:0 1px}
#mapFilterBar::-webkit-scrollbar{display:none}
#mapFilterBar button{flex:0 0 auto;border:1px solid #111;background:#fff;color:#111;border-radius:999px;padding:9px 13px;font-size:10px;font-weight:800;letter-spacing:.35px;white-space:nowrap}
#mapFilterBar button.active{background:#111;color:#fff}
.map{width:100%;max-width:none;height:470px;margin:0;background:#e8e9e5;position:relative;overflow:hidden}
.map #map{width:100%;height:100%}
.mapfallback{font-size:13px;padding:20px;text-align:center}
.mapadd{display:none}
.status{left:16px;bottom:14px;border-radius:20px;padding:7px 11px;font-size:10px;box-shadow:0 2px 8px #0001;opacity:.9}
.diary-preview{padding:30px 20px 24px;background:#fff}
.preview-head{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin-bottom:14px}
.preview-head small{font-size:10px;letter-spacing:2.4px;font-weight:800;color:#555}
.preview-head h2{font-family:var(--serif);font-size:29px;line-height:1;margin:7px 0 0;letter-spacing:-1px}
#seeDiary{border:0;background:none;padding:0 0 4px;color:var(--magenta);font-size:10px;font-weight:800;white-space:nowrap;cursor:pointer}
.preview-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;overflow:hidden}
.preview-card{min-width:0}
.preview-photo{height:108px;background:#eee;overflow:hidden;margin-bottom:8px}
.preview-photo img{width:100%;height:100%;object-fit:cover;display:block}
.preview-city{font-size:9px;letter-spacing:1.2px;text-transform:uppercase;color:#666;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.preview-name{font-family:var(--serif);font-size:17px;line-height:1.02;margin-top:3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.preview-price{font-size:11px;margin-top:5px;font-weight:700}
.preview-empty{border-top:1px solid var(--line);padding:18px 0;color:#666;font-size:13px}
.diary{max-width:none;margin:0;padding:45px 20px 100px;background:#f7f6f3}
.diary>small{font-size:10px;letter-spacing:2.4px}
.title h2{font-family:var(--serif);font-size:38px;letter-spacing:-1px;margin:8px 0}
.title b{background:#111;border-radius:50%;font-size:11px;padding:5px 8px}
.card,.empty{border:1px solid var(--line);border-radius:0;padding:17px;background:#fff}
.bottom-nav{position:fixed;left:0;right:0;bottom:0;height:76px;background:rgba(255,255,255,.98);border-top:1px solid #e7e6e2;z-index:1100;display:grid;grid-template-columns:repeat(3,1fr);padding-bottom:env(safe-area-inset-bottom)}
.bottom-nav button{border:0;background:none;color:#333;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-family:var(--sans);cursor:pointer}
.bottom-nav button span{font-size:29px;line-height:25px;font-weight:300}
.bottom-nav button b{font-size:10px;letter-spacing:1px;font-weight:500}
.bottom-nav button.active b{font-weight:800}
.bottom-nav button.active:after{content:'';width:52px;height:3px;background:var(--magenta);position:absolute;bottom:4px}
.desktop-actions{display:none}
/* Remove accidental horizontal overflow from legacy components. */
.dialog,.follow-dialog{max-width:calc(100vw - 24px)}
@media(min-width:751px){
  body{max-width:520px;margin:0 auto;border-left:1px solid #eee;border-right:1px solid #eee;box-shadow:0 0 40px rgba(0,0,0,.04)}
  header{position:sticky}
  .hero{padding-top:5px}
  .hero h1{font-size:78px}
  .map{height:520px}
  .bottom-nav{max-width:520px;left:50%;right:auto;transform:translateX(-50%);width:100%}
}
@media(max-width:600px){.map-section-title{font-size:17px;gap:4px;letter-spacing:-.9px;margin-top:20px;margin-bottom:15px}.map-section-title-o{font-size:21px}}
@media(max-width:380px){.hero h1{font-size:64px}.hero p{font-size:21px}.preview-head h2{font-size:25px}.preview-photo{height:94px}.map-section-title{font-size:15px;gap:3px;letter-spacing:-.8px;margin-top:20px;margin-bottom:14px}.map-section-title-o{font-size:19px}}
.preview-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#f0efec;font-size:28px;filter:grayscale(1)}
@media(min-width:751px){.preview-list{grid-template-columns:repeat(3,1fr)}}

/* PRANSÖ V10.45 — editorial trattoria sheet / map popup */
.gm-style .gm-style-iw-c{padding:0!important;border-radius:18px!important;box-shadow:0 14px 45px rgba(0,0,0,.16)!important;overflow:hidden!important;box-sizing:border-box!important;max-width:calc(100vw - 28px)!important}
.gm-style .gm-style-iw{max-width:calc(100vw - 28px)!important;box-sizing:border-box!important}
.gm-style .gm-style-iw-d{overflow-x:hidden!important;overflow-y:auto!important;max-width:none!important;width:100%!important;box-sizing:border-box!important}
.gm-style .gm-style-iw-t::after{display:none!important}
.editorial-place-card{width:min(330px,calc(100vw - 56px));min-width:0!important;max-width:100%!important;box-sizing:border-box!important;overflow-x:hidden!important;padding:18px 18px 16px;color:var(--ink);background:#fff;font-family:var(--sans);font-size:13px;line-height:1.35}
.map-place-city{font-size:9px;letter-spacing:2px;text-transform:uppercase;color:#777;font-weight:800;margin-bottom:5px}
.map-place-name{font-family:var(--serif);font-size:29px;line-height:.98;letter-spacing:-1px;margin-bottom:7px;color:#080808}
.map-place-price{font-size:13px;font-weight:800;margin-bottom:8px}
.map-place-meta{font-size:11px;color:#777;margin:7px 0}
.map-place-note{font-family:var(--serif);font-style:italic;font-size:14px;line-height:1.25;margin:10px 0;color:#333}
.editorial-place-card .pranzo-photo-gallery{margin:12px -18px 12px;padding:0 18px 3px}
.editorial-place-card .pranzo-photo-gallery img{flex-basis:82%;width:82%;height:150px;border-radius:0}
.editorial-place-card .map-preference-summary{font-size:11px;font-weight:800;margin-top:9px}
.editorial-place-card .map-followers-link{font-size:11px;padding:3px 0;text-decoration:none;color:#ef1591;font-weight:800}
.map-place-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:12px}
.map-action{min-height:34px;border:1px solid #d8d7d3;background:#fff;color:#111;border-radius:0;padding:7px 4px;font-size:9px;font-weight:800;text-align:center;text-decoration:none;display:flex;align-items:center;justify-content:center;cursor:pointer}
.map-action.dark-action{background:#111;color:#fff;border-color:#111}
.editorial-save{width:100%;border-radius:0!important;margin-top:8px!important;padding:12px!important;font-size:10px;letter-spacing:.8px}
.editorial-save:disabled{opacity:.6}
@media(max-width:600px){
  .gm-style .gm-style-iw-c,.gm-style .gm-style-iw{max-width:calc(100vw - 24px)!important}
  .editorial-place-card{width:calc(100vw - 56px);max-width:330px;box-sizing:border-box!important}
}

/* PRANSÖ V10.47 — geolocalizzazione automatica */
.home-search .search-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:600px){.status{max-width:calc(100% - 32px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.map{height:520px}}

/* V10.48 — filtri mappa in un'unica riga su mobile */
#mapFilterBar{display:flex;flex-wrap:nowrap;gap:5px;width:100%;overflow:hidden;}
#mapFilterBar button{flex:1 1 0;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:8px 4px;font-size:9px;letter-spacing:.15px;}
@media(max-width:380px){#mapFilterBar{gap:3px;}#mapFilterBar button{font-size:8px;padding-left:2px;padding-right:2px;}}

/* PRANSÖ editorial public-profile refresh */
.people-search{border-top:1px solid #eee;padding-top:12px}
.person-result{padding:11px 0;border-bottom:1px solid #e8e8e8}
.person-result .person-open{gap:11px}
.person-result .person-open img{width:46px;height:46px}
.person-result .person-open span{display:flex;flex-direction:column;gap:2px}
.person-result .person-open strong{font-size:15px;line-height:1.15}
.person-result .person-open small{font-size:11px;color:#888;letter-spacing:.02em}
.person-result .follow-btn{font-size:12px;padding:7px 11px}
.user-profile-dialog{max-width:440px!important;width:calc(100% - 24px)!important;padding:22px 20px 20px!important;overflow:hidden}
.public-profile-hero{display:flex;align-items:center;gap:14px;padding:10px 0 16px}
.public-profile-avatar{width:76px;height:76px;border-radius:50%;object-fit:cover;background:#eee;flex:none}
.public-profile-hero h2{margin:0;font-size:25px;line-height:1.05;letter-spacing:-.02em}
.public-profile-count{margin-top:6px;font-size:12px;color:#777}
.public-profile-actions{display:flex;gap:8px;margin:0 0 20px}
.public-profile-actions .follow-btn,.profile-map-action{flex:1;min-height:42px}
.profile-map-action{border:1px solid #111;background:#fff;border-radius:999px;padding:8px 12px;cursor:pointer;font:inherit;font-size:13px}
.profile-section-label{font-size:11px;letter-spacing:.12em;font-weight:800;color:#777;margin:0 0 9px;padding-top:2px;border-top:1px solid #111;padding-top:14px}
.user-profile-dialog .follow-list{max-height:52vh}
.public-favorite-card{padding:14px 0;border-bottom:1px solid #e8e8e8}
.public-favorite-main{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.public-favorite-city{font-size:10px;text-transform:uppercase;letter-spacing:.09em;color:#888;margin-bottom:4px}
.public-favorite-card h4{margin:0;font-size:18px;line-height:1.1}
.public-favorite-price{margin-top:6px;font-size:12px;font-weight:700}
.public-favorite-arrow{font-size:27px;line-height:1;color:#888;padding-top:1px}
.public-favorite-card p{font-size:12px;line-height:1.45;color:#555;margin:9px 0}
.public-favorite-card .user-dir{margin-top:10px}
@media (max-width:380px){.user-profile-dialog{padding-left:16px!important;padding-right:16px!important}.public-profile-avatar{width:68px;height:68px}.public-profile-hero h2{font-size:22px}.person-result .follow-btn{padding:6px 9px;font-size:11px}}

/* V10.51 — profilo PRANSÖ, magenta delicato + foto centrabile */
:root{--magenta-soft:#ef1591;--magenta-pale:#fff1f8}
.profile-details{background:#fff;border:1px solid #e7dce3;border-radius:18px;padding:18px;box-shadow:0 8px 24px rgba(0,0,0,.04)}
.profile-avatar-wrap{padding-bottom:14px;border-bottom:1px solid #eee}
.profile-avatar{border:3px solid #fff;box-shadow:0 0 0 2px rgba(239,21,145,.22)}
.profile-name{font-family:var(--serif);font-size:25px;line-height:1.05;letter-spacing:-.5px}
.profile-email{margin-top:4px;color:#777}
.profile-stats{gap:8px;margin-top:15px}
.profile-stat{border:1px solid #eadde5;background:#fff;border-radius:12px;padding:11px 8px}
.profile-stat:hover,.profile-stat:focus-visible{border-color:rgba(239,21,145,.55);background:var(--magenta-pale)}
.profile-stat b{font-size:18px}.profile-stat span{font-size:10px;text-transform:uppercase;letter-spacing:1px}
.profile-link{color:#111;text-decoration:none;font-weight:800;padding:7px 0;border-bottom:1px solid rgba(239,21,145,.45)}
.profile-search-btn{background:#111!important;border-radius:999px!important;padding:12px!important}
.people-search{border-top:1px solid #eadde5}
.person-result{padding:13px 0;border-bottom:1px solid #eee}
.person-result .person-open img{box-shadow:0 0 0 2px rgba(239,21,145,.14)}
.person-result .follow-btn,.profile-follow-action{border:1px solid rgba(239,21,145,.55);background:var(--magenta-pale);color:#111}
.person-result .follow-btn:hover,.profile-follow-action:hover{background:#ef1591;color:#fff;border-color:#ef1591}
.user-profile-dialog{border:0!important;border-radius:22px!important;padding:24px 20px 20px!important;box-shadow:0 22px 70px rgba(0,0,0,.18)!important}
.user-profile-dialog .x{background:#f7f6f3}
.public-profile-hero{padding:6px 0 18px;border-bottom:1px solid #eee}
.public-profile-avatar{box-shadow:0 0 0 3px rgba(239,21,145,.16)}
.public-profile-hero h2{font-family:var(--serif)}
.public-profile-count{color:#ef1591;font-weight:800}
.public-profile-actions{gap:9px;margin:17px 0 22px}
.public-profile-actions .follow-btn,.profile-map-action{border-radius:999px!important;font-weight:800}
.profile-map-action{border-color:#ddd;background:#fff}
.profile-section-label{border-top:2px solid #ef1591;color:#111;padding-top:12px}
.public-favorite-card{padding:15px 0}
.public-favorite-city{color:#ef1591;font-weight:800}
.public-favorite-card h4{font-family:var(--serif);font-size:21px}
.public-favorite-arrow{color:#ef1591}
.public-favorite-card .user-dir{border:1px solid #ddd!important;background:#fff!important;border-radius:999px!important;padding:8px 12px!important;color:#111!important;font-weight:800}

#profileEditDlg{max-width:440px;width:calc(100% - 24px);border-radius:22px;padding:24px 20px 20px;background:#fff}
#profileEditDlg h2{font-family:var(--serif);font-size:30px;letter-spacing:-.8px;margin:8px 0 18px}
.profile-photo-editor{margin:0 auto 8px;text-align:center}
.profile-crop-wrap{position:relative;width:260px;height:260px;max-width:100%;margin:0 auto;border-radius:50%;overflow:hidden;background:#f1f0ed;box-shadow:0 0 0 2px rgba(239,21,145,.22),0 8px 24px rgba(0,0,0,.08);touch-action:none}
.profile-crop-wrap canvas{width:100%;height:100%;display:block;cursor:grab;touch-action:none}
.profile-crop-wrap canvas:active{cursor:grabbing}
.profile-crop-ring{position:absolute;inset:0;border-radius:50%;box-shadow:inset 0 0 0 2px rgba(239,21,145,.55);pointer-events:none}
.crop-help{font-size:11px;color:#777;margin:9px 0 5px}
.crop-zoom-label{display:flex;align-items:center;gap:10px;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#555;margin:0 0 10px;text-align:left}
.crop-zoom-label input{margin:0;padding:0;border:0;flex:1;accent-color:#ef1591}
.photo-upload-label{display:block;color:#ef1591;font-size:11px;text-transform:uppercase;letter-spacing:1px;font-weight:800}
.photo-upload-label input{margin-top:7px}
#profilePreview{width:72px;height:72px;border-radius:50%;object-fit:cover;display:block;margin:12px auto 15px;background:#eee;box-shadow:0 0 0 2px rgba(239,21,145,.18)}
.profile-save-btn{border-radius:999px!important;background:#111!important}

/* V10.52 — profili: magenta solo negli elementi editoriali */
.profile-link{display:block;margin-left:auto;margin-right:auto;text-align:center;border-bottom:0;color:#171717;}
.profile-link.danger{color:#777;margin-top:4px;}
.profile-search-btn{display:block;max-width:100%;margin-left:auto;margin-right:auto;}
.profile-total-label{font-family:var(--serif);font-size:32px;line-height:1.05;margin:14px 0 18px;color:#171717;}
.public-profile-actions .profile-follow-action{border:1px solid #ddd;background:#171717;color:#fff;border-radius:999px!important;font-weight:800;}
.public-profile-actions .profile-follow-action:hover{background:#111;color:#fff;border-color:#111;}
.public-profile-actions .profile-map-action{border-color:#ddd;background:#fff;color:#171717;}
.profile-section-label{border-top:1px solid #eee;color:#777;padding-top:12px;}
.public-profile-count,.public-favorite-city,.public-favorite-arrow{color:#ef1591;}


/* V10.53 — profili: magenta solo sui numeri, foto senza alone */
.profile-avatar,.public-profile-avatar,#profilePreview{box-shadow:none!important;border:0!important;}
.profile-crop-wrap{box-shadow:0 8px 24px rgba(0,0,0,.08)!important;}
.profile-crop-ring{box-shadow:none!important;}
.profile-total-label{display:flex;align-items:baseline;justify-content:center;gap:7px;color:#171717;}
.profile-total-number{color:var(--magenta);font-weight:900;font-size:1.08em;}
.profile-total-text{color:#171717;}
.profile-stat b{color:var(--magenta)!important;font-weight:900;}
.profile-stat span{color:#666;}

/* V10.61 — località in evidenza nella lista */
.diary-place-name{font-family:var(--serif);font-size:23px;line-height:1.05;letter-spacing:-.5px;font-weight:500;color:#111;margin-top:2px}
.city-title{text-transform:uppercase;letter-spacing:2px;font-size:12px;font-weight:900;margin:24px 0 8px;color:#555}
@media(max-width:600px){.diary-place-name{font-size:22px}.city-title{font-size:11px;letter-spacing:1.7px}}

/* V10.63 — iPhone: un dito = scroll pagina; due dita = mappa. */
@media (pointer: coarse) {
  #map { touch-action: pan-y !important; overscroll-behavior: contain; }
}
html, body { max-width:100%; overflow-x:hidden; }
html { -webkit-text-size-adjust:100%; }

/* V10.65 — località come titolo reale di ogni scheda */
.diary-location{font-size:12px;line-height:1.1;text-transform:uppercase;letter-spacing:1.7px;font-weight:900;color:#555;margin-bottom:4px}
.diary-place-name{font-family:var(--serif);font-size:21px;line-height:1.08;letter-spacing:-.3px;font-weight:500;color:#111;margin-top:0}
@media(max-width:600px){.diary-location{font-size:11px;letter-spacing:1.5px}.diary-place-name{font-size:21px}}

.location-fields{margin-top:10px;padding:12px;border:1px solid #e5e5e5;border-radius:12px;background:#fafafa}.location-fields label{margin-top:8px}.location-fields label:first-child{margin-top:0}.location-fields input[readonly]{background:#f1f1f1;color:#555}.location-help{font-size:11px;color:#777;line-height:1.45;margin:8px 0 0}.location-fields input{background:#fff}

/* V10.78 — modifiche minime: profilo + preferenze diario, senza alterare la grafica esistente */
.my-favorites-link{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:100%!important;margin:12px 0 4px!important;padding:6px 0!important;border:0!important;background:transparent!important;color:#171717!important;border-radius:0!important;font-family:var(--sans)!important;font-size:14px!important;font-weight:700!important;line-height:1.2!important;text-align:center!important;cursor:pointer!important;box-shadow:none!important;float:none!important;text-decoration:none!important}
.my-favorites-link:hover{text-decoration:underline;text-underline-offset:3px}
.my-favorites-heart{font-size:25px!important;line-height:1!important;color:#171717!important;font-weight:400!important}
.my-favorites-arrow{font-size:25px!important;line-height:1!important;color:var(--magenta)!important;font-weight:400!important}
.diary-preferences-link{display:flex!important;align-items:center!important;gap:9px!important;width:auto!important;float:none!important;margin:9px 0 12px!important;padding:0!important;border:0!important;background:transparent!important;color:var(--magenta)!important;border-radius:0!important;font-family:var(--sans)!important;font-size:16px!important;font-weight:700!important;line-height:1.1!important;text-align:left!important;cursor:pointer!important;box-shadow:none!important}
.diary-preferences-heart{font-size:30px!important;line-height:1!important;color:#171717!important;font-weight:400!important}
.diary-preferences-arrow{font-size:26px!important;line-height:1!important;color:var(--magenta)!important;font-weight:400!important}
.diary-preferences-link:hover{text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.my-favorites-link{font-size:14px!important}.diary-preferences-link{font-size:15px!important}}

/* V10.79 — località solo come intestazione del gruppo */
.city-title{font-size:20px!important;line-height:1.1!important;text-transform:uppercase!important;letter-spacing:2px!important;font-weight:900!important;margin:24px 0 10px!important;color:#555!important}
@media(max-width:600px){.city-title{font-size:22px!important;letter-spacing:2px!important}}
.diary-location{display:none!important}


/* V10.85 — rifinitura grafica: apertura preferenze senza salto + località più evidente */
html{scrollbar-gutter:stable;}
.city-title{font-size:26px!important;line-height:1.08!important;letter-spacing:2.2px!important;}
@media(max-width:600px){.city-title{font-size:26px!important;letter-spacing:2.2px!important;}}


/* V10.87 — preferenze: pannello custom, senza dialog nativo e senza blocchi/sfarfallii */
.preference-modal-overlay{position:fixed;inset:0;z-index:5000;background:rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;padding:16px;}
.preference-modal{position:relative;width:min(420px,100%);max-height:80vh;overflow:auto;background:#fff;border-radius:20px;padding:24px;box-shadow:0 20px 70px rgba(0,0,0,.22);}
.preference-modal h2{margin:8px 0 18px;}
.preference-modal-close{position:absolute;right:15px;top:15px;border:0;border-radius:50%;width:32px;height:32px;background:transparent;cursor:pointer;font-size:26px;line-height:1;}
.preference-modal-list{max-height:55vh;overflow:auto;}
@media(max-width:600px){.preference-modal-overlay{align-items:flex-end;padding:0}.preference-modal{width:100%;max-height:72vh;border-radius:20px 20px 0 0;padding:22px 20px 28px;}}

.preview-card{cursor:pointer}
.preview-card:focus-visible{outline:2px solid #ef1591;outline-offset:3px}


/* V10.98 — selezione trattoria e card cliccabili */
.preview-card{cursor:pointer;}
.preview-card:focus{outline:2px solid #ef1591;outline-offset:3px;}
.selected-place-card{display:flex;flex-direction:column;gap:6px;padding:14px 16px;margin:10px 0 14px;border:1px solid #e4e4e4;border-radius:14px;background:#fafafa;}
.selected-place-card strong{font-size:18px;color:#111;}
.selected-place-card small{color:#666;line-height:1.35;}
.selected-place-ok{font-size:13px;font-weight:700;color:#ef1591;text-transform:uppercase;letter-spacing:.04em;}
.selected-place-area{font-weight:600;color:#444;}

/* V10.99 localita + comune layout */
.city-title{margin-bottom:2px!important;}
.city-municipality{font-size:14px!important;line-height:1.1!important;color:#777!important;margin:0 0 10px!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap!important;}
@media(max-width:600px){.city-municipality{font-size:13px!important;}}

/* PRANSÖ V10.104 — Aggiungi trattoria: flusso SONO QUI */
#locate{font-size:14px;letter-spacing:.2px}
#locmsg{margin:9px 0 12px;color:#666;font-size:12px}
.add-nearby-loading{padding:16px 4px;color:#555;font-size:13px}
.add-nearby-title{margin:14px 0 8px;font-size:10px;letter-spacing:1.6px;color:#777;font-weight:800}
.add-nearby-card{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;cursor:pointer;margin:0 0 7px!important;padding:13px 12px!important;border:1px solid #deddd9!important;border-radius:12px!important;background:#fff!important;color:#111!important;box-sizing:border-box}
.add-nearby-card:hover{border-color:#111!important}
.add-nearby-main{min-width:0;display:flex;flex-direction:column;gap:4px}
.add-nearby-main strong{font-size:15px;line-height:1.1}
.add-nearby-main small{font-size:11px;color:#777;line-height:1.2;white-space:normal}
.add-nearby-distance{flex:none;font-size:10px;font-weight:800;color:#ef1591;white-space:nowrap}
.add-nearby-error{padding:14px!important;color:#555!important}

/* PRANSÖ V10.105 — ricerca per nome o località */
.add-search-modes{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0 0 10px}
.add-mode{border:1px solid #ddd;background:#fff;border-radius:10px;padding:10px 8px;font-size:11px;font-weight:800;cursor:pointer;color:#555}
.add-mode.active{background:#171717;color:#fff;border-color:#171717}
.add-search-result{cursor:pointer}

/* V10.119 — Comune + resto indirizzo Google, nessuna frazione in visualizzazione */
.city-address{font-size:13px!important;line-height:1.25!important;color:#d1008b!important;margin:-4px 0 12px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;white-space:normal!important;}


/* V10.120 — Diario: Comune sempre su una riga + indirizzo Google senza Comune */
.city-title{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  font-size:clamp(16px,5.2vw,26px)!important;
  line-height:1!important;
  letter-spacing:1.5px!important;
  margin:24px 0 8px!important;
}
.city-address{
  font-size:13px!important;
  line-height:1.25!important;
  color:#d1008b!important;
  margin:0 0 18px!important;
  font-weight:600!important;
  letter-spacing:0!important;
}
@media(max-width:600px){
  .city-title{font-size:clamp(16px,5.2vw,26px)!important;letter-spacing:1.25px!important;}
  .city-address{font-size:12px!important;line-height:1.25!important;margin-bottom:18px!important;}
}

#saveSuccessToast{position:fixed;left:50%;top:78px;transform:translate(-50%,-14px);z-index:3000;width:min(92vw,430px);padding:14px 18px;border-radius:14px;background:#171717;color:#fff;box-shadow:0 10px 35px #0003;display:flex;flex-direction:column;gap:4px;opacity:0;pointer-events:none;transition:opacity .25s ease,transform .25s ease;text-align:center}
#saveSuccessToast.show{opacity:1;transform:translate(-50%,0)}
#saveSuccessToast strong{font-size:15px}
#saveSuccessToast span{font-size:13px;color:#eee}

/* Fix: label and price stay on the same line in diary cards */
.card .price .price-label,
.card .price .price-amount { display: inline; margin: 0; }
.card .price { white-space: nowrap; }

/* PRANSÖ — messaggio di bentornato dopo il login */
#welcomeToast{position:fixed;left:50%;top:78px;transform:translate(-50%,-14px);z-index:3001;width:min(92vw,430px);padding:17px 20px;border:1px solid #e8dce5;border-radius:16px;background:#fff;color:var(--ink);box-shadow:0 10px 35px #0002;display:flex;flex-direction:column;gap:5px;opacity:0;pointer-events:none;transition:opacity .25s ease,transform .25s ease;text-align:center;font-family:var(--serif)}
#welcomeToast.show{opacity:1;transform:translate(-50%,0)}
#welcomeToast strong{font-size:22px;font-weight:600;line-height:1.15}
#welcomeToast span{font-size:19px;font-style:italic;color:var(--magenta);line-height:1.15}

/* V10.129 — diario cliccabile: apre la trattoria sulla mappa */
.diary-card-clickable{cursor:pointer;transition:border-color .15s,box-shadow .15s}
.diary-card-clickable:hover,.diary-card-clickable:focus-visible{border-color:#ef1591;box-shadow:0 2px 12px rgba(0,0,0,.06);outline:none}
.diary-open-map-hint{display:inline-block;margin:8px 0 2px;color:#ef1591;font-size:12px;font-weight:800}
.preview-list{row-gap:22px}

/* V10.130 — scheda mappa più compatta, chiusura esterna e scrollbar nascoste */
.gm-style .gm-style-iw-c{
  overflow:visible!important;
  padding:0!important;
}
.gm-style .gm-style-iw-chr{
  height:0!important;
  min-height:0!important;
  padding:0!important;
  display:block!important;
  overflow:visible!important;
}
.gm-style .gm-ui-hover-effect{
  position:absolute!important;
  top:8px!important;
  right:8px!important;
  z-index:10!important;
  width:32px!important;
  height:32px!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 2px 10px rgba(0,0,0,.18)!important;
  opacity:1!important;
}
.gm-style .gm-style-iw-d{
  max-height:min(62vh,520px)!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
.gm-style .gm-style-iw-d::-webkit-scrollbar,
.pranzo-photo-gallery::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
.pranzo-photo-gallery{scrollbar-width:none!important;-ms-overflow-style:none!important;}
.editorial-place-card{padding-top:10px!important;}
@media(max-width:600px){
  .gm-style .gm-style-iw-c,.gm-style .gm-style-iw{max-width:calc(100vw - 32px)!important;}
  .gm-style .gm-style-iw-d{max-height:64vh!important;}
  .editorial-place-card{padding:10px 16px 14px!important;width:min(330px,calc(100vw - 48px))!important;}
  .editorial-place-card .pranzo-photo-gallery{margin:10px -16px 10px!important;padding:0 16px 2px!important;}
}


/* V10.131 — scheda mappa contenuta e galleria foto navigabile */
.gm-style .gm-style-iw-c{max-width:calc(100vw - 28px)!important;}
.gm-style .gm-style-iw-d{max-height:min(68vh,560px)!important;overflow-x:hidden!important;overflow-y:auto!important;scrollbar-width:none!important;-ms-overflow-style:none!important;}
.gm-style .gm-style-iw-d::-webkit-scrollbar{display:none!important;width:0!important;height:0!important;}
.editorial-place-card{width:min(330px,calc(100vw - 48px))!important;max-width:100%!important;padding:9px 14px 12px!important;}
.map-place-name{font-size:25px;line-height:1.02;margin-bottom:5px;}
.map-place-price{margin-bottom:5px;}
.map-place-meta{margin:5px 0;}
.map-place-note{font-size:13px;line-height:1.2;margin:7px 0;}
.editorial-place-card .pranzo-photo-gallery{position:relative;margin:8px -14px 8px!important;padding:0!important;overflow:hidden!important;}
.pranzo-photo-track{display:flex;gap:0;width:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;}
.pranzo-photo-track::-webkit-scrollbar{display:none!important;width:0!important;height:0!important;}
.editorial-place-card .pranzo-photo-track img{display:block;flex:0 0 100%;width:100%;height:116px;object-fit:cover;border-radius:0;scroll-snap-align:start;background:#eee;}
.pranzo-photo-controls{position:absolute;inset:auto 8px 7px 8px;display:flex;align-items:center;justify-content:flex-end;gap:6px;pointer-events:none;}
.pranzo-photo-controls button,.pranzo-photo-controls .photo-count{pointer-events:auto;border:0;border-radius:999px;background:rgba(255,255,255,.94);color:#171717;box-shadow:0 1px 5px #0003;height:28px;min-width:28px;display:flex;align-items:center;justify-content:center;font:700 19px/1 Arial,sans-serif;}
.pranzo-photo-controls .photo-count{font:700 10px/1 Arial,sans-serif;padding:0 8px;min-width:42px;}
.map-place-actions{gap:5px;margin-top:8px;}
.map-action{min-height:32px;padding:6px 3px;font-size:8px;}
.editorial-save{margin-top:6px!important;padding:10px!important;}
@media(max-width:600px){
 .gm-style .gm-style-iw-d{max-height:min(68vh,560px)!important;}
 .editorial-place-card{width:calc(100vw - 48px)!important;padding:9px 14px 12px!important;}
 .editorial-place-card .pranzo-photo-gallery{margin:8px -14px!important;}
 .editorial-place-card .pranzo-photo-track img{height:112px;}
}


/* V10.132 — accento magenta su località/prezzo e X centrata */
.map-place-city{color:#ef1591!important;}
.map-place-price{color:#171717!important;}
.map-place-price .map-price-amount{color:#ef1591!important;}
.map-place-price .map-price-label{color:#171717!important;}
.gm-style .gm-ui-hover-effect{display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;color:#ef1591!important;}
.gm-style .gm-ui-hover-effect img{display:block!important;position:static!important;margin:0!important;width:14px!important;height:14px!important;filter:invert(19%) sepia(97%) saturate(4600%) hue-rotate(300deg) brightness(95%) contrast(105%)!important;}


/* V10.136 — una sola X magenta: nasconde tutte le icone interne Google e usa un solo glifo CSS */
.gm-style .gm-ui-hover-effect{
  background-image:none!important;
  font-size:0!important;
  color:transparent!important;
}
.gm-style .gm-ui-hover-effect *{display:none!important;}
.gm-style .gm-ui-hover-effect::before{content:none!important;display:none!important;}
.gm-style .gm-ui-hover-effect::after{
  content:"×"!important;
  display:block!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-52%)!important;
  margin:0!important;
  padding:0!important;
  color:#ef1591!important;
  font-family:Arial,sans-serif!important;
  font-size:23px!important;
  font-weight:400!important;
  line-height:1!important;
}
