
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    background: var(--bg-page);
    color: var(--text-main);
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }

.container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.section {
    padding: 92px 0;
}
.section-heading {
    max-width: 680px;
    margin: 0 auto 48px;
    text-align: center;
}
.section-badge {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid rgba(79, 124, 255, .35);
    border-radius: 999px;
    color: #8eacff;
    background: rgba(79, 124, 255, .12);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
}
.section-heading h2 {
    margin: 14px 0 10px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
}
.section-heading p { margin: 0; color: var(--text-secondary); }
.section-heading::after {
    content: "";
    display: block;
    width: 92px;
    height: 3px;
    margin: 22px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


.section--alt { background: var(--bg-section); }
.muted { color: var(--text-secondary); }
.text-muted-soft { color: var(--text-muted); }
.small { font-size: .86rem; }
.text-center { text-align: center; }
.is-hidden { display: none !important; }
.link { color: var(--primary); text-decoration: none; }
.link:hover { color: var(--primary-hover); }


.check-list { padding: 0; margin: 22px 0; list-style: none; color: var(--text-secondary); }
.check-list li { position: relative; padding-left: 30px; margin: 10px 0; }
.check-list li::before {
    content: "";
    position: absolute; left: 0; top: 2px;
    width: 20px; height: 20px;
    background-color: var(--success);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: 20px 20px;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 20px 20px;
}


ul.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.pagination li {
    display: inline-flex;
}

ul.pagination li a,
ul.pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: .9rem;
    text-decoration: none;
    transition: color .15s, border-color .15s, background .15s;
}

ul.pagination li a:hover {
    color: #fff;
    border-color: var(--primary);
    background: var(--primary);
}

ul.pagination li.active span {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
}

ul.pagination li.disabled span {
    opacity: .35;
    cursor: not-allowed;
}

body.cp-protect,
body.cp-protect *:not(input):not(textarea):not([contenteditable]) {
    -webkit-user-select: none;
    user-select: none;
}
body.cp-protect img { -webkit-user-drag: none; }



/* v1.475 前台内容保护俏皮提示(content-protect.js 违规操作时右下角弹出,单例+节流+自动消失;
   bottom 200px 避让右下悬浮按钮组) */
.cp-toast {
    position: fixed;
    right: 20px;
    bottom: 200px;
    z-index: 960;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 300px;
    padding: 12px 16px;
    border: 1px solid rgba(79, 124, 255, .42);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-md);
    background: rgba(13, 20, 36, .94);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateX(26px);
    transition: opacity .26s ease, transform .26s ease, visibility .26s;
    pointer-events: none;
}
.cp-toast.is-show { opacity: 1; visibility: visible; transform: none; }
.cp-toast__ico { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; color: var(--primary); }
.cp-toast__ico svg { display: block; width: 100%; height: 100%; }
.cp-toast__bd { display: block; min-width: 0; }
.cp-toast__tt { display: block; margin: 0; font-size: .92rem; font-weight: 700; color: var(--text-main); }
.cp-toast__tx { display: block; margin-top: 2px; font-size: .82rem; line-height: 1.55; color: var(--text-secondary); }