/* 洋屿 - 用户封禁页面样式  */

.xy-banned-header {
    margin-bottom: 18px;
}
.xy-banned-header h1 {
    font-size: 20px;
    font-weight: 600;
    color: var(--main-color, #18191a);
    margin: 0;
    line-height: 1.4;
}

.xy-banned-banner {
    margin: 0 auto 18px;
    max-width: 720px;
    border-radius: 8px;
    overflow: hidden;
}
.xy-banned-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.xy-banned-quote {
    position: relative;
    background: #fff5f5;
    border-radius: 8px;
    padding: 16px 18px 16px 44px;
    margin-bottom: 18px;
    color: #fb2121;
    font-size: 14px;
    line-height: 1.7;
}
.xy-banned-quote i {
    position: absolute;
    top: 14px;
    left: 16px;
    font-size: 18px;
    color: #ff6b6b;
    opacity: .7;
}
.xy-banned-quote p {
    margin: 0;
}

.xy-banned-types {
    margin-bottom: 18px;
    line-height: 1.8;
    color: #606266;
    font-size: 14px;
}
.xy-banned-types p {
    margin: 0 0 6px;
}
.xy-banned-types p:last-child {
    margin-bottom: 0;
}

.xy-banned-stats {
    margin-bottom: 18px;
    font-size: 14px;
}
.xy-banned-stats p {
    margin: 0 0 6px;
}
.xy-banned-stats p:last-child {
    color: #fb2121;
}

.xy-banned-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--main-color, #18191a);
    margin: 0 0 12px;
    padding-left: 10px;
    border-left: 3px solid var(--theme-color, #fb2121);
}

.xy-banned-table-wrap {
    margin-bottom: 20px;
}
.xy-banned-table-scroll {
    overflow-x: auto;
}
.xy-banned-table-scroll::-webkit-scrollbar {
    display: none;
}
.xy-banned-table {
    width: 100%;
    min-width: 700px;
    table-layout: fixed;
    border-collapse: collapse;
    border-top: 1px solid #ebeef5;
    border-left: 1px solid #ebeef5;
    color: #606266;
    margin-bottom: 0;
}
.xy-banned-table th,
.xy-banned-table td {
    text-align: center;
    padding: 10px 8px;
    border-bottom: 1px solid #ebeef5;
    border-right: 1px solid #ebeef5;
    vertical-align: middle;
    line-height: 1.5;
}
.xy-banned-table td {
    word-break: break-all;
    white-space: normal;
}
.xy-banned-table thead th {
    font-weight: 500;
    background: #f5f6f7;
}
.xy-banned-table tbody tr:nth-child(even) {
    background: #fafafa;
}
.xy-banned-empty {
    text-align: center;
    padding: 30px 0;
}
.xy-banned-empty img {
    display: block;
    width: 260px;
    max-width: 80%;
    margin: 0 auto 10px;
    opacity: .9;
}
.xy-banned-empty p {
    margin: 0;
    color: #999;
    font-size: 14px;
}
.xy-banned-appeal {
    color: var(--theme-color, #fb2121);
    margin-left: 4px;
}

.xy-banned-pagination {
    margin: 20px 0;
    text-align: center;
}
.xy-banned-pagination .page-numbers {
    display: inline-block;
    margin: 0 3px;
    padding: 6px 12px;
    background: #f0f0f0;
    color: #666;
    border-radius: 4px;
    text-decoration: none;
}
.xy-banned-pagination .page-numbers.current {
    background: var(--theme-color, #333);
    color: #fff;
}
.xy-banned-pagination .page-numbers:hover {
    opacity: .9;
}

.xy-banned-footer {
    text-align: center;
    color: var(--theme-color, #fb2121);
    font-size: 14px;
    padding: 10px 0 0;
}

@media screen and (max-width: 700px) {
    .xy-banned-table,
    .xy-banned-table thead,
    .xy-banned-table tbody,
    .xy-banned-table th,
    .xy-banned-table td,
    .xy-banned-table tr {
        display: block;
        box-sizing: border-box;
    }
    .xy-banned-table thead {
        display: none;
    }
    .xy-banned-table {
        min-width: 0;
        border-top: none;
        border-left: none;
    }
    .xy-banned-table tr {
        margin-bottom: 14px;
        border: 1px solid #ebeef5;
        border-radius: 8px;
        padding: 4px 12px;
        background: var(--main-bg-color, #fff);
    }
    .xy-banned-table tr:nth-child(even) {
        background: #fafafa;
    }
    .xy-banned-table td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        text-align: right;
        padding: 9px 0;
        border: none;
        border-bottom: 1px dashed #ebeef5;
    }
    .xy-banned-table td:last-child {
        border-bottom: none;
    }
    .xy-banned-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--muted-color, #909399);
        margin-right: 12px;
        flex-shrink: 0;
        text-align: left;
    }
    .xy-banned-table td .xy-banned-appeal {
        margin-left: 4px;
    }
    .xy-banned-empty {
        border: 1px solid #ebeef5;
        border-radius: 8px;
    }
    .xy-banned-header h1 {
        font-size: 18px;
    }
    .xy-banned-quote {
        padding: 14px 14px 14px 38px;
        font-size: 13px;
    }
    .xy-banned-quote i {
        top: 12px;
        left: 12px;
        font-size: 16px;
    }
    body.dark-theme .xy-banned-table tr,
    body.dark-mode .xy-banned-table tr {
        border-color: #3a3f4a;
        background: #23262d;
    }
    body.dark-theme .xy-banned-table tr:nth-child(even),
    body.dark-mode .xy-banned-table tr:nth-child(even) {
        background: #2a2f37;
    }
    body.dark-theme .xy-banned-table td,
    body.dark-mode .xy-banned-table td {
        border-bottom-color: #3a3f4a;
    }
    body.dark-theme .xy-banned-table td::before,
    body.dark-mode .xy-banned-table td::before {
        color: #8a8f98;
    }
}

/* 暗夜模式适配 */
body.dark-theme .xy-banned-header h1,
body.dark-mode .xy-banned-header h1 {
    color: #e0e0e0;
}
body.dark-theme .xy-banned-quote,
body.dark-mode .xy-banned-quote {
    background: #3a2a2a;
    color: #ff9f9f;
}
body.dark-theme .xy-banned-quote i,
body.dark-mode .xy-banned-quote i {
    color: #ff8585;
}
body.dark-theme .xy-banned-types,
body.dark-mode .xy-banned-types {
    color: #b0b3b8;
}
body.dark-theme .xy-banned-section-title,
body.dark-mode .xy-banned-section-title {
    color: #e0e0e0;
    border-left-color: var(--theme-color, #ff6b6b);
}
body.dark-theme .xy-banned-table,
body.dark-mode .xy-banned-table,
body.dark-theme .xy-banned-table th,
body.dark-theme .xy-banned-table td,
body.dark-mode .xy-banned-table th,
body.dark-mode .xy-banned-table td {
    border-color: #3a3f4a;
}
body.dark-theme .xy-banned-table thead th,
body.dark-mode .xy-banned-table thead th {
    background: #2a2f37;
    color: #e0e0e0;
}
body.dark-theme .xy-banned-table tbody tr:nth-child(even),
body.dark-mode .xy-banned-table tbody tr:nth-child(even) {
    background: #23262d;
}
body.dark-theme .xy-banned-table td,
body.dark-mode .xy-banned-table td {
    color: #b0b3b8;
}
body.dark-theme .xy-banned-empty p,
body.dark-mode .xy-banned-empty p {
    color: #888;
}
body.dark-theme .xy-banned-pagination .page-numbers,
body.dark-mode .xy-banned-pagination .page-numbers {
    background: #2a2f37;
    color: #aaa;
}
