*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:#f5f7fa;color:#333;line-height:1.5}
a{color:#0077B6}
.header{background:linear-gradient(135deg,#0077B6,#00B4D8);padding:20px 16px 22px;padding-top:calc(20px + env(safe-area-inset-top,0px));text-align:center;color:#fff;position:relative}
.header h1{font-size:21px;font-weight:800;padding:0 46px;line-height:1.25}
.header p{font-size:13px;opacity:.9;margin-top:6px;padding:0 20px}
.back-btn{z-index:2;position:absolute;left:12px;top:16px;background:rgba(255,255,255,.2);border-radius:50%;width:38px;height:38px;color:#fff;font-size:18px;text-decoration:none;display:flex;align-items:center;justify-content:center}
.container{max-width:700px;margin:0 auto;padding:16px}
.crumbs{font-size:12px;color:#7b8b97;margin:2px 0 14px}
.crumbs a{text-decoration:none}
.card{background:#fff;border-radius:14px;padding:18px;margin-bottom:16px;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.card h2{font-size:17px;font-weight:700;color:#0077B6;margin-bottom:12px}
.card p{font-size:14px;line-height:1.6;color:#445;margin-bottom:8px}
.badge{display:inline-block;padding:4px 10px;border-radius:20px;font-size:12px;font-weight:700;background:#ffe8cc;color:#b45309}
.badge.f{background:#d8f3dc;color:#1b5e20}.badge.m{background:#fff3cd;color:#7a5d00}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.stat{background:#f0f9ff;border-radius:12px;padding:22px 6px 10px;text-align:center;position:relative}
.stat .v{font-size:19px;font-weight:800;color:#023e8a;line-height:1.2}
.stat .v small{font-size:11px;font-weight:600;color:#0077B6}
.stat .l{font-size:10px;color:#6b7c8a;margin-top:3px;text-transform:uppercase;letter-spacing:.3px}
.info-btn{position:absolute;top:5px;right:5px;width:22px;height:22px;border-radius:50%;border:1px solid #9ccfe6;background:#fff;color:#0077B6;font-size:11px;font-weight:700;font-style:italic;cursor:pointer;line-height:1}
.info-panel{display:none;margin-top:10px;background:#e6f4f9;border-left:4px solid #0077B6;border-radius:8px;padding:10px 12px;font-size:12px;line-height:1.55;color:#023e8a}
.info-panel.on{display:block}
#map{height:340px;border-radius:12px;z-index:0;background:#dfeaf0}
.map-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.btn{display:inline-block;padding:11px 14px;border-radius:10px;font-size:13px;font-weight:700;text-decoration:none;border:none;cursor:pointer;background:#0077B6;color:#fff;font-family:inherit}
.btn.sec{background:#e6f4f9;color:#0077B6}
.where{font-size:12px;color:#023e8a;margin-top:8px;min-height:18px}
.privacy{font-size:11px;color:#888;margin-top:4px}
.profile-wrap{position:relative}
#profile{width:100%;height:auto;display:block;touch-action:pan-y;user-select:none}
.tip{position:absolute;top:4px;left:0;background:rgba(2,62,138,.92);color:#fff;font-size:11px;padding:4px 8px;border-radius:6px;pointer-events:none;display:none;white-space:nowrap}
.profile-note{font-size:11px;color:#888;margin-top:6px;line-height:1.5}
.poi-list{display:grid;gap:12px}
.poi{display:flex;gap:12px;align-items:stretch;background:#f8fbfd;border:1px solid #e3eef4;border-radius:12px;overflow:hidden;cursor:pointer}
.poi .ph{width:104px;min-height:88px;background:repeating-linear-gradient(45deg,#e8f1f6,#e8f1f6 10px,#f1f7fa 10px,#f1f7fa 20px);display:flex;align-items:center;justify-content:center;text-align:center;font-size:11px;color:#7b93a3;flex-shrink:0}
.poi .ph img{width:100%;height:100%;object-fit:cover;display:block}
.poi .tx{padding:10px 10px 10px 0}
.poi .tx b{font-size:14px;color:#023e8a}
.poi .tx .km{font-size:11px;color:#0077B6;font-weight:700}
.poi .tx p{font-size:12px;margin:4px 0 0;color:#667}
.poi.hl{box-shadow:0 0 0 2px #ff7a00}
.warn{background:#fff5f5;border-left:4px solid #e63946;border-radius:8px;padding:12px;font-size:13px;line-height:1.6;color:#7a1f28}
.warn ul{margin:6px 0 0 18px}.warn li{margin-bottom:4px}
.pin{background:#023e8a;color:#fff;border:2px solid #fff;border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;box-shadow:0 1px 4px rgba(0,0,0,.4)}
.mk{width:26px;height:26px;border-radius:50%;border:2px solid #fff;display:flex;align-items:center;justify-content:center;font-size:13px;color:#fff;box-shadow:0 1px 4px rgba(0,0,0,.4)}
/* elenco */
.sec-t{font-size:15px;font-weight:800;color:#023e8a;margin:22px 0 10px}
.rlist{display:grid;gap:12px}
.rc{display:flex;gap:12px;align-items:center;text-decoration:none;color:inherit;background:#fff;border-radius:14px;padding:12px 14px;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.rc .th{width:92px;height:62px;flex-shrink:0;background:#eaf4f8;border-radius:10px}
.rc h3{font-size:15px;color:#023e8a;margin-bottom:2px;line-height:1.25}
.rc .sub{font-size:12px;color:#667;margin-bottom:6px}
.rc .meta{display:flex;flex-wrap:wrap;gap:6px;font-size:11px;font-weight:700;color:#0077B6}
.rc .meta span{background:#f0f9ff;border-radius:20px;padding:3px 9px}
.note-l{font-size:12px;color:#667;line-height:1.6;margin-top:18px}
@media (max-width:480px){.stat .v{font-size:17px}#map{height:300px}.poi .ph{width:88px}.rc .th{width:76px;height:54px}}
.where.bad{background:#fdecea;color:#b3261e;border:1px solid #f5c2bd;border-radius:8px;padding:8px 10px;font-weight:700}
.wake{font-size:11px;color:#5a6b78;margin-top:4px}
.offbox{margin-top:12px;padding-top:10px;border-top:1px dashed #cfe3ec}
.offbox .btn{width:100%}
.offbox .privacy{margin-top:6px}
