.shared-photos{display:flex;gap:10px;overflow-x:auto;margin:18px 0;padding:2px;scroll-snap-type:x mandatory}
.shared-photos img{width:min(100%,320px);max-height:320px;object-fit:contain;flex:none;border-radius:var(--radius-card);background:#f5f6f9;scroll-snap-align:start}
.shared-body{white-space:pre-wrap;overflow-wrap:anywhere}
.shared-chat-body{height:min(38dvh,340px);min-height:140px;overflow-y:auto;overscroll-behavior:contain;padding:12px 0}
.shared-chat-body time{display:block;font-size:var(--text-small);color:var(--muted);margin-top:4px}.bubble.mine time{color:#ffffffb8}
.shared-chat-connection{display:block;color:var(--muted);margin:8px 0;font-size:12px}
#shared-map{position:absolute;inset:0;z-index:0;font-family:inherit}
#shared-map .leaflet-control-attribution{font-size:10px;background:#fffffff2;max-width:170px;white-space:normal}
#shared-map .leaflet-control-zoom a{font-size:24px;color:var(--ink)}
.shared-map-marker{background:transparent;border:0}
.shared-map-marker button{height:44px;max-width:130px;min-width:72px;background:#fff;border:2px solid var(--blue);color:var(--blue);border-radius:999px;padding:6px 10px;box-shadow:0 3px 10px #0002;font-size:13px;font-weight:var(--w-bold);white-space:nowrap}
.shared-map-marker.red button{border-color:var(--primary);color:var(--primary)}
.shared-map-error{position:absolute;top:100px;left:12px;right:12px;z-index:3;background:#fff;padding:10px;border-radius:12px;font-size:14px}
.shared-map-error[hidden]{display:none}
@media(max-width:767px){#shared-map{touch-action:none}.shared-photos img{max-height:260px}.shared-chat-body{height:32dvh}}

.dg-product-art img{width:100%;height:100%;object-fit:cover}

.shared-map-marker button{position:relative;display:grid;place-items:center;width:44px;height:44px;min-width:44px;max-width:44px;padding:4px;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--blue)}
.shared-map-marker.red button{border:0;color:var(--primary)}
.shared-marker-tile{display:grid;place-items:center;width:36px;height:36px;overflow:hidden;border:2px solid #fff;border-radius:var(--radius-tag);background:#fff;box-shadow:0 2px 7px #15284538}
.shared-marker-tile .icon{width:21px;height:21px;flex:none}.shared-marker-tile img{display:block;width:100%;height:100%;object-fit:cover}
.shared-map-marker.is-selected .shared-marker-tile{border-color:var(--blue);box-shadow:0 0 0 2px #fff,0 3px 10px #15284540}.shared-map-marker.red.is-selected .shared-marker-tile{border-color:var(--primary)}
.shared-map-marker button:focus-visible{outline:0}.shared-map-marker button:focus-visible .shared-marker-tile{outline:3px solid var(--blue);outline-offset:3px}
.shared-marker-label{position:absolute;bottom:47px;left:50%;transform:translateX(-50%);display:none;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:6px 9px;border-radius:var(--radius-tag);background:#fff;color:#202936;box-shadow:0 2px 8px #15284530;font-size:12px;line-height:1.4;font-weight:var(--w-bold);pointer-events:none}
.shared-map-marker.is-selected .shared-marker-label,.shared-map-marker button:focus-visible .shared-marker-label{display:block}

.shared-map-marker.label-below .shared-marker-label{bottom:auto;top:47px}
.shared-marker-label:has(small){width:170px;max-width:170px;white-space:normal;overflow-wrap:anywhere}
.shared-marker-label small{display:block;margin-top:3px;color:#59675d;font-size:var(--text-small);font-weight:var(--w-regular)}

/* Shapes carry the category; color reinforces it on both icons and photos. */
.shared-map-marker.map-shop-food{--marker-category:var(--secondary)}
.shared-map-marker.map-shop-cafe{--marker-category:#975c2e}
.shared-map-marker.map-shop-drink{--marker-category:#713fc0}
.shared-map-marker.map-shop-local{--marker-category:#4b6478}
.shared-map-marker[class*="map-shop-"] button{color:var(--marker-category)}
/* 2026-11-09 사용자 결정(색 A): 가게 마커는 흰 바탕+분류 색 아이콘·얇은 분류 색 테두리(빨간 묶음 원이 또렷하게). 선택된 가게만 분류 색으로 채움 */
.shared-map-marker[class*="map-shop-"] .shared-marker-tile{background:#fff;color:var(--marker-category);border:1.5px solid #c9d1dc;border-color:color-mix(in srgb,var(--marker-category) 45%,#fff)}
.shared-map-marker[class*="map-shop-"].is-selected .shared-marker-tile{background:var(--marker-category);color:#fff;border:2px solid #fff;box-shadow:0 0 0 2px var(--marker-category),0 3px 10px #15284540}
.shared-map-marker[class*="map-shop-"] button:focus-visible .shared-marker-tile{outline-color:var(--marker-category)}
.shared-marker-category{display:none;position:absolute;right:0;bottom:0;width:19px;height:19px;box-sizing:border-box;border:2px solid #fff;border-radius:var(--radius-tag);background:var(--marker-category);color:#fff;box-shadow:0 1px 4px #15284540;pointer-events:none}
.shared-map-marker.has-photo .shared-marker-category{display:grid;place-items:center}
.shared-marker-category .icon{width:12px;height:12px;stroke-width:2}
/* 채팅 안 읽음(056): 목록 행 오른쪽에 시각 아래 숫자, 하단 채팅 탭은 아이콘 오른쪽 위 빨간 점 */
.chat-row-side{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:6px;align-self:flex-start}
.conversation-row .chat-row-side>time{font-size:var(--text-small);line-height:1.5;color:var(--muted);white-space:nowrap;margin-top:2px}
.chat-unread-count{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--primary);color:#fff;font-size:var(--text-small);font-weight:var(--w-bold);line-height:20px;text-align:center;font-variant-numeric:tabular-nums}
/* DM 행(.social-post)의 span 글자색 규칙보다 앞서도록 행 안 선택자로 고정 */
.conversation-row .chat-unread-count{color:#fff}.conversation-row .chat-unread-count.is-muted{background:var(--line);color:var(--muted)}
/* 탭 줄은 분류색(--accent)이 중립색이라 브랜드 빨강을 직접 쓴다 */
#bottom-nav .badge-dot:after,#desktop-nav .badge-dot:after{right:auto;left:calc(50% + 7px);top:5px;background:var(--primary)}
#desktop-nav .badge-dot:after{left:var(--chat-dot-x,30px);top:calc(50% - 14px)}
/* 알림 목록: 제목 아래 내용 한 줄(회색, 말줄임), 그 아래 날짜. 제목(카드 17px) > 내용(15px) > 날짜(13px). */
.list-card .notice-detail{font-size:var(--text-control);line-height:1.45;color:var(--ink);margin:2px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.list-card .notice-date{font-size:var(--text-meta);line-height:1.4;color:var(--muted);margin:2px 0 0}
/* 머리말 종의 빨간 점은 종 아이콘 오른쪽 위 어깨에 붙인다(2026-11-16). 아이콘이 버튼 가운데에 있어 50% 기준으로 잡으면 버튼 크기·글자 크기와 상관없이 같은 자리다.
   brand-theme.css가 같은 ::after를 터치 영역으로 써서 점이 버튼 왼쪽 위 모서리(0,0)로 가 있었다. 하단 탭의 채팅 점은 따로 둔다(위 규칙). */
#header .header-actions .iconbtn.badge-dot::after{left:calc(50% + 4.5px);right:auto;top:calc(50% - 13.5px);bottom:auto;background:var(--primary)}
/* 알림 목록 위 '전체 읽음': 오른쪽 정렬 한 줄, 터치 영역 44px 이상 */
.notice-tools{display:flex;justify-content:flex-end}
.notice-tools .textbtn{min-height:44px;min-width:44px;padding:0 4px;color:var(--ink)}
