/* ============================================================
   heie.cn 网址库（robot）页面样式
   ============================================================ */

.crumb { padding: 14px 0 10px; color: #888; font-size: 13px; }
.crumb a { color: #666; }
.crumb a:hover { color: #1677ff; }

.card {
    background: #fff;
    border-radius: 10px;
    padding: 24px 28px;
    margin-bottom: 18px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.card-title {
    display: inline-block;
    font-size: 18px;
    color: #222;
    padding-bottom: 10px;
    margin-bottom: 18px;
    position: relative;
}
.card-title::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 36px; height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #52c41a, #73d13d);
}

/* 索引页横幅 */
.hero-banner {
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 50%, #95de64 100%);
    border-radius: 12px;
    padding: 40px 36px 36px;
    margin-bottom: 22px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero-banner::after {
    content: '';
    position: absolute;
    right: -40px; top: -40px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}
.hero-banner h1 { font-size: 30px; font-weight: 700; margin-bottom: 8px; position: relative; z-index: 1; }
.hero-banner .hero-desc { font-size: 15px; opacity: .9; margin-bottom: 22px; position: relative; z-index: 1; }
.hero-search {
    display: flex;
    max-width: 520px;
    height: 46px;
    border-radius: 23px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    position: relative; z-index: 1;
}
.hero-search input { flex: 1; border: none; padding: 0 20px; font-size: 15px; color: #333; }
.hero-search input::placeholder { color: #bbb; }
.hero-search button {
    border: none; background: #52c41a; color: #fff;
    padding: 0 28px; font-size: 15px; font-weight: 500; cursor: pointer;
}
.hero-search button:hover { background: #389e0d; }

/* 详情页 */
.site-title { font-size: 24px; color: #1a1a1a; margin-bottom: 12px; font-weight: 700; }
.site-meta { color: #888; font-size: 13px; margin-bottom: 16px; }
.site-meta span { margin-right: 20px; }
.site-url-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    border-radius: 8px;
    flex-wrap: wrap;
}
.url-label { color: #666; font-size: 14px; flex-shrink: 0; }
.site-url {
    color: #52c41a;
    font-size: 14px;
    word-break: break-all;
    flex: 1;
    min-width: 200px;
}
.site-url:hover { text-decoration: underline; }
.btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 6px;
    background: linear-gradient(135deg, #52c41a, #73d13d);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
}
.btn:hover { opacity: .9; color: #fff; }

.site-desc { font-size: 15px; color: #444; line-height: 1.9; word-break: break-word; }
.site-ai {
    font-size: 15px;
    color: #444;
    line-height: 1.9;
    padding: 14px 18px;
    background: #f6ffed;
    border-left: 4px solid #52c41a;
    border-radius: 4px;
}

/* 网址列表 */
.site-list { overflow: hidden; }
.site-list li {
    padding: 10px 12px;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.site-list li:last-child { border-bottom: none; }
.site-list li a {
    color: #333;
    font-size: 14px;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.site-list li a:hover { color: #52c41a; }
.site-list li span {
    color: #999;
    font-size: 13px;
    flex-shrink: 0;
}

/* 网站权重 */
.qz-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.qz-item {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 16px 14px;
    text-align: center;
}
.qz-name { font-size: 13px; color: #888; margin-bottom: 8px; }
.qz-val {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
}
.qz-low { color: #bfbfbf; }
.qz-mid { color: #faad14; }
.qz-high { color: #f5222d; }
.qz-ip { font-size: 12px; color: #999; }

@media (max-width: 768px) {
    .hero-banner { padding: 28px 20px 24px; }
    .hero-banner h1 { font-size: 22px; }
    .hero-search { height: 40px; }
    .hero-search button { padding: 0 18px; }
    .card { padding: 18px 16px; }
    .site-title { font-size: 20px; }
    .site-url-bar { flex-direction: column; align-items: flex-start; }
}
