.detail-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.detail-topbar>.back{margin:0;min-width:0}
.listing-share-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--green);font-size:14px;font-weight:650;text-decoration:none}
.listing-share-trigger:hover{background:var(--mint)}
.listing-share-trigger>svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.listing-share-dialog{box-sizing:border-box;width:460px;max-width:calc(100% - 32px);max-height:calc(100dvh - 40px);overflow:auto;margin:auto;padding:22px;border:1px solid var(--line);border-radius:16px;color:var(--ink);background:#fff;box-shadow:0 18px 60px #173d3126}
.listing-share-dialog::backdrop{background:#102c2466}
.listing-share-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.listing-share-dialog h2{margin:0;font-size:21px;line-height:1.3}
.listing-share-dialog [data-listing-share-close]{flex-shrink:0;width:40px;height:40px;border:0;border-radius:50%;background:var(--mint);color:var(--deep);font-size:26px;cursor:pointer}
.listing-share-preview{overflow:hidden;border:1px solid var(--line);border-radius:10px;margin-bottom:18px;background:#fff}
.listing-share-preview>img{display:block;width:100%;height:220px;object-fit:contain;background:#f7faf8}
.listing-share-preview>div{padding:14px;overflow-wrap:anywhere}
.listing-share-preview strong{display:block;font-size:18px;line-height:1.4}
.listing-share-preview p{color:var(--green);font-size:20px;font-weight:750;line-height:1.4;margin:6px 0 0}
.listing-share-actions{display:flex;flex-wrap:wrap;gap:10px}
.listing-share-actions>.button{flex:1 1 140px;min-height:44px;justify-content:center;font-size:14px}
.listing-share-actions>a.button{flex-basis:100%}
.listing-share-dialog [hidden]{display:none!important}
.listing-share-actions .button:disabled{opacity:.6;cursor:wait}
.listing-share-manual{display:block;margin-top:14px;font-size:13px}
.listing-share-manual textarea{box-sizing:border-box;width:100%;padding:10px;margin-top:6px;border:1px solid var(--line);border-radius:8px;font:inherit;resize:vertical}
.listing-share-status{margin:12px 0 0;font-size:13px;color:var(--green);line-height:1.5}
.listing-share-status:empty{display:none}
.listing-share-dialog :focus-visible,.listing-share-trigger:focus-visible{outline:3px solid #c09843;outline-offset:3px}
@media(max-width:700px){.detail-topbar{margin-bottom:12px}.listing-share-trigger{padding:8px 10px;font-size:13px}.listing-share-dialog{padding:18px}.listing-share-preview>img{height:190px}.listing-share-dialog h2{font-size:19px}}
