/**
 * 社交分享列样式
 * 配色沿用站点既有的 #ae8e4a（金）与 #cbbf99
 */

.shareBar {
    margin: 34px auto 18px;
    padding: 22px 20px 18px;
    max-width: 720px;
    text-align: center;
    border: 1px solid #e3e0d8;
    border-radius: 6px;
    background: #fbfaf7;
}

.shareBar-title {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 700;
    color: #8a6212;
    letter-spacing: 1px;
}

.shareBar-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.shareBar-list li {
    display: block;
}

.shareBar-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 104px;
    justify-content: center;
    padding: 9px 14px;
    border: 1px solid #d9d4c7;
    border-radius: 4px;
    background: #fff;
    color: #545454;
    font: inherit;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s, transform .2s;
}

.shareBar-btn i {
    font-size: 15px;
    color: #ae8e4a;
    transition: color .2s;
}

.shareBar-btn:hover {
    background: #ae8e4a;
    border-color: #ae8e4a;
    color: #fff;
    transform: translateY(-2px);
}

.shareBar-btn:hover i {
    color: #fff;
}

.shareBar-btn:focus-visible {
    outline: 2px solid #ae8e4a;
    outline-offset: 2px;
}

/* 系统分享按钮在不支持的浏览器上意义不大，压低存在感 */
.shareBar-native .shareBar-btn {
    border-style: dashed;
    color: #9a958a;
}

.shareBar-native .shareBar-btn i {
    color: #b5b0a5;
}

/* KakaoTalk 品牌黄，单独处理避免和站点金色混淆 */
.shareBar-list li:nth-child(8) .shareBar-btn:hover {
    background: #fee500;
    border-color: #fee500;
    color: #3c1e1e;
}

.shareBar-list li:nth-child(8) .shareBar-btn:hover i {
    color: #3c1e1e;
}

/* 站点名 + 要分享的地址 */
.shareBar-meta {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e3e0d8;
}

.shareBar-site {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 700;
    color: #8a6212;
}

.shareBar-url {
    display: block;
    font-size: 12px;
    color: #8b877c;
    text-decoration: none;
    word-break: break-all;
    line-height: 1.5;
    cursor: pointer;
    border-bottom: 1px dashed #cfcabb;
    transition: color .2s, border-color .2s;
}

.shareBar-url:hover {
    color: #ae8e4a;
    border-bottom-color: #ae8e4a;
}

.shareBar-tip {
    margin: 14px 0 0;
    font-size: 12px;
    color: #6f6a5e;
    word-break: break-all;
}

.shareBar-tip.is-error {
    color: #a12b2b;
}

@media (max-width: 480px) {
    .shareBar {
        padding: 18px 12px 14px;
        margin: 24px 0 12px;
    }
    .shareBar-btn {
        min-width: 0;
        flex: 1 1 calc(33.33% - 10px);
        padding: 9px 8px;
    }
    .shareBar-btn span {
        font-size: 12px;
    }
}
