/* ==========================================
   Supplier Ranking Page（供应商排行榜）
   ========================================== */

:root {
    --rm-orange: #FF6A00;
    --rm-orange-light: #ff8c3a;
    --rm-dark: #0f1728;
    --rm-dark-2: #1a2340;
    --rm-text: #1f2937;
    --rm-text-light: #6b7280;
    --rm-bg-soft: #f8f9fb;
    --rm-border: #e8ebf0;
    --rm-gold: #ffd700;
    --rm-silver: #c0c0c0;
    --rm-bronze: #cd7f32;
}

/* 整体字号/布局放大约 5%（作用于内部容器，通栏 section 不变宽；
   如需微调改这一个值：1.1 更大） */
.vm-rm-hero .container,
.vm-rm-main .container {
    zoom: 1.05;
}

/* ==========================================
   英雄区域
   ========================================== */
.vm-rm-hero {
    position: relative;
    padding: 64px 0 56px;
    overflow: hidden;
    color: #fff;
}

.vm-rm-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--rm-dark) 0%, var(--rm-dark-2) 55%, #24305a 100%);
    z-index: 0;
}

.vm-rm-hero-bg::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.28) 0%, transparent 70%);
}

.vm-rm-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.vm-rm-hero-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(255, 106, 0, 0.15);
    border: 1px solid rgba(255, 106, 0, 0.4);
    color: var(--rm-orange-light);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
}

.vm-rm-hero-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 14px;
}

.vm-rm-hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 28px;
}

.vm-rm-hero-actions {
    display: flex;
    gap: 12px;
    max-width: 620px;
    margin: 0 auto 32px;
}

.vm-rm-search-form {
    flex: 1;
    display: flex;
    gap: 12px;
    min-width: 0;
}

/* 搜索按钮不参与收缩，空间不足时只压缩输入框 */
.vm-rm-search-form .vm-rm-apply-btn {
    flex-shrink: 0;
}

.vm-rm-search {
    flex: 1;
    /* 允许收缩到小于内容最小宽度，小屏下输入框变窄而不是把按钮挤出容器 */
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 10px;
    padding: 0 16px;
    height: 52px;
    color: var(--rm-text-light);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.vm-rm-search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--rm-text);
    background: transparent;
    min-width: 0;
}

.vm-rm-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--rm-orange);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0 26px;
    height: 52px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.vm-rm-apply-btn:hover {
    background: var(--rm-orange-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 106, 0, 0.35);
}

.vm-rm-apply-btn-full {
    width: 100%;
    height: 46px;
    font-size: 16px;
}

.vm-rm-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.vm-rm-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.vm-rm-stat-num {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
}

.vm-rm-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   主体布局（左榜单 + 右悬浮）
   ========================================== */
.vm-rm-main {
    padding: 40px 0 60px;
    background: var(--rm-bg-soft);
}

.vm-rm-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 32px;
    /* 注意：不能用 align-items: start，否则右列高度=内容高度，sticky 失效 */
}

.vm-rm-left {
    min-width: 0;
}

/* 右列 sticky 悬浮 */
.vm-rm-right {
    min-width: 0;
}

.vm-rm-sticky {
    position: sticky;
    /* 84px × zoom(1.05) ≈ 88px，与导航栏高度精确对齐 */
    top: 84px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ==========================================
   TOP3 领奖台
   ========================================== */
.vm-rm-podium {
    display: grid;
    grid-template-columns: 1fr 1.18fr 1fr;
    gap: 16px;
    align-items: end;
    margin-bottom: 28px;
}

.vm-rm-podium-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--rm-border);
    border-radius: 16px;
    padding: 24px 18px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(15, 23, 40, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* 第1名：金色、最大、皇冠 */
.vm-rm-podium-card.rank-1 {
    order: 2;
    padding: 34px 22px 26px;
    border: 2px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(160deg, #ffe9a8, #ffd700 40%, #ff9d3c) border-box;
    box-shadow: 0 10px 30px rgba(255, 180, 40, 0.25);
    z-index: 1;
}

.vm-rm-podium-card.rank-1 .vm-rm-podium-name {
    font-size: 20px;
}

.vm-rm-podium-card.rank-2 {
    order: 1;
    border-top: 4px solid var(--rm-silver);
}

.vm-rm-podium-card.rank-3 {
    order: 3;
    border-top: 4px solid var(--rm-bronze);
}

.vm-rm-crown {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    color: #f5a800;
    filter: drop-shadow(0 4px 8px rgba(245, 168, 0, 0.4));
    animation: vm-rm-crown-float 3s ease-in-out infinite;
}

@keyframes vm-rm-crown-float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-6px); }
}

.vm-rm-medal {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 26px;
    background: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.vm-rm-podium-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
    border: 3px solid var(--rm-border);
    background: var(--rm-bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rank-1 .vm-rm-podium-avatar {
    width: 108px;
    height: 108px;
    border-color: #ffd700;
}

.vm-rm-podium-avatar img,
.vm-rm-row-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vm-rm-avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--rm-orange), #ff9d3c);
}

.vm-rm-podium-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--rm-text);
    margin: 0 0 8px;
    line-height: 1.35;
    /* 公司名称完整显示，不截断 */
    word-break: break-word;
    max-width: 100%;
}

.vm-rm-podium-name a {
    color: inherit;
    text-decoration: none;
}

.vm-rm-podium-name a:hover {
    color: var(--rm-orange);
}

.vm-rm-podium-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    min-height: 20px;
    margin-bottom: 6px;
}

.vm-rm-cat-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    background: rgba(255, 106, 0, 0.08);
    color: var(--rm-orange);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.vm-rm-cat-tag-sm {
    padding: 2px 10px;
    font-size: 12px;
}

/* 主要产品标签容器（卡片上多个标签换行排列） */
.vm-rm-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.vm-rm-product-tags .vm-rm-cat-tag {
    margin-bottom: 0;
}

.vm-rm-podium-card .vm-rm-product-tags {
    justify-content: center;
}

.vm-rm-podium-desc {
    font-size: 14px;
    color: var(--rm-text-light);
    line-height: 1.5;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vm-rm-podium-footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--rm-border);
    padding-top: 14px;
    margin-top: auto;
}

.vm-rm-podium-footer .vm-vote-btn {
    margin-left: auto;
}

.vm-rm-loc {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--rm-text-light);
    max-width: 70%;
    overflow: hidden;
    white-space: nowrap;
}

.vm-rm-pool-footer .vm-rm-loc {
    font-size: 12px;
}

/* ==========================================
   徽章
   ========================================== */
.vm-rm-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.vm-rm-badge-verified {
    background: rgba(16, 122, 87, 0.1);
    color: #107a57;
}

.vm-rm-badge-top {
    background: linear-gradient(135deg, #fff3c4, #ffe08a);
    color: #9a6b00;
}

.vm-rm-badge-expired {
    background: rgba(214, 54, 56, 0.1);
    color: #d63638;
}

/* ==========================================
   第4-10名 紧凑行
   ========================================== */
.vm-rm-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vm-rm-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--rm-border);
    border-radius: 12px;
    padding: 12px 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.vm-rm-row.highlighted {
    border-color: var(--rm-orange);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.15);
}

.vm-rm-row-rank {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--rm-bg-soft);
    border: 1px solid var(--rm-border);
    color: var(--rm-text-light);
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vm-rm-row-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--rm-bg-soft);
    border: 2px solid var(--rm-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vm-rm-row-avatar .vm-rm-avatar-fallback {
    font-size: 20px;
}

.vm-rm-row-info {
    flex: 1;
    min-width: 0;
}

.vm-rm-row-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--rm-text);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}

.vm-rm-row-name a {
    color: inherit;
    text-decoration: none;
    /* 公司名称完整显示，允许换行 */
    word-break: break-word;
}

.vm-rm-row-name a:hover {
    color: var(--rm-orange);
}

.vm-rm-row-votes {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vm-rm-row-view {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rm-text-light);
    background: var(--rm-bg-soft);
    transition: all 0.2s ease;
}

.vm-rm-row-view:hover {
    background: var(--rm-orange);
    color: #fff;
}

/* ==========================================
   投票按钮
   ========================================== */
.vm-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 8px;
    border: 1.5px solid var(--rm-orange);
    background: #fff;
    color: var(--rm-orange);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vm-vote-btn:hover:not(:disabled) {
    background: var(--rm-orange);
    color: #fff;
    transform: translateY(-1px);
}

.vm-vote-btn.loading {
    opacity: 0.6;
    cursor: wait;
}

.vm-vote-btn.voted {
    background: #f0f7f4;
    border-color: #107a57;
    color: #107a57;
    cursor: default;
}

.vm-vote-btn.voted::after {
    content: '✓';
    font-weight: 800;
}

/* ==========================================
   搜索结果显示区
   ========================================== */
.vm-rm-search-results {
    margin-top: 24px;
    background: #fff;
    border: 1px solid var(--rm-border);
    border-radius: 14px;
    padding: 18px;
    /* 滚动定位时避开 sticky 导航栏（84px × zoom(1.05) ≈ 88px），保证盒子完整可见 */
    scroll-margin-top: 84px;
}

.vm-rm-search-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--rm-text);
    margin-bottom: 12px;
}

.vm-rm-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--rm-border);
    margin-bottom: 8px;
}

.vm-rm-search-item:last-child {
    margin-bottom: 0;
}

.vm-rm-search-item.top10 {
    border-color: rgba(255, 180, 40, 0.6);
    background: linear-gradient(135deg, #fffdf5, #fff8e1);
}

.vm-rm-search-item > div {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    color: var(--rm-text);
}

.vm-rm-search-rank {
    flex-shrink: 0;
    padding: 4px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffe08a, #ffd700);
    color: #7a5800;
    font-weight: 800;
    font-size: 14px;
}

.vm-rm-search-notranked {
    flex-shrink: 0;
    padding: 4px 12px;
    border-radius: 12px;
    background: #f0f0f2;
    color: #8a8f98;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

.vm-rm-search-cat {
    color: var(--rm-text-light);
    font-size: 13px;
}

.vm-apply-inline {
    height: auto;
    padding: 7px 14px;
    font-size: 13px;
    flex-shrink: 0;
}

.vm-search-empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 15px;
    color: var(--rm-text-light);
}

/* ==========================================
   榜单说明
   ========================================== */
.vm-rm-note {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--rm-text-light);
}

.vm-rm-note-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--rm-orange);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
}

/* ==========================================
   空状态
   ========================================== */
.vm-rm-empty {
    background: #fff;
    border: 1px dashed var(--rm-border);
    border-radius: 16px;
    padding: 56px 24px;
    text-align: center;
}

.vm-rm-empty-icon {
    font-size: 44px;
    margin-bottom: 12px;
}

.vm-rm-empty h3 {
    font-size: 20px;
    color: var(--rm-text);
    margin: 0 0 8px;
}

.vm-rm-empty p {
    color: var(--rm-text-light);
    margin: 0 0 20px;
    font-size: 15px;
}

/* ==========================================
   右侧悬浮卡片
   ========================================== */
.vm-rm-side-card {
    background: #fff;
    border: 1px solid var(--rm-border);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 2px 10px rgba(15, 23, 40, 0.05);
}

.vm-rm-side-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--rm-text);
    margin: 0 0 8px;
}

.vm-rm-side-apply {
    background: linear-gradient(160deg, var(--rm-dark) 0%, var(--rm-dark-2) 100%);
    border: none;
    color: #fff;
}

.vm-rm-side-apply h3 {
    color: #fff;
}

.vm-rm-side-apply p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
    margin: 0 0 12px;
}

.vm-rm-side-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.vm-rm-side-list li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
}

.vm-rm-side-ad {
    position: relative;
    padding: 14px;
}

.vm-rm-ad-label {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--rm-text-light);
    background: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 1;
}

.vm-rm-side-ad a {
    display: block;
    border-radius: 10px;
    overflow: hidden;
}

.vm-rm-side-ad img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.vm-rm-rules-list {
    margin: 0 0 12px;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.vm-rm-rules-list li {
    font-size: 14px;
    color: var(--rm-text-light);
    line-height: 1.5;
}

.vm-rm-rules-list strong {
    color: var(--rm-text);
}

.vm-rm-rules-note {
    font-size: 13px;
    color: #9aa1ab;
    margin: 0;
    line-height: 1.5;
}

/* ==========================================
   模态框
   ========================================== */
.vm-rm-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 40, 0.6);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 20px;
}

.vm-rm-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.vm-rm-modal {
    position: relative;
    background: #fff;
    border-radius: 18px;
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 30px;
    transform: translateY(16px) scale(0.98);
    transition: transform 0.25s ease;
}

.vm-rm-modal-overlay.open .vm-rm-modal {
    transform: translateY(0) scale(1);
}

.vm-rm-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: var(--rm-bg-soft);
    color: var(--rm-text-light);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vm-rm-modal-close:hover {
    background: #ffe9dc;
    color: var(--rm-orange);
}

.vm-rm-modal h3 {
    font-size: 21px;
    font-weight: 800;
    color: var(--rm-text);
    margin: 0 0 6px;
}

.vm-rm-modal-sub {
    font-size: 14px;
    color: var(--rm-text-light);
    line-height: 1.55;
    margin: 0 0 18px;
}

.vm-rm-field {
    margin-bottom: 14px;
}

.vm-rm-field label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--rm-text);
    margin-bottom: 6px;
}

.vm-rm-field .req {
    color: #d63638;
}

.vm-rm-field input,
.vm-rm-field select,
.vm-rm-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid var(--rm-border);
    border-radius: 9px;
    padding: 11px 13px;
    font-size: 15px;
    color: var(--rm-text);
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
    background: #fff;
}

.vm-rm-field input:focus,
.vm-rm-field select:focus,
.vm-rm-field textarea:focus {
    border-color: var(--rm-orange);
}

.vm-rm-field textarea {
    resize: vertical;
    min-height: 74px;
}

.vm-rm-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

.vm-rm-row-2 .vm-rm-field {
    margin-bottom: 0;
}

.vm-rm-char-count {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #9aa1ab;
    margin-top: 4px;
}

.vm-rm-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #9aa1ab;
}

.vm-rm-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.vm-rm-form-error {
    background: #fdecec;
    border: 1px solid #f5c6c6;
    color: #c62828;
    border-radius: 9px;
    padding: 10px 13px;
    font-size: 14px;
    margin-bottom: 14px;
}

.vm-rm-modal-privacy {
    font-size: 12px;
    color: #9aa1ab;
    text-align: center;
    margin: 12px 0 0;
}

.vm-rm-modal-privacy a {
    color: var(--rm-orange);
}

/* 提交成功 */
.vm-rm-success {
    text-align: center;
    padding: 16px 0 6px;
}

.vm-rm-success-icon {
    font-size: 44px;
    margin-bottom: 10px;
}

.vm-rm-success h3 {
    margin-bottom: 8px;
}

.vm-rm-success p {
    font-size: 15px;
    color: var(--rm-text-light);
    line-height: 1.6;
    margin: 0 0 20px;
}

/* ==========================================
   榜单池（第11名以后，多列网格）
   ========================================== */
.vm-rm-pool {
    margin-top: 36px;
}

.vm-rm-pool-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.vm-rm-pool-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--rm-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.vm-rm-pool-range {
    font-size: 13px;
    font-weight: 600;
    color: var(--rm-text-light);
    background: var(--rm-bg-soft);
    border: 1px solid var(--rm-border);
    border-radius: 999px;
    padding: 3px 10px;
    white-space: nowrap;
}

.vm-rm-pool-viewall {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--rm-orange);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, transform 0.2s ease;
}

.vm-rm-pool-viewall:hover {
    color: var(--rm-orange-light);
    transform: translateX(3px);
}

.vm-rm-pool-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.vm-rm-pool-card {
    background: #fff;
    border: 1px solid var(--rm-border);
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.vm-rm-pool-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.vm-rm-pool-rank {
    font-size: 14px;
    font-weight: 700;
    color: var(--rm-text-light);
    font-variant-numeric: tabular-nums;
}

.vm-rm-pool-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--rm-bg-soft);
    border: 2px solid var(--rm-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vm-rm-pool-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vm-rm-pool-avatar .vm-rm-avatar-fallback {
    font-size: 17px;
}

.vm-rm-pool-name {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--rm-text);
    line-height: 1.35;
    min-height: 41px;
    /* 公司名称完整显示，不截断 */
    word-break: break-word;
}

.vm-rm-pool-name a {
    color: inherit;
    text-decoration: none;
    word-break: break-word;
}

.vm-rm-pool-name a:hover,
.vm-rm-pool-card:hover .vm-rm-pool-name {
    color: var(--rm-orange);
}

.vm-rm-cat-tag-xs {
    align-self: flex-start;
    padding: 2px 8px;
    font-size: 12px;
    margin-bottom: 10px;
}

.vm-rm-pool-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--rm-border);
}

.vm-rm-pool-footer .vm-vote-btn {
    padding: 4px 10px;
    font-size: 13px;
    margin-left: auto;
}

.vm-rm-pool-more {
    margin-top: 20px;
    text-align: center;
}

.vm-rm-loadmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 26px;
    font-size: 15px;
    font-weight: 600;
    color: var(--rm-orange);
    background: #fff;
    border: 1.5px solid var(--rm-orange);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.vm-rm-loadmore-btn:hover:not(:disabled) {
    background: var(--rm-orange);
    color: #fff;
    box-shadow: 0 6px 16px rgba(255, 106, 0, 0.3);
}

.vm-rm-loadmore-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.vm-rm-loadmore-remaining {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.75;
}

/* ==========================================
   响应式
   ========================================== */
@media (max-width: 1024px) {
    .vm-rm-layout {
        grid-template-columns: 1fr;
    }
    
    .vm-rm-sticky {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .vm-rm-side-card {
        flex: 1 1 280px;
    }
}

@media (max-width: 768px) {
    .vm-rm-hero {
        padding: 44px 0 40px;
    }
    
    .vm-rm-hero-title {
        font-size: 28px;
    }
    
    /* 搜索框 + 按钮保持横向并排（与桌面端一致），按钮收窄 */
    .vm-rm-hero-actions {
        margin-bottom: 24px;
    }
    
    .vm-rm-search-form .vm-rm-apply-btn {
        padding: 0 18px;
        font-size: 15px;
        white-space: nowrap;
    }
    
    .vm-rm-stats {
        gap: 28px;
    }
    
    .vm-rm-stat-num {
        font-size: 20px;
    }
    
    /* 领奖台纵向堆叠，第1名置顶 */
    .vm-rm-podium {
        grid-template-columns: 1fr;
        gap: 22px;
        align-items: stretch;
    }
    
    .vm-rm-podium-card.rank-1,
    .vm-rm-podium-card.rank-2,
    .vm-rm-podium-card.rank-3 {
        order: initial;
    }
    
    .vm-rm-podium-card.rank-1 {
        order: 1;
    }
    .vm-rm-podium-card.rank-2 {
        order: 2;
    }
    .vm-rm-podium-card.rank-3 {
        order: 3;
    }
    
    .vm-rm-row {
        flex-wrap: wrap;
    }
    
    .vm-rm-row-votes {
        width: 100%;
        justify-content: space-between;
        padding-top: 10px;
        border-top: 1px solid var(--rm-border);
    }
    
    .vm-rm-row-view {
        display: none;
    }
    
    .vm-rm-row-2 {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .vm-rm-sticky {
        flex-direction: column;
    }
    
    .vm-rm-pool-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .vm-rm-pool-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    
    .vm-rm-pool-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ==========================================
   申请模态框：两列宽布局 + 套餐选择卡片
   ========================================== */
#vc-rm-modal .vm-rm-modal {
    max-width: 880px;
}

.vm-rm-tier {
    margin-bottom: 18px;
}

.vm-rm-tier-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--rm-text);
    margin-bottom: 10px;
}

.vm-rm-tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.vm-rm-tier-card {
    position: relative;
    display: block;
    border: 1.5px solid var(--rm-border);
    border-radius: 12px;
    padding: 16px 12px 12px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.vm-rm-tier-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.vm-rm-tier-card:hover {
    border-color: var(--rm-orange);
}

.vm-rm-tier-card:has(input:checked) {
    border-color: var(--rm-orange);
    background: #fff7f0;
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12);
}

.vm-rm-tier-card-reco {
    border-color: var(--rm-orange);
}

.vm-rm-tier-flag {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--rm-orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 10px;
    white-space: nowrap;
}

.vm-rm-tier-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--rm-text);
}

.vm-rm-tier-price {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--rm-orange);
    margin: 4px 0 8px;
}

.vm-rm-tier-per {
    font-size: 12px;
    font-weight: 600;
    color: var(--rm-text-light);
}

.vm-rm-tier-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vm-rm-tier-benefits li {
    position: relative;
    font-size: 12px;
    line-height: 1.5;
    color: var(--rm-text-light);
    padding: 3px 0 3px 16px;
}

.vm-rm-tier-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--rm-orange);
    font-weight: 700;
}

.vm-rm-tier-benefits li strong {
    color: var(--rm-text);
}

.vm-rm-tier-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--rm-orange);
    text-decoration: none;
}

.vm-rm-tier-link:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .vm-rm-tier-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   SEO 内容区（H2 + FAQ）
   ========================================== */
.vm-rm-seo {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--rm-border);
}

.vm-rm-seo h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--rm-dark);
    line-height: 1.3;
    margin: 44px 0 14px;
    padding-left: 14px;
    border-left: 4px solid var(--rm-orange);
}

.vm-rm-seo h2:first-child {
    margin-top: 0;
}

.vm-rm-seo p {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--rm-text);
    margin: 0 0 16px;
}

.vm-rm-seo-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.vm-rm-seo-list li {
    position: relative;
    padding: 10px 0 10px 28px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--rm-text);
    border-bottom: 1px dashed var(--rm-border);
}

.vm-rm-seo-list li:last-child {
    border-bottom: none;
}

.vm-rm-seo-list li::before {
    content: '✓';
    position: absolute;
    left: 4px;
    color: var(--rm-orange);
    font-weight: 700;
}

.vm-rm-seo-list li strong {
    color: var(--rm-dark);
}

.vm-rm-faq {
    margin-top: 8px;
}

.vm-rm-faq-item {
    background: #fff;
    border: 1px solid var(--rm-border);
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 12px;
}

.vm-rm-faq-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--rm-dark);
    margin: 0 0 8px;
}

.vm-rm-faq-item p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--rm-text);
}

@media (max-width: 640px) {
    .vm-rm-seo {
        margin-top: 28px;
        padding-top: 24px;
    }

    .vm-rm-seo h2 {
        font-size: 22px;
        margin: 32px 0 10px;
    }

    .vm-rm-faq-item {
        padding: 15px 16px;
    }
}
