html[data-theme="light"] body{background:#f7f8fc}
html[data-theme="light"] .detail-main,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .related-card{
    box-shadow:0 1px 3px rgba(0,0,0,.04);
}
html[data-theme="light"] .detail-desc{background:rgba(0,0,0,.02)}
html[data-theme="light"] .detail-tag{background:rgba(0,0,0,.03)}
html[data-theme="light"] .detail-tag:hover{background:rgba(99,102,241,.08)}

.container{max-width:1200px;margin:0 auto;padding:32px 24px}

.breadcrumb{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:13px;
    color:var(--text3);
    margin-bottom:24px;
    flex-wrap:wrap;
}
.breadcrumb a{color:var(--text2);transition:.2s}
.breadcrumb a:hover{color:var(--accent2)}

.detail-hero{
    display:grid;
    grid-template-columns:minmax(0,1fr) 340px;
    gap:24px;
    margin-bottom:32px;
}
.detail-left{display:flex;flex-direction:column;gap:2px;min-width:0}
@media(max-width:768px){
    .detail-hero{grid-template-columns:1fr}
}

.detail-main{
    background:var(--bg3);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:32px;
}
.detail-top{display:flex;align-items:flex-start;gap:20px;margin-bottom:24px}
.detail-logo{
    width:72px;height:72px;border-radius:18px;
    background:linear-gradient(135deg,rgba(99,102,241,0.15),rgba(168,85,247,0.1));
    display:flex;align-items:center;justify-content:center;
    font-size:32px;font-weight:700;color:var(--accent2);flex-shrink:0;overflow:hidden
}
.detail-logo img{width:100%;height:100%;object-fit:cover;border-radius:18px}
.detail-title{font-size:26px;font-weight:700;margin-bottom:6px}
.detail-url{font-size:13px;color:var(--text3);word-break:break-all}
.detail-badges{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}
.badge-cat{background:rgba(99,102,241,0.12);color:var(--accent2)}

.detail-desc{
    font-size:15px;
    color:var(--text2);
    line-height:1.8;
    margin-bottom:24px;
    padding:20px;
    background:rgba(255,255,255,0.02);
    border-radius:10px;
    border:1px solid var(--border);
}
.detail-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:24px}
.detail-tag{
    padding:5px 14px;
    border-radius:8px;
    background:rgba(255,255,255,0.04);
    font-size:13px;
    color:var(--text2);
    border:1px solid var(--border);
    transition:.2s;
}
.detail-tag:hover{
    border-color:var(--border2);
    background:rgba(255,255,255,0.06);
}

.detail-btns{display:flex;gap:12px;flex-wrap:wrap}
.btn-visit{
    display:inline-flex;align-items:center;gap:8px;padding:13px 32px;border-radius:12px;background:var(--gradient);color:#fff;font-size:15px;font-weight:600;transition:.2s
}
.btn-visit:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(99,102,241,0.35)}
.btn-detail-action{
    display:inline-flex;align-items:center;gap:6px;padding:12px 24px;border-radius:12px;font-size:14px;background:var(--bg);border:1px solid var(--border);color:var(--text2);transition:.2s;cursor:pointer
}
.btn-detail-action:hover{border-color:var(--border2);color:var(--text)}

.detail-sidebar{display:flex;flex-direction:column;gap:16px}
.stat-card{
    background:var(--bg3);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:20px;
}
.stat-card h3{
    font-size:13px;
    color:var(--text3);
    margin-bottom:14px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:.05em;
}

.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.stat-item{text-align:center;padding:14px 8px;background:rgba(255,255,255,0.03);border-radius:10px}
.stat-item .num{
    font-size:22px;
    font-weight:800;
    background:var(--gradient);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    display:block;
}
.stat-item .label{font-size:11px;color:var(--text3);margin-top:2px}

.chart-area{height:120px;display:flex;align-items:flex-end;gap:6px;margin-top:12px}
.chart-bar-wrap{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px}
.chart-bar{width:100%;border-radius:4px 4px 0 0;background:var(--gradient);min-height:4px;transition:.3s}
.chart-bar:hover{opacity:.8}
.chart-label{font-size:10px;color:var(--text3)}
.chart-val{font-size:10px;color:var(--accent2);font-weight:600}

.info-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 0;
    border-bottom:1px solid var(--border);
    font-size:13px;
}
.info-row:last-child{border-bottom:none}
.info-label{color:var(--text3)}
.info-value{color:var(--text2);font-weight:500}

.latest-site-list{display:flex;flex-direction:column;gap:6px}
.latest-site-item{display:block;padding:8px 0;border-bottom:1px solid var(--border);transition:.2s}
.latest-site-item:last-child{border-bottom:none;padding-bottom:0}
.latest-site-item:hover{opacity:.9}
.latest-site-title{font-size:14px;font-weight:600;color:var(--text);line-height:1.35;margin-bottom:2px}
.latest-site-time,.list-site-meta{font-size:12px;line-height:1.2;color:var(--text3)}

.hot-tags-wrap{display:flex;flex-wrap:wrap;gap:6px}
.hot-tag-item{
    display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:8px;background:rgba(255,255,255,0.04);border:1px solid var(--border);font-size:12px;line-height:1.2;color:var(--text2);transition:.2s
}
.hot-tag-item:hover{
    color:var(--accent2);
    border-color:var(--border2);
    background:rgba(99,102,241,0.08);
}

.related-section{margin-top:32px}
.related-title{font-size:18px;font-weight:700;margin-bottom:16px;display:flex;align-items:center;gap:8px}
.related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
.related-card{
    background:var(--bg3);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:16px;
    transition:.25s;
    display:flex;
    align-items:center;
    gap:14px;
}
.related-card:hover{
    border-color:var(--border2);
    background:var(--bg4);
    transform:translateY(-2px);
}
.related-logo{
    width:40px;height:40px;border-radius:10px;background:linear-gradient(135deg,rgba(99,102,241,0.12),rgba(168,85,247,0.08));display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;color:var(--accent2);flex-shrink:0;overflow:hidden
}
.related-logo img{width:100%;height:100%;object-fit:cover;border-radius:10px}
.related-info{flex:1;min-width:0}
.related-name{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.related-desc{font-size:12px;color:var(--text3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.related-go{
    padding:6px 14px;
    border-radius:7px;
    font-size:12px;
    background:rgba(99,102,241,0.12);
    color:var(--accent2);
    flex-shrink:0;
    transition:.2s;
}
.related-go:hover{background:rgba(99,102,241,0.2)}
