/* Final interaction shell: every close control stays on the card, not the page. */
.trip-card{position:relative;display:flex;flex-direction:column;max-height:90vh;overflow:hidden;animation:cardReveal .52s cubic-bezier(.2,.8,.2,1)}
.trip-photo{height:auto;flex:0 0 260px}.trip-content{min-height:0;overflow:auto;overscroll-behavior:contain}
.trip-close{position:absolute!important;top:14px!important;right:14px!important;z-index:90!important}
.detail{overflow:auto;overscroll-behavior:contain}.detail-close{position:sticky!important;top:10px!important;right:10px!important;z-index:90!important}
.detail.detail-refresh{animation:cardReveal .5s cubic-bezier(.2,.8,.2,1)}
@keyframes cardReveal{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:none}}
.rental{background:linear-gradient(90deg,#052f39f2 0 47%,#052f3970 62%,transparent 80%),url('scenic-offline/honda-crv-card.png') 88% center/49% auto no-repeat,#eef3f2!important}
.v5-pin.staymark{display:none}.poi-dot{display:flex;align-items:center;gap:5px;white-space:nowrap;transform:translate(-8px,-8px)}
.poi-dot i{display:block;width:16px;height:16px;border:3px solid #fff;border-radius:50%;background:#e5644c;box-shadow:0 3px 10px #042b36aa}
.poi-dot span{padding:3px 7px;border-radius:7px;background:#ffff;color:#173c43;box-shadow:0 3px 11px #052a3750;font:700 12px/1.25 system-ui}
.poi-dot.lodging i{background:#087667}.poi-dot.lodging span{color:#087667}
.poi-card,.lodging-card{animation:contentReveal .46s ease}.poi-card h4,.lodging-card h4{margin:10px 0 6px}.poi-card .poi-photo,.lodging-card .poi-photo{width:100%;border:0;padding:0;border-radius:14px;overflow:hidden;cursor:zoom-in;background:#dfe8e6}.poi-card .poi-photo img,.lodging-card .poi-photo img{display:block;width:100%;max-height:260px;object-fit:cover}.poi-note{padding:11px 13px;border-radius:12px;background:#eef6f4;color:#47646a}.map-context{margin:0 0 12px;color:#087667!important;font-weight:800}
@keyframes contentReveal{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(max-width:760px){.trip-card{max-height:94vh}.trip-photo{flex-basis:205px}.rental{background:linear-gradient(180deg,#052f39f5 0 56%,#052f3955 72%,transparent 88%),url('scenic-offline/honda-crv-card.png') center 96%/92% auto no-repeat,#eef3f2!important}.poi-dot span{font-size:10px;max-width:100px;overflow:hidden;text-overflow:ellipsis}.detail-close{top:8px!important;right:8px!important}}
