/*Icon Button*/
.oacs-spl-icon {
    display: inline-block;
    text-decoration: none;
}

.oacs-spl-like-text {
    display: inline-block;
    text-decoration: none;
}

.oacs-spl-unlike-text {
    display: inline-block;
    text-decoration: none;
}

.oacs-spl-counter {
    display: inline-block;
    text-decoration: none;
}

/* ===== 核心修改：居中 + 图标在上，文字在下 ===== */
.oacs-spl-like-button-wrapper {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

.oacs-spl-like-button-wrapper a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    gap: 4px !important;
    padding: 8px 0 !important;
}

/* ===== 保留原样式（不覆盖后台设置） ===== */
.oacs-spl-like-button-wrapper a:focus {
    outline: none;
    text-decoration: none;
    text-underline-offset: unset;
}

.oacs-spl-like-button-wrapper a {
    outline: none;
    text-decoration: none;
    text-underline-offset: unset;
}

.entry .entry-content .oacs-spl-like-button {
    text-decoration: none;
}

.entry .comment-content .oacs-spl-like-button:hover {
    text-decoration: none;
}

.comment .comment-content .oacs-spl-like-comment {
    text-decoration: none;
}

.spl-is-active {
    width: 16px;
    height: 16px;
    background: url(/wp-admin/images/loading.gif) no-repeat;
    display: inline-block;
}

/* ===== 悬停、焦点去掉下划线 ===== */
.oacs-spl-like-button-wrapper a:hover,
.oacs-spl-like-button-wrapper a:focus {
    text-decoration: none !important;
    box-shadow: none !important;
    outline: none !important;
}