/* WordPress小宇宙插件前端样式 */

:root {
    --pm-c: #39f;
    --bg-c: #f6f8fb;
    --br-c: #eef2fd;
    --md-c: #909399;
    --dg-c: #f56c6c;
    --sc-c: #67c23a;
    --wn-c: #e6a23c;
}

body {
    background: var(--bg-c);
    color: #606266;
    font-family: Arial, Helvetica, sans-serif;
}
#wpwrap {
    background: var(--bg-c);
}
a,a:hover {
    color: #303133;
    text-decoration: none;
}
a:focus,
a:focus-visible,
a:active {
    outline: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}
ol,ul {
    padding: 0;
    margin: 0;
}
ol li,
ul li {
    list-style: none;
}
.notice {
    margin: 0;
}
.notice a {
    color: var(--pm-c);
}
.is-dismissible {
    margin-top: 20px;
    margin-right: 20px;
}
.wpxyz {
    overflow: hidden;
    margin-right: 20px;
    margin-top: 20px;
}
.wpxyz-module {
    background-color: #fff;
    border: 1px solid var(--br-c);
    margin-bottom: 15px;
}

.module-title {
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 58px;
    line-height: 58px;
    background: #fafbfd;
    border-bottom: 1px solid var(--br-c);
}
.module-title .title {
    font-size: 15px;
    color: #909399;
    line-height: 58px;
    padding: 0 15px;
    border: 1px solid transparent;
    margin: 0;
}
.module-title .title a {
    display: block;
    color: #909090;
}
.module-title .uk-active {
    position: relative;
    color: #303133;
    font-weight: bold;
    background: #fff;
    border: 1px solid var(--br-c);
    border-bottom: 1px solid transparent;
}
.module-title .uk-active:after {
    content: '';
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    top: 0;
    left: 0;
    background: var(--pm-c);
}
.module-title .uk-active a {
    color: #303133;
}
.module-warp {
    padding: 20px;
}

.form-table {
    margin-top: 0;
}
.form-table th {
    padding: 30px 10px;
    padding-left: 0;
}
.form-table tr {
    border-bottom: 1px solid var(--br-c);
}
.form-table .description {
    color: #909090;
    margin-top: 10px;
}

/*数据统计*/
.wpxyz-count {}
.wpxyz-count>div:nth-child(1) .item {
    background: #f56c6c;
}
.wpxyz-count>div:nth-child(2) .item {
    background: #00d084;
}
.wpxyz-count>div:nth-child(3) .item {
    background: var(--pm-c);
}
.wpxyz-count>div:nth-child(4) .item {
    background: #f56c6c;
}
.wpxyz-count>div:nth-child(5) .item {
    background: #00d084;
}
.wpxyz-count>div:nth-child(6) .item {
    background: var(--pm-c);
}
.wpxyz-count .item {
    padding: 15px;
    border-radius: 4px;
    background-color: var(--pm-c);
}
.wpxyz-count .item b {
    display: block;
    font-size: 18px;
    line-height: 18px;
    font-family: cursive;
    margin-bottom: 5px;
    color: #fff;
}
.wpxyz-count .item span {
    color: #fff;
    font-size: 13px;
    opacity: .9;
}

.uk-table {
    margin-bottom: 0;
}
.uk-table thead th {
    padding-top: 0;
}
.uk-table-striped tbody tr:nth-of-type(odd), .uk-table-striped>tr:nth-of-type(odd) {
    background: var(--bg-c);
    border-top: 1px solid var(--br-c);
    border-bottom: 1px solid var(--br-c);
}
.uk-table-striped tbody tr:nth-of-type(2n):last-child, .uk-table-striped>tr:nth-of-type(2n):last-child {
    border-bottom: 1px solid var(--br-c);
}

/*蜘蛛分页*/
#pagination {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#pagination .displaying-num {
    margin-right: 10px;
}
#pagination .pagination-links {
    display: flex;
}
.prev-page,
.next-page,
#pagination .pagination-links .page-numbers {
    background: var(--bg-c);
    height: 30px;
    width: 30px;
    line-height: 31px;
    border-radius: 2px;
    text-align: center;
    display: inline-block;
    margin: 0 3px;
    display: block;
}
#pagination .pagination-links a:hover,
#pagination .pagination-links .page-numbers:hover,
#pagination .pagination-links .current {
    background: var(--pm-c);
    color: #fff;
}
#pagination .pagination-links .dots {
    line-height: 30px;
}
.next-page::after {
    content: '>';
    font-family: 'SimSun', '宋体', 'Songti SC', serif;
}
.prev-page::after {
    content: '<';
    font-family: 'SimSun', '宋体', 'Songti SC', serif;
}

/* 投诉举报 - 左图标右文字 */
.wpxyz-complaint-float {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 99998;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: auto;
    height: 44px;
    padding: 0 16px 0 12px;
    background: linear-gradient(135deg, #3399ff 0%, #0b6fd4 100%);
    color: #fff !important;
    border: none;
    border-radius: 22px;
    box-shadow: 0 4px 16px rgba(30, 135, 240, 0.45);
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s;
}

.wpxyz-complaint-float-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    line-height: 1;
    color: #ffc53d;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.wpxyz-complaint-float-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.wpxyz-complaint-float-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    white-space: nowrap;
}

.wpxyz-complaint-float:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 135, 240, 0.55);
}

.wpxyz-complaint-float:hover .wpxyz-complaint-float-icon {
    color: #ffe58f;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.wpxyz-complaint-float:hover .wpxyz-complaint-float-text {
    color: #fff;
}

.wpxyz-complaint-body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: #303133;
    line-height: 1.6;
}

.wpxyz-complaint-wrap {
    max-width: 720px;
    padding: 50px 0;
    margin: 0 auto;

}

.wpxyz-complaint-header {
    text-align: center;
    margin-bottom: 32px;
}

.wpxyz-complaint-header h1 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 600;
    color: #303133;
}

.wpxyz-complaint-header p {
    margin: 0;
    color: #909399;
    font-size: 14px;
}

.wpxyz-complaint-form {
    background: #fff;
    border: 1px solid #eef2fd;
    border-radius: 8px;
    padding: 28px 32px 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.wpxyz-form-group {
    margin-bottom: 24px;
}

.wpxyz-form-label {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #303133;
}

.wpxyz-form-label.required::before {
    content: "* ";
    color: #f56c6c;
}

.wpxyz-form-hint {
    margin: -6px 0 10px;
    font-size: 13px;
    color: #909399;
}

.wpxyz-type-list {
}

.wpxyz-type-item {
    width: 23%;
    display: inline-flex;
    margin: 0;
}

.wpxyz-type-item input {
    margin: 0 6px 0 0;
    width: 14px !important;
}

.wpxyz-type-item span {
    border-radius: 4px;
}
.wpxyz-complaint-form input,
.wpxyz-complaint-form textarea{
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    color: #303133;
    transition: border-color 0.15s;
}


.wpxyz-complaint-form textarea {
    resize: vertical;
    min-height: 160px;
}

.wpxyz-form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
    padding-top: 8px;
}

.wpxyz-btn-primary {
    display: inline-block;
    padding: 12px 36px;
    background: #3399ff;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.wpxyz-btn-primary:hover:not(:disabled) {
    background: #0b6fd4;
}

.wpxyz-btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.wpxyz-btn-link {
    color: #909399;
    font-size: 14px;
    text-decoration: none;
}

.wpxyz-btn-link:hover {
    color: #3399ff;
}

.wpxyz-form-error {
    margin-top: 8px;
    font-size: 13px;
    color: #f56c6c;
}

.wpxyz-complaint-content,
.wpxyz-complaint-ua {
    font-size: 13px;
    word-break: break-all;
}

.wpxyz-complaint-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpxyz-complaint-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.wpxyz-complaint-modal-box {
    position: relative;
    width: 90%;
    max-width: 400px;
    padding: 36px 28px 28px;
    background: #fff;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.wpxyz-complaint-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    line-height: 56px;
    font-size: 28px;
    color: #fff;
    background: #3399ff;
    border-radius: 50%;
}

.wpxyz-complaint-modal-box p {
    margin: 0 0 24px;
    font-size: 15px;
    color: #303133;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .wpxyz-complaint-float {
        right: 12px;
        bottom: 60px;
        height: 40px;
        padding: 0 12px 0 10px;
        gap: 6px;
    }

    .wpxyz-complaint-float-icon,
    .wpxyz-complaint-float-icon svg {
        width: 18px;
        height: 18px;
    }

    .wpxyz-complaint-float-text {
        font-size: 13px;
    }
    .wpxyz-complaint-header h1 {
        font-size: 15px;
        padding: 16px;
        border-bottom: 1px solid #eee;
    }
    .wpxyz-complaint-header {
        margin-bottom: 0;
    }
    .wpxyz-complaint-form {
        padding: 20px 16px 24px;
        box-shadow: none;
    }
    .wpxyz-complaint-wrap {
        padding: 0 ;
    }
    .wpxyz-type-list {
        gap: 8px;
    }
    .wpxyz-complaint-form {
        border: 0;
    }
    .wpxyz-type-item span {
        font-size: 13px;
    }
    .wpxyz-complaint-header p {
        display: none;
    }

    .wpxyz-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .wpxyz-btn-primary {
        width: 100%;
    }
}