/* ============================================
   Widely云留言板 - blank 模式自包含样式
   使用 --cc-accent (由 render.php 内联 style 注入)
   ============================================ */

/* ---------- 重置 & 基础 ---------- */
.cloud-comment-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #334155;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.cc-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.cc-page * {
    box-sizing: border-box;
}

.cc-page p {
    margin: 0 0 10px;
}

.cc-page p:last-child {
    margin-bottom: 0;
}

.cc-page svg {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    stroke-width: 2;
}

/* ---------- 链接 ---------- */
.cc-page a {
    color: var(--cc-accent);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.cc-page a:hover {
    opacity: 0.8;
}

/* ---------- 公共按钮 ---------- */
.cc-page .cc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    line-height: 1;
}

/* ---------- Hero 区域 ---------- */
.cc-hero {
    position: relative;
    padding: 60px 40px 70px;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border: 1px solid #e5e7eb;
}

.cc-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.cc-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: cc-float 8s ease-in-out infinite;
}

.cc-hero__blob--1 {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, var(--cc-accent), rgba(var(--cc-accent-rgb), 0.5));
    top: -80px;
    right: -60px;
    animation-delay: 0s;
}

.cc-hero__blob--2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #a78bfa, #818cf8);
    bottom: -60px;
    left: 10%;
    animation-delay: -3s;
    opacity: 0.3;
}

.cc-hero__blob--3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    top: 30%;
    right: 30%;
    animation-delay: -5s;
    opacity: 0.25;
}

@keyframes cc-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

.cc-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.cc-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(var(--cc-accent-rgb), 0.12);
    color: var(--cc-accent);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
}

.cc-hero__badge svg {
    width: 16px;
    height: 16px;
}

.cc-hero__title {
    font-size: 38px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 14px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.cc-hero__desc {
    font-size: 16px;
    color: #475569;
    margin: 0 0 28px;
    line-height: 1.7;
}

.cc-hero__stats {
    display: flex;
    gap: 40px;
    margin-bottom: 28px;
}

.cc-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cc-hero__stat-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--cc-accent);
    line-height: 1.2;
    background: linear-gradient(135deg, var(--cc-accent), rgba(var(--cc-accent-rgb), 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cc-hero__stat-num--text {
    font-size: 26px;
    font-variant-numeric: tabular-nums;
    -webkit-text-fill-color: var(--cc-accent);
}

.cc-hero__stat-label {
    font-size: 13px;
    color: #64748b;
}

.cc-page .cc-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: var(--cc-accent);
    border-radius: 999px;
    box-shadow: 0 4px 12px -2px rgba(var(--cc-accent-rgb), 0.35);
    transition: all 0.25s ease;
}

.cc-page .cc-hero__cta,
.cc-page .cc-hero__cta > span {
    color: #fff;
}

.cc-page .cc-hero__cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -2px rgba(var(--cc-accent-rgb), 0.5);
}

/* ---------- Widely云介绍 ---------- */
.cc-intro {
    margin-bottom: 30px;
    padding: 28px 28px 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cc-accent), #818cf8);
    border-radius: 16px 16px 0 0;
}

.cc-intro:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.cc-intro__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.cc-intro__title svg {
    color: var(--cc-accent);
    font-size: 20px;
}

.cc-intro__list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: intro-counter;
}

.cc-intro__item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: #334155;
    line-height: 1.8;
    border-bottom: 1px dashed #f1f5f9;
}

.cc-intro__item:last-child {
    border-bottom: none;
}

.cc-intro__num {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: var(--cc-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    font-variant-numeric: tabular-nums;
}

.cc-intro__text {
    flex: 1;
    min-width: 0;
}

/* ---------- 区块通用 ---------- */
.cc-section {
    margin-bottom: 40px;
}

.cc-section__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.cc-section__icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--cc-accent-rgb), 0.12), rgba(var(--cc-accent-rgb), 0.06));
    color: var(--cc-accent);
    border-radius: 12px;
    border: 1px solid rgba(var(--cc-accent-rgb), 0.2);
}

.cc-section__icon svg {
    width: 22px;
    height: 22px;
}

.cc-section__icon--gradient {
    background: linear-gradient(135deg, var(--cc-accent), rgba(var(--cc-accent-rgb), 0.7));
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(var(--cc-accent-rgb), 0.4);
}

.cc-section__title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.cc-section__subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 4px 0 0;
    line-height: 1.5;
}

.cc-section__subtitle strong {
    color: var(--cc-accent);
    font-weight: 600;
}

/* ---------- 主体两栏布局 ---------- */
.cc-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.cc-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ---------- 留言须知 ---------- */
.cc-rules {
    position: relative;
    padding: 26px 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    flex: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-rules::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #6366f1);
    border-radius: 14px 14px 0 0;
}

.cc-rules:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.cc-rules__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.cc-rules__title svg {
    color: #8b5cf6;
    font-size: 20px;
}

.cc-rules__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cc-rules__item {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: #334155;
    line-height: 1.7;
    border-bottom: 1px dashed #f1f5f9;
}

.cc-rules__item:last-child {
    border-bottom: none;
}

.cc-rules__num {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: #8b5cf6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    font-variant-numeric: tabular-nums;
}

.cc-rules__text {
    flex: 1;
    min-width: 0;
}

/* ---------- 右栏：留言表单 ---------- */
.cc-form {
    position: relative;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cc-accent), #509cff);
    border-radius: 14px 14px 0 0;
}

.cc-form:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.cc-form__head {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.cc-form__head-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px;
}

.cc-form__head-title svg {
    color: var(--cc-accent);
    font-size: 20px;
}

.cc-form__head-subtitle {
    margin: 0;
    font-size: 13px;
    color: #475569;
    line-height: 1.7;
}

.cc-form__body {
    color: #334155;
}

/* 昵称 + 邮箱左右两栏 */
.cc-form__author-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 10px;
}

.cc-form__author-fields p {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
}

.cc-form__author-fields label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 6px;
}

.cc-form__author-fields input {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    color: #1e293b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
}

.cc-form__author-fields input:focus {
    outline: none;
    border-color: var(--cc-accent);
    background: #fff;
}

@media (max-width: 480px) {
    .cc-form__author-fields {
        flex-direction: column;
    }
}

/* ---------- 表单错误状态 ---------- */
.cc-page .cc-form input.has-error,
.cc-page .cc-form textarea.has-error {
    border-color: #f56c6c;
    background: #fef0f0;
}

.cc-page .cc-form input.has-error:focus,
.cc-page .cc-form textarea.has-error:focus {
    border-color: #f56c6c;
    box-shadow: 0 0 0 2px rgba(245, 108, 108, 0.15);
}

.cc-page .cc-form__error {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    margin: 8px 0 0;
    padding: 6px 12px 6px 8px;
    font-size: 12px;
    line-height: 1.4;
    color: #fff;
    background: #f56c6c;
    border-radius: 6px;
    box-shadow: 0 4px 12px -2px rgba(245, 108, 108, 0.35);
    animation: ccFormErrorIn 0.25s ease;
}

.cc-page .cc-form__error-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    flex-shrink: 0;
}

.cc-page .cc-form__error::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 14px;
    width: 10px;
    height: 10px;
    background: #f56c6c;
    transform: rotate(45deg);
    border-radius: 1px;
}

@keyframes ccFormErrorIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cc-form__closed {
    padding: 32px 16px;
    text-align: center;
    color: #94a3b8;
    background: #f8fafc;
    border-radius: 8px;
}

/* ----- 评论表单字段 ----- */
.cc-form__wpform {
    margin: 0;
}

.cc-form__title {
    display: none;
}

.cc-form__field {
    margin-bottom: 16px;
}

.cc-form__label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 6px;
}

.cc-form__wpform .comment-notes,
.cc-form__wpform .comment-form-comment {
    margin: 0 0 10px;
}

.cc-form__wpform input[type="text"],
.cc-form__wpform input[type="email"],
.cc-form__wpform input[type="url"],
.cc-form__wpform textarea {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    color: #1e293b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background 0.2s ease;
    font-family: inherit;
}

.cc-form__wpform input[type="text"]:focus,
.cc-form__wpform input[type="email"]:focus,
.cc-form__wpform input[type="url"]:focus,
.cc-form__wpform textarea:focus {
    outline: none;
    border-color: var(--cc-accent);
    background: #fff;
}

.cc-form__wpform textarea {
    min-height: 24px;
    resize: vertical;
    line-height: 1.7;
}

.cc-form__wpform .comment-form-author,
.cc-form__wpform .comment-form-email,
.cc-form__wpform .comment-form-url {
    margin-bottom: 10px;
}

.cc-form__wpform label {
    display: block;
    font-size: 13px;
    color: #475569;
    margin-bottom: 6px;
}

.cc-form__wpform label .required {
    color: #f56c6c;
}

.cc-form__wpform .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #94a3b8;
}

.cc-form__submit-wrap {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cc-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    color: #fff;
    background: var(--cc-accent);
    box-shadow: 0 4px 12px -2px rgba(var(--cc-accent-rgb), 0.35);
    transition: all 0.25s ease;
    line-height: 1;
}

.cc-form__submit:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -2px rgba(var(--cc-accent-rgb), 0.5);
}

.cc-form__cancel {
    color: #94a3b8;
    font-size: 13px;
    cursor: pointer;
}

.cc-form__cancel a {
    color: #94a3b8;
    text-decoration: underline;
}

/* ---------- 留言列表 ---------- */
.cc-list {
    margin-bottom: 40px;
}

.cc-list__items {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ---------- 单条留言卡片 ---------- */
.cc-item {
    list-style: none;
    margin-bottom: 16px;
}

.cc-card {
    display: flex;
    gap: 14px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-card:hover {
    border-color: var(--cc-accent);
    box-shadow: 0 8px 24px -8px rgba(var(--cc-accent-rgb), 0.25);
    transform: translateY(-2px);
}

.cc-card__avatar {
    flex-shrink: 0;
}

.cc-card__avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #f8fafc;
}

.cc-card__body {
    flex: 1;
    min-width: 0;
}

.cc-card__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.cc-card__author {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
}

.cc-card__author:hover {
    color: var(--cc-accent);
}

.cc-card__badge {
    display: inline-block;
    padding: 2px 10px;
    font-size: 11px;
    color: #fff;
    background: linear-gradient(135deg, var(--cc-accent), rgba(var(--cc-accent-rgb), 0.7));
    border-radius: 999px;
    font-weight: 500;
    line-height: 1.5;
}

.cc-card__time {
    font-size: 12px;
    color: #64748b;
    margin-left: auto;
    font-variant-numeric: tabular-nums;
}

.cc-card__pending {
    font-size: 13px;
    color: #94a3b8;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #e6a23c;
}

.cc-card__content {
    margin-bottom: 8px;
}

.cc-card__text {
    font-size: 14px;
    color: #334155;
    line-height: 1.8;
    word-break: break-word;
}

.cc-card__text p {
    margin: 0 0 8px;
}

.cc-card__text p:last-child {
    margin-bottom: 0;
}

.cc-card__text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 4px 0;
}

.cc-card__text a {
    color: var(--cc-accent);
    word-break: break-all;
}

.cc-card__text code {
    padding: 2px 6px;
    font-size: 12px;
    background: #f8fafc;
    border-radius: 4px;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.cc-card__footer {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    margin-top: 8px;
}

.cc-card__reply a {
    color: #94a3b8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.cc-card__reply a:hover {
    color: var(--cc-accent);
    background: rgba(var(--cc-accent-rgb), 0.08);
}

.cc-card__reply-inner {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cc-card__edit {
    color: #94a3b8;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.cc-card__edit:hover {
    color: var(--cc-accent);
    background: rgba(var(--cc-accent-rgb), 0.08);
}

/* ---------- 嵌套回复 ---------- */
.cc-children {
    list-style: none;
    margin: 16px 0 0 0;
    padding-left: 28px;
    border-left: 2px dashed #e5e7eb;
}

.cc-children .cc-item {
    margin-bottom: 12px;
}

.cc-children .cc-item:last-child {
    margin-bottom: 0;
}

.cc-children .cc-card {
    background: #f8fafc;
    padding: 14px 16px;
    border-radius: 12px;
}

.cc-children .cc-card__avatar img {
    width: 36px;
    height: 36px;
}

.cc-children .cc-children {
    padding-left: 20px;
}

/* ---------- 留言分页 ---------- */
.cc-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.cc-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
    color: #1e293b;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cc-pagination .page-numbers:hover {
    border-color: var(--cc-accent);
    color: var(--cc-accent);
    transform: translateY(-1px);
}

.cc-pagination .page-numbers.current {
    color: #fff;
    background: linear-gradient(135deg, var(--cc-accent), rgba(var(--cc-accent-rgb), 0.7));
    border-color: var(--cc-accent);
    box-shadow: 0 4px 12px -2px rgba(var(--cc-accent-rgb), 0.35);
}

.cc-pagination .page-numbers.dots {
    border: none;
    background: transparent;
}

.cc-pagination .page-numbers svg {
    display: block;
    margin: 0;
    font-size: 16px;
}

/* ---------- 空状态 ---------- */
.cc-empty {
    padding: 60px 20px;
    text-align: center;
    background: #fff;
    border: 1px dashed #e5e7eb;
    border-radius: 14px;
}

.cc-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    font-size: 32px;
    color: var(--cc-accent);
    background: rgba(var(--cc-accent-rgb), 0.1);
    border-radius: 50%;
}

.cc-empty__text {
    margin: 0;
    font-size: 15px;
    color: #475569;
}

/* ---------- 底部 ---------- */
.cc-footer {
    margin-top: 40px;
    padding: 24px 16px;
    text-align: center;
}

.cc-footer__note {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    margin-bottom: 20px;
}

.cc-footer__line {
    flex: 1;
    max-width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e5e7eb 50%, transparent 100%);
}

.cc-footer__text {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    font-style: italic;
    letter-spacing: 1px;
}

.cc-footer__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    font-size: 13px;
    color: var(--cc-accent);
    background: rgba(var(--cc-accent-rgb), 0.08);
    border: 1px solid rgba(var(--cc-accent-rgb), 0.2);
    border-radius: 999px;
    transition: all 0.25s ease;
    text-decoration: none;
    margin-bottom: 16px;
}

.cc-footer__link:hover {
    background: rgba(var(--cc-accent-rgb), 0.12);
    border-color: rgba(var(--cc-accent-rgb), 0.35);
    transform: translateY(-1px);
}

.cc-footer__copyright {
    margin: 8px 0 0;
    font-size: 12px;
    color: #94a3b8;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 900px) {
    .cc-layout {
        grid-template-columns: 1fr;
    }

    .cc-side {
        order: 2;
    }

    .cc-form {
        order: 1;
    }
}

@media (max-width: 768px) {
    .cc-page {
        padding: 20px 12px 40px;
    }

    .cc-hero {
        padding: 40px 24px 50px;
        border-radius: 12px;
    }

    .cc-hero__title {
        font-size: 28px;
    }

    .cc-hero__desc {
        font-size: 15px;
    }

    .cc-hero__stats {
        gap: 30px;
    }

    .cc-hero__stat-num {
        font-size: 24px;
    }

    .cc-hero__stat-num--text {
        font-size: 22px;
    }

    .cc-section {
        margin-bottom: 32px;
    }

    .cc-section__title {
        font-size: 19px;
    }

    .cc-section__icon {
        width: 40px;
        height: 40px;
    }

    .cc-section__icon svg {
        width: 18px;
        height: 18px;
    }

    .cc-intro {
        padding: 22px 20px;
        border-radius: 12px;
    }

    .cc-layout {
        gap: 16px;
        margin-bottom: 32px;
    }

    .cc-rules,
    .cc-form {
        padding: 22px 20px;
        border-radius: 12px;
    }

    .cc-form__head-title {
        font-size: 16px;
    }

    .cc-card {
        padding: 16px;
        gap: 12px;
        border-radius: 12px;
    }

    .cc-card__avatar img {
        width: 40px;
        height: 40px;
    }

    .cc-card__author {
        font-size: 14px;
    }

    .cc-card__time {
        margin-left: 0;
        flex-basis: 100%;
    }

    .cc-card__text {
        font-size: 13px;
    }

    .cc-children {
        padding-left: 16px;
    }

    .cc-children .cc-card {
        padding: 12px 14px;
    }

    .cc-children .cc-card__avatar img {
        width: 32px;
        height: 32px;
    }

    .cc-pagination {
        flex-wrap: wrap;
    }

    .cc-footer {
        padding: 16px 12px;
        margin-top: 32px;
    }
}

@media (max-width: 480px) {
    .cc-hero {
        padding: 32px 20px 40px;
    }

    .cc-hero__title {
        font-size: 24px;
    }

    .cc-hero__stats {
        gap: 24px;
    }

    .cc-hero__blob--1 {
        width: 200px;
        height: 200px;
    }

    .cc-hero__blob--2 {
        width: 150px;
        height: 150px;
    }

    .cc-section__header {
        gap: 10px;
        margin-bottom: 18px;
    }

    .cc-section__title {
        font-size: 18px;
    }

    .cc-empty {
        padding: 48px 16px;
    }

    .cc-empty__icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
}
