@charset "utf-8";

/* ==========================================
   Pad 佳丽风采 - 服务排行 样式表
   设计稿基准: 1194px * 834px (iPad Pro 11寸)
   基准换算: 100px = 1rem (1px = 0.01rem)
   ========================================== */

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    user-select: none;
    -webkit-user-select: none;
    background-color: #120324;
}

/* 页面整体大容器: 满屏固定，flex 列向布局 */
.pad-container {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    background: url('../img/pad/bg-pad.png') no-repeat center center;
    background-size: cover;
    box-sizing: border-box;
}

/* ==========================================
   1. 顶部 Header (固定)
   ========================================== */
.pad-header {
    flex-shrink: 0;
    height: 0.82rem;
    padding: 0 0.28rem;


    position: relative;
    z-index: 30;
    box-sizing: border-box;
}

/* 顶部左侧/中间 Tab 导航 */
.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: .2rem;
    left: 1.3rem;
}

.nav-tab {
    font-size: 0.17rem;
    color: #9277c2;
    cursor: pointer;
    transition: all 0.25s ease;
    margin: 0 0.28rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    background: linear-gradient(0deg, #563cd8 14%, #b232e5 75%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    z-index: 1;
}

.nav-tab:hover {
    color: #fff;
    -webkit-text-fill-color: #fff;
    text-align: center;
}

/* 激活的 Tab：使用设计稿胶囊切图 bg-fuwupaihang.png */
.active {
    width: 1.42rem;
    height: 0.44rem;
    background: url('../img/pad/bg-fuwupaihang.png') no-repeat center center;
    background-size: 100% 100%;
    color: #ffffff !important;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    border-radius: 0.24rem;
    margin: 0 0.2rem;
    color: #fff;
    text-align: center;
    -webkit-text-fill-color: #fff;


}

.active span {
    color: #ffffff !important;
    color: #fff;
    text-align: center;
    -webkit-text-fill-color: #fff;
}

/* 顶部右侧功能区 */
.header-right {
    position: absolute;
    right: .28rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    width: auto;
}

/* 搜索胶囊框 */
.search-box {
    width: 3.3rem;
    height: 0.44rem;
    background: rgba(178, 50, 229, 0.3);
    border: 1px solid rgba(135, 70, 210, 0.4);
    border-radius: 0.5rem;
    display: flex;
    line-height: .44rem;
    align-items: center;
    padding: 0 0.14rem 0 0.16rem;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.search-box:focus-within {
    border-color: rgba(185, 105, 255, 0.85);
    box-shadow: 0 0 12px rgba(170, 80, 255, 0.35);
    background: rgba(45, 14, 78, 0.75);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.14rem;
    line-height: 0.34rem;
}

.search-input::placeholder {
    color: #7b5fa5;
}

.search-icon {
    width: 0.22rem;
    height: 0.22rem;
    cursor: pointer;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.2s, transform 0.2s;
}

.search-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* 右侧用户头像 */
.user-avatar {
    width: 0.36rem;
    height: 0.36rem;
    border-radius: 50%;
    margin-left: 0.18rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    background: #6a4290;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================
   2. 中间卡片区 (独立顺畅滑动)
   ========================================== */
.pad-main {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0.1rem 0.24rem 0.2rem;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

/* 自定义优美滚动条 */
.pad-main::-webkit-scrollbar {
    width: 6px;
}

.pad-main::-webkit-scrollbar-track {
    background: transparent;
}

.pad-main::-webkit-scrollbar-thumb {
    background: rgba(180, 100, 255, 0.25);
    border-radius: 3px;
}

.pad-main::-webkit-scrollbar-thumb:hover {
    background: rgba(180, 100, 255, 0.5);
}

/* 卡片网格布局：
   横屏 1194px 下，5 列卡片，每列卡片 2.18rem，间距 0.16rem
   2.18 * 5 + 0.16 * 4 = 10.9 + 0.64 = 11.54rem，完美居中 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(5, 2.18rem);
    justify-content: space-between;
    gap: 0.16rem;
    width: 100%;
    max-width: 11.54rem;
    margin: 0 auto;
}

/* 单个卡片 */
.beauty-card {
    width: 2.18rem;
    height: 3.05rem;
    background: #1e093a;
    border: 1px solid rgba(165, 80, 235, 0.55);
    border-radius: .1rem;

    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45);
    position: relative;
    box-sizing: border-box;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.2s;
    cursor: pointer;
}

.beauty-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(180, 70, 255, 0.35);
    border-color: rgba(210, 120, 255, 0.85);
}

/* 上部照片容器 */
.card-photo-box {
    position: relative;
    width: 100%;
    height: 2.71rem;
    /* overflow: hidden; */
    padding: .06rem;
    box-sizing: border-box;
    border-radius: .1rem .1rem 0 0;
    background: rgba(178, 50, 229, 0.4);
}

.card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: .1rem;
    transition: transform 0.35s ease;
}

.beauty-card:hover .card-photo {
    transform: scale(1.03);
}

/* 左上角段位胶囊徽章 */
.rank-badge {
    position: absolute;
    top: -0.03rem;
    left: -0.06rem;
    display: flex;
    align-items: center;
    z-index: 5;
    pointer-events: none;
}

.rank-icon {
    width: 0.54rem;
    height: 0.42rem;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.rank-text-pill {
    margin-left: -0.2rem;
    padding: 0.02rem 0.08rem 0.02rem 0.22rem;
    border-radius: 0 0 0.12rem 0;
    font-size: 0.14rem;
    font-weight: bold;


    line-height: 0.22rem;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);

}

/* 不同段位渐变底色与边框 */
/* 王者: 橙金色 */
.rank-badge.wangzhe .rank-text-pill {
    background: linear-gradient(180deg, #fff4be 0%, #ffba41 100%);
    color: #DB6506;
}

.chuqinbox {
    position: absolute;
    top: -0.03rem;
    left: -0.15rem;
}

/* 考勤排行: 淡金色 */
.rank-badge.chuqinbox .rank-text-pill {
    border-radius: 0px 0px .1rem 10px;
    opacity: 1;

    background: rgba(255, 213, 107, 0.78);
    color: #6C3E0F;
    font-size: .14rem;
    font-weight: 500;
}

.rank-badge.chuqinbox .rank-text-pill>i {
    font-size: .16rem;
    font-weight: bold;
}

/* 钻石: 科技蓝 */
.rank-badge.zuanshi .rank-text-pill {
    background: linear-gradient(180deg, #b8e3ff 0%, #45a5f0 100%);
    color: #1166B6;
}

/* 黄金: 暖金黄 */
.rank-badge.huangjin .rank-text-pill {
    background: linear-gradient(180deg, #fff3e0 0%, #e89054 100%);
    color: #A45024;
}

/* 白银: 银紫蓝 */
.rank-badge.baiyin .rank-text-pill {
    background: linear-gradient(180deg, #eff3fa 0%, #8a9dd0 100%);
    color: #475B89;
}

/* 青铜: 青碧绿 */
.rank-badge.qingtong .rank-text-pill {
    background: linear-gradient(180deg, #bbe8e2 0%, #66a398 100%);
    color: #214337;
}

/* 右上角出勤/上钟角标 */
.card-corner-status {
    position: absolute;
    top: 0.05rem;
    right: 0.06rem;
    width: 0.59rem;
    height: 0.54rem;
    z-index: 5;
    pointer-events: none;
}

.card-corner-status img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 下部信息底栏 */
.card-info {
    height: 0.36rem;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.card-group {
    width: 50%;
    font-size: 0.18rem;
    color: #ffffff;
    font-weight: normal;
    letter-spacing: 0.5px;
    opacity: 0.95;
    height: .36rem;
    border-radius: 0px 0px 0px .1rem;
    opacity: 1;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: .36rem;
    white-space: nowrap;
    text-align: center;
    background: linear-gradient(90deg, #947eff 0%, #d068f9 100%);
}

.card-name {
    width: 50%;
    font-size: 0.18rem;
    color: #ffffff;
    font-weight: bold;
    height: .36rem;
    letter-spacing: 0.5px;
    border-radius: 0px 0px .1rem 0;
    opacity: 1;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: .36rem;
    white-space: nowrap;
    text-align: center;
    background: #B232E5;
}

/* ==========================================
   3. 底部 Footer (固定)
   ========================================== */
.pad-footer {
    flex-shrink: 0;
    height: 1rem;
    position: relative;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #563cd800 0%, #8637df 52%, #b232e500 100%);

}

/* 底部中央导航按钮 */
.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    opacity: 0.72;
    /* padding: 0.04rem 0.2rem; */
    border-radius: 0.08rem;
}

.footer-btn:hover {
    transform: translateY(-2px);
    opacity: 1;
}

/* 激活态：佳丽风采带半透明紫色圆角发光背景框 */
.footer-btn.active {
    opacity: 1;

    height: 1rem;
    background: rgba(178, 50, 229, 0.4);
}

.footer-icon {
    width: 0.38rem;
    height: 0.38rem;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.45));
}

.footer-btn.active .footer-icon {
    filter: drop-shadow(0 2px 8px rgba(255, 80, 160, 0.6));
}

.footer-text {
    font-size: 0.18rem;
    color: #fff;
    margin-top: 0.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.footer-btn.active .footer-text {
    color: #ffffff;
    font-weight: bold;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* 底部右侧二维码: 直接显示无白底框 */
.footer-qrcode {
    position: absolute;
    right: 0.28rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.64rem;
    height: 0.64rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.footer-qrcode:hover {
    transform: translateY(-50%) scale(1.08);
}

.footer-qrcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

/* ==========================================
   4. 竖屏 (Portrait) 与 响应式适配
   iPad 竖屏 (834px * 1194px) / 手机竖屏
   ========================================== */
@media screen and (orientation: portrait),
screen and (max-width: 960px) {

    .nav-tab {
        font-size: 0.16rem;
        margin: 0 0.12rem 0 0;
    }

    .nav-tab.active {
        width: 1.26rem;
        height: 0.34rem;
        margin: 0 0.12rem 0 0;
    }



    .search-box {
        width: 2.1rem;
        height: 0.34rem;
    }

    /* 竖屏下卡片网格自适应：支持 3~4 列整齐居中，保证卡片大图高清美观 */
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(2.18rem, 1fr));
        justify-items: center;
        gap: 0.2rem 0.16rem;
        max-width: 100%;
        padding: 0 0.1rem;
    }

    .footer-nav {
        gap: 0.45rem;
    }

    .footer-qrcode {
        right: 0.22rem;
        width: 0.58rem;
        height: 0.58rem;
    }
}

.yejifenshu {
    position: absolute;
    top: 0.06rem;
    left: 0.06rem;
    width: 1.1rem;
    height: .22rem;
    font-weight: 700;
    font-size: .16rem;
    line-height: .22rem;
    border-radius: 0.1rem 0px 0.1rem 0px;
    font-family: Source Han Sans;
    opacity: 1;
    color: #251C0D;
    letter-spacing: 0.05em;
    background: linear-gradient(180deg, #f2ba46 0%, #e29a3f 100%);
    text-align: center;
}

/* ==========================================
   5. 佳丽详情页样式 (jialifengcai-detail.html)
   设计基准: 1194px * 834px (1rem = 100px)
   ========================================== */
.detail-main {
    padding: 0.12rem 0.5rem 0.2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
}

/* 模块标题 (带有紫色麦克风/话筒图标) */
.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 0.14rem;
}

.title-icon {
    width: 0.22rem;
    height: 0.26rem;
    object-fit: contain;
    margin-right: 0.1rem;
    filter: drop-shadow(0 2px 4px rgba(180, 50, 240, 0.5));
}

.title-text {
    font-size: 0.17rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    background: linear-gradient(180deg, #ca55f0 0%, #7d33d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    background: linear-gradient(2deg, #563cd8 27%, #b232e5 73%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* 上半部分：人员基础信息区域 */
.detail-top-section {
    display: flex;
    align-items: stretch;
    margin-bottom: 0.2rem;
    flex-shrink: 0;
}

/* 左侧头像大图容器 */
.detail-avatar-box {
    width: 1.76rem;
    height: 2.2rem;
    border-radius: 0.12rem;
    position: relative;
    padding: 0.04rem;
    box-sizing: border-box;
    background: rgba(178, 50, 229, 0.4);
    border: 1px solid rgba(195, 95, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    flex-shrink: 0;
}

.detail-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.08rem;
    display: block;
}

/* 右上角状态角标 (如出勤/已上钟) */
.detail-status-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 0.56rem;
    height: 0.52rem;
    pointer-events: none;
    z-index: 5;
}

.detail-status-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 右侧信息主体 */
.detail-info-area {
    flex: 1;
    margin-left: 0.42rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* 基础信息 3 列网格 */
.info-grid {
    display: grid;
    grid-template-columns: 2.2rem 2.8rem 1fr;
    row-gap: 0.22rem;
    column-gap: 0.2rem;
    align-items: center;
    margin-top: 0.1rem;
}

.info-item {
    display: flex;
    align-items: center;
    font-size: 0.16rem;
    line-height: 1.4;
    white-space: nowrap;
}

.info-label {
    color: #dfcdff;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: .16rem;
    flex-shrink: 0;
    color: #FFFFFF;
    font-weight: 500;
    width: .8rem;
}

.info-val {
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: .16rem;
}

/* 艺名加粗加大 */
.info-val.val-name {
    font-size: 0.22rem;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 1px;
}

/* 等级高亮橙金数字 */
.info-val.val-level {
    color: #fca034;
    font-size: 0.2rem;
    font-weight: bold;
    font-family: Arial, "Helvetica Neue", sans-serif;
    font-variation-settings: "opsz" auto;
    font-feature-settings: "kern" on;
    background: linear-gradient(180deg, #e98441 0%, #f2ba46 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    z-index: 0;
}

/* 服务评级包装 */
.rank-badge-wrap {
    display: inline-flex;
    align-items: center;
}

.rank-badge-wrap .rank-badge {
    position: static;
    top: auto;
    left: auto;
    display: flex;
    align-items: center;
}

.rank-badge-wrap .rank-icon {
    width: 0.42rem;
    height: 0.32rem;
}

.rank-badge-wrap .rank-text-pill {
    margin-left: -0.16rem;
    padding: 0.00rem 0.12rem 0.0rem 0.18rem;
    font-size: 0.14rem;
    height: 0.22rem;
    line-height: 0.22rem;
    color: #DB6506;
    border-radius: 0 0 0.12rem 0;
}

/* 业绩评分高亮数字 */
.val-score-num {
    color: #EC9943;
    font-size: 0.22rem;
    font-weight: bold;
    font-family: Arial, "Helvetica Neue", sans-serif;
}

.val-score-unit {
    color: #ffffff;
    font-size: 0.15rem;
    font-weight: normal;
    margin-left: 0.04rem;
}

/* 下半部分：其他艺术照片 */
.detail-bottom-section {
    margin-top: 0.05rem;
    flex-shrink: 0;
}

/* 整个艺术照片滑动带容器：紫色圆角卡槽背景 */
.gallery-wrapper {
    position: relative;
    width: 100%;
    height: 2.85rem;
    background: rgba(65, 12, 115, 0.75);
    border: 1px solid rgba(165, 75, 235, 0.4);
    border-radius: 0.12rem;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0 0.18rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: linear-gradient(90deg, #563cd880 0%, #b232e580 100%);
}

/* 左右切换箭头按钮 */
.gallery-nav-btn {
    width: 0.44rem;
    height: 0.44rem;
    flex-shrink: 0;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s;
    user-select: none;
    -webkit-user-select: none;
}

.gallery-nav-btn:hover {
    transform: scale(1.15);
}

.gallery-nav-btn:active {
    transform: scale(0.95);
}

.gallery-nav-btn img {
    width: 0.38rem;
    height: 0.38rem;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

/* 滚动视口容器 */
.gallery-viewport {
    flex: 1;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    margin: 0 0.12rem;
    display: flex;
    align-items: center;
    scrollbar-width: none;
    /* Firefox */
}

.gallery-viewport::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.gallery-viewport.active-drag {
    cursor: grabbing;
    cursor: -webkit-grabbing;
    scroll-behavior: auto;
}

/* 照片滚动轨道 */
.gallery-track {
    display: flex;
    align-items: center;
    gap: 0.14rem;
    padding: 0.15rem 0;
    box-sizing: border-box;
}

/* 单张艺术照片卡片项 */
.gallery-item {
    width: 1.76rem;
    height: 2.45rem;
    flex-shrink: 0;
    border-radius: 0.08rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 6px 18px rgba(190, 80, 255, 0.5);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================
   竖屏 (Portrait) 与 多端适配
   iPad 竖屏 (834px * 1194px) / 手机竖屏
   ========================================== */
@media screen and (orientation: portrait),
screen and (max-width: 960px) {
    .detail-main {
        padding: 0.16rem 0.24rem 0.3rem;
        overflow-y: auto;
    }

    .detail-top-section {
        flex-direction: row;
        align-items: flex-start;
        margin-bottom: 0.24rem;
    }

    .detail-avatar-box {
        width: 1.6rem;
        height: 2.05rem;
    }

    .detail-info-area {
        margin-left: 0.24rem;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 0.18rem;
        column-gap: 0.16rem;
    }

    .gallery-wrapper {
        height: 2.6rem;
        padding: 0 0.1rem;
    }

    .gallery-item {
        width: 1.55rem;
        height: 2.2rem;
    }
}

.bunengdian {
    position: absolute;
    top: 0.06rem;
    right: 0.06rem;
    bottom: 0.06rem;
    left: 0.06rem;
    width: calc(100% - .12rem);
    height: 2.71rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: .1rem;
    backdrop-filter: blur(5px);
}

.biaoqianbox {
    position: absolute;
    top: .03rem;
    right: .04rem;
}


.service-dafen {
    width: 8.16rem;
    height: 3.2rem;
    background: url(../img/pad/bg-dafen.png) no-repeat center center;
    background-size: cover;
    margin: 0 auto;

}

.service-dafen dt {
    color: #FFFFFF;
    font-family: Source Han Sans;
    font-size: .22rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: .26rem;
    padding-top: 1.3rem;
    padding-left: .7rem;
}

.service-dafen dd {
    width: 3.36rem;
    height: 0.44rem;
    border-radius: 0.1rem;
    opacity: 1;
    font-size: .22rem;
    font-weight: bold;
    text-align: center;
    padding-left: .2rem;
    color: #fff;
    line-height: .44rem;
    margin-left: 2.6rem;
    background: linear-gradient(90deg, #947eff 0%, #d068f9 100%);
}


/* 评价体系 */
.popup-wrap {
    width: 100%;

    margin: 0 auto;
}

.row-top {
    display: grid;
    grid-template-columns: 1fr 1fr;


    width: 4.54rem;
    gap: .62rem;
    margin: 0 auto;
    margin-bottom: .3rem;
}

.row-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 7.06rem;
    gap: .59rem;
    margin: 0 auto;

}

.card-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;

}

.emoji-box {
    width: 1.96rem;
    height: 2.24rem;

    display: flex;

    justify-content: center;
    position: relative;
}

.emoji-box>img {
    display: block;
    width: 100%;
    margin: 0 auto;
}


.img-box {
    width: 1.96rem;
    height: 2.24rem;
    /* 图片空位，你后续放图 */
    border-radius: 12px;
    display: flex;

    justify-content: center;
}

.star-text {
    color: #fff;
    font-size: .14rem;
    display: flex;
}

.star-text>span {
    display: block;
    margin-right: .04rem;
}

.star-text>img {
    display: block;
    width: .16rem;
    height: .16rem;
    margin-right: .04rem;
}

.btn-confirm {
    width: 1.58rem;
    height: .34rem;
    border-radius: .1rem;
    opacity: 1;

    background: linear-gradient(90deg, #947eff 0%, #d068f9 100%);
    background: linear-gradient(90deg, #9b4de0, #7b42f5);
    color: #fff;
    border: none;
    border-radius: .1rem;
    font-size: .18rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: .1rem;
}

.price-text {
    color: #fff;
    width: 100%;
    height: .24rem;
    position: absolute;
    top: 0;
    left: 0;
    font-size: .22rem;
    text-align: center;
    font-weight: bold;
}

.erweimabox {
    position: fixed;
    top: 0;
    left: 0;
}

.erweimafukuan {
    width: 3.8rem;
    height: 3.8rem;
    border-radius: .1rem;
    opacity: 1;

    background: linear-gradient(1deg, #563cd899 0%, #b232e599 85%);
}

.erweimabox {
    position: fixed;
    inset: 0;
    /* 上下左右0，铺满全屏 */
    background: rgba(15, 1, 21, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.erweimafukuan {
    position: absolute;
    /* 绝对定位居中方案 */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3.4rem;
    height: 3.4rem;
    border-radius: .1rem;
    opacity: 1;

    background: linear-gradient(1deg, #563cd899 0%, #b232e599 85%);


    display: flex;
    align-items: center;
    justify-content: center;
    padding: .25rem;
}

.erweimabox>h4 {
    width: 5.04rem;
    height: 1.34rem;
    position: absolute;
    /* 绝对定位居中方案 */
    top: calc(50% - 2.3rem);
    ;
    left: 50%;
    background: url(../img/pad/bg-erweimatit.png) top center;
    background-size: 100% 100%;
    transform: translate(-50%, -50%);
    color: #FFFFFF;
    font-size: .28rem;
    font-weight: bold;
    line-height: 1rem;
    text-align: center;
    z-index: 9999999;
}

.erweimafukuan img {
    display: block;
    width: 3.3rem;
    height: 3.3rem;
    border-radius: .15rem;
}

.guanbibtn {
    position: absolute;
    top: calc(50% + 1.54rem);
    /* 在erweimafukuan盒子下方 */
    left: 50%;
    transform: translateX(-50%);
    margin-top: 20px;
    width: .36rem;
    height: .36rem;
    cursor: pointer;
}

.xianhuabox {

    position: absolute;
    /* 绝对定位居中方案 */
    top: calc(50% - 1.54rem);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4.45rem;
    height: 4.45rem;

    opacity: 1;
}

.xianhuabox>img {
    width: 100%;
    display: block;
    margin: 0 auto;
}

.xianhuabox video {
    width: 4.45rem;
    height: 4.45rem;
    margin: 0 auto;
}

.gongxinibox {
    position: absolute;
    /* 绝对定位居中方案 */
    top: calc(50% + 1.74rem);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4.88rem;
    height: 2.5rem;
    background: url(../img/pad/bg-jifen.png) top center;
    background-size: 100% 100%;


}

.gongxinibox>div {
    font-family: Source Han Sans;
    font-size: .22rem;
    font-weight: bold;
    color: #fff;
    transform: rotate(-7deg);
    line-height: 2.7rem;
    text-align: center;
    padding-left: .7rem;
}

.zhiyoujifenbox {
    position: absolute;
    /* 绝对定位居中方案 */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4.88rem;
    height: 2.5rem;
    background: url(../img/pad/bg-jifen.png) top center;
    background-size: 100% 100%;
}