@layer legacy {
/* 구역노트 거리뷰(2026-10-28 시안 docs/design/mockups/street-view-20261028.html).
   모서리 버튼은 내 위치와 같은 유리 버튼이고, 켜면 파랗게 바뀐다. 로드뷰 시트는 구역노트 시트와 같은 모션으로 올라온다. */
  .route-notes-street > span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
  .route-notes-street .route-notes-icon { width:22px; height:22px; }
  .route-notes-street[aria-pressed="true"],
  .route-notes-street[aria-pressed="true"]:hover { border-color:transparent; background:var(--blue); color:#fff; }
  .route-notes-street[hidden] { display:none; }

  .route-notes-street-sheet {
    position:absolute;
    z-index:5;
    right:0;
    bottom:0;
    left:0;
    height:min(58%, 560px);
    display:flex;
    flex-direction:column;
    padding-bottom:env(safe-area-inset-bottom);
    border-radius:var(--r-xl) var(--r-xl) 0 0;
    background:var(--panel);
    color:var(--text);
    box-shadow:0 -6px 20px rgba(16,24,40,.12);
    transition:transform var(--route-sheet-in) var(--motion-ease-out), height var(--route-sheet-move) var(--motion-ease-out);
  }
  .route-notes-street-sheet[hidden] { display:none !important; }
  @starting-style { .route-notes-street-sheet:not([hidden]) { transform:var(--route-sheet-from); } }
  .route-notes-street-sheet[data-expanded="true"] { height:100%; border-radius:0; }

  .route-notes-street-grip { flex:none; display:grid; place-items:center; width:100%; height:20px; min-height:20px; margin:0; padding:0; border:0; background:none; cursor:pointer; }
  .route-notes-street-grip::before { content:""; width:36px; height:5px; border-radius:3px; background:var(--line); }
  .route-notes-street-head { flex:none; display:flex; align-items:center; gap:8px; min-width:0; padding:0 12px 10px 16px; }
  .route-notes-street-head > b { flex:none; font-size:17px; font-weight:800; }
  .route-notes-street-place { flex:1 1 auto; min-width:0; overflow:hidden; color:var(--muted); font-size:13px; white-space:nowrap; text-overflow:ellipsis; }
  .route-notes-street-close { flex:none; margin-left:auto; }
  .route-notes-street-pano { position:relative; flex:1 1 auto; min-height:0; margin:0 12px 12px; overflow:hidden; border-radius:var(--r-lg); background:var(--panel2); }
  .route-notes-street-sheet[data-expanded="true"] .route-notes-street-pano { margin:0; border-radius:0; }

  /* 넓은 화면: 지도는 왼쪽에 두고 로드뷰는 오른쪽 서랍 자리에 뜬다. */
  @media (min-width:1100px) {
    .route-notes-street-sheet { top:16px; right:16px; bottom:16px; left:auto; width:min(440px, 42%); height:auto; border-radius:var(--r-xl); }
    .route-notes-street-sheet[data-expanded="true"] { top:0; right:0; bottom:0; width:min(720px, 60%); height:auto; border-radius:0; }
  }
  @media (prefers-reduced-motion:reduce) { .route-notes-street-sheet { transition:none; } }
}
