@charset "utf-8";

/* ==============================================
   1. 基础重置 & 全局补丁 (Global Reset)
   ============================================== */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img, ul, li, form, label, table, tr, td {
    margin: 0; padding: 0; border: 0; outline: 0;
}
body {
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    background: #f0f0f0;
    color: #333;
    overflow-x: hidden;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
ul, li { list-style-type: none; }
a { color: #333; text-decoration: none; transition: color .2s ease; outline: 0; }
a:hover { color: #f90; }
img { border: none; max-width: 100%; vertical-align: middle; }
.clear:after { content: ""; display: table; clear: both; }
.wrap { position: relative; margin: 0 auto; width: 96%; max-width: 1200px; }

/* 隐藏旧模块 */
.topk, .footer, .rollbar, .banner .bbt-btn { display: none !important; }
body > iframe { opacity: 0 !important; display: none !important; }

/* 页面间距 */
.main { margin-top: 0 !important; padding-top: 0 !important; }
.main > div:last-child { padding-bottom: 20px !important; margin-bottom: 0 !important; }

/* 全局容器默认设置 */
.bbt-container, 
div[data-v-2601c118] .bbt-container {
    width: 96% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box;
}


/* ==============================================
   2. 顶部 Banner 区域 (Banner)
   ============================================== */
.banner { 
    padding-top: 25px !important; 
    padding-bottom: 80px !important; 
    margin-bottom: 0 !important; 
    /* 背景图由 HTML 行内样式控制 */
    background-size: cover !important; 
    background-position: center !important; 
    text-align: center !important; 
}
.banner .slogan { margin: 0 !important; padding: 0 !important; line-height: 0 !important; }
.banner .slogan img { 
    width: 280px !important; 
    height: auto !important; 
    max-width: 90% !important; 
    display: inline-block !important; 
}


/* ==============================================
   3. 个人博客榜单 (Ranking Module)
   ============================================== */

/* --- 3.1 容器 --- */
div[data-v-6fc955b9] .bbt-container {
    width: 92% !important;      
    max-width: none !important; 
    margin: 0 auto !important;
    padding: 0 !important;
}

/* 模块外框 */
.rank-module[data-v-6fc955b9] { 
    position: relative; 
    box-shadow: 0 6px 24px 2px rgba(0, 0, 0, .06), 0 6px 30px 5px rgba(0, 0, 0, .04), 0 0 10px -5px rgba(0, 0, 0, .08); 
    border-radius: 16px !important; 
    padding: 24px 15px 24px 15px !important; 
    top: -48px; 
    background: #fff; 
    text-align: center;
}
.rank-module h5[data-v-6fc955b9] { 
    margin: 0 0 30px 0 !important;
    font-size: 36px; line-height: 38px; font-weight: 700; 
}

/* --- 3.2 表格布局 --- */
.rank-table__header[data-v-6fc955b9], 
.rank-table__item[data-v-6fc955b9] { 
    display: flex !important; 
    align-items: center;      
    justify-content: space-between;
    padding: 24px 5px !important;
    width: 100%;
    box-sizing: border-box;
}

/* 表头 */
.rank-table__header[data-v-6fc955b9] { 
    background-color: #f8f8f8; 
    color: rgba(0, 0, 0, .56);
    font-weight: 700; 
    margin-bottom: 8px; 
    border-radius: 4px; 
}
.rank-table__header div {
    font-size: 16px !important; 
    color: rgba(0, 0, 0, .56) !important;
    font-weight: 700 !important;
    text-align: center !important;
    justify-content: center !important;
}
.rank-table__header .table-column__1 {
    text-align: center !important;
    justify-content: center !important;
    padding-left: 0 !important; 
}

/* 列表项 */
.rank-table__item[data-v-6fc955b9] { 
    border-radius: 8px; 
    margin-bottom: 8px; 
    transition: all .2s ease; 
    background: #fff; 
    position: relative; 
}
.rank-table__item[data-v-6fc955b9]:nth-child(odd) { background: #f8f8f8; }

.rank-table__item:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); 
    background-color: #fff !important; 
    z-index: 10; 
    cursor: pointer; 
}
.rank-table__item:hover .item-info p, 
.rank-table__item:hover .item-info p a {
    color: #e32c28 !important; 
    transition: color 0.2s ease;
}
.rank-table__item:hover .item-info p+p {
    color: #999 !important; 
}

.rank-table__item a::after {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5;
}
.rank-table__item a { position: static; }

/* --- 3.3 列宽定制 --- */
.table-column__0 { width: 8% !important; min-width: 60px !important; text-align: center !important; flex-shrink: 0 !important; }
.rank-table__item .table-column__0 { font-size: 24px !important; font-weight: 700; color: #999; font-style: italic; font-family: Georgia, serif; }
.rank-table .table-column__0 img { width: 40px !important; height: auto !important; display: block; margin: 0 auto; }

.table-column__1 { flex: 1 !important; width: 40% !important; min-width: 200px; padding-left: 30px !important; text-align: left; }
.rank-table__item .item-avatar { width: 50px !important; height: 50px !important; border-radius: 50%; float: left; margin-right: 12px; background-size: cover; background-position: center; flex-shrink: 0 !important; }
.rank-table__item .item-info p { font-size: 18px !important; font-weight: 700; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-table__item .item-info p+p { font-size: 13px !important; color: #999; margin-top: 4px; }

.table-column__2, .table-column__3, .table-column__4 { width: 14% !important; min-width: 90px; text-align: center !important; flex-shrink: 0 !important; }
.table-column__4 { width: 16% !important; min-width: 110px; }

.rank-table__item .table-column__2 { color: #e32c28 !important; font-size: 20px !important; font-weight: 700; }
.rank-table__item .table-column__3 { font-size: 18px !important; font-weight: 700; }
.rank-table__item .table-column__4 { font-size: 18px !important; font-weight: 700; color: #333; }

.table-column__5 { display: none !important; }

@media (max-width: 1000px) { .table-column__3 { display: none !important; } }
@media (max-width: 800px) { .table-column__2 { display: none !important; } }

@media (max-width: 600px) {
    .rank-table__header { display: flex !important; }
    .rank-table__header div { font-size: 16px !important; }
    .rank-table__header .table-column__1 { padding-left: 10px !important; }
    
    .table-column__0 { width: 10% !important; min-width: 40px !important; }
    .rank-table .table-column__0 img { width: 30px !important; }
    
    .table-column__1 { padding-left: 10px !important; width: 62% !important; }
    .rank-table__item .item-avatar { width: 50px !important; height: 50px !important; margin-right: 8px; }
    .rank-table__item .item-info p+p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; }
    
    .table-column__4 { width: 28% !important; min-width: auto !important; text-align: center !important; color: #999; font-weight: normal; font-size: 14px !important; }
    .rank-table__item .table-column__4 { font-size: 14px !important; }
}


/* ==============================================
   4. 统计数据栏 (Statistics Bar)
   ============================================== */
div[data-v-2601c118].bbt-data {
    height: 240px !important;
    padding: 0 !important;
    /* 背景图由 HTML 行内样式控制 */
    background-repeat: no-repeat; 
    background-position: 50%; 
    background-size: cover; 
    display: flex !important; align-items: center !important; justify-content: center !important;
}

div[data-v-2601c118] .bbt-row {
    display: flex !important;
    flex-wrap: nowrap !important; 
    justify-content: space-between !important;
    align-items: center !important;
    margin: 0 !important; width: 100% !important;
}

div[data-v-2601c118] .bbt-col-xs-6 {
    float: none !important; width: auto !important; flex: 1 !important;
    padding: 0 !important; margin: 0 !important;
    display: flex !important; justify-content: center !important;
}

div[data-v-2601c118] .bbt-data__item {
    display: flex !important; flex-direction: row !important; align-items: baseline !important; justify-content: center !important;
    white-space: nowrap !important;
    color: #fff; font-weight: 700;
}
div[data-v-2601c118] .bbt-data__item span { font-size: 32px; line-height: 1; }
div[data-v-2601c118] .bbt-data__item i { 
    display: inline-block !important; font-size: 16px; font-weight: 400; font-style: normal;
    margin-left: 8px !important; margin-top: 0 !important; color: rgba(255,255,255,0.9);
}

@media (max-width: 1000px) {
    div[data-v-2601c118] .bbt-col-xs-6:nth-child(2) { display: none !important; }
}
@media (max-width: 600px) {
    div[data-v-2601c118] .bbt-col-xs-6:nth-child(2),
    div[data-v-2601c118] .bbt-col-xs-6:nth-child(4) { display: none !important; }
    
    div[data-v-2601c118] .bbt-data__item span { font-size: 24px !important; }
    div[data-v-2601c118] .bbt-data__item i { font-size: 13px !important; margin-left: 4px !important; }
    div[data-v-2601c118] .bbt-row { justify-content: space-around !important; }
}


/* ==============================================
   5. 推荐博客模块 (Recommended Blogs)
   ============================================== */

/* --- 5.1 容器 --- */
.bbt-data[data-v-3a0a2590] {
    padding: 30px 0 10px 0 !important; /* 上下间距微调 */
    background: #f0f0f0;
}
.bbt-data[data-v-3a0a2590] h5 {
    font-size: 36px; font-weight: 700; margin: 0 0 50px 0 !important;
    text-align: center; color: #333;
}

div[data-v-3a0a2590] .bbt-container {
    width: 92% !important;      
    max-width: none !important; 
    margin: 0 auto !important;
    padding: 0 !important;
}

/* --- 5.2 网格布局 --- */
div[data-v-c91e387a] .bbt-row {
    display: grid !important;
    /* 【关键修改】去掉 !important，允许 JS 覆盖这里的列数设置 */
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); 
    gap: 20px !important;
    margin: 0 !important; width: 100% !important;
}
div[data-v-c91e387a] .bbt-col-xs-8,
div[data-v-c91e387a] .bbt-col-xs-6 {
    width: auto !important; float: none !important; padding: 0 !important; margin: 0 !important; min-height: 0 !important;
}

/* --- 5.3 卡片样式 --- */
.author-item[data-v-c91e387a] {
    position: relative; 
    background: #fff; border-radius: 12px !important;
    padding: 24px 24px 10px 24px !important; 
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
    transition: all 0.3s ease;
    height: 100% !important; display: block !important;
    min-height: 220px;
}
.author-item[data-v-c91e387a]:hover { transform: translateY(-5px); box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important; z-index: 2; }
.author-item[data-v-c91e387a] a::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 10; }

/* --- 5.4 内容排版 --- */
.author-item__avatar[data-v-c91e387a] {
    position: absolute !important; top: 24px; left: 24px;
    width: 80px !important; float: none !important; margin: 0 !important; z-index: 1;
}
.author-item__avatar .img-box[data-v-c91e387a] {
    width: 80px !important; height: 80px !important; border-radius: 50%;
    margin: 0 !important; box-shadow: none !important;
    background-size: cover !important; 
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.author-module__follow { display: none !important; }

.author-item__info[data-v-c91e387a] { padding: 0 !important; width: 100% !important; }

/* 名字：强制左对齐 */
.author-item__info-name[data-v-c91e387a] {
    margin-left: 100px !important;
    text-align: left !important; 
    font-size: 20px !important; color: #333; font-weight: 700; line-height: 1.4;
    margin-top: 4px !important; margin-bottom: 12px !important;
}

/* Flex 容器：两端对齐 */
.author-item__posts[data-v-c91e387a] {
    margin-left: 100px !important;
    margin-bottom: 15px !important;
    display: flex !important; 
    justify-content: space-between !important; 
}

/* 数据项通用设置 */
.author-item__info-item[data-v-c91e387a] {
    float: none !important; display: block !important; 
    width: 33.33% !important;    
    font-size: 13px !important; color: #999 !important; font-weight: normal !important; line-height: 1.5;
    white-space: nowrap !important;
}

/* 混合对齐策略 */
.author-item__info-item[data-v-c91e387a]:nth-child(1) { text-align: left !important; }
.author-item__info-item[data-v-c91e387a]:nth-child(2) { text-align: center !important; }
.author-item__info-item[data-v-c91e387a]:nth-child(3) { text-align: right !important; }

.author-item__info-item span[data-v-c91e387a] {
    display: block !important; 
    margin-top: 2px !important; margin-left: 0 !important;
    font-size: 16px !important; color: #333 !important; font-weight: 700 !important;
}
.author-item__info-item:last-child span[data-v-c91e387a] { color: #333 !important; }

.author-item__desc[data-v-c91e387a] {
    width: 100% !important;
    margin-top: 25px !important; padding-top: 15px !important; border-top: 1px solid #f2f2f2;
    font-size: 14px !important; color: #666 !important; line-height: 1.6 !important; height: auto !important;
    display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2 !important;
    overflow: hidden; white-space: normal !important;
}

/* ==============================================
   6. 弹窗样式 (提取自HTML)
   ============================================== */
.el-dialog__wrapper { display: none; }
.el-dialog { margin-top: 15vh !important; width: 30% !important; margin: 0 auto; background: #fff; border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.el-dialog__header { padding: 20px 20px 10px; }
.el-dialog__footer { padding: 10px 20px 20px; text-align: right; box-sizing: border-box; }