/* ハートとシェアは同じ大きさで、一覧・詳細とも右側にまとめる。 */
.clinic-quick-actions { display: flex; align-items: center; gap: 2px; flex: none; }
.clinic-quick-actions .favorite-btn--icon { margin: 0; }
.clinic-share-btn {
	position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
	width: var(--h-min); height: var(--h-min); flex: none; padding: 0;
	border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink-2); cursor: pointer;
}
.clinic__top .clinic-share-btn svg { width: 24px; height: 24px; }
.clinic-share-btn:hover, .clinic-share-btn[aria-expanded="true"] { background: var(--rose-tint); color: var(--rose-ink); }
.clinic-share-btn:focus-visible, .clinic-share-dialog :focus-visible { outline: 2px solid var(--rose-ink); outline-offset: 3px; }
.clinic-share-btn__tip {
	display: none; position: absolute; right: 0; top: calc(100% + 5px); white-space: nowrap;
	padding: 5px 10px; border-radius: var(--r-12); background: var(--ink); color: var(--surface);
	font-size: var(--fs-min); line-height: 1.5; font-weight: 500; pointer-events: none;
}
.clinic-share-btn:focus-visible .clinic-share-btn__tip { display: block; }
@media (hover: hover) and (pointer: fine) {
	.clinic-share-btn:hover .clinic-share-btn__tip { display: block; }
}
.clinic-share-dialog {
	position: fixed; inset: auto; margin: 0; box-sizing: border-box; width: 310px; max-width: calc(100vw - 24px);
	max-height: calc(100dvh - 24px); overflow: auto; padding: 16px;
	border: 1px solid var(--line); border-radius: var(--r-20); background: var(--surface); color: var(--ink);
	box-shadow: var(--shadow-card); font-family: var(--font); font-size: var(--fs-body);
}
.clinic-share-dialog::backdrop { background: color-mix(in srgb, var(--ink) 12%, transparent); }
.clinic-share-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.clinic-share-dialog__title { margin: 0; font-size: var(--fs-body); font-weight: 700; }
.clinic-share-dialog__close {
	display: inline-flex; align-items: center; justify-content: center; width: var(--h-min); height: var(--h-min);
	border: 0; border-radius: var(--r-pill); background: var(--bg); color: var(--ink-2); cursor: pointer;
}
.clinic-share-dialog__name { margin: 2px 0 12px; color: var(--ink-2); font-size: var(--fs-label); line-height: 1.6; }
.clinic-share-dialog__options { display: flex; flex-direction: column; gap: 4px; }
.clinic-share-option {
	display: flex; align-items: center; gap: 12px; box-sizing: border-box; width: 100%; min-height: 50px;
	padding: 6px 10px; border: 0; border-radius: var(--r-12); background: var(--surface); color: var(--ink);
	font: inherit; font-weight: 500; text-decoration: none; text-align: left; cursor: pointer;
}
.clinic-share-option:hover { background: var(--bg); }
.clinic-share-option--line { background: var(--sage-tint); }
.clinic-share-option--line:hover { background: var(--sage-tint); color: var(--sage-ink); }
.clinic-share-option__icon {
	display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px;
	border-radius: var(--r-pill); background: var(--bg); color: var(--ink-2); font-size: 20px; font-weight: 700; line-height: 1;
}
.clinic-share-option--line .clinic-share-option__icon { background: var(--surface); color: var(--sage-ink); }
.clinic-share-option--copy { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-12) var(--r-12); }
.clinic-share-dialog__status { margin: 10px 2px 0; font-size: var(--fs-label); line-height: 1.6; color: var(--rose-ink); }
.clinic-share-dialog__status:empty { display: none; }
.clinic-share-dialog__url { box-sizing: border-box; width: 100%; margin-top: 8px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-12); color: var(--ink); background: var(--bg); font: inherit; font-size: var(--fs-label); }
.clinic-share-dialog__url[hidden] { display: none; }
