/* 微信分享 - 悬浮按钮（位置/边距/底部距离由主题选项覆盖）；仅移动端显示 */
.wcp-wechat-float {
    position: fixed;
    right: 16px;
    bottom: 100px;
    z-index: 9998;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    -webkit-appearance: none;
    appearance: none;
}
@media (min-width: 769px) {
    .wcp-wechat-float { display: none !important; }
}
.wcp-wechat-float--only-wechat {
    display: none !important;
}
.wcp-wechat-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), 0 3px 8px rgba(0, 0, 0, 0.1);
}
.wcp-wechat-float-icon {
    width: 28px;
    height: 28px;
    display: block;
    margin: 0;
    flex-shrink: 0;
    object-fit: contain;
    pointer-events: none;
}
/* 移动端尺寸 */
@media (max-width: 768px) {
    .wcp-wechat-float {
        right: 12px;
        bottom: 80px;
        width: 44px;
        height: 44px;
    }
    .wcp-wechat-float-icon {
        width: 24px;
        height: 24px;
    }
}

/* 简码分享按钮 */
.wcp-wechat-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(135deg, #07c160 0%, #06ad56 100%);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}
.wcp-wechat-share-btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

/* 点击分享按钮后的提示：引导用户点右上角 ⋮ 分享 */
.wcp-wechat-share-hint {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 56px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.wcp-wechat-share-hint--show {
    opacity: 1;
    visibility: visible;
}
.wcp-wechat-share-hint:not(.wcp-wechat-share-hint--show) {
    pointer-events: none;
}
.wcp-wechat-share-hint-arrow-wrap {
    display: flex;
    align-self: flex-end;
    margin-right: 24px;
    margin-bottom: -8px;
}
.wcp-wechat-share-hint-arrow-wrap .wcp-wechat-share-hint-arrow {
    display: block;
    width: 100px;
    height: 100px;
    fill: #333;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.wcp-wechat-share-hint-arrow {
    display: block;
    width: 0;
    height: 0;
    border: 18px solid transparent;

    border-bottom: none;
    margin-right: 48px;
    align-self: flex-end;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35));
}
.wcp-wechat-share-hint-text {
    background: #fff;
    color: #1a1a1a;
    padding: 20px 28px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    margin: 16px 28px 0;
    max-width: 340px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(7, 193, 96, 0.35);
}
@media (max-width: 768px) {
    .wcp-wechat-share-hint { padding-top: 48px; }
    .wcp-wechat-share-hint-arrow-wrap {
        margin-right: 16px;
    }
    .wcp-wechat-share-hint-arrow-wrap .wcp-wechat-share-hint-arrow {
        width: 80px;
        height: 80px;
    }
    .wcp-wechat-share-hint-arrow {
        margin-right: 32px;
        border-width: 16px;
    }
    .wcp-wechat-share-hint-text {
        font-size: 17px;
        padding: 18px 24px;
        margin: 14px 20px 0;
        max-width: 88%;
        border-radius: 14px;
    }
}
