/* ============================================================
   GEO排名查询页（复刻 toobest.net/ranking.php）
   素材目录：/static/home/images/ranking/
   ============================================================ */

/* ---------- 基础（限定本页作用域，避免污染全站） ---------- */
.ranking-page {
    margin: 0;
    background: #F4F4F9;
    overflow: hidden;
}

.ranking-page h1,
.ranking-page h2,
.ranking-page h3,
.ranking-page p,
.ranking-page form,
.ranking-page table {
    margin: 0;
}

.ranking-page input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    outline: none;
    background-color: transparent;
    padding: 0;
    margin: 0;
    font-family: inherit;
    font-size: 100%;
    color: inherit;
    line-height: inherit;
}

.ranking-page input:focus {
    outline: none;
}

.ranking-page button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.ranking-page .hint em {
    font-style: normal;
}

.ranking-page .filter-export .export .time em {
    font-style: normal;
}

/* ============================================================
   顶部背景图
   ============================================================ */
.ranking-page .ai-top {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 305px;
}

.ranking-page .ai-top-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.03);
    animation: rankingImageReveal .8s ease-out .1s forwards;
}

.ranking-page .ai-top-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    opacity: 0;
    animation: rankingContentFadeUp .6s ease-out .3s forwards;
}

@keyframes rankingImageReveal {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rankingContentFadeUp {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 16px));
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.ranking-page .ai-top-content .title {
    font-size: 40px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.08em;
    color: #000C17;
    text-align: center;
}

.ranking-page .ai-top-content span {
    font-size: 40px;
    font-weight: bold;
    line-height: normal;
    letter-spacing: 0.08em;
    background: linear-gradient(270deg, #8F00FF 0%, #2538FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.ranking-page .ai-top-content p {
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
    font-weight: normal;
    line-height: normal;
    letter-spacing: 0.08em;
    color: rgba(0, 12, 23, .75);
}

/* ============================================================
   操作区域
   ============================================================ */
.ranking-page .operate-box {
    padding: 28px;
    background: #FFFFFF;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0px 8px 40px 0px rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    max-width: 1000px;
    margin: -50px auto 30px;
    position: relative;
    z-index: 1;
}

.ranking-page .operate-box .title-box {
    display: flex;
    align-items: center;
    font-size: 16px;
}

.ranking-page .operate-box .title-box .title {
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.08em;
    background: linear-gradient(270deg, #8F00FF 0%, #2538FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.ranking-page .operate-box .title-box .circle {
    position: relative;
    left: -6px;
    height: 20px;
    opacity: 0.6;
}

.ranking-page .operate-box .title-box .text {
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.08em;
    color: #000C17;
}

.ranking-page .operate-box .title-box .reset-btn,
.ranking-page .operate-box .history-button {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0;
    color: #463DF7;
    padding: 4px 16px;
    box-sizing: border-box;
    border: 1px solid rgba(70, 61, 247, .3);
    border-radius: 4px;
    transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
}

.ranking-page .operate-box .title-box .reset-btn:hover,
.ranking-page .operate-box .history-button:hover {
    background: rgba(70, 61, 247, .06);
}

.ranking-page .button-po {
    position: absolute;
    right: 40px;
    display: flex;
    gap: 10px;
}

/* ---------- AI平台选择 ---------- */
.ranking-page .ai-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 20px 0;
}

.ranking-page .ai-list .item-ai {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 8px;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 0.5px solid rgba(0, 0, 0, 0.15);
    transition: border-color .2s ease, background .2s ease;
}

.ranking-page .ai-list .select-border-bar {
    border: 0.5px solid #8F00FF;
    background: linear-gradient(270deg, rgba(143, 0, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.ranking-page .ai-list .select-border-bar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 16px;
    height: 16px;
    background: url('../images/ranking/select.png') no-repeat center center;
    background-size: 100% 100%;
}

.ranking-page .ai-list .item-ai:hover {
    background: linear-gradient(270deg, rgba(143, 0, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.ranking-page .ai-list .item-ai img {
    width: 24px;
    height: 24px;
}

.ranking-page .ai-list .item-ai span {
    font-size: 14px;
    font-weight: normal;
    line-height: normal;
    text-align: center;
    text-transform: capitalize;
    letter-spacing: 0;
    color: #1A2233;
    margin-left: 8px;
    white-space: nowrap;
}

/* ---------- 输入框 ---------- */
.ranking-page .input-box {
    border-radius: 4px;
    box-sizing: border-box;
    border: 0.5px solid rgba(0, 0, 0, 0.15);
    padding: 9px 10px;
    margin: 20px 0;
    transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.ranking-page .input-box input {
    flex: 1;
    min-width: 200px;
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    background: transparent;
    font: inherit;
    color: #000C17;
    letter-spacing: 0.02em;
    font-size: 16px;
}

.ranking-page .input-box input::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

.ranking-page .input-box:focus-within {
    border-color: rgba(70, 61, 247, .6);
    box-shadow: 0 0 4px 4px rgba(70, 61, 247, .08);
    background: #FFFFFF;
}

/* ---------- 品牌词标签 ---------- */
.ranking-page .tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.ranking-page .tab-list span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    border: 1px solid rgba(70, 61, 247, 0.3);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 12px;
    letter-spacing: 0;
    color: #463DF7;
}

.ranking-page .tab-list span::after {
    content: '×';
    font-size: 14px;
    font-weight: bold;
    margin-left: 4px;
    opacity: 1;
    transition: opacity 0.2s ease;
    color: #333333;
}

.ranking-page .tab-list span:hover {
    background: linear-gradient(270deg, rgba(143, 0, 255, 0.12) 0%, rgba(37, 56, 255, 0.12) 100%);
}

/* ---------- 提示 ---------- */
.ranking-page .hint {
    padding-left: 12px;
    font-size: 13px;
    font-weight: normal;
    line-height: normal;
    letter-spacing: 0.08em;
    color: rgba(0, 12, 23, .6);
}

.ranking-page .hint svg {
    width: 12px;
    vertical-align: -2px;
    margin-right: 4px;
}

/* ---------- 开始查询按钮 ---------- */
.ranking-page .query-button {
    width: 100%;
    background: linear-gradient(270deg, #8F00FF 0%, #2538FF 100%);
    background-size: 200% 100%;
    background-position: 0% 50%;
    padding: 10px 0;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.08em;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    transition: transform .2s ease, box-shadow .25s ease, background-position .35s ease;
}

.ranking-page .query-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(37, 56, 255, 0.22);
    background-position: 100% 50%;
}

.ranking-page .query-button span {
    margin-left: 12px;
}

/* ============================================================
   查询结果
   ============================================================ */
.ranking-page .result-box {
    display: none;
    max-width: 1000px;
    margin: 0 auto 20px;
    background: #FFFFFF;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0px 8px 40px 0px rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 30px 40px;
}

.ranking-page .result-box .title-history {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ranking-page .result-box .title-history .title-box {
    display: flex;
    align-items: center;
    font-size: 20px;
}

.ranking-page .result-box .title-history .title-box .title {
    font-size: 20px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.08em;
    background: linear-gradient(270deg, #8F00FF 0%, #2538FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.ranking-page .result-box .title-history .title-box .circle {
    position: relative;
    left: 0;
    height: 100%;
    opacity: 0.6;
}

.ranking-page .result-box .title-history .historys {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    text-transform: capitalize;
    letter-spacing: 0;
    color: #1A2233;
    opacity: 0.6;
    cursor: pointer;
}

.ranking-page .result-box .title-history .historys img {
    width: 24px;
    height: 24px;
}

/* ---------- 统计卡片 ---------- */
.ranking-page .tab {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ranking-page .tab .item-tab {
    flex: 1 1 calc(25% - 20px);
    gap: 20px;
    background: #F7F9FE;
    border-radius: 8px;
    box-sizing: border-box;
    border: 0.5px solid rgba(0, 0, 0, 0.15);
    padding: 12px 14px;
    margin-top: 20px;
}

.ranking-page .tab .item-tab .title {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    text-transform: capitalize;
    letter-spacing: 0;
    color: #1A2233;
}

.ranking-page .tab .item-tab .title .icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.ranking-page .tab .tab1 .title .icon {
    background: #135AFF;
}

.ranking-page .tab .tab2 .title .icon {
    background: #20B1FF;
}

.ranking-page .tab .tab3 .title .icon {
    background: #1CD74E;
}

.ranking-page .tab .tab4 .title .icon {
    background: #C369FF;
}

.ranking-page .tab .item-tab .title .icon img {
    width: 18px;
    height: 18px;
}

.ranking-page .tab .item-tab .num {
    font-size: 26px;
    font-weight: 600;
    line-height: 28px;
    text-align: left;
    text-transform: capitalize;
    letter-spacing: 0;
    color: #1A2233;
    margin-left: 44px;
    margin-top: 10px;
}

.ranking-page .tab .item-tab .num span {
    font-weight: 600;
    font-size: 16px;
}

/* ---------- 筛选与导出 ---------- */
.ranking-page .filter-export {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.ranking-page .filter-export .export {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ranking-page .filter-export .export .time {
    opacity: 0.6;
    font-size: 14px;
    font-weight: normal;
    line-height: 28px;
    display: flex;
    align-items: center;
    letter-spacing: 0;
    color: #000C17;
    margin-right: 20px;
}

.ranking-page .filter-export .export button {
    font-size: 14px;
    font-weight: 500;
    line-height: 28px;
    display: flex;
    align-items: center;
    letter-spacing: 0;
    color: #463DF7;
    border-radius: 4px;
    box-sizing: border-box;
    border: 0.5px solid #463DF7;
    padding: 2px 16px;
}

.ranking-page .filter-export .export button img {
    margin-right: 6px;
}

/* ---------- 自定义下拉 ---------- */
.ranking-page .custom-select-wrapper {
    position: relative;
    display: inline-block;
    user-select: none;
    width: 164px;
}

.ranking-page .custom-select {
    position: relative;
}

.ranking-page .custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    height: 32px;
    line-height: 32px;
    background: #fff;
    cursor: pointer;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
}

.ranking-page .custom-select .arrow {
    position: relative;
    height: 8px;
    width: 8px;
}

.ranking-page .custom-select .arrow::before,
.ranking-page .custom-select .arrow::after {
    content: '';
    position: absolute;
    bottom: 1px;
    width: 2px;
    height: 100%;
    transition: all .3s;
    background-color: #333;
    border-radius: 2px;
}

.ranking-page .custom-select .arrow::before {
    left: -2px;
    transform: rotate(-45deg);
}

.ranking-page .custom-select .arrow::after {
    left: 2px;
    transform: rotate(45deg);
}

.ranking-page .custom-select.open .arrow::before {
    transform: rotate(45deg);
}

.ranking-page .custom-select.open .arrow::after {
    transform: rotate(-45deg);
}

.ranking-page .custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    min-width: 100%;
    margin-top: 4px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: all .2s ease-in-out;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    z-index: 2;
}

.ranking-page .custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.ranking-page .custom-option {
    position: relative;
    display: block;
    padding: 0 12px;
    font-size: 14px;
    color: #333;
    line-height: 32px;
    cursor: pointer;
    transition: all .2s;
}

.ranking-page .custom-option:hover {
    background-color: #f2efff;
    color: #463DF7;
}

.ranking-page .custom-option.selected {
    color: #463DF7;
    background-color: #f2efff;
}

/* ---------- 结果表格 ---------- */
.ranking-page .table-container {
    margin-top: 20px;
    overflow-x: auto;
}

.ranking-page .table-container::-webkit-scrollbar {
    height: 6px;
}

.ranking-page .table-container::-webkit-scrollbar-track {
    background: #f7f7f7;
    border-radius: 3px;
}

.ranking-page .table-container::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 3px;
}

.ranking-page .result-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    table-layout: fixed;
}

.ranking-page .result-table tr {
    border-bottom: 1px solid #F0F0F0;
}

.ranking-page .result-table th,
.ranking-page .result-table td {
    padding: 16px;
    text-align: left;
    vertical-align: middle;
    font-size: 14px;
    box-sizing: border-box;
    word-break: break-all;
}

.ranking-page .result-table td .num {
    color: #1957F2;
    margin-right: 4px;
}

.ranking-page .result-table th {
    background-color: #F7F9FE;
    font-weight: 500;
    color: #666;
}

.ranking-page .result-table tbody tr:hover {
    background-color: #F7F9FE;
}

.ranking-page .result-table .td-action {
    padding: 16px 16px 16px 16px;
}

.ranking-page .table-container tr th:nth-child(1) { width: 130px; }
.ranking-page .table-container tr th:nth-child(2) { width: auto; }
.ranking-page .table-container tr th:nth-child(3) { width: 100px; }
.ranking-page .table-container tr th:nth-child(4) { width: 100px; }
.ranking-page .table-container tr th:nth-child(5) { width: 160px; }
.ranking-page .table-container tr th:nth-child(6) { width: 128px; }
.ranking-page .table-container tr th:nth-child(7) { width: 120px; }

.ranking-page .ai-model {
    display: flex;
    align-items: center;
}

.ranking-page .ai-model img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    border-radius: 50%;
}

.ranking-page .status-recommended {
    color: #2ED573;
}

.ranking-page .status-not-recommended {
    color: #999;
}

.ranking-page .btn-view-result {
    border: 1px solid rgba(9, 88, 217, .3);
    border-radius: 4px;
    cursor: pointer;
    color: #0958D9;
    font-size: 14px;
    width: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
    transition: background .2s ease, color .2s ease;
}

.ranking-page .btn-view-result:hover {
    background: rgba(9, 88, 217, .06);
}

.ranking-page .ov-box {
    min-height: 52px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ranking-page .exposure {
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0;
    color: rgba(9, 18, 31, .6);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.ranking-page .promote-exposure {
    color: #463DF7;
    margin-left: 8px;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

.ranking-page .promote-exposure span {
    border-bottom: 1px solid #463DF7;
}

.ranking-page .table-status {
    color: rgba(9, 18, 31, .6);
}

/* ============================================================
   介绍（技术保障 / 技术优势 / 适用场景）
   ============================================================ */
.ranking-page .recommend-box {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.ranking-page .recommend-box .single-recommend {
    flex: 1 1 calc(33% - 30px);
    background: #fff;
    padding: 26px 20px;
    box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.ranking-page .recommend-box .single-recommend .mian {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.ranking-page .recommend-box .single-recommend .mian img {
    width: 48px;
    height: 48px;
}

.ranking-page .recommend-box .single-recommend .mian span {
    margin-left: 20px;
    font-size: 18px;
    font-weight: 600;
    line-height: 30px;
    letter-spacing: 0.02em;
    color: #242930;
}

.ranking-page .recommend-box .single-recommend .text-box .item-text {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.ranking-page .recommend-box .single-recommend .text-box .item-text img {
    width: 20px;
    height: 20px;
    margin-left: 20px;
    flex-shrink: 0;
}

.ranking-page .recommend-box .single-recommend .text-box .item-text span {
    font-size: 16px;
    font-weight: normal;
    text-align: justify;
    letter-spacing: 0;
    color: #15181C;
    opacity: .7;
    margin-left: 20px;
}

.ranking-page .recommend-box .single-recommend:hover {
    transform: translateY(-6px);
    box-shadow: 0px 18px 48px rgba(70, 61, 247, 0.18), 0px 8px 24px rgba(0, 0, 0, 0.08);
    background: #FFFFFF;
}

/* ============================================================
   历史记录面板
   ============================================================ */
.ranking-page .history-page {
    padding: 20px;
    max-width: 1000px;
    margin: -50px auto 30px;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0px 8px 40px 0px rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    position: relative;
    display: none;
    background: #FFFFFF;
}

.ranking-page .history-page .history-bar {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 16px;
    overflow: hidden;
    pointer-events: none;
}

.ranking-page .history-page .gradually {
    height: 50px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 1) 100%);
}

.ranking-page .history-page .history-fff {
    background: #fff;
    height: calc(100% - 50px);
}

.ranking-page .history-mian-box {
    position: relative;
    z-index: 1;
}

.ranking-page .history-header {
    margin-bottom: 20px;
}

.ranking-page .back-link {
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
    text-transform: capitalize;
    letter-spacing: 0;
    color: #1A2233;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.ranking-page .back-link img {
    width: 24px;
    height: 24px;
    margin-right: 4px;
}

.ranking-page .history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ranking-page .history-item {
    display: flex;
    align-items: center;
    background: #F7F9FE;
    padding: 10px 14px;
    border-radius: 8px;
    border: 0.5px solid rgba(0, 0, 0, 0.15);
    transition: all .2s ease;
}

.ranking-page .history-item:hover {
    border-color: #463DF7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ranking-page .item-main {
    flex-grow: 1;
}

.ranking-page .item-main h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0;
    color: #030229;
    margin: 0 0 8px 0;
}

.ranking-page .brand-tags {
    font-size: 14px;
    font-weight: normal;
    line-height: 14px;
    letter-spacing: 0;
    color: rgba(0, 12, 23, .6);
    margin-bottom: 8px;
}

.ranking-page .brand-tags .tag {
    display: inline-block;
    background: #F7F9FE;
    border: 1px solid rgba(70, 61, 247, .3);
    border-radius: 4px;
    padding: 2px 6px;
    margin-left: 4px;
    color: #463DF7;
    font-size: 12px;
}

.ranking-page .item-meta {
    display: flex;
    align-items: center;
}

.ranking-page .item-meta .time {
    margin-left: 6px;
    font-size: 12px;
    color: rgba(0, 12, 23, .6);
}

.ranking-page .item-stats {
    display: flex;
    gap: 40px;
    text-align: center;
    align-items: center;
    flex-shrink: 0;
    margin-left: 10px;
}

.ranking-page .item-stats .stat {
    display: flex;
    flex-direction: column;
    width: 80px;
}

.ranking-page .item-stats .stat:nth-child(1) .value {
    color: #135AFF;
}

.ranking-page .item-stats .stat:nth-child(2) .value {
    color: #20B1FF;
}

.ranking-page .item-stats .stat:nth-child(3) .value {
    color: #C369FF;
}

.ranking-page .item-stats .label {
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    text-align: center;
    text-transform: capitalize;
    letter-spacing: 0;
    color: #1A2233;
    margin-bottom: 4px;
}

.ranking-page .item-stats .value {
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-transform: capitalize;
    letter-spacing: 0;
    margin-top: 20px;
}

.ranking-page .item-arrow img {
    width: 24px;
    height: 24px;
    margin-left: 40px;
    opacity: 0.4;
}

/* ============================================================
   预约咨询
   ============================================================ */
.ranking-page .reserve {
    background-image: url('../images/ranking/bar.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% 100%;
    padding-bottom: 60px;
}

.ranking-page .reserve .box {
    max-width: 1000px;
    margin: 0 auto;
}

.ranking-page .reserve .box .reserve-title {
    padding-top: 60px;
    text-align: center;
    margin-bottom: 66px;
}

.ranking-page .reserve .box .reserve-title .title {
    font-size: 28px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.04em;
    text-align: center;
    color: #000C17;
}

.ranking-page .reserve .box .reserve-title .title span {
    background: linear-gradient(270deg, #8F00FF 0%, #2538FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.ranking-page .reserve .box .reserve-title .text {
    font-size: 14px;
    font-weight: normal;
    line-height: normal;
    letter-spacing: 0.08em;
    color: #000C17;
    margin-top: 20px;
}

.ranking-page .reserve-information {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ranking-page .reserve-information .QR-code {
    width: 400px;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.ranking-page .reserve-information .QR-code .icon {
    position: absolute;
    top: 0;
    width: 100px;
    margin-left: 80px;
    z-index: 1;
}

.ranking-page .reserve-information .QR-code .ewn {
    margin-left: 80px;
    margin-top: 60px;
    background: linear-gradient(270deg, rgba(143, 0, 255, 0.1) 0%, rgba(37, 56, 255, 0.1) 100%);
    border-radius: 8px;
    box-sizing: border-box;
    border: 0.5px solid rgba(0, 0, 0, 0.15);
    padding: 0 8px 8px;
}

.ranking-page .reserve-information .QR-code .ewn .text {
    padding-top: 30px;
    padding-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.02em;
    color: #000C17;
    text-align: center;
}

.ranking-page .reserve-information .QR-code .ewn img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
}

.ranking-page .reserve-information .form {
    flex: 1;
    background: #fff;
    box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.03);
    border-radius: 10px;
    padding: 30px 40px;
}

.ranking-page .reserve-information .form h1 {
    font-size: 26px;
    font-weight: 500;
    line-height: 30px;
    letter-spacing: 0.02em;
    color: #15181C;
    margin-bottom: 30px;
}

.ranking-page .reserve-information .form .form-field {
    margin-bottom: 10px;
}

.ranking-page .reserve-information .form .form-field.dw_relative {
    position: relative;
    overflow: visible;
}

.ranking-page .reserve-information .form .form-field:last-of-type {
    margin-bottom: 0;
}

.ranking-page .reserve-information .form .input {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: normal;
    line-height: normal;
    letter-spacing: 0;
    box-sizing: border-box;
    border: 0.5px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.ranking-page .reserve-information .form .input-no-star {
    padding-left: 23px;
}

.ranking-page .reserve-information .form .input-textarea {
    align-items: flex-start;
    padding-top: 10px;
    padding-bottom: 10px;
}

.ranking-page .reserve-information .form .input textarea {
    flex: 1;
    min-width: 0;
    width: 100%;
    min-height: 66px;
    padding: 0;
    margin: 0;
    border: none !important;
    outline: none;
    box-shadow: none !important;
    background: transparent;
    resize: vertical;
    font-size: 14px;
    line-height: 1.5;
    color: #15181C;
    font-family: inherit;
}

.ranking-page .reserve-information .form .input textarea::placeholder {
    color: rgba(21, 24, 28, 0.45);
}

.ranking-page .reserve-information .form .input .required {
    color: #EB2D2D;
    flex-shrink: 0;
    line-height: 1;
}

.ranking-page .reserve-information .form .input input {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 22px;
    padding: 0;
    padding-right: 80px;
    margin: 0;
    border: none !important;
    outline: none;
    box-shadow: none !important;
    background: transparent;
    font-size: 14px;
    color: #15181C;
}

.ranking-page .reserve-information .form .input input::placeholder {
    color: rgba(21, 24, 28, 0.45);
}

.ranking-page .reserve-information .form .input:has(.input_focus) {
    border-color: #EB2D2D;
    box-shadow: 0 0 0 1px rgba(235, 45, 45, 0.12);
}

.ranking-page .reserve-information .form .input.input-captcha {
    gap: 10px;
}

.ranking-page .reserve-information .form .input.input-captcha input {
    flex: 1;
    padding-right: 8px;
}

.ranking-page .reserve-information .form .form-field:has(.input-captcha) .error-msg {
    right: 116px;
}

.ranking-page .reserve-information .form .input.input-captcha img {
    flex-shrink: 0;
    width: 100px;
    height: 36px;
    object-fit: contain;
    cursor: pointer;
    border-radius: 4px;
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    background: #f7f9fe;
}

.ranking-page .reserve-information .form .error-msg {
    position: absolute;
    top: 50%;
    right: 15px;
    bottom: auto;
    transform: translateY(-50%);
    display: block;
    max-width: 45%;
    margin: 0;
    padding: 0;
    font-size: 11px;
    line-height: 1.3;
    color: #EB2D2D;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

.ranking-page .reserve-information .form .error-msg:empty {
    display: none;
}

.ranking-page .reserve-information .form button {
    font-size: 14px;
    font-weight: bold;
    line-height: normal;
    text-align: center;
    letter-spacing: 0;
    color: #FFFFFF;
    padding: 8px 15px;
    border-radius: 6px;
    background: linear-gradient(270deg, #8F00FF 0%, #2538FF  100%);
    margin-top: 16px;
    margin-bottom: 20px;
    width: 100%;
    transition: transform .2s ease, box-shadow .25s ease;
}

.ranking-page .reserve-information .form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(37, 56, 255, 0.22);
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1000px) {
    .ranking-page .ai-top-content .title {
        font-size: 40px;
        letter-spacing: 0.06em;
    }

    .ranking-page .ai-top-content span {
        font-size: 40px;
        letter-spacing: 0.06em;
    }

    .ranking-page .ai-top-content p {
        margin-top: 12px;
        font-size: 18px;
        letter-spacing: 0.04em;
    }

    .ranking-page .operate-box {
        padding: 20px;
        border-radius: 8px;
        margin: -20px auto 20px;
    }

    .ranking-page .button-po {
        position: static;
        margin-left: auto;
    }

    .ranking-page .ai-list {
        gap: 12px;
        margin-bottom: 20px;
    }

    .ranking-page .ai-list .item-ai {
        flex: 1 1 calc(33% - 20px);
        max-width: none;
    }

    .ranking-page .input-box {
        padding: 7px 10px;
    }

    .ranking-page .input-box input {
        font-size: 14px;
    }

    .ranking-page .query-button {
        font-size: 16px;
    }

    .ranking-page .recommend-box {
        gap: 20px;
    }

    .ranking-page .recommend-box .single-recommend {
        flex: 1 1 calc(33% - 20px);
    }

    .ranking-page .reserve .box .reserve-title .title {
        font-size: 30px;
    }

    .ranking-page .reserve .box .reserve-title .text {
        font-size: 16px;
    }

    .ranking-page .result-box {
        padding: 20px;
    }
}

@media (max-width: 760px) {
    .ranking-page .ai-top {
        height: 160px;
    }

    .ranking-page .ai-top-content .title {
        font-size: 30px;
        letter-spacing: 0.06em;
    }

    .ranking-page .ai-top-content span {
        font-size: 30px;
        letter-spacing: 0.06em;
    }

    .ranking-page .ai-top-content p {
        margin-top: 12px;
        font-size: 14px;
        letter-spacing: 0.04em;
    }

    .ranking-page .ai-top-img {
        width: auto;
        height: 160px;
    }

    .ranking-page .operate-box {
        margin: 0 auto 10px;
        padding: 10px;
        border-radius: 8px;
    }

    .ranking-page .operate-box .title-box {
        font-size: 18px;
        flex-wrap: wrap;
    }

    .ranking-page .button-po {
        position: static;
        width: 100%;
        margin-top: 10px;
    }

    .ranking-page .ai-list {
        gap: 10px;
        margin-top: 24px;
    }

    .ranking-page .ai-list .item-ai {
        flex: 1 1 calc(50% - 10px);
        justify-content: center;
    }

    .ranking-page .ai-list .item-ai span {
        font-size: 16px;
    }

    .ranking-page .hint {
        font-size: 12px;
    }

    .ranking-page .recommend-box {
        gap: 10px;
    }

    .ranking-page .recommend-box .single-recommend {
        flex: 1 1 calc(50% - 30px);
    }

    .ranking-page .reserve-information {
        display: block;
    }

    .ranking-page .reserve-information .QR-code {
        width: 100%;
        margin-bottom: 20px;
    }

    .ranking-page .reserve-information .QR-code .icon,
    .ranking-page .reserve-information .QR-code .ewn {
        margin-left: 0;
    }

    .ranking-page .reserve-information .form {
        padding: 24px 20px;
    }

    .ranking-page .reserve-information .form .input.input-captcha {
        flex-wrap: nowrap;
    }

    .ranking-page .reserve-information .form .input.input-captcha img {
        width: 88px;
        height: 32px;
    }

    .ranking-page .tab .item-tab {
        flex: 1 1 calc(50% - 20px);
    }

    .ranking-page .filter-export {
        flex-wrap: wrap;
        gap: 10px;
    }

    .ranking-page .result-box {
        padding: 16px;
    }
}
