/* The conversation belongs to the scene: no veil, centred page or book frame. */
#neighbour-panel.street-conversation {
  position:fixed;inset:auto auto max(20px,env(safe-area-inset-bottom)) 50%;transform:translateX(-50%);
  width:min(390px,calc(100vw - 32px));max-height:min(45dvh,320px);margin:0;padding:14px 18px 16px;
  background:#f6eedc;border:1px solid #bbab88;border-radius:18px 18px 18px 5px;
  box-shadow:0 5px 18px #263e3624;color:#364c40;z-index:18;overflow:auto;
}
.street-conversation-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;}
#neighbour-panel.street-conversation h2 {font-size:18px;line-height:1.2;margin:0;}
#neighbour-panel.street-conversation p {font-size:16px;line-height:1.45;margin:8px 0 12px;overflow-wrap:anywhere;}
#street-conversation-close {background:none;border:0;box-shadow:none;padding:7px 4px;min-height:36px;font-size:13px;text-decoration:underline;text-underline-offset:3px;}
.street-replies {display:flex;flex-wrap:wrap;gap:8px;}
.street-replies button {min-height:44px;padding:9px 14px;flex:1 1 auto;font-size:15px;}
#nearby-action {position:fixed;left:50%;bottom:max(22px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:16;
  background:#f6eedc;color:#364c40;border:1px solid #bbab88;border-radius:22px;padding:9px 20px;min-height:44px;max-width:calc(100vw - 32px);box-shadow:0 3px 12px #263e3624;}
#nearby-action strong {font-size:16px;}#nearby-action small {display:block;font-size:12px;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#neighbour-panel.street-conversation button:focus-visible,#nearby-action:focus-visible {outline:3px solid #466b59;outline-offset:3px;}
body[data-street-chat="true"] #nearby-place,body[data-street-chat="true"] #speech-bubble,body[data-street-chat="true"] #welcome-walk-note,body[data-street-chat="true"] #story-invitation {display:none;}
@media(max-width:680px) {
  #neighbour-panel.street-conversation {bottom:max(116px,env(safe-area-inset-bottom));padding:10px 14px 12px;max-height:40dvh;}
  #neighbour-panel.street-conversation p {font-size:15px;line-height:1.4;}
  #nearby-action {bottom:max(18px,env(safe-area-inset-bottom));max-width:200px;}
}
dialog:modal {overscroll-behavior:contain;}dialog::backdrop {overflow:hidden;overscroll-behavior:contain;}
