/* 常用网站导航页样式（/index/links/index.html）2026-09-01 二版
   注意：主站自定义样式一律外置，勿放回模板（Vue 编译剥离风险） */

.lk-body {
    padding-bottom: 56px;
}

/* ---- 顶部主视觉：深蓝渐变 ---- */
.lk-hero {
    position: relative;
    background: linear-gradient(118deg, #142a66 0%, #17418f 46%, #1a66b3 100%);
    overflow: hidden;
}
.lk-hero-inner {
    position: relative;
    z-index: 2;
    padding: 44px 20px 40px;
}
.lk-hero h1 {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: 1px;
    line-height: 1.35;
}
.lk-sub {
    font-size: 14.5px;
    color: rgba(255, 255, 255, .82);
    line-height: 1.95;
    max-width: 860px;
    margin: 0 0 20px;
}
.lk-sub b {
    color: #ffd489;
    font-size: 17px;
    padding: 0 2px;
}

/* 装饰圆 */
.lk-deco {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    z-index: 1;
}
.lk-deco.d1 { width: 340px; height: 340px; right: -80px; top: -120px; }
.lk-deco.d2 { width: 200px; height: 200px; right: 220px; bottom: -110px; background: rgba(255,255,255,.05); }
.lk-deco.d3 { width: 120px; height: 120px; left: 6%; bottom: -60px; background: rgba(255,255,255,.04); }

/* 搜索框 */
.lk-search {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 640px;
    background: #fff;
    border-radius: 12px;
    padding: 9px 10px 9px 16px;
    box-shadow: 0 10px 28px rgba(9, 30, 66, .28);
    margin-bottom: 18px;
    color: #98a2b3;
}
.lk-search svg { flex: none; }
.lk-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    font-size: 14.5px;
    color: #1f2d3d;
    background: transparent;
    height: 26px;
}
.lk-search input::placeholder { color: #a8b3c5; }
.lk-search button {
    flex: none;
    border: 0;
    cursor: pointer;
    background: linear-gradient(135deg, #1a66b3, #2f8fd8);
    color: #fff;
    font-size: 14px;
    padding: 9px 26px;
    border-radius: 9px;
    transition: opacity .2s;
}
.lk-search button:hover { opacity: .88; }

/* 统计 pill */
.lk-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.lk-pill {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .18);
    padding: 5px 14px;
    border-radius: 20px;
}
.lk-pill b { color: #ffd489; font-size: 14px; margin-right: 2px; }

/* ---- 分类筛选（吸顶） ---- */
.lk-chips {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding: 13px 0;
    margin-bottom: 8px;
    background: rgba(244, 246, 250, .97);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid #e7ebf2;
}
.lk-chip {
    font-size: 13px;
    color: #47536b;
    padding: 7px 16px;
    border-radius: 22px;
    border: 1px solid #e2e7f0;
    background: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: all .18s;
    line-height: 1.4;
}
.lk-chip b { font-weight: 600; color: #98a2b3; margin-left: 2px; font-size: 12px; }
.lk-chip:hover { color: var(--ac, #1a66b3); border-color: var(--ac, #1a66b3); }
.lk-chip.active {
    background: var(--ac, #1a66b3);
    border-color: var(--ac, #1a66b3);
    color: #fff;
}
.lk-chip.active b { color: rgba(255, 255, 255, .85); }

/* ---- 空结果 ---- */
.lk-empty {
    text-align: center;
    padding: 60px 0 30px;
    color: #98a2b3;
    font-size: 13.5px;
}
.lk-empty b { display: block; font-size: 16px; color: #47536b; margin-bottom: 8px; }

/* ---- 分组 ---- */
.lk-group {
    margin-top: 26px;
    scroll-margin-top: 68px;
}
.lk-ghead {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.lk-ghead h2 {
    font-size: 19px;
    font-weight: 600;
    color: #1f2d3d;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.lk-gico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 17px;
    background: linear-gradient(135deg, var(--ac), var(--ac2));
    box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
}
.lk-ghead span { font-size: 12px; color: #98a2b3; }

/* ---- 卡片 ---- */
.lk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.lk-card {
    position: relative;
    display: flex;
    gap: 13px;
    align-items: flex-start;
    border: 1px solid #e9edf4;
    border-radius: 14px;
    padding: 16px;
    background: #fff;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.lk-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(23, 65, 143, .12);
    border-color: var(--ac);
}
.lk-avatar {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ac), var(--ac2));
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .10);
}
.lk-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lk-name {
    font-size: 14.5px;
    font-weight: 600;
    color: #1f2d3d;
    line-height: 1.45;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    transition: color .18s;
}
.lk-card:hover .lk-name { color: var(--ac); }
.lk-tag {
    font-style: normal;
    flex: none;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--tc, #8a94a6);
    background: color-mix(in srgb, var(--tc, #8a94a6) 12%, #fff);
    border: 1px solid color-mix(in srgb, var(--tc, #8a94a6) 30%, #fff);
    padding: 1px 7px;
    border-radius: 10px;
    line-height: 1.5;
}
.lk-hotmark {
    font-style: normal;
    flex: none;
    font-size: 10.5px;
    font-weight: 700;
    color: #b45309;
    background: linear-gradient(135deg, #fde68a, #fcd34d);
    padding: 1px 7px;
    border-radius: 10px;
    line-height: 1.5;
}
.lk-domain {
    font-size: 11.5px;
    color: #9aa5b8;
    font-family: Consolas, Menlo, monospace;
    letter-spacing: .2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lk-desc {
    font-size: 12.5px;
    color: #7c8798;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* 分条竖排描述（如 1. 企业端 / 2. 个人端） */
.lk-desc-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow: visible;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
}
.lk-desc-list i {
    font-style: normal;
    display: block;
    line-height: 1.62;
}
/* 热门卡片：描边强调 */
.lk-hot {
    border-color: #f3d9a4;
    background: linear-gradient(180deg, #fffdf6 0%, #fff 46%);
}
.lk-hot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(243, 217, 164, .55);
}
.lk-hot:hover { border-color: #e8bd6d; }

/* ---- 底部提示 ---- */
.lk-tip {
    margin-top: 34px;
    background: #f6f9ff;
    border: 1px solid #dfe8f8;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 13px;
    color: #4a6290;
    line-height: 1.85;
}
.lk-tip b { color: #1a66b3; }

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
    .lk-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .lk-grid { grid-template-columns: 1fr; }
    .lk-hero-inner { padding: 30px 16px 28px; }
    .lk-hero h1 { font-size: 23px; }
    .lk-search button { padding: 9px 16px; }
    .lk-ghead { flex-wrap: wrap; }
}
