@layer legacy {
/* ── 1단계 D1 팁 상세: 흰 시트, [종류 칩 ↔ 곳], 제목, 본문, 메타 한 줄, [수정 | 수정 기록] ── */
.view-routes .route-notes-workspace .route-notes-map-popup[data-docked="true"]:has(> .route-notes-pin-popup) {
  border:0; border-radius:26px; background:var(--panel); -webkit-backdrop-filter:none; backdrop-filter:none; box-shadow:var(--shadow-modal);
}
.view-routes .route-notes-workspace .route-notes-map-popup[data-docked="true"]:has(> .route-notes-pin-popup)::before { margin-top:10px; }
.route-notes-map-popup[data-docked="true"] > .route-notes-pin-popup { gap:14px; padding:14px 20px 28px; }
.route-notes-pin-popup-copy { display:grid; gap:14px; }
.view-routes .route-notes-workspace .route-notes-map-popup[data-docked="true"] .route-notes-pin-popup > .route-notes-pin-popup-close { top:10px; right:16px; }
.route-notes-pin-popup-top { display:flex; align-items:center; justify-content:space-between; gap:8px; min-width:0; margin:0; padding-right:44px; }
.route-notes-pin-popup .route-notes-pin-popup-kind {
  flex:none; gap:6px; margin:0; padding:3px 10px 3px 3px;
  background:color-mix(in srgb, var(--route-note-zone, var(--gold)) 12%, transparent); color:var(--route-note-zone, var(--gold));
  font-size:var(--fs-label); font-weight:700;
}
.route-notes-pin-popup-kind-icon { display:grid; place-items:center; width:20px; height:20px; border-radius:50%; background:var(--panel); }
.route-notes-pin-popup-kind-icon .route-notes-icon { width:13px; height:13px; }
.route-notes-pin-popup-place { min-width:0; overflow:hidden; color:var(--muted); font:500 var(--fs-label) var(--font-code); text-overflow:ellipsis; white-space:nowrap; }
.view-routes .route-notes-workspace .route-notes-map-popup .route-notes-pin-popup h3 { padding-right:0; font-size:19px; font-weight:700; line-height:1.4; }
.view-routes .route-notes-workspace .route-notes-map-popup .route-notes-pin-popup-body { margin-top:0; font-size:var(--fs-body-l); font-weight:500; line-height:1.65; }
.route-notes-pin-popup .route-notes-tip-photos { gap:8px; margin-top:0; overflow-x:auto; }
.route-notes-pin-popup .route-notes-tip-photo { flex:none; width:auto; height:96px; aspect-ratio:4/3; }
.view-routes .route-notes-workspace .route-notes-map-popup[data-docked="true"] .route-notes-pin-popup-footer { display:grid; grid-template-columns:minmax(0, 1fr); justify-content:stretch; gap:14px; }
.route-notes-pin-popup-meta em { font-size:var(--fs-label); }
.view-routes .route-notes-workspace .route-notes-map-popup .route-notes-pin-popup-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.view-routes .route-notes-workspace .route-notes-map-popup .route-notes-pin-popup-actions[data-count="1"] { grid-template-columns:1fr; }
.view-routes .route-notes-workspace .route-notes-map-popup .route-notes-pin-popup-actions .route-notes-button { width:100%; min-width:0; height:var(--btn-h); min-height:var(--btn-h); }
}
