/* ============================================================
   🏷️ 标签页专属样式 (custom_tags.css)
   对应页面：/tags/
   ============================================================ */

/* 1. 强制撑满全屏 (关键修复) */
body:has(.tag-cloud-list) #content-inner {
    display: block !important; 
}

body:has(.tag-cloud-list) #page {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 2. 背景图设置 */
body:has(.tag-cloud-list) #page-header {
    background-image: url('/img/tags-bg.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
/* 遮罩层透明度微调 */
body:has(.tag-cloud-list) #page-header:before {
    background-color: rgba(0,0,0,0.3) !important;
}

/* 3. 标签云容器美化 (玻璃卡片 + 融合) */
body:has(.tag-cloud-list) .tag-cloud-list {
    max-width: 1200px !important; 
    margin: 20px auto 0 auto !important; /* 向上钻入波浪 */
    
    background: rgba(255, 255, 255, 1) !important; /* 纯白背景 */
    padding: 40px 40px !important;
    border-radius: 30px !important;
    
    position: relative !important;
    z-index: 5 !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05) !important;
    text-align: center !important;
}

/* 4. 标签链接样式 */
.tag-cloud-list a {
    display: inline-block;
    padding: 8px 16px;
    margin: 6px;
    line-height: 1;
    transition: all 0.3s;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.03);
}
.tag-cloud-list a:hover {
    background: #425AEF !important;
    color: #fff !important;
    border-color: #425AEF !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(66, 90, 239, 0.3);
}

/* 5. 隐藏侧边栏 (虽然 custom.css 可能写了，这里再保险一次) */
body:has(.tag-cloud-list) #aside-content {
    display: none !important;
}