/* 全站统一分享面板 HwShare */
.hw-share-overlay { position: fixed; inset: 0; z-index: 30000; background: rgba(15,23,42,.55); display: none; align-items: center; justify-content: center; padding: 16px; }
.hw-share-overlay.is-open { display: flex; }
body.hw-share-open { overflow: hidden; }
.hw-share-dialog { position: relative; box-sizing: border-box; width: 100%; max-width: 360px; max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 18px; padding: 26px 24px 20px; box-shadow: 0 24px 70px rgba(0,0,0,.28); text-align: center; }
.hw-share-close { position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f1f5f9; color: #64748b; cursor: pointer; font-size: 15px; line-height: 32px; }
.hw-share-close:hover { background: #e2e8f0; }
.hw-share-head { display: flex; align-items: center; gap: 14px; text-align: left; margin-bottom: 20px; padding-right: 24px; }
.hw-share-head-icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg,#1a936f 0%,#114b5f 100%); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.hw-share-head-text { min-width: 0; }
.hw-share-title { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: #0f172a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hw-share-desc { margin: 0; font-size: 12px; color: #94a3b8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hw-share-qr-wrap { background: #f8fafc; border: 1px solid #eef2f7; border-radius: 14px; padding: 18px 12px 14px; }
.hw-share-qr-box { position: relative; width: 200px; height: 200px; margin: 0 auto; background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(15,23,42,.06); display: flex; align-items: center; justify-content: center; }
.hw-share-qr-img { width: 100%; height: 100%; padding: 6px; border-radius: 10px; opacity: 0; transition: opacity .2s; }
.hw-share-qr-img.is-ready { opacity: 1; }
.hw-share-qr-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: #94a3b8; }
.hw-share-qr-tip { margin: 12px 0 10px; font-size: 12px; color: #64748b; }
.hw-share-save-qr { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; color: #334155; font-size: 13px; cursor: pointer; }
.hw-share-save-qr:hover { background: #f1f5f9; }
.hw-share-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 16px; }
.hw-share-action { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; color: #334155; font-size: 12px; cursor: pointer; transition: all .2s; }
.hw-share-action:hover { background: #f8fafc; border-color: #1a936f; color: #1a936f; }
.hw-share-action i { font-size: 19px; color: #1a936f; }
.hw-share-footnote { margin: 16px 0 0; font-size: 11px; color: #cbd5e1; }
.hw-share-toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%); z-index: 30001; background: rgba(15,23,42,.9); color: #fff; font-size: 13px; padding: 10px 20px; border-radius: 22px; opacity: 1; transition: opacity .25s; }
.hw-share-toast.is-out { opacity: 0; }
@media (max-width: 480px) {
    .hw-share-dialog { padding: 22px 18px 18px; border-radius: 16px; }
    .hw-share-qr-box { width: 180px; height: 180px; }
    .hw-share-actions { gap: 8px; }
}
