/* 一键分享 (PO 2026-10-24) */
.klw-share-btn { appearance: none; border: 1px solid #d1d5db; background: #fff; color: #111827; border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.klw-share-btn:hover, .klw-share-btn:focus-visible { background: #f3f4f6; }
.klw-share { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: flex-end; justify-content: center; }
.klw-share__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.45); }
.klw-share__panel { position: relative; width: min(520px, 100%); background: #fff; border-radius: 20px 20px 0 0; padding: 16px 16px calc(20px + env(safe-area-inset-bottom)); box-sizing: border-box; box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.18); }
@media (min-width: 720px) { .klw-share { align-items: center; } .klw-share__panel { border-radius: 20px; } }
.klw-share__head { display: flex; align-items: center; justify-content: space-between; }
.klw-share__title { font-size: 1.05rem; }
.klw-share__x { appearance: none; border: 0; background: #f3f4f6; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 0.95rem; }
.klw-share__what { margin: 6px 0 14px; color: #475569; font-size: 0.9rem; }
.klw-share__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 6px; }
.klw-share__item { appearance: none; border: 0; background: none; display: grid; justify-items: center; gap: 6px; padding: 6px 2px; color: #111827; text-decoration: none; font: inherit; cursor: pointer; border-radius: 12px; }
.klw-share__item:hover, .klw-share__item:focus-visible { background: #f3f4f6; }
.klw-share__icon { width: 48px; height: 48px; border-radius: 50%; background: #eff6ff; display: grid; place-items: center; font-size: 1.4rem; }
.klw-share__label { font-size: 0.78rem; text-align: center; line-height: 1.2; }
.klw-share__hint { margin: 14px 0 0; color: #64748b; font-size: 0.8rem; }
.klw-share-toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 2147483001; background: #111827; color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 0.9rem; max-width: calc(100vw - 32px); }
.klw-share-toast[hidden] { display: none; }
.tg-share { margin-top: 8px; justify-self: start; }
.guide-share { margin: 6px 0 4px; }
.dv-share-btn { cursor: pointer; }

/* Fix batch 7 (PO 2026-10-24): round icon-only share button + placements */
.klw-share-icon { appearance: none; display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0; border: 1px solid #e2e8f0; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: #0f172a; cursor: pointer; flex: 0 0 auto; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08); }
.klw-share-icon:hover { background: #f1f5f9; color: #1d4ed8; }
.klw-share-icon:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
/* Discover detail: under the close × at the photo's top-right (the photo counter sits bottom-right). */
.dv-detail__share { position: absolute; top: 3.5rem; right: 0.75rem; z-index: 3; border: 0; }
.dv-mine__btn.dv-mine__share { flex: 0 0 auto; padding: 0 0.875rem; white-space: nowrap; }
/* 一起去 cards / post card: top-right corner */
.tg-card, .tg-postcard { position: relative; }
.tg-card > .tg-share-icon, .tg-postcard > .tg-share-icon { position: absolute; top: 0.625rem; right: 0.625rem; }
.tg-card .tg-card__top { padding-right: 2.75rem; }
.tg-postcard .gp-postline__head { padding-right: 2.75rem; }
/* Guides: next to the title */
.guide-header__title--share { display: flex; align-items: flex-start; gap: 0.5rem; }
.guide-header__title--share .guide-share-icon { margin-top: 0.15em; font-size: 1rem; font-weight: 400; }
