/* ============================================================
   OneNav Lite - 分类归档页 & 详情页样式
   taxonomy-link_category.php  +  single-nav_link.php
   ============================================================ */

/* ==================== 公用：面包屑 ==================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.bc-sep { opacity: .5; }
.bc-current { color: var(--text-primary); font-weight: 500; }

/* ==================== 分类归档页 ==================== */

/* 英雄区 */
.archive-hero {
    background: linear-gradient(135deg, var(--bg-card) 0%, color-mix(in srgb, var(--primary) 8%, var(--bg-card)) 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 32px 24px 28px;
}
.archive-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.archive-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 12px 0 8px;
    line-height: 1.3;
}
.archive-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0 0 10px;
}
.archive-meta-line { font-size: 13px; color: var(--text-muted); }
.archive-meta-line strong { color: var(--primary); }

/* 分类横向导航栏 */
.cat-nav-bar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 80;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.cat-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 24px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all .2s;
    position: relative;
}
.cat-nav-item:hover { color: var(--primary); }
.cat-nav-item.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.cat-nav-count {
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 11px;
    padding: 1px 5px;
    border-radius: 10px;
}
.cat-nav-item.active .cat-nav-count { background: color-mix(in srgb, var(--primary) 15%, transparent); color: var(--primary); }

/* 工具栏 */
.archive-toolbar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0 24px;
}
.archive-toolbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    gap: 12px;
}
.toolbar-label { font-size: 13px; color: var(--text-muted); margin-right: 4px; }
.toolbar-left { display: flex; align-items: center; gap: 6px; }
.sort-btn {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    color: var(--text-secondary);
    text-decoration: none;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all .2s;
    cursor: pointer;
}
.sort-btn:hover { border-color: var(--primary); color: var(--primary); }
.sort-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* 主内容区（列表+侧边栏） */
.archive-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px 60px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    align-items: start;
}

/* 列表 */
.archive-list { display: flex; flex-direction: column; gap: 10px; }

/* 列表项 */
.archive-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: box-shadow .2s, border-color .2s, transform .15s;
    cursor: pointer;
}
.archive-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    border-color: color-mix(in srgb, var(--primary) 40%, transparent);
    transform: translateY(-1px);
}

/* 图标 */
.archive-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.archive-item-icon img { width: 44px; height: 44px; object-fit: cover; }
.icon-fallback {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark, #7c3aed));
    color: #fff;
    border-radius: 10px;
}

/* 正文区 */
.archive-item-body { flex: 1; min-width: 0; }
.archive-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
}
.archive-item-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.archive-item-title a { color: inherit; text-decoration: none; }
.archive-item-title a:hover { color: var(--primary); }

/* 直达按钮 */
.direct-btn {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 12px;
    background: var(--primary);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity .2s, transform .15s;
}
.direct-btn:hover { opacity: .85; transform: translateY(-1px); }

/* 描述 */
.archive-item-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 4px 0 8px;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 底部标签 + 数据 */
.archive-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
.archive-item-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.item-tag {
    font-size: 11px;
    padding: 2px 8px;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary);
    border-radius: 10px;
    text-decoration: none;
    transition: background .2s;
}
.item-tag:hover { background: color-mix(in srgb, var(--primary) 20%, transparent); }
.item-domain { font-size: 11px; color: var(--text-muted); }
.archive-item-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* ======== 分页 ======== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all .2s;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.current { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-ellipsis { color: var(--text-muted); font-size: 13px; padding: 0 4px; }

/* ======== 空状态 ======== */
.empty-state {
    text-align: center;
    padding: 80px 24px;
    color: var(--text-muted);
}
.empty-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state p { font-size: 15px; margin-bottom: 20px; }

/* ======== 侧边栏公用 ======== */
.archive-sidebar, .single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 80px;
}
.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
}
.widget-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}
/* 分类信息 */
.widget-cat-info { text-align: center; padding: 8px 0; }
.cat-info-icon { font-size: 32px; margin-bottom: 6px; }
.cat-info-name { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.cat-info-count { font-size: 13px; color: var(--text-muted); }

/* 分类列表 */
.widget-cat-list { list-style: none; padding: 0; margin: 0; }
.widget-cat-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 8px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background .15s, color .15s;
}
.widget-cat-list li a:hover { background: var(--bg-secondary); color: var(--text-primary); }
.widget-cat-list li.active a { background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); font-weight: 600; }
.cat-count-badge {
    font-size: 11px;
    background: var(--bg-secondary);
    color: var(--text-muted);
    padding: 1px 6px;
    border-radius: 10px;
}
.widget-cat-list li.active .cat-count-badge { background: color-mix(in srgb, var(--primary) 15%, transparent); color: var(--primary); }

/* 热门列表 */
.widget-hot-list { list-style: none; padding: 0; margin: 0; }
.widget-hot-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-color);
}
.widget-hot-list li:last-child { border-bottom: none; }
.widget-hot-list li a { font-size: 13px; color: var(--text-secondary); text-decoration: none; flex: 1; }
.widget-hot-list li a:hover { color: var(--primary); }
.hot-rank-sm {
    width: 20px; height: 20px;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700;
    background: var(--bg-secondary);
    color: var(--text-muted);
    flex-shrink: 0;
}
.hot-rank-sm.rank-1 { background: #ef4444; color: #fff; }
.hot-rank-sm.rank-2 { background: #f97316; color: #fff; }
.hot-rank-sm.rank-3 { background: #eab308; color: #fff; }

/* 侧边链接列表 */
.widget-link-list { list-style: none; padding: 0; margin: 0; }
.sidebar-link-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 6px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .15s;
}
.sidebar-link-item:hover { background: var(--bg-secondary); }
.sl-icon {
    width: 28px; height: 28px;
    border-radius: 7px;
    overflow: hidden;
    background: var(--bg-secondary);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.sl-icon img { width: 28px; height: 28px; object-fit: cover; }
.sl-fallback { font-size: 12px; font-weight: 700; color: var(--text-muted); }
.sl-text { flex: 1; min-width: 0; }
.sl-title { font-size: 13px; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.sl-domain { font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

.widget-view-more {
    display: block;
    text-align: center;
    padding: 8px;
    font-size: 12px;
    color: var(--primary);
    text-decoration: none;
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
}
.widget-view-more:hover { opacity: .8; }

/* ==================== 详情页 ==================== */

/* 详情英雄区 */
.single-hero {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
}
.single-hero-inner { max-width: 1200px; margin: 0 auto; }

/* 详情主内容布局 */
.single-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px 60px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    align-items: start;
}
.single-main { display: flex; flex-direction: column; gap: 20px; }

/* 顶部信息卡 */
.site-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.site-info-left { display: flex; gap: 16px; align-items: flex-start; flex: 1; }

/* 网站大图标 */
.site-icon-wrap {
    width: 64px; height: 64px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
}
.site-icon-img { width: 64px; height: 64px; object-fit: cover; }
.site-icon-fallback {
    width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 800;
    background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 60%, #7c3aed));
    color: #fff;
}

/* 网站信息文字 */
.site-info-text { flex: 1; min-width: 0; }
.site-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.site-name { font-size: 22px; font-weight: 700; color: var(--text-primary); margin: 0; line-height: 1.3; }
.site-domain {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; color: var(--text-muted);
    margin-bottom: 8px;
}
.site-domain a { color: var(--primary); text-decoration: none; }
.site-domain a:hover { text-decoration: underline; }
.domain-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
    50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
.site-cats { display: flex; gap: 6px; flex-wrap: wrap; }
.site-cat-tag {
    display: inline-block;
    padding: 2px 10px;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
    transition: background .15s;
}
.site-cat-tag:hover { background: color-mix(in srgb, var(--primary) 20%, transparent); }

/* 操作按钮区 */
.site-info-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; flex-shrink: 0; }
.btn-visit {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 70%, #7c3aed));
    color: #fff;
    border-radius: var(--radius-md);
    font-size: 14px; font-weight: 600;
    text-decoration: none;
    transition: opacity .2s, transform .15s;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--primary) 30%, transparent);
}
.btn-visit:hover { opacity: .9; transform: translateY(-1px); }
.btn-copy {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all .2s;
}
.btn-copy:hover { border-color: var(--primary); color: var(--primary); }

/* 统计条 */
.site-stats-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}
.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 4px 16px;
    min-width: 100px;
}
.stat-icon {
    width: 20px; height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}
.stat-num { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.stat-label { font-size: 11px; color: var(--text-muted); }
.stat-divider { width: 1px; height: 40px; background: var(--border-color); flex-shrink: 0; }

/* 截图区 */
.site-screenshot-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.screenshot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}
.screenshot-title {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: var(--text-primary);
}
.screenshot-direct {
    font-size: 12px;
    color: var(--primary);
    text-decoration: none;
}
.screenshot-direct:hover { text-decoration: underline; }

/* 浏览器地址栏 */
.browser-bar {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}
.browser-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.browser-dot.r { background: #ff5f56; }
.browser-dot.y { background: #ffbd2e; }
.browser-dot.g { background: #27c93f; }
.browser-url {
    flex: 1;
    display: flex; align-items: center; gap: 6px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.browser-open-btn {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px;
    color: var(--text-muted);
    text-decoration: none;
    transition: background .15s, color .15s;
}
.browser-open-btn:hover { background: var(--bg-secondary); color: var(--primary); }

/* 截图图片 */
.screenshot-container { }
.screenshot-img-wrap {
    position: relative;
    overflow: hidden;
    line-height: 0;
    max-height: 400px;
}
.screenshot-img {
    width: 100%;
    object-fit: cover;
    object-position: top;
    max-height: 400px;
    display: block;
}
.screenshot-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex; align-items: center; justify-content: center;
    transition: background .25s;
}
.screenshot-img-wrap:hover .screenshot-overlay { background: rgba(0,0,0,.4); }
.screenshot-visit-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 24px;
    background: #fff;
    color: #333;
    border-radius: 30px;
    font-size: 14px; font-weight: 600;
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .25s, transform .25s;
}
.screenshot-img-wrap:hover .screenshot-visit-btn {
    opacity: 1;
    transform: translateY(0);
}
.screenshot-unavailable {
    padding: 40px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}
.su-icon { font-size: 40px; margin-bottom: 10px; }
.btn-visit-sm {
    display: inline-flex; align-items: center;
    padding: 8px 18px;
    background: var(--primary);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    margin-top: 10px;
}

/* 描述区 */
.site-description {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.desc-header {
    display: flex; align-items: center; gap: 6px;
    padding: 12px 18px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    font-size: 14px; font-weight: 600; color: var(--text-primary);
}
.desc-body {
    padding: 18px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* 相关推荐 */
.related-section {}
.desc-body p { margin: 0 0 12px; }
.desc-body p:last-child { margin-bottom: 0; }
.desc-empty { color: var(--text-muted); font-style: italic; }

.section-title-bar {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 14px;
}
.section-icon { font-size: 18px; }
.section-title { font-size: 17px; font-weight: 700; color: var(--text-primary); margin: 0; flex: 1; }
.section-more { font-size: 13px; color: var(--primary); text-decoration: none; }
.section-more:hover { text-decoration: underline; }

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.related-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 14px;
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    transition: box-shadow .2s, border-color .2s, transform .15s;
}
.related-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.07);
    border-color: color-mix(in srgb, var(--primary) 40%, transparent);
    transform: translateY(-2px);
}
.related-card-icon {
    width: 36px; height: 36px;
    border-radius: 9px;
    overflow: hidden;
    background: var(--bg-secondary);
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.related-card-icon img { width: 36px; height: 36px; object-fit: cover; }
.rc-fallback {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700;
    background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 60%, #7c3aed));
    color: #fff;
    border-radius: 9px;
}
.related-card-info { flex: 1; min-width: 0; }
.rc-title {
    font-size: 13px; font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    display: flex; align-items: center; gap: 4px;
}
.rc-desc {
    font-size: 11px; color: var(--text-muted);
    margin-top: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* 详情侧边栏 - 快速操作 */
.quick-actions { display: flex; flex-direction: column; gap: 8px; }
.qa-btn {
    display: flex; align-items: center; justify-content: center;
    padding: 9px 14px;
    border-radius: var(--radius-md);
    font-size: 13px; font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    transition: all .2s;
    text-align: center;
}
.qa-btn:hover { border-color: var(--primary); color: var(--primary); }
.qa-btn.qa-primary {
    background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 70%, #7c3aed));
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 25%, transparent);
}
.qa-btn.qa-primary:hover { opacity: .9; transform: translateY(-1px); }

/* 详情侧边栏 - 基本信息列表 */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    gap: 8px;
}
.info-list li:last-child { border-bottom: none; }
.info-key { font-size: 12px; color: var(--text-muted); flex-shrink: 0; }
.info-val { font-size: 13px; color: var(--text-primary); text-align: right; word-break: break-all; }
.info-val a { color: var(--primary); text-decoration: none; }
.info-val a:hover { text-decoration: underline; }

/* 复制吐司提示 */
.copy-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,.8);
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    z-index: 9999;
    transition: opacity .3s;
    pointer-events: none;
}

/* ==================== 响应式 ==================== */
@media (max-width: 900px) {
    .archive-content,
    .single-content {
        grid-template-columns: 1fr;
        padding: 16px 16px 40px;
    }
    .archive-sidebar,
    .single-sidebar { position: static; }
    .cat-nav-bar { top: 56px; }
    .site-info-card { flex-direction: column; }
    .site-info-actions { align-items: stretch; flex-direction: row; flex-wrap: wrap; }
    .btn-visit { flex: 1; justify-content: center; }
    .btn-copy { flex: 1; justify-content: center; }
    .related-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .stat-item { min-width: 80px; padding: 4px 8px; }
    .site-stats-bar { gap: 0; }
}
@media (max-width: 600px) {
    .archive-hero, .single-hero { padding: 20px 16px 16px; }
    .archive-title { font-size: 20px; }
    .archive-toolbar { padding: 0 16px; }
    .archive-item { padding: 12px; }
    .site-info-card { padding: 16px; }
    .site-name { font-size: 18px; }
    .related-grid { grid-template-columns: 1fr 1fr; }
}
