.lk-page { padding-bottom: 24px; }
 .lk-title {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #2f3542;
    line-height: 1.25;
}
 .lk-visit {
    font-size: 13px;
    color: #9aa3b2;
    white-space: nowrap;
}
 .lk-visit b {
    color: #f0643c;
    font-size: 15px;
    margin: 0 2px;
}

/* ---------- 头部：标题行 + 导航/搜索行 ---------- */
 .lk-head { margin-bottom: 16px; }
 .lk-head-top {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}
 .lk-head-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
 .lk-nav {
    flex: 1 1 auto;
    min-width: 0;
    /*overflow: hidden;*/
}
 .lk-search {
    flex: 0 0 auto;
    width: 300px;
    max-width: 100%;
}
 .lk-search .form-control {
    height: 36px;
    border-radius: 18px 0 0 18px;
    border-color: #e2e7f0;
    background: #f7f9fc;
    transition: all .18s ease;
}
 .lk-search .form-control:focus {
    background: #fff;
    border-color: #f0643c;
    box-shadow: 0 0 0 3px rgba(240,100,60,.12);
}
 .lk-search .btn {
    height: 36px;
    border-radius: 0 18px 18px 0;
    background: #f0643c;
    border-color: #f0643c;
    color: #fff;
    padding: 0 16px;
}
 .lk-search .btn:hover,
 .lk-search .btn:focus {
    background: #e05530;
    border-color: #e05530;
}

/* ---------- 搜索结果提示 ---------- */
 .lk-search-tip {
    margin-top: 10px;
    padding: 10px 14px;
    background: #fff8f4;
    border: 1px solid #ffe2d2;
    border-radius: 10px;
    color: #8a5a3a;
    font-size: 13px;
}
 .lk-search-tip b { color: #f0643c; }

/* ---------- 主体：左右自适应 + 独立滚动 ---------- */
 .lk-tabs-wrap {
    display: flex;
    align-items: stretch;
    gap: 16px;
    /* height 由 JS 按视口设置 */
}
 .lk-side-nav {
    flex: 0 0 132px;
    min-width: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px;
    background: #fff;
    border: 1px solid #e9edf3;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(20,40,80,.04);
    scrollbar-width: thin;
    scrollbar-color: #d9dfe8 transparent;
}
 .lk-tab-body {
    flex: 1 1 auto;
    min-width: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e9edf3;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(20,40,80,.04);
    scrollbar-width: thin;
    scrollbar-color: #d9dfe8 transparent;
}

/* 滚动条美化 */
 .lk-side-nav::-webkit-scrollbar,
 .lk-tab-body::-webkit-scrollbar {
    width: 8px;
}
 .lk-side-nav::-webkit-scrollbar-thumb,
 .lk-tab-body::-webkit-scrollbar-thumb {
    background: #d9dfe8;
    border-radius: 4px;
    border: 2px solid #fff;
}
 .lk-side-nav::-webkit-scrollbar-thumb:hover,
 .lk-tab-body::-webkit-scrollbar-thumb:hover {
    background: #c3cbd8;
}
 .lk-side-nav::-webkit-scrollbar-track,
 .lk-tab-body::-webkit-scrollbar-track {
    background: transparent;
}

/* ---------- 左侧导航项 ---------- */
 .nav-pills { margin: 0; }
 .nav-pills > li + li { margin-top: 3px; }
 .nav-pills > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    color: #5a6478;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all .18s ease;
}
 .nav-pills > li > a .glyphicon {
    font-size: 13px;
    color: #a0a8b8;
    flex: 0 0 auto;
    transition: color .18s ease;
}
 .nav-pills > li > a span {
    overflow: hidden;
    text-overflow: ellipsis;
}
 .nav-pills > li > a:hover,
 .nav-pills > li > a:focus {
    background: #f5f7fb;
    color: #f0643c;
}
 .nav-pills > li > a:hover .glyphicon,
 .nav-pills > li > a:focus .glyphicon {
    color: #f0643c;
}
 .nav-pills > li.active > a,
 .nav-pills > li.active > a:hover,
 .nav-pills > li.active > a:focus {
    background: #f0643c;
    color: #fff;
    box-shadow: 0 4px 10px rgba(240,100,60,.25);
}
 .nav-pills > li.active > a .glyphicon {
    color: #fff;
}

/* 分组标题 */
 .lk-nav-group {
    margin: 12px 0 6px;
    padding: 10px 4px 0;
    border-top: 1px solid #eef1f6;
    font-size: 12px;
    font-weight: 700;
    color: #a0a8b8;
    letter-spacing: .5px;
    list-style: none;
}

/* ---------- Tab 面板切换 ---------- */
 .lk-tab-body .tab-pane { display: none; }
 .lk-tab-body .tab-pane.active {
    display: block;
    animation: lkFadeIn .22s ease;
}
@keyframes lkFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 分区 ---------- */
 .lk-section + .lk-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed #eef1f6;
}
 .lk-pane-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 14px;
    gap: 10px;
    flex-wrap: wrap;
}
 .lk-pane-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 700;
    color: #2f3542;
}
 .lk-pane-title .glyphicon { font-size: 15px; }

/* ---------- 卡片网格 ---------- */
 .lk-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
}
 .lk-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .22s, transform .22s, border-color .22s;
}
 .lk-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(20,40,80,.10);
    border-color: #dde4ef;
}
 .lk-card-thumb { display: block; background: #f7f9fc; }
 .lk-card-thumb img {
    display: block;
    width: 100%;
    height: 112px;
    object-fit: contain;
}
 .lk-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 12px 12px;
}
 .lk-card-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
 .lk-card-title a { color: #2f3542; text-decoration: none; }
 .lk-card-title a:hover { color: #f0643c; }
 .lk-card-title img { vertical-align: -3px; margin-right: 3px; }
 .lk-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    font-size: 12px;
    color: #9aa3b2;
}
 .lk-card-meta .glyphicon-star { font-size: 11px; color: #f5a623; }
 .lk-card-meta a { color: #9aa3b2; text-decoration: none; }
 .lk-card-meta a:hover { color: #f0643c; }
 .lk-labels { margin-top: 8px; }
 .lk-labels .label {
    display: inline-block;
    margin: 0 4px 4px 0;
    font-size: 11px;
    font-weight: 400;
    border-radius: 4px;
}
 .lk-badge-new {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    padding: 1px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #fff;
    background: #ff5a5f;
    border-radius: 12px 0 12px 0;
}

/* ---------- 免费畅玩横版卡片 ---------- */
 .lk-open-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
 .lk-open-card {
    position: relative;
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
    background: linear-gradient(180deg, #fff 0%, #fafbfd 100%);
    border: 1px solid #eef1f6;
    border-radius: 12px;
    transition: box-shadow .2s, transform .2s;
}
 .lk-open-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(20,40,80,.10);
}
 .lk-open-logo {
    flex: 0 0 92px;
    width: 165px;
    height: 92px;
    object-fit: contain;
    background: #f7f9fc;
    border-radius: 10px;
}
 .lk-open-info { flex: 1; min-width: 0; }
 .lk-open-name {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
}
 .lk-open-name a { color: #2f3542; text-decoration: none; }
 .lk-open-name a:hover { color: #f0643c; }

/* ---------- iframe 面板 ---------- */
 .lk-iframe-wrap {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #f7f9fc;
    border: 1px solid #eef1f6;
    border-radius: 10px;
    overflow: hidden;
}
 .lk-iframe-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}
 .lk-iframe-loading {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9aa3b2;
    font-size: 13px;
}

/* ---------- 空状态 ---------- */
 .lk-empty {
    margin-top: 16px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e9edf3;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(20,40,80,.04);
}

/* ---------- 响应式 ---------- */
@media (max-width: 991px) {
     .lk-side-nav { flex-basis: 190px; }
     .lk-tab-body { padding: 16px; }
}
@media (max-width: 767px) {
     .lk-title { font-size: 22px; }
     .lk-head-top { margin-bottom: 10px; }
     .lk-search { width: 100%; }
     .lk-tabs-wrap {
        display: block !important;
        height: auto !important;
    }
     .lk-side-nav {
        flex-basis: auto;
        max-height: none;
        overflow: visible;
        margin-bottom: 14px;
        padding: 10px;
    }
     .nav-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }
     .nav-pills > li { flex: 1 1 auto; }
     .nav-pills > li + li { margin-top: 0; }
     .nav-pills > li > a {
        justify-content: center;
        padding: 5px;
        font-size: 13px;
    }
     .lk-nav-group {
        flex: 1 0 100%;
        margin: 6px 0 0;
        padding-top: 8px;
    }
     .lk-tab-body {
        overflow: visible;
        height: auto;
        padding: 14px;
    }
     .lk-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
     .lk-card-thumb img { height: 96px; }
}