/* ============================================================
   商家中心 Providers Page
   高端渐变卡片式列表 — 参考 618 促销页暗色奢华风格
   ============================================================ */

/* ========== Hero 区域 ========== */
.providers-hero {
    text-align: center;
    padding: 1.5rem 0 .85rem;
    position: relative;
}

.providers-hero-text {
    max-width: 640px;
    margin: 0 auto;
}

.providers-title {
    font-size: 1.85rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--gt-text-1, #1a1a2e);
    margin-bottom: .4rem;
}

.providers-subtitle {
    font-size: .88rem;
    color: var(--gt-text-3, #888);
    line-height: 1.55;
    padding: .5rem 1.1rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.07), rgba(118, 75, 162, 0.05));
    border-radius: 10px;
    display: inline-block;
    border: 1px solid rgba(102, 126, 234, 0.10);
}

/* ========== 统计数据 — 高端卡片背景 ========== */
.providers-stats {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    margin-top: 1.1rem;
    padding: .75rem 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.06), rgba(251, 146, 60, 0.05), rgba(102, 126, 234, 0.04));
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.08);
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(8px);
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, rgba(102, 126, 234, .2), transparent);
}

.stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--gt-main-color, #667eea);
    line-height: 1.1;
    background: linear-gradient(135deg, var(--gt-main-color, #667eea), #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: .76rem;
    color: var(--gt-text-3, #999);
    margin-top: 4px;
    letter-spacing: .06em;
    font-weight: 500;
}

/* ========== 分类标签 ========== */
.providers-categories {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    justify-content: center;
    padding: .25rem 0 .75rem;
}

.cat-btn {
    padding: .35rem 1rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 50px;
    background: transparent;
    color: var(--gt-text-2, #555);
    font-size: .8rem;
    cursor: pointer;
    transition: all .22s ease;
    font-family: inherit;
    white-space: nowrap;
}

.cat-btn:hover {
    border-color: var(--gt-main-color, #667eea);
    color: var(--gt-main-color, #667eea);
    background: rgba(102, 126, 234, 0.04);
}

.cat-btn.active {
    border-color: transparent;
    background: linear-gradient(135deg, var(--gt-main-color, #667eea), #764ba2);
    color: #fff;
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.28);
    font-weight: 600;
}


/* ============================================================
   商家列表 — 高端渐变卡片式
   行高 72px，圆角 14px，柔和阴影
   ============================================================ */

.providers-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 0 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.provider-row {
    display: flex;
    align-items: center;
    height: 72px;
    text-decoration: none;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffffff 0%, #fafbff 50%, #fff8f5 100%);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, .04),
        0 4px 12px rgba(102, 126, 234, .06),
        inset 0 1px 0 rgba(255, 255, 255, .8);
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    border: 1px solid rgba(0, 0, 0, .035);
    position: relative;
}

/* Hover 光晕扫过效果 */
.provider-row::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .6s ease;
    pointer-events: none;
    z-index: 2;
}

.provider-row:hover::before {
    transform: translateX(100%);
}

.provider-row:hover {
    box-shadow:
        0 8px 28px rgba(102, 126, 234, .12),
        0 2px 8px rgba(0, 0, 0, .06),
        inset 0 1px 0 rgba(255, 255, 255, .9);
    transform: translateY(-2px);
    border-color: rgba(102, 126, 234, .12);
}

/* ---- Logo 区：白底，固定宽度 ---- */
.pr-seg-logo {
    flex-shrink: 0;
    width: 150px;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-right: 1px solid rgba(0, 0, 0, .045);
    position: relative;
    z-index: 1;
}

.pr-seg-logo img {
    max-width: 120px;
    max-height: 44px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform .3s ease;
}

.provider-row:hover .pr-seg-logo img {
    transform: scale(1.06);
}

.pr-logo-text {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- 名称区：自适应宽度 + 居中 ---- */
.pr-seg-name {
    flex-shrink: 0;
    height: 100%;
    background: linear-gradient(135deg, #fff0f3 0%, #fff8f0 50%, #fffbeb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-right: 1px solid rgba(0, 0, 0, .035);
    position: relative;
    z-index: 1;
    min-width: 0;
}

/* 商家名称 — 参考 618 渐变文字风格 */
.pr-name {
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    background: linear-gradient(135deg, #f43f5e, #fb923c, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all .3s ease;
}

.provider-row:hover .pr-name {
    background: linear-gradient(135deg, #ec4899, #f43f5e, #fb923c);
    -webkit-background-clip: text;
    background-clip: text;
}

/* ---- 认证标签：高端渐变徽章 + 光效 ---- */
.pr-seg-cert {
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 10px;
    position: relative;
    z-index: 1;
}

.pr-cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: .35rem .9rem;
    background: linear-gradient(135deg, #10b981, #34d399, #6ee7b7);
    color: #fff;
    border-radius: 50px;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .04em;
    white-space: nowrap;
    box-shadow:
        0 2px 8px rgba(16, 185, 129, .3),
        0 0 0 1px rgba(255, 255, 255, .2) inset,
        0 0 12px rgba(52, 211, 153, .2);
    position: relative;
    overflow: hidden;
    animation: certGlow 3s ease-in-out infinite;
}

/* 认证标签光晕扫过 */
.pr-cert-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
    transform: skewX(-20deg);
    animation: certShine 3s ease-in-out infinite;
}

@keyframes certGlow {
    0%, 100% { box-shadow: 0 2px 8px rgba(16, 185, 129, .3), 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 0 12px rgba(52, 211, 153, .2); }
    50% { box-shadow: 0 2px 12px rgba(16, 185, 129, .45), 0 0 0 1px rgba(255, 255, 255, .3) inset, 0 0 20px rgba(52, 211, 153, .35); }
}

@keyframes certShine {
    0% { left: -60%; }
    40%, 100% { left: 160%; }
}

.pr-cert-badge i {
    font-size: .82rem;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,.1));
}

/* ---- 描述 + 操作区：弹性填充，文字截断 ---- */
.pr-seg-desc {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 16px 0 14px;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.pr-desc {
    font-size: .86rem;
    color: var(--gt-text-3, #8c8c9e);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
    line-height: 1.4;
}

/* 详情按钮 — 渐变背景 + 精致圆角 */
.pr-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: .4rem 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 600;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(102, 126, 234, .28);
    letter-spacing: .02em;
    position: relative;
    overflow: hidden;
}

.pr-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .5s ease;
}

.provider-row:hover .pr-btn::before {
    transform: translateX(100%);
}

.provider-row:hover .pr-btn {
    box-shadow: 0 4px 14px rgba(102, 126, 234, .42);
    transform: scale(1.03);
}

.pr-btn i {
    font-size: .88rem;
    transition: transform .25s ease;
}

.provider-row:hover .pr-btn i {
    transform: translateX(3px);
}


/* ========== 空状态 ========== */
.providers-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gt-text-3, #aaa);
}

.providers-empty i {
    font-size: 3rem;
    display: block;
    margin-bottom: .75rem;
    opacity: .25;
}

.providers-empty p {
    font-size: .92rem;
    margin-bottom: .75rem;
}

.back-link {
    display: inline-block;
    padding: .55rem 1.4rem;
    background: var(--gt-main-color, #667eea);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: .85rem;
    transition: all .22s;
}

.back-link:hover {
    box-shadow: 0 4px 16px rgba(102, 126, 234, .32);
    transform: translateY(-1px);
}


/* ============================================================
   商家详情页 Provider Detail — 高端暗色奢华风
   ============================================================ */

/* ---------- 返回按钮 ---------- */
.provider-detail-back {
    margin-bottom: 1rem;
}

.provider-detail-back a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: .55rem 1.25rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
    transition: all .3s ease;
    box-shadow: 0 3px 12px rgba(102, 126, 234, .3);
    letter-spacing: .02em;
    position: relative;
    overflow: hidden;
}

.provider-detail-back a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .5s ease;
}

.provider-detail-back a:hover::before {
    transform: translateX(100%);
}

.provider-detail-back a:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, .45);
    transform: translateY(-2px);
}

.provider-detail-back a i {
    font-size: 1rem;
    transition: transform .25s ease;
}

.provider-detail-back a:hover i {
    transform: translateX(-3px);
}

/* ---------- Hero — 暗色奢华渐变 ---------- */
.pd-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 0 1.25rem;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, .25),
        0 0 0 1px rgba(255, 255, 255, .04) inset;
}

.pd-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 40%, #24243e 100%);
    z-index: 0;
}

.pd-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(102, 126, 234, .12) 0%, transparent 50%),
        radial-gradient(circle at 85% 20%, rgba(251, 146, 60, .08) 0%, transparent 45%),
        radial-gradient(circle at 50% 90%, rgba(118, 75, 162, .1) 0%, transparent 50%);
}

/* Hero 顶部金色光带 */
.pd-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fbbf24, #f59e0b, #fbbf24, transparent);
    opacity: .6;
    z-index: 1;
}

.pd-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 2rem;
}

.pd-avatar-wrap {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 28px rgba(0, 0, 0, .3),
        0 0 0 3px rgba(251, 191, 36, .15);
    overflow: hidden;
    transition: all .35s ease;
}

.pd-hero:hover .pd-avatar-wrap {
    box-shadow:
        0 8px 28px rgba(0, 0, 0, .3),
        0 0 0 3px rgba(251, 191, 36, .25);
    transform: scale(1.02);
}

.pd-avatar-wrap img {
    width: 78px;
    height: 78px;
    object-fit: contain;
    border-radius: 14px;
}

.pd-avatar-placeholder {
    font-size: 2.4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pd-hero-info {
    flex: 1;
    padding-bottom: 0;
}

.pd-name-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: .5rem;
}

.pd-name {
    font-size: 1.65rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    letter-spacing: -.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
    background: linear-gradient(135deg, #fff, #e0e0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pd-cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: .22rem .7rem;
    border-radius: 50px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .03em;
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #fff;
    border: none;
    box-shadow: 0 2px 10px rgba(16, 185, 129, .35), 0 0 0 1px rgba(255,255,255,.1) inset;
    animation: certGlow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.pd-cert-badge.uncertified {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
    box-shadow: 0 2px 10px rgba(107, 114, 128, .2);
    animation: none;
}

.pd-meta-row {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.pd-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, .55);
    font-size: .82rem;
    background: rgba(255, 255, 255, .05);
    padding: .2rem .7rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, .06);
}

.pd-meta-item i {
    color: rgba(255, 255, 255, .4);
    font-size: .9rem;
}

.pd-meta-item strong {
    color: rgba(255, 255, 255, .85);
    font-weight: 600;
}

/* ---------- 信息卡片网格 — 玻璃拟态 ---------- */
.pd-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.pd-info-card,
.pd-intro-card {
    background: linear-gradient(135deg, #ffffff, #fafbff);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 16px;
    overflow: hidden;
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

.pd-info-card:hover,
.pd-intro-card:hover {
    box-shadow: 0 8px 28px rgba(102, 126, 234, .1);
    border-color: rgba(102, 126, 234, .15);
    transform: translateY(-2px);
}

.pd-intro-card {
    grid-column: 1 / -1;
}

.pd-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 1.25rem .6rem;
    border-bottom: 1px solid rgba(0, 0, 0, .045);
}

.pd-card-icon {
    font-size: 1.15rem;
    color: var(--gt-main-color, #667eea);
    filter: drop-shadow(0 1px 2px rgba(102, 126, 234, .15));
}

.pd-card-label {
    font-size: .88rem;
    font-weight: 800;
    color: var(--gt-text-1, #333);
    letter-spacing: .02em;
}

.pd-card-body {
    padding: .75rem 1.25rem 1.1rem;
}

/* 网址链接 */
.pd-website-url {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .9rem;
    font-weight: 700;
    color: var(--gt-main-color, #667eea);
    word-break: break-all;
    text-decoration: none;
    padding: .3rem 0;
    transition: gap .18s;
}

.pd-website-url:hover {
    gap: 10px;
}

.pd-website-url i {
    font-size: .9rem;
    transition: transform .18s;
}

.pd-website-url:hover i {
    transform: translateX(2px) translateY(-1px);
}

/* 认证状态 */
.pd-status-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pd-status-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pd-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #ccc;
    position: relative;
}

.pd-status-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: .3;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); opacity: .3; }
    50% { transform: scale(1.5); opacity: 0; }
}

.pd-status-dot.verified {
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, .5);
}

.pd-status-text {
    font-size: .86rem;
    color: var(--gt-text-2, #555);
    line-height: 1.5;
    font-weight: 600;
}

.pd-status-disclaimer {
    margin: 0 0 0 20px;
    font-size: .78rem;
    color: var(--gt-text-3, #999);
    line-height: 1.6;
}

/* 时间信息 */
.pd-time-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: .86rem;
    color: var(--gt-text-2, #666);
    padding: .15rem 0;
}

.pd-time-row strong {
    color: var(--gt-text-1, #333);
    font-weight: 700;
}

/* ---------- 商家简介 — 金色奢华卡片 ---------- */
.pd-intro-card .pd-card-header .pd-card-icon {
    color: #d97706;
}

.pd-intro-content {
    font-size: .9rem;
    color: var(--gt-text-1, #444);
    line-height: 1.9;
}

.pd-intro-content p {
    margin: 0 0 .7rem;
}

.pd-intro-content p:last-child {
    margin-bottom: 0;
}

.pd-intro-content strong {
    color: #b45309;
    font-weight: 700;
}

.pd-no-intro {
    color: var(--gt-text-3, #bbb);
    font-style: italic;
    text-align: center;
    padding: 1.5rem;
}

/* ========== 响应式适配 ========== */

@media (max-width: 768px) {
    .providers-hero {
        padding: 1.15rem 0 .7rem;
    }

    .providers-title {
        font-size: 1.45rem;
    }

    .providers-subtitle {
        font-size: .8rem;
        padding: .45rem .85rem;
    }

    .providers-stats {
        gap: 1.5rem;
        padding: .6rem 1rem;
        max-width: 260px;
    }

    .stat-num {
        font-size: 1.45rem;
    }

    .providers-list {
        padding: 0 0 2.5rem;
    }

    /* 列表移动端 */
    .provider-row {
        height: 62px;
        border-radius: 12px;
    }

    .pr-seg-logo {
        width: 100px;
        padding: 0 10px;
    }

    .pr-seg-logo img {
        max-width: 80px;
        max-height: 36px;
    }

    .pr-logo-text {
        width: 38px;
        height: 38px;
        font-size: 1.15rem;
    }

    .pr-seg-name {
        padding: 0 10px;
    }

    .pr-name {
        font-size: .88rem;
    }

    .pr-cert-badge {
        padding: .26rem .65rem;
        font-size: .68rem;
    }

    .pr-seg-desc {
        padding: 0 10px 0 10px;
        gap: 8px;
    }

    .pr-desc {
        font-size: .75rem;
    }

    .pr-btn {
        padding: .32rem .75rem;
        font-size: .7rem;
    }

    /* 详情页移动端 */
    .pd-hero {
        border-radius: 14px;
        margin: 0 0 .85rem;
    }

    .pd-hero-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.6rem 1.25rem;
        gap: 1rem;
    }

    .pd-avatar-wrap {
        width: 74px;
        height: 74px;
        border-radius: 16px;
    }

    .pd-avatar-wrap img {
        width: 64px;
        height: 64px;
        border-radius: 12px;
    }

    .pd-name {
        font-size: 1.35rem;
    }

    .pd-cards {
        grid-template-columns: 1fr;
    }

    .pd-meta-row {
        gap: .65rem;
    }
}

@media (max-width: 480px) {
    .providers-categories {
        gap: .3rem;
    }

    .cat-btn {
        padding: .28rem .78rem;
        font-size: .75rem;
    }

    .providers-subtitle {
        font-size: .77rem;
        padding: .4rem .7rem;
    }

    .provider-row {
        height: 56px;
        border-radius: 10px;
        gap: 0;
    }

    .pr-seg-logo {
        width: 80px;
        padding: 0 6px;
    }

    .pr-seg-logo img {
        max-width: 68px;
        max-height: 30px;
    }

    .pr-seg-name {
        padding: 0 7px;
    }

    .pr-name {
        font-size: .78rem;
    }

    .pr-cert-badge {
        padding: .2rem .5rem;
        font-size: .6rem;
        gap: 3px;
    }

    .pr-cert-badge i {
        font-size: .7rem;
    }

    .pr-seg-desc {
        padding: 0 8px;
        gap: 6px;
    }

    .pr-desc {
        font-size: .68rem;
    }

    .pr-btn {
        padding: .24rem .55rem;
        font-size: .62rem;
    }

    .pd-hero-content {
        padding: 1.25rem 1rem;
    }

    .pd-name {
        font-size: 1.15rem;
    }
}


/* ============================================================
   暗色模式适配 — 默认暗色 + 金黄色边框奢华风格
   ============================================================ */

[data-theme="dark"] .providers-title,
html[data-color-mode="dark"] .providers-title,
body.theme-dark .providers-title {
    color: #e8e8f0 !important;
}

[data-theme="dark"] .providers-subtitle,
html[data-color-mode="dark"] .providers-subtitle,
body.theme-dark .providers-subtitle {
    color: #a0a0b8 !important;
    background: rgba(255, 255, 255, .04) !important;
    border-color: rgba(255, 255, 255, .07) !important;
}

/* 统计暗色 */
[data-theme="dark"] .providers-stats,
html[data-color-mode="dark"] .providers-stats,
body.theme-dark .providers-stats {
    background: linear-gradient(135deg, rgba(102, 126, 234, .1), rgba(251, 146, 60, .06), rgba(102, 126, 234, .08)) !important;
    border-color: rgba(251, 191, 36, .12) !important;
}

[data-theme="dark"] .stat-num,
html[data-color-mode="dark"] .stat-num,
body.theme-dark .stat-num {
    background: linear-gradient(135deg, #818cf8, #c084fc) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

[data-theme="dark"] .stat-label,
html[data-color-mode="dark"] .stat-label,
body.theme-dark .stat-label {
    color: #8888a0 !important;
}

/* 列表行暗色 — 整个行明显渐变底色（参考千鸟盾按钮蓝绿→紫→金） */
[data-theme="dark"] .provider-row,
html[data-color-mode="dark"] .provider-row,
body.theme-dark .provider-row {
    background: linear-gradient(95deg, #0d9488 0%, #0f766e 8%, #4f46e5 45%, #7c3aed 65%, #d97706 92%, #b45309 100%) !important;
    border: 1px solid rgba(251, 191, 36, .25) !important;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, .35),
        0 0 24px rgba(79, 70, 229, .15),
        inset 0 1px 0 rgba(255, 255, 255, .1) !important;
}

[data-theme="dark"] .provider-row:hover,
html[data-color-mode="dark"] .provider-row:hover,
body.theme-dark .provider-row:hover {
    background: linear-gradient(95deg, #14b8a6 0%, #10b981 8%, #6366f1 45%, #8b5cf6 65%, #f59e0b 92%, #d97706 100%) !important;
    border-color: rgba(251, 191, 36, .45) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, .4),
        0 0 40px rgba(99, 102, 241, .25),
        inset 0 1px 0 rgba(255, 255, 255, .14) !important;
    transform: translateY(-2px);
}

/* Logo 区：暗色下恢复白色底 */
[data-theme="dark"] .pr-seg-logo,
html[data-color-mode="dark"] .pr-seg-logo,
body.theme-dark .pr-seg-logo {
    background: #ffffff !important;
    border-right-color: rgba(255, 255, 255, .12) !important;
}

/* 名称区：和行渐变呼应的暗色版蓝绿→紫→琥珀 */
[data-theme="dark"] .pr-seg-name,
html[data-color-mode="dark"] .pr-seg-name,
body.theme-dark .pr-seg-name {
    background: linear-gradient(95deg, #030e0e 0%, #1d5b47 50%, #1a668b 100%) !important;
    border-right-color: rgba(255, 255, 255, .1) !important;
}

[data-theme="dark"] .pr-name,
html[data-color-mode="dark"] .pr-name,
body.theme-dark .pr-name {
    background: linear-gradient(135deg, #34d399, #fcd34d, #fb923c) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* 描述区：透明，让渐变底色透出 */
[data-theme="dark"] .pr-seg-desc,
html[data-color-mode="dark"] .pr-seg-desc,
body.theme-dark .pr-seg-desc {
    background: transparent !important;
}

[data-theme="dark"] .pr-desc,
html[data-color-mode="dark"] .pr-desc,
body.theme-dark .pr-desc {
    color: rgba(255, 255, 255, .82) !important;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

/* 认证标签：在渐变背景上更突出 */
[data-theme="dark"] .pr-cert-badge,
html[data-color-mode="dark"] .pr-cert-badge,
body.theme-dark .pr-cert-badge {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    box-shadow: 0 2px 10px rgba(16, 185, 129, .45), 0 0 0 1px rgba(255,255,255,.2) inset !important;
}

/* 详情按钮：在渐变背景上更亮 */
[data-theme="dark"] .pr-btn,
html[data-color-mode="dark"] .pr-btn,
body.theme-dark .pr-btn {
    background: linear-gradient(135deg, #a78bfa, #7c3aed) !important;
    box-shadow: 0 2px 12px rgba(139, 92, 246, .5) !important;
}

[data-theme="dark"] .provider-row:hover .pr-btn,
html[data-color-mode="dark"] .provider-row:hover .pr-btn,
body.theme-dark .provider-row:hover .pr-btn {
    box-shadow: 0 4px 18px rgba(139, 92, 246, .65) !important;
}

[data-theme="dark"] .pr-btn,
html[data-color-mode="dark"] .pr-btn,
body.theme-dark .pr-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, .28) !important;
}

[data-theme="dark"] .provider-row:hover .pr-btn,
html[data-color-mode="dark"] .provider-row:hover .pr-btn,
body.theme-dark .provider-row:hover .pr-btn {
    box-shadow: 0 4px 14px rgba(99, 102, 241, .42) !important;
}

/* 分类按钮暗色 */
[data-theme="dark"] .cat-btn,
html[data-color-mode="dark"] .cat-btn,
body.theme-dark .cat-btn {
    border-color: #3a3a55;
    color: #b0b0c8;
}

[data-theme="dark"] .cat-btn:hover,
html[data-color-mode="dark"] .cat-btn:hover,
body.theme-dark .cat-btn:hover {
    background: rgba(129, 140, 248, .07);
    border-color: #667eea;
    color: #818cf8;
}

/* 详情页暗色 — 高端奢华 */
[data-theme="dark"] .provider-detail-back a,
html[data-color-mode="dark"] .provider-detail-back a,
body.theme-dark .provider-detail-back a {
    background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
    box-shadow: 0 3px 12px rgba(79, 70, 229, .35) !important;
}

[data-theme="dark"] .pd-hero,
html[data-color-mode="dark"] .pd-hero,
body.theme-dark .pd-hero {
    border-color: rgba(251, 191, 36, .15) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, .4),
        0 0 24px rgba(251, 191, 36, .04),
        0 0 0 1px rgba(255, 255, 255, .03) inset !important;
}

[data-theme="dark"] .pd-hero:hover,
html[data-color-mode="dark"] .pd-hero:hover,
body.theme-dark .pd-hero:hover {
    border-color: rgba(251, 191, 36, .25) !important;
}

[data-theme="dark"] .pd-hero-bg,
html[data-color-mode="dark"] .pd-hero-bg,
body.theme-dark .pd-hero-bg {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 40%, #0f172a 100%) !important;
}

[data-theme="dark"] .pd-avatar-wrap,
html[data-color-mode="dark"] .pd-avatar-wrap,
body.theme-dark .pd-avatar-wrap {
    background: rgba(30, 30, 48, .95) !important;
    box-shadow:
        0 8px 28px rgba(0, 0, 0, .4),
        0 0 0 3px rgba(251, 191, 36, .1) !important;
}

[data-theme="dark"] .pd-name,
html[data-color-mode="dark"] .pd-name,
body.theme-dark .pd-name {
    background: linear-gradient(135deg, #fff, #c4b5fd) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

[data-theme="dark"] .pd-meta-item,
html[data-color-mode="dark"] .pd-meta-item,
body.theme-dark .pd-meta-item {
    background: rgba(255, 255, 255, .04) !important;
    border-color: rgba(255, 255, 255, .06) !important;
    color: rgba(255, 255, 255, .5) !important;
}

[data-theme="dark"] .pd-meta-item strong,
html[data-color-mode="dark"] .pd-meta-item strong,
body.theme-dark .pd-meta-item strong {
    color: rgba(255, 255, 255, .85) !important;
}

[data-theme="dark"] .pd-info-card,
[data-theme="dark"] .pd-intro-card,
html[data-color-mode="dark"] .pd-info-card,
html[data-color-mode="dark"] .pd-intro-card,
body.theme-dark .pd-info-card,
body.theme-dark .pd-intro-card {
    background: linear-gradient(135deg, #1a1a2e, #161628) !important;
    border-color: rgba(251, 191, 36, .1) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15) !important;
}

[data-theme="dark"] .pd-info-card:hover,
[data-theme="dark"] .pd-intro-card:hover,
html[data-color-mode="dark"] .pd-info-card:hover,
html[data-color-mode="dark"] .pd-intro-card:hover,
body.theme-dark .pd-info-card:hover,
body.theme-dark .pd-intro-card:hover {
    border-color: rgba(251, 191, 36, .2) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .25), 0 0 20px rgba(251, 191, 36, .04) !important;
}

[data-theme="dark"] .pd-card-header,
html[data-color-mode="dark"] .pd-card-header,
body.theme-dark .pd-card-header {
    border-bottom-color: rgba(255, 255, 255, .05) !important;
}

[data-theme="dark"] .pd-card-label,
html[data-color-mode="dark"] .pd-card-label,
body.theme-dark .pd-card-label {
    color: #e4e4ec !important;
}

[data-theme="dark"] .pd-status-text,
html[data-color-mode="dark"] .pd-status-text,
body.theme-dark .pd-status-text {
    color: #d0d0e0 !important;
}

[data-theme="dark"] .pd-status-disclaimer,
html[data-color-mode="dark"] .pd-status-disclaimer,
body.theme-dark .pd-status-disclaimer {
    color: #707088 !important;
}

[data-theme="dark"] .pd-time-row,
html[data-color-mode="dark"] .pd-time-row,
body.theme-dark .pd-time-row {
    color: #9999b4 !important;
}

[data-theme="dark"] .pd-time-row strong,
html[data-color-mode="dark"] .pd-time-row strong,
body.theme-dark .pd-time-row strong {
    color: #e4e4ec !important;
}

[data-theme="dark"] .pd-intro-content,
html[data-color-mode="dark"] .pd-intro-content,
body.theme-dark .pd-intro-content {
    color: #c0c0d4 !important;
}

[data-theme="dark"] .pd-intro-content strong,
html[data-color-mode="dark"] .pd-intro-content strong,
body.theme-dark .pd-intro-content strong {
    color: #fcd34d !important;
}

[data-theme="dark"] .pd-intro-card .pd-card-header .pd-card-icon,
html[data-color-mode="dark"] .pd-intro-card .pd-card-header .pd-card-icon,
body.theme-dark .pd-intro-card .pd-card-header .pd-card-icon {
    color: #fbbf24 !important;
}

[data-theme="dark"] .providers-empty,
html[data-color-mode="dark"] .providers-empty,
body.theme-dark .providers-empty {
    color: #707088 !important;
}
