@charset "utf-8";
/* 电视 / 车机大屏布局（min-width:960px 启用，手机端隐藏） */

.m-tv-shell {
    display: none;
    min-height: 100vh;
    color: #e8eef7;
    background: linear-gradient(135deg, #0c1a32 0%, #132a4a 45%, #0f2240 100%);
    font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
}

@media (min-width: 960px) {
    html {
        font-size: 16px !important;
    }

    body {
        font-size: 16px;
        background: #0c1a32;
    }

    .wrap {
        max-width: none;
        min-width: 0;
        min-height: 100vh;
        background: transparent;
    }

    .m-tv-shell {
        display: flex;
        width: 100%;
        min-height: 100vh;
    }

    /* index.css 的 header{height:1.6rem} 等 rem 规则会压扁大屏页头 */
    .m-tv-shell header,
    .m-tv-shell .m-tv-head,
    .m-tv-shell .m-tv-head-index,
    .m-tv-shell .m-tv-head-list,
    .m-tv-shell .m-tv-head-search,
    .m-tv-shell .m-tv-head-index-left,
    .m-tv-shell .m-tv-head-titlegroup,
    .m-tv-shell .m-tv-head-index-title,
    .m-tv-shell .m-tv-head-index-count,
    .m-tv-shell .m-tv-head-index-tabs,
    .m-tv-shell .m-tv-head-index-search,
    .m-tv-shell .m-tv-head-index-search form {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        position: static !important;
        float: none !important;
    }

    .m-tv-shell .m-tv-head-titlegroup h1,
    .m-tv-shell .m-tv-head-index-left h1,
    .m-tv-shell .m-tv-head-list-title,
    .m-tv-shell .m-tv-head-index-title {
        flex: 0 0 auto !important;
        min-width: 0 !important;
    }

    .m-tv-shell .m-tv-head-titlegroup {
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
    }

    .m-tv-shell .m-tv-head-index-count {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    .m-tv-shell .m-tv-head-index-search input[type="text"],
    .m-tv-shell .m-tv-head-index-search button[type="submit"] {
        font-size: 14px !important;
    }

    .m-phone-shell {
        display: none !important;
    }

    /* 隔离 index.css 对大屏列表的 float / rem 干扰（仅首页等小屏样式表会加载） */
    .m-tv-shell ul.m-tv-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 22px 24px !important;
        float: none !important;
        width: 100% !important;
        max-width: none !important;
    }

    .m-tv-shell .m-tv-grid > .m-tv-card {
        float: none !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        overflow: visible !important;
    }

    .m-tv-shell .m-tv-grid img {
        float: none !important;
        display: block;
    }

    .m-tv-body,
    .m-tv-panel,
    .m-tv-sort-panel {
        min-width: 0;
        width: 100%;
    }
}

@media (min-width: 1600px) {
    .m-tv-shell ul.m-tv-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 26px 30px !important;
    }
}

@media (max-width: 959px) {
    .m-tv-shell {
        display: none !important;
    }
}

/* ---------- 侧栏 ---------- */
.m-tv-side {
    flex-shrink: 0;
    width: 240px;
    padding: 28px 0 20px;
    background: rgba(0, 0, 0, 0.22);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
}

.m-tv-logo {
    display: block;
    margin: 0 24px 32px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1.3;
}

.m-tv-logo:hover {
    color: #5ddea8;
}

.m-tv-nav {
    flex: 1;
    overflow-y: auto;
    padding: 0 12px;
}

.m-tv-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    padding: 14px 18px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.m-tv-nav-item:hover,
.m-tv-nav-item.is-active {
    color: #fff;
    background: rgba(25, 185, 85, 0.22);
}

.m-tv-nav-item.is-active {
    box-shadow: inset 3px 0 0 #19b955;
}

.m-tv-nav-item .m-tv-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.m-tv-nav-item.is-active .m-tv-dot {
    background: #19b955;
    box-shadow: 0 0 8px rgba(25, 185, 85, 0.8);
}

/* 折叠分组 */
.m-tv-nav-group {
    margin-bottom: 8px;
}

.m-tv-nav-toggle {
    width: 100%;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-size: 17px;
}

.m-tv-nav-toggle .m-tv-nav-label {
    flex: 1;
    min-width: 0;
}

.m-tv-nav-arrow {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-left: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.55);
    border-bottom: 2px solid rgba(255, 255, 255, 0.55);
    transform: rotate(45deg);
    transition: transform 0.2s;
}

.m-tv-nav-group.is-open .m-tv-nav-arrow {
    transform: rotate(-135deg);
}

.m-tv-nav-sub {
    display: none;
    padding: 6px 0 10px 14px;
    margin: 0 10px 6px;
    border-left: 2px solid rgba(25, 185, 85, 0.35);
    background: rgba(0, 0, 0, 0.14);
    border-radius: 0 0 12px 12px;
}

.m-tv-nav-group.is-open .m-tv-nav-sub {
    display: block;
}

.m-tv-nav-group.is-open > .m-tv-nav-toggle {
    color: #fff;
    background: rgba(25, 185, 85, 0.2);
    border-radius: 12px 12px 0 0;
}

.m-tv-nav-subitem {
    font-size: 15px;
    padding: 11px 16px 11px 14px;
    margin-bottom: 4px;
}

.m-tv-nav-subitem.is-active {
    color: #fff;
    background: rgba(25, 185, 85, 0.28);
    box-shadow: inset 3px 0 0 #19b955;
}

.m-tv-nav-subitem .m-tv-dot {
    width: 6px;
    height: 6px;
}

.m-tv-side-ft {
    padding: 16px 24px 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.6;
}

.m-tv-side-ft a {
    color: rgba(255, 255, 255, 0.45);
}

/* ---------- 主区域 ---------- */
.m-tv-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 24px 32px 32px;
}

.m-tv-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.m-tv-head h1,
.m-tv-head-list-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.m-tv-head-list-title {
    display: block;
}

.m-tv-head-titlegroup h1,
.m-tv-head-index-left h1,
.m-tv-head-list-title,
.m-tv-head-index-title {
    flex: 0 0 auto;
    min-width: 0;
}

.m-tv-head-index {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "left tabs search";
    column-gap: 20px;
    row-gap: 0;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
    margin-bottom: 24px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.m-tv-head.m-tv-head-index,
.m-tv-head.m-tv-head-list {
    display: grid;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.m-tv-head-index-left,
.m-tv-head-titlegroup {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 12px 16px;
    min-width: 0;
    width: auto;
    max-width: 100%;
}

.m-tv-head-index-left {
    grid-area: left;
    justify-self: start;
}

.m-tv-head-titlegroup .m-tv-count,
.m-tv-head-index-count {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    flex: 0 1 auto;
}

.m-tv-head-index-title {
    margin: 0;
    padding: 0;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.m-tv-head-index-tabs {
    grid-area: tabs;
    flex-shrink: 0;
    align-self: center;
    margin: 0;
}

.m-tv-head-index-search {
    grid-area: search;
    flex-shrink: 0;
    justify-self: end;
    max-width: 100%;
}

@media (min-width: 960px) {
    .m-tv-shell .m-tv-head-index-leading .m-tv-count,
    .m-tv-shell .m-tv-head-index-count {
        font-size: 15px;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.55);
    }

    .m-tv-shell button.m-tv-tab {
        background: rgba(255, 255, 255, 0.08);
    }

    .m-tv-shell button.m-tv-tab.is-active {
        background: #fff;
    }

    .m-tv-shell .m-tv-search form {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0;
        width: auto;
        float: none;
    }

    .m-tv-shell .m-tv-search input[type="text"] {
        box-sizing: border-box;
        width: 240px;
        height: 40px;
        line-height: normal;
        padding: 0 14px;
        margin: 0;
        float: none;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 20px;
        background: rgba(0, 0, 0, 0.25);
        color: #fff;
        font-size: 14px;
        -webkit-appearance: none;
        appearance: none;
    }

    .m-tv-shell .m-tv-search button[type="submit"] {
        box-sizing: border-box;
        height: 40px;
        line-height: 40px;
        padding: 0 18px;
        margin: 0;
        float: none;
        border: none;
        border-radius: 20px;
        background: #19b955;
        color: #fff;
        font-size: 14px;
        -webkit-appearance: none;
        appearance: none;
    }
}

.m-tv-tabs {
    display: flex;
    gap: 10px;
}

.m-tv-tab {
    border: none;
    cursor: pointer;
    padding: 10px 22px;
    border-radius: 20px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s, color 0.2s;
}

.m-tv-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.m-tv-tab.is-active {
    color: #0c1a32;
    background: #fff;
    font-weight: 600;
}

.m-tv-search form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.m-tv-search input {
    width: 220px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 14px;
}

.m-tv-search input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.m-tv-search button {
    height: 40px;
    padding: 0 18px;
    border: none;
    border-radius: 20px;
    background: #19b955;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.m-tv-search button:hover {
    background: #21c05c;
}

.m-tv-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0;
    scrollbar-width: none;
}

.m-tv-body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.m-tv-panel {
    display: none;
}

.m-tv-panel.is-active {
    display: block;
}

.m-tv-sort-panel {
    display: none;
}

.m-tv-sort-panel.is-active {
    display: block;
}

.m-tv-count {
    margin: 0 0 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- 应用卡片网格（参考沙发管家：3列、大间距、独立卡片底） ---------- */
.m-tv-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 24px;
    list-style: none;
    margin: 0;
    padding: 4px 8px 16px;
}

@media (min-width: 1280px) {
    .m-tv-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px 28px;
    }
}

@media (min-width: 1600px) {
    .m-tv-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 26px 30px;
    }

    .m-tv-side {
        width: 260px;
    }
}

.m-tv-card {
    min-width: 0;
}

.m-tv-card a {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    box-sizing: border-box;
    width: 100%;
    min-height: 112px;
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(36, 72, 140, 0.72);
    border: 3px solid transparent;
    color: inherit;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.m-tv-card a:hover {
    background: rgba(46, 88, 165, 0.82);
}

.m-tv-card-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.18);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.m-tv-card-icon img {
    display: block;
    float: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.m-tv-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.m-tv-card-title {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
}

.m-tv-star-img {
    display: block;
    height: 13px;
    width: auto;
    max-width: 64px;
    object-fit: contain;
    margin-bottom: 6px;
}

.m-tv-stars {
    display: block;
    flex-shrink: 0;
    height: 14px;
    line-height: 14px;
    font-size: 13px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.18);
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 0;
}

.m-tv-stars::before {
    content: '★★★★★';
    color: #ffc940;
}

.m-tv-stars.star0::before {
    color: rgba(255, 255, 255, 0.18);
}

.m-tv-stars.star1 { width: 14px; }
.m-tv-stars.star2 { width: 28px; }
.m-tv-stars.star3 { width: 42px; }
.m-tv-stars.star4 { width: 56px; }
.m-tv-stars.star5,
.m-tv-stars.star6 { width: 70px; }

.m-tv-card-cat {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.52);
    font-style: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0;
}

/* 遥控器 / 方向键焦点 */
.m-tv-focus:focus {
    outline: none;
}

.m-tv-focus:focus-visible,
.m-tv-focus.is-focused {
    border-color: #19b955 !important;
    box-shadow: 0 0 0 2px rgba(25, 185, 85, 0.35);
}

.m-tv-nav-item.m-tv-focus.is-focused,
.m-tv-nav-item.m-tv-focus:focus-visible {
    background: rgba(25, 185, 85, 0.3);
    color: #fff;
    box-shadow: none;
    border: none;
}

.m-tv-nav-toggle.m-tv-focus.is-focused,
.m-tv-nav-toggle.m-tv-focus:focus-visible {
    border: 3px solid transparent;
    box-shadow: 0 0 0 2px rgba(25, 185, 85, 0.45);
}

.m-tv-tab.m-tv-focus.is-focused,
.m-tv-tab.m-tv-focus:focus-visible {
    box-shadow: 0 0 0 3px rgba(25, 185, 85, 0.5);
}

.m-tv-card a.is-focused,
.m-tv-card a:focus-visible {
    background: rgba(46, 88, 165, 0.88);
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35);
}

/* ---------- 列表页 ---------- */
.m-tv-head.m-tv-head-list {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "title search";
    column-gap: 20px;
}

.m-tv-head-list .m-tv-head-titlegroup {
    grid-area: title;
    justify-self: start;
}

.m-tv-head-list .m-tv-search {
    grid-area: search;
    justify-self: end;
}

.m-tv-head-list .m-tv-count {
    margin: 0;
    flex: 0 1 auto;
    min-width: 0;
    font-size: 15px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
}

.m-tv-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding-bottom: 12px;
}

.m-tv-pager li,
.m-tv-pager a,
.m-tv-pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    line-height: 1;
    margin: 0;
    padding: 0 12px;
    border-radius: 20px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
    vertical-align: middle;
    white-space: nowrap;
    box-sizing: border-box;
    text-shadow: none;
    transform: none;
    -webkit-font-smoothing: antialiased;
    transition: background 0.2s, color 0.2s;
}

.m-tv-pager .m-tv-pager-info {
    min-width: auto;
    padding: 0 14px;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.04);
    font-size: 13px;
}

/* 当前页（Dede pagelist 输出 span.curr） */
.m-tv-pager .curr,
.m-tv-pager span.curr,
.m-tv-pager .thisclass,
.m-tv-pager .thisclass a,
.m-tv-pager .current,
.m-tv-pager .cur {
    color: #fff !important;
    background: #19b955 !important;
    font-weight: 700;
}

.m-tv-pager a:hover {
    color: #fff;
    background: rgba(25, 185, 85, 0.35);
}

/* 不可点项（如第 1 页时的「首页」） */
.m-tv-pager > span:not(.curr) {
    color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.04);
}

/* ---------- 详情页 ---------- */
.m-tv-main-detail {
    padding-top: 20px;
}

.m-tv-body-detail {
    padding-right: 8px;
}

.m-tv-detail-hero {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 28px;
    padding: 24px 28px;
    border-radius: 18px;
    background: rgba(36, 72, 140, 0.55);
}

.m-tv-detail-icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 26px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.m-tv-detail-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m-tv-detail-head {
    flex: 1;
    min-width: 0;
}

.m-tv-detail-head h1,
.m-tv-detail-head .m-tv-detail-title {
    margin: 0 0 16px;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.m-tv-detail-head .m-tv-detail-title {
    display: block;
}

.m-tv-detail-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 20px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.m-tv-detail-meta li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.m-tv-detail-meta em {
    display: block;
    margin-bottom: 4px;
    font-style: normal;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.m-tv-dl-btn {
    display: inline-block;
    min-width: 180px;
    padding: 14px 32px;
    border-radius: 24px;
    background: #19b955;
    color: #fff !important;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    border: 3px solid transparent;
    transition: background 0.2s, box-shadow 0.2s;
}

.m-tv-dl-btn:hover {
    background: #21c05c;
}

.m-tv-detail-section {
    margin-bottom: 28px;
    padding: 22px 26px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
}

.m-tv-section-title {
    margin: 0 0 16px;
    padding-left: 12px;
    border-left: 4px solid #19b955;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.m-tv-detail-intro {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}

.m-tv-detail-intro img {
    max-width: 100%;
    height: auto;
    margin: 12px 0;
    border-radius: 8px;
}

.m-tv-detail-intro p {
    margin: 0 0 12px;
}

.m-tv-dl-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    width: auto;
    overflow: visible;
    border: none;
}

.m-tv-dl-list li {
    float: none;
    display: block;
    width: auto;
    height: auto;
    margin: 0;
}

.m-tv-dl-list li a,
.m-tv-dl-list span {
    display: inline-flex;
    align-items: center;
    min-width: 160px;
    min-height: 48px;
    padding: 12px 20px 12px 48px;
    border-radius: 12px;
    background: rgba(25, 185, 85, 0.18);
    border: 2px solid rgba(25, 185, 85, 0.35);
    color: #fff !important;
    font-size: 16px;
    position: relative;
    float: none;
    width: auto;
    height: auto;
    line-height: 1.4;
    margin: 0;
}

.m-tv-dl-list li a::before,
.m-tv-dl-list span::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    background: url(/static/images/arrDown.png) center center no-repeat;
    background-size: 14px 14px;
    opacity: 0.85;
}

.m-tv-dl-list li a:hover {
    background: rgba(25, 185, 85, 0.32);
    border-color: #19b955;
}

@media (min-width: 1280px) {
    .m-tv-detail-meta {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* ---------- 搜索页大屏 ---------- */
.m-tv-main-search {
    overflow: visible;
}

.m-tv-main-search > .m-tv-head-search {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.m-tv-main-search > .m-tv-body-search {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.m-tv-head-search {
    display: block;
}

.m-tv-search-meta {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    padding: 18px 0 16px;
}

.m-tv-search-meta .m-tv-count {
    margin: 0 0 14px;
    padding: 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
}

.m-tv-search-meta .m-tv-search-tabs {
    margin-top: 0;
}

.m-tv-head-search-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
}

.m-tv-head-search h1 {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.m-tv-head-search .m-tv-search {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
}

.m-tv-search-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
    width: 100%;
}

.m-tv-shell-search .m-search-tabs-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
    float: none;
}

.m-tv-shell-search .m-search-tabs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.m-tv-shell-search .m-search-tabs-list li a {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    text-decoration: none;
}

.m-tv-shell-search .m-search-tabs-list li.cur a {
    background: #19b955;
    color: #fff;
    font-weight: 600;
}

.m-tv-body-search {
    padding-top: 0;
}

.m-tv-search-layout {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex: 1;
    min-height: 0;
    margin-top: 4px;
}

.m-tv-shell-search #tvSearchGrid {
    margin-top: 0;
    padding-top: 0;
    position: relative;
    z-index: 1;
}

.m-tv-shell-search .m-tv-search input {
    width: 260px;
}

.m-tv-shell-search #tvSearchPager {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
}

.m-tv-shell-search #tvSearchPager::-webkit-scrollbar {
    height: 4px;
}

.m-tv-shell-search #tvSearchPager::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

.m-tv-search-main {
    flex: 1;
    min-width: 0;
}

.m-tv-search-side {
    flex: 0 0 300px;
    width: 300px;
}

.m-tv-search-side .kx-side-panel,
.m-tv-search-side .kx-search-hot-panel,
.m-tv-search-side .kx-search-rec-panel,
.m-tv-search-side .kx-search-rank-panel {
    margin-bottom: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.m-tv-search-side .kx-block-title {
    margin: 0 0 12px;
    padding: 0;
    border: none;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
}

.m-tv-search-side .kx-search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
}

.m-tv-search-side .kx-search-tag {
    padding: 6px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    text-decoration: none;
}

.m-tv-search-side .kx-search-tag:hover {
    background: rgba(25, 185, 85, 0.35);
    color: #fff;
}

.m-tv-search-side .kx-search-rec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.m-tv-search-side .kx-search-rec-grid img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
}

.m-tv-search-side .kx-search-rec-grid span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
}

.m-tv-search-side .kx-rank-tabs.tit span {
    color: rgba(255, 255, 255, 0.55);
}

.m-tv-search-side .kx-rank-tabs.tit .cur {
    color: #5ddea8;
    border-bottom-color: #19b955;
}

.m-tv-search-side .kx-search-rank-panel li .txt {
    color: rgba(255, 255, 255, 0.85);
}

.m-tv-search-side .kx-search-rank-panel li .txt:hover {
    color: #5ddea8;
}

.m-tv-search-related {
    display: none !important;
}

.m-tv-search-main .search-empty {
    padding: 32px 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
}

.m-tv-search-main .search-empty-title {
    color: #fff;
    font-size: 20px;
}

.m-tv-search-main .hilight {
    color: #ff8a80;
}
