body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

#sp-header {
    position: relative !important;
}

.insight-top-wrap {
    background: #ffffff;
}

.insight-top-wrap .index-header {
    position: relative;
    z-index: 2;
}

.insight-hero-shell {
    background: #9bcbf4;
}

.insight-hero {
    position: relative;
    width: 100%;
    max-width: 1920px;
    height: 220px;
    margin: 0 auto;
    background: url('//static.699pic.com/images/ranking/dongcha-banner.jpg') no-repeat center bottom;
    background-size: cover;
}

.insight-hero-title {
    position: absolute;
    left: 50%;
    top: 70px;
    transform: translateX(-50%);
    margin: 0;
    font-size: 44px;
    line-height: 1;
    color: #325986;
    letter-spacing: 4px;
    font-weight: 700;
}

.insight-page {
    flex: 1;
    padding-bottom: 70px;
}

.insight-content-wrap {
    width: 1400px;
    margin: 0 auto;
}

.insight-toolbar {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.insight-tabs {
    width: 420px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    background: #f3f9ff;
    border-radius: 30px;
    padding: 0 8px;
    grid-column: 2;
    justify-self: center;
    box-sizing: border-box;
}

.insight-tab {
    flex: 1;
    height: 60px;
    border: 0;
    border-radius: 30px;
    background: transparent;
    color: #5e6c82;
    font-size: 18px;
    font-weight: 500;
    line-height: 60px;
    cursor: pointer;
    transition: all .2s ease;
    position: relative;
    text-align: center;
    text-decoration: none;
}

.insight-tab.is-active {
    color: #39aeff;
    font-weight: 800;
}

.insight-tab.is-active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 40px;
    height: 4px;
    transform: translateX(-50%);
    border-radius: 2px;
    background: linear-gradient(225deg, #6580ff 0%, #39aeff 53.58%, #45c2ff 100%);
}

.insight-filter {
    position: relative;
    width: 190px;
    grid-column: 3;
    justify-self: end;
}

.insight-filter-btn {
    width: 100%;
    height: 42px;
    border-radius: 20px;
    border: 1px solid #d7deea;
    background: #f5f8fd;
    color: #4f627d;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    box-sizing: border-box;
}

.insight-filter-btn > i {
    font-style: normal;
    color: #8ca0bf;
    font-size: 12px;
    line-height: 1;
    display: inline-block;
    transition: transform .2s ease, color .2s ease;
}

.insight-filter.is-open .insight-filter-btn > i {
    transform: rotate(180deg);
    color: #5f86b5;
}

.insight-filter-btn #insightFilterText {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.insight-filter-btn #insightFilterText .iconfont {
    width: 16px;
    margin-right: 8px;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    flex-shrink: 0;
    display: inline-block;
    transform: translateY(1px);
}

.insight-filter-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #f4f8ff;
    border: 1px solid #dbe4f2;
    border-radius: 12px;
    box-shadow: 0 14px 22px rgba(46, 80, 125, 0.12);
    display: none;
    z-index: 6;
    box-sizing: border-box;
    max-height: 360px;
    overflow: auto;
}

.insight-filter.is-open .insight-filter-menu {
    display: block;
}

.insight-filter-item {
    height: 34px;
    border-radius: 8px;
    color: #6a7f9a;
    font-size: 14px;
    padding: 0 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.insight-filter-item .iconfont {
    width: 16px;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    flex-shrink: 0;
    display: inline-block;
    transform: translateY(1px);
}

.insight-filter-item:hover,
.insight-filter-item.is-active {
    background: #e5f0fe;
    color: #3094ff;
}

.insight-board {
    margin-top: 22px;
}

.insight-rank-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
}

.insight-rank-tabs {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.insight-rank-tab {
    border: 0;
    background: transparent;
    color: #5c6c84;
    font-size: 15px;
    line-height: 1;
    font-weight: 500;
    display: inline-block;
    position: relative;
    padding: 0 0 10px;
    cursor: pointer;
    text-decoration: none;
    transition: none !important;
}

.insight-rank-tab::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 40px;
    height: 3px;
    transform: translateX(-50%);
    transform-origin: center;
    background: linear-gradient(225deg, #6580ff 0%, #39aeff 53.58%, #45c2ff 100%);
    border-radius: 2px;
    opacity: 0;
    transition: none !important;
}

.insight-rank-tab.is-active {
    color: #2f3748;
    font-weight: 700;
    background-image: linear-gradient(225deg, #6580ff 0%, #39aeff 53.58%, #45c2ff 100%);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 40px 3px;
    transition: none !important;
}

.insight-rank-tab.is-active::after {
    opacity: 1;
    transition: none !important;
}

.insight-rank-note {
    margin: 0;
    color: #58b6ff;
    font-size: 13px;
    line-height: 1.4;
}

.insight-trend-wrap {
    display: grid;
    grid-template-columns: 260px 1fr;
    column-gap: 25px !important;
    row-gap: 25px;
    align-items: start;
}

.insight-trend-list {
    width: 100%;
    margin: 0;
    padding: 12px 5px;
    list-style: none;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(49, 56, 80, 0.1);
    min-height: 640px;
    box-sizing: border-box;
}

.insight-trend-item {
    height: 40px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #66768f;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s ease;
    box-sizing: border-box;
    gap: 10px;
}

.insight-trend-item:hover {
    background: #e8f2ff;
    color: #3f9eff;
}

.insight-trend-item.is-active {
    height: 40px;
    background: linear-gradient(270deg, #f0f3ff 0%, #e8f5ff 49.6%, #edf9ff 100%);
    border-radius: 6px;
    color: #3f9eff;
}

.insight-trend-item span {
    display: block;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.insight-trend-item em {
    font-style: normal;
    flex-shrink: 0;
}

.insight-wall {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    position: relative;
}

.insight-wall.is-loading {
    cursor: progress;
}

.insight-wall.is-loading::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 7;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.78);
    pointer-events: auto;
}

.insight-wall-loading {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 8;
    width: 100px;
    height: 24px;
    margin-left: -50px;
    margin-top: -12px;
    display: none;
    pointer-events: none;
}

.insight-wall.is-loading .insight-wall-loading {
    display: block;
}

.insight-wall-loading img {
    width: 100%;
    height: auto;
    display: block;
}

.insight-wall.is-horizontal {
    display: block;
    font-size: 0;
}

.insight-wall.is-horizontal::after {
    content: '';
    display: block;
    clear: both;
}

.insight-wall-card {
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
    background: #eef3f8;
    box-shadow: 0 2px 8px rgba(61, 64, 75, 0.08);
    display: block;
    text-decoration: none;
    position: relative;
}

.insight-wall.is-horizontal .insight-wall-card {
    float: left;
    width: auto;
    height: auto;
    margin: 0 20px 20px 0 !important;
    border-radius: 8px;
}

.insight-wall-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.insight-wall.is-video .insight-wall-card {
    height: auto;
    aspect-ratio: 317 / 178;
    margin: 0;
}

.insight-wall.is-muban .insight-wall-card {
    height: auto;
    aspect-ratio: 431 / 300;
    margin: 0;
}

.insight-video-poster,
.insight-video-player {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.insight-video-poster {
    opacity: 1;
    transition: opacity .15s ease;
}

.insight-video-player {
    opacity: 0;
    transition: opacity .15s ease;
    background: #000;
}

.insight-video-card.is-playing .insight-video-poster {
    opacity: 0;
}

.insight-video-card.is-playing .insight-video-player {
    opacity: 1;
}

.insight-wall-empty {
    height: 220px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8ca0bf;
    font-size: 14px;
    background: #f6f9fd;
}

.insight-title {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 16px;
}

.insight-title h2 {
    margin: 0;
    color: #263d5a;
    font-size: 24px;
    font-weight: 700;
}

.insight-title p {
    margin: 0;
    color: #6eb7ff;
    font-size: 13px;
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(5, 264px);
    gap: 20px;
    justify-content: start;
}

.insight-card {
    width: 264px;
    height: 309px;
    border-radius: 10px;
    background: linear-gradient(180deg, #f4f8fe 0%, #f8f9fb 100%);
    text-align: center;
    padding: 18px 14px 12px;
    box-sizing: border-box;
    box-shadow: 0 2px 10px rgba(61, 64, 75, 0.04);
    transition: all .2s ease;
}

.insight-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: 0 6px 22px rgba(15, 85, 193, 0.15);
}

.insight-keyword {
    margin: 0;
    color: #3d404b;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    min-height: 26px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insight-ring {
    --ring: #5daff7;
    --ring-soft: #bcdcff;
    --water: #d5e8fb;
    --fill: 40%;
    width: 148px;
    height: 148px;
    margin: 10px auto 14px;
    border-radius: 50%;
    position: relative;
    box-sizing: border-box;
    background: #ffffff;
    overflow: hidden;
}

.insight-ring::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 8px solid var(--ring-soft);
    box-sizing: border-box;
    pointer-events: none;
    z-index: 4;
}

.insight-ring-core {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
}

.insight-water {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    transform: translateY(calc(100% - var(--fill)));
    transition: transform .35s ease;
}

.insight-water-fill {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: var(--water);
}

.insight-water-crest {
    position: absolute;
    left: -8%;
    top: -9px;
    width: 116%;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 18'%3E%3Cpath fill='%23ffffff' d='M0 0 H200 V10 C182 6 164 6 146 10 C128 14 110 14 92 10 C74 6 56 6 38 10 C25 13 12 13 0 10 Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
}

.insight-ring-text {
    position: absolute;
    left: 0;
    top: 0;
    width: 148px;
    height: 148px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 3;
}

.insight-ring-value {
    margin: 0;
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    color: var(--ring, #5daff7);
}

.insight-ring-label {
    margin-top: 2px;
    font-size: 13px;
    font-weight: 400;
    color: var(--ring, #5daff7);
    line-height: 1.2;
}

.insight-btn {
    width: 128px;
    height: 36px;
    border: 0;
    border-radius: 18px;
    font-size: 16px;
    color: #7cb6ff;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(61, 64, 75, 0.06);
    cursor: pointer;
    transition: all .2s ease;
}

.insight-btn:hover,
.insight-card:hover .insight-btn {
    background: linear-gradient(270deg, #f0f3ff 0%, #e8f5ff 49.6%, #edf9ff 100%);
    box-shadow: none;
}

.insight-detail {
    margin-top: 10px;
    font-size: 14px;
    color: #8ca0bf;
    line-height: 1.2;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: all .2s ease;
}

.insight-card:hover .insight-detail {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.insight-empty {
    height: 160px;
    border-radius: 10px;
    background: #f6f9fd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8ca0bf;
    font-size: 14px;
}

@media screen and (max-width: 1460px) {
    .insight-content-wrap {
        width: 1116px;
    }

    .insight-wall {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .insight-grid {
        grid-template-columns: repeat(4, 264px);
    }
}

@media screen and (max-width: 1200px) {
    .insight-toolbar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .insight-content-wrap {
        width: 832px;
    }

    .insight-trend-wrap {
        grid-template-columns: 1fr;
    }

    .insight-trend-list {
        width: 100%;
        min-height: 0;
    }

    .insight-wall {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .insight-grid {
        grid-template-columns: repeat(3, 264px);
    }
}

@media screen and (max-width: 900px) {
    .insight-content-wrap {
        width: 548px;
    }

    .insight-rank-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .insight-rank-tabs {
        gap: 14px;
    }

    .insight-rank-tab {
        font-size: 14px;
    }

    .insight-wall {
        grid-template-columns: minmax(0, 1fr);
    }

    .insight-grid {
        grid-template-columns: repeat(2, 264px);
    }
}

@media screen and (max-width: 620px) {
    .insight-content-wrap {
        width: calc(100% - 24px);
    }

    .insight-tabs {
        width: 100%;
    }

    .insight-filter {
        width: 100%;
    }

    .insight-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .insight-card {
        width: 100%;
    }
}
