.detigo-map-card-icon{background:transparent!important;border:0!important;overflow:visible!important}
.detigo-map-mini-card{position:relative;box-sizing:border-box;width:78px;height:46px;display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:4px;padding:4px;background:#fff;border:1px solid rgba(74,58,105,.16);border-radius:9px;box-shadow:0 3px 10px rgba(36,29,51,.22);overflow:hidden;cursor:pointer;transform-origin:50% 100%;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.detigo-map-mini-card::after{content:'';position:absolute;left:50%;bottom:-5px;width:8px;height:8px;background:#fff;border-right:1px solid rgba(74,58,105,.16);border-bottom:1px solid rgba(74,58,105,.16);transform:translateX(-50%) rotate(45deg)}
.detigo-map-mini-card>img{display:block;width:30px;height:36px;object-fit:cover;border-radius:6px;background:#f1ecff}
.detigo-map-mini-card>span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:7.7px;line-height:1.08;font-weight:900;color:#241d33;word-break:break-word}
.detigo-map-card-icon:hover .detigo-map-mini-card{transform:scale(1.06);box-shadow:0 5px 14px rgba(36,29,51,.26)}
.detigo-map-card-icon.is-expanded{z-index:9000!important}
.detigo-map-mini-card.is-expanded{width:168px;height:132px;display:grid;grid-template-columns:64px minmax(0,1fr);grid-template-rows:1fr;gap:7px;padding:7px;border-color:rgba(111,71,219,.28);border-radius:12px;box-shadow:0 10px 28px rgba(36,29,51,.32);overflow:hidden;transform:scale(1.02)}
.detigo-map-mini-card.is-expanded>img{width:64px;height:118px;border-radius:9px;object-fit:cover}
.detigo-map-mini-body{display:flex;min-width:0;height:118px;flex-direction:column;overflow:hidden}
.detigo-map-mini-body>strong{font-size:10px;line-height:1.12;color:#241d33;margin:1px 0 4px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.detigo-map-mini-body>p{font-size:7.5px;line-height:1.18;color:#625b6f;margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.detigo-map-mini-actions{display:grid;grid-template-columns:minmax(0,1fr) 26px;gap:4px;margin-top:auto;align-items:stretch}
.detigo-map-mini-actions>a:first-child{display:flex;align-items:center;justify-content:center;min-width:0;height:26px;padding:0 4px;border-radius:6px;background:#6f47db;color:#fff;text-decoration:none;font-size:7.5px;font-weight:900;box-sizing:border-box}
.map-go-square{width:26px!important;height:26px!important;min-width:26px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;border-radius:7px!important;text-decoration:none!important;font-size:6.8px!important;font-weight:950!important;line-height:.88!important;background:#111!important;color:#fff!important;border:0!important;padding:0!important;text-align:center!important}
.map-go-square b{font-size:7.8px!important}
.leaflet-marker-icon.detigo-map-card-icon{margin:0!important}
#locateMe{display:none!important}
.map-origin-shell{grid-template-columns:minmax(180px,.8fr) minmax(260px,1.25fr) minmax(190px,.8fr)!important}

@media(max-width:820px){
  .map-origin-shell{grid-template-columns:minmax(0,1.4fr) minmax(120px,.6fr)!important}
  .map-origin-copy{grid-column:1/-1!important}.map-address-form{grid-column:1!important}.map-district-wrap{grid-column:2!important}
  .detigo-map-mini-card{width:72px;height:43px;grid-template-columns:28px minmax(0,1fr);padding:3px;gap:4px;border-radius:8px}
  .detigo-map-mini-card>img{width:28px;height:35px;border-radius:5px}
  .detigo-map-mini-card>span{font-size:7.2px;-webkit-line-clamp:3}
  .detigo-map-mini-card.is-expanded{width:160px;height:126px;grid-template-columns:60px minmax(0,1fr);gap:6px;padding:6px;border-radius:11px}
  .detigo-map-mini-card.is-expanded>img{width:60px;height:114px}
  .detigo-map-mini-body{height:114px}.detigo-map-mini-body>strong{font-size:9.5px}.detigo-map-mini-body>p{font-size:7.2px;-webkit-line-clamp:4}
  .map-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;padding:6px!important}
  .map-item{display:grid!important;grid-template-columns:54px minmax(0,1fr)!important;gap:6px!important;padding:6px!important;margin:0!important;border-radius:10px!important;min-width:0!important}
  .map-item-photo{width:54px!important;height:54px!important;border-radius:8px!important;overflow:hidden!important}.map-item-photo img{width:100%!important;height:100%!important;object-fit:cover!important}
  .map-item-photo>.map-item-icon,.map-item-icon{width:26px!important;height:26px!important;border-radius:8px!important;font-size:13px!important}
  .map-item h3{font-size:10.5px!important;line-height:1.12!important;margin:0 0 2px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  .map-item p{font-size:8.5px!important;line-height:1.2!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  .map-item-meta{gap:2px!important;margin-top:3px!important}.map-chip{font-size:7px!important;padding:2px 3px!important}
  .map-item-actions{gap:3px!important;margin-top:4px!important;align-items:center!important}.map-item-action{padding:4px 5px!important;border-radius:6px!important;font-size:7.5px!important;line-height:1!important}
  .map-item-actions .map-go-square{width:24px!important;height:24px!important;min-width:24px!important;font-size:7px!important}
  .family-map .leaflet-popup{display:none!important}
}

@media(max-width:420px){
  .detigo-map-mini-card{width:68px;height:41px;grid-template-columns:26px minmax(0,1fr)}
  .detigo-map-mini-card>img{width:26px;height:33px}.detigo-map-mini-card>span{font-size:6.9px}
  .detigo-map-mini-card.is-expanded{width:154px;height:122px;grid-template-columns:58px minmax(0,1fr)}
  .detigo-map-mini-card.is-expanded>img{width:58px;height:110px}.detigo-map-mini-body{height:110px}
  .map-item{grid-template-columns:50px minmax(0,1fr)!important;padding:5px!important;gap:5px!important}.map-item-photo{width:50px!important;height:50px!important}.map-item h3{font-size:9.5px!important}.map-item p{font-size:8px!important}.map-chip{font-size:6.5px!important}
}
