/*
文件名称：yonghu_pingjia.css
文件职责：只负责师傅详情页“用户评价展示”模块样式。
维护要求：本文件保持功能单一，不写视频、证书、侧边栏等其他模块样式。
*/

.yonghu-pingjia-kapian {
    padding: 22px;
}

.yonghu-pingjia-gailan {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.yonghu-pingjia-fenshu {
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff7ec 0%, #fffdf9 100%);
    border: 1px solid #efddc4;
    text-align: center;
}

.yonghu-pingjia-fenshu strong {
    display: block;
    font-size: 34px;
    line-height: 1;
    color: #d5762e;
    margin-bottom: 6px;
}

.yonghu-pingjia-fenshu span {
    display: block;
    color: #7b6957;
    font-size: 12px;
}

.yonghu-pingjia-biaoqianzu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-content: center;
}

.yonghu-pingjia-biaoqian {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #f6fbf7;
    border: 1px solid #dfeee3;
    color: #43724f;
    font-size: 12px;
    font-weight: 800;
}

.yonghu-pingjia-liebiao {
    display: grid;
    gap: 12px;
}

.yonghu-pingjia-xiang {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid #edf0f5;
    background: #fff;
}

.yonghu-pingjia-xiang-tou {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.yonghu-pingjia-yonghu {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.yonghu-pingjia-touxiang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #fff2df;
    color: #b86829;
    font-size: 12px;
    font-weight: 900;
    flex-shrink: 0;
}

.yonghu-pingjia-yonghu strong {
    display: block;
    color: #34281f;
    font-size: 13px;
}

.yonghu-pingjia-yonghu span,
.yonghu-pingjia-shijian {
    color: #98a2b3;
    font-size: 11px;
}

.yonghu-pingjia-xiang p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.8;
}

.yonghu-pingjia-youce-kapian {
    margin-top: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border-color: #f0dfcc;
    display: flex;
    flex-direction: column;
}

.yonghu-pingjia-youce-dingbu {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: 
        radial-gradient(circle at right top, rgba(254, 215, 170, 0.3) 0%, transparent 50%),
        linear-gradient(180deg, #fffaf5 0%, #fff 100%);
    border-bottom: 1px solid #f9f0e6;
}

.yonghu-pingjia-youce-dingbu-zuo {
    position: relative;
    flex-shrink: 0;
}

.yonghu-pingjia-youce-zhutu {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.15);
    background-color: #fce7d8;
}

.yonghu-pingjia-youce-dingbu-fenshu {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: baseline;
    padding: 2px 8px;
    background: #ea580c;
    color: #fff;
    border-radius: 999px;
    border: 2px solid #fff;
    white-space: nowrap;
}

.yonghu-pingjia-youce-dingbu-fenshu strong {
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
}

.yonghu-pingjia-youce-dingbu-fenshu span {
    font-size: 9px;
    margin-left: 1px;
}

.yonghu-pingjia-youce-dingbu-you {
    min-width: 0;
}

.yonghu-pingjia-youce-dingbu-you h3 {
    margin: 0 0 6px;
    color: #1f2937;
    font-size: 16px;
    font-weight: 800;
}

.yonghu-pingjia-youce-dingbu-xingzu {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 6px;
}

.yonghu-pingjia-youce-dingbu-xingzu span {
    margin-left: 6px;
    color: #ea580c;
    font-size: 12px;
    font-weight: 800;
}

.yonghu-pingjia-youce-dingbu-you p {
    margin: 0;
    color: #8a6b55;
    font-size: 11px;
}

.yonghu-pingjia-youce-biaoqianzu {
    gap: 6px;
    margin: 16px 20px 12px;
}

.yonghu-pingjia-youce-biaoqianzu .yonghu-pingjia-biaoqian {
    min-height: 26px;
    padding: 0 9px;
    font-size: 11px;
    background: #f8fff9;
}

.yonghu-pingjia-youce-neirong {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 18px 18px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.yonghu-pingjia-youce-gongju {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.yonghu-pingjia-youce-gongju-zuo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.yonghu-pingjia-youce-gongju-zuo strong {
    color: #2e231a;
    font-size: 13px;
    font-weight: 900;
}

.yonghu-pingjia-youce-gongju-zuo span {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    color: #98a2b3;
    font-size: 11px;
    font-weight: 700;
}

.yonghu-pingjia-youce-gongju-zuo em {
    font-style: normal;
    color: #c2410c;
}

.yonghu-pingjia-youce-quanbu-anniu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #eadfce;
    background: #fff;
    color: #9a5b22;
    font-size: 11px;
    font-weight: 800;
    transition: all 0.2s ease;
}

.yonghu-pingjia-youce-quanbu-anniu:hover {
    border-color: #f2bf8c;
    color: #c2410c;
    box-shadow: 0 6px 16px rgba(194, 65, 12, 0.08);
}

.yonghu-pingjia-youce-mianban {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.yonghu-pingjia-youce-jingxuan {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fffaf5 0%, #fff 100%);
    border: 1px solid #f4e6d4;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.yonghu-pingjia-youce-jingxuan[hidden] {
    display: none;
}

.yonghu-pingjia-youce-jingxuan-tou {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.yonghu-pingjia-youce-kehu {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.yonghu-pingjia-youce-kehu-touxiang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff0df 0%, #ffe2bf 100%);
    color: #a8551d;
    font-size: 13px;
    font-weight: 900;
    flex-shrink: 0;
}

.yonghu-pingjia-youce-kehu-xinxi {
    min-width: 0;
}

.yonghu-pingjia-youce-kehu-xinxi strong {
    display: block;
    color: #2e231a;
    font-size: 13px;
    font-weight: 800;
}

.yonghu-pingjia-youce-kehu-xinxi span {
    display: block;
    margin-top: 2px;
    color: #98a2b3;
    font-size: 11px;
}

.yonghu-pingjia-youce-jingxuan-fenshu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff3e6;
    border: 1px solid #f6d4b1;
    color: #c2410c;
    font-size: 12px;
    font-weight: 900;
    flex-shrink: 0;
}

.yonghu-pingjia-youce-jingxuan-yu {
    color: #2e231a;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 800;
}

.yonghu-pingjia-youce-jingxuan-zhengwen {
    margin: 0;
    color: #475467;
    font-size: 12px;
    line-height: 1.72;
}

.yonghu-pingjia-youce-tupianzu {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.yonghu-pingjia-youce-tupian {
    position: relative;
    margin: 0;
    min-height: 0;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: #f7f4ef;
    border: 1px solid #f0dfcc;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.yonghu-pingjia-youce-tupian:hover {
    transform: translateY(-1px);
    border-color: #e9bb8a;
    box-shadow: 0 10px 18px rgba(194, 65, 12, 0.08);
}

.yonghu-pingjia-youce-tupian:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

.yonghu-pingjia-youce-tupian img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yonghu-pingjia-youce-tupian::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 60%;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.72));
}

.yonghu-pingjia-youce-tupian figcaption {
    position: absolute;
    right: 8px;
    bottom: 8px;
    left: 8px;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    z-index: 1;
    line-height: 1.35;
}

.yonghu-pingjia-youce-jilu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.yonghu-pingjia-youce-jilu span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #f1e2d0;
    color: #8a6d54;
    font-size: 11px;
    font-weight: 800;
}

.yonghu-pingjia-youce-daohangqu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    padding-top: 2px;
    flex-shrink: 0;
}

.yonghu-pingjia-youce-daohang-tou {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.yonghu-pingjia-youce-daohang-tou strong {
    color: #2e231a;
    font-size: 12px;
    font-weight: 900;
}

.yonghu-pingjia-youce-daohang-tou span {
    color: #98a2b3;
    font-size: 10px;
    font-weight: 700;
}

.yonghu-pingjia-youce-qiehuan {
    display: flex;
    gap: 8px;
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
}

.yonghu-pingjia-youce-qiehuan-anniu {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 4px 8px;
    min-width: 128px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid #f0e3d3;
    background: #fff;
    text-align: left;
    transition: all 0.2s ease;
    scroll-snap-align: start;
    flex: 0 0 auto;
}

.yonghu-pingjia-youce-qiehuan-anniu:hover {
    border-color: #f1cfaa;
    background: #fffaf5;
}

.yonghu-pingjia-youce-qiehuan-anniu.shi-jihuo {
    border-color: #f1c79c;
    background: linear-gradient(180deg, #fffaf5 0%, #fff4e8 100%);
    box-shadow: 0 10px 18px rgba(194, 65, 12, 0.06);
}

.yonghu-pingjia-youce-qiehuan-touxiang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #fff2df;
    color: #b86829;
    font-size: 12px;
    font-weight: 900;
    flex-shrink: 0;
}

.yonghu-pingjia-youce-qiehuan-wenzi {
    display: flex;
    flex-direction: column;
    min-width: 0;
    grid-column: 2 / 3;
}

.yonghu-pingjia-youce-qiehuan-wenzi strong {
    color: #2e231a;
    font-size: 12px;
    font-weight: 800;
}

.yonghu-pingjia-youce-qiehuan-wenzi span {
    color: #98a2b3;
    font-size: 10px;
    margin-top: 2px;
}

.yonghu-pingjia-youce-qiehuan-fenshu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: #fff4e6;
    border: 1px solid #f3d0a7;
    color: #c2410c;
    font-size: 10px;
    font-weight: 900;
    grid-column: 2 / 3;
    justify-self: start;
}

.yonghu-pingjia-tupian-tanchuang {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 80;
}

.yonghu-pingjia-tupian-tanchuang.shi-dakai {
    opacity: 1;
    pointer-events: auto;
}

.yonghu-pingjia-tupian-tanchuang-neirong {
    position: relative;
    width: min(760px, 100%);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

.yonghu-pingjia-tupian-tanchuang-guanbi {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(15, 23, 42, 0.55);
    color: #fff;
    z-index: 1;
}

.yonghu-pingjia-tupian-tanchuang-tu {
    background: #f4f1ec;
}

.yonghu-pingjia-tupian-tanchuang-tu img {
    display: block;
    width: 100%;
    max-height: min(70vh, 760px);
    object-fit: cover;
}

.yonghu-pingjia-tupian-tanchuang-wenzi {
    padding: 18px 20px 20px;
}

.yonghu-pingjia-tupian-tanchuang-wenzi strong {
    display: block;
    color: #1f2937;
    font-size: 16px;
    font-weight: 900;
}

.yonghu-pingjia-tupian-tanchuang-wenzi p {
    margin: 6px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.7;
}

.yonghu-pingjia-liebiao-tanchuang {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 82;
}

.yonghu-pingjia-liebiao-tanchuang.shi-dakai {
    opacity: 1;
    pointer-events: auto;
}

.yonghu-pingjia-liebiao-tanchuang-neirong {
    width: min(620px, 100%);
    max-height: min(78vh, 760px);
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: #fffdfa;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.22);
    overflow: hidden;
}

.yonghu-pingjia-liebiao-tanchuang-tou {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 20px 14px;
    border-bottom: 1px solid #f4e6d4;
}

.yonghu-pingjia-liebiao-tanchuang-wenzi strong {
    display: block;
    color: #1f2937;
    font-size: 16px;
    font-weight: 900;
}

.yonghu-pingjia-liebiao-tanchuang-wenzi p {
    margin: 6px 0 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.65;
}

.yonghu-pingjia-liebiao-tanchuang-guanbi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #eadfce;
    background: #fff;
    color: #8a6b55;
    flex-shrink: 0;
}

.yonghu-pingjia-liebiao-tanchuang-liebiao {
    display: grid;
    gap: 10px;
    padding: 16px 20px 20px;
    overflow: auto;
}

.yonghu-pingjia-liebiao-xiang {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid #f0e3d3;
    background: #fff;
    text-align: left;
    transition: all 0.2s ease;
}

.yonghu-pingjia-liebiao-xiang:hover {
    border-color: #efc79e;
    background: #fffaf5;
}

.yonghu-pingjia-liebiao-xiang.shi-jihuo {
    border-color: #f1c79c;
    box-shadow: 0 10px 20px rgba(194, 65, 12, 0.06);
}

.yonghu-pingjia-liebiao-xiang-touxiang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #fff0df;
    color: #b86829;
    font-size: 13px;
    font-weight: 900;
}

.yonghu-pingjia-liebiao-xiang-wenzi {
    min-width: 0;
}

.yonghu-pingjia-liebiao-xiang-wenzi strong {
    display: block;
    color: #2e231a;
    font-size: 13px;
    font-weight: 800;
}

.yonghu-pingjia-liebiao-xiang-wenzi span {
    display: block;
    margin-top: 3px;
    color: #98a2b3;
    font-size: 11px;
}

.yonghu-pingjia-liebiao-xiang-wenzi p {
    margin: 6px 0 0;
    color: #667085;
    font-size: 11px;
    line-height: 1.65;
}

.yonghu-pingjia-liebiao-xiang-fenshu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #fff4e6;
    border: 1px solid #f3d0a7;
    color: #c2410c;
    font-size: 11px;
    font-weight: 900;
}

.yonghu-pingjia-kongtai {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 20px 14px;
    border-radius: 18px;
    border: 1px dashed #f0dfcc;
    background: #fffaf5;
    text-align: center;
}

.yonghu-pingjia-kongtai span {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff3e6;
    color: #d97706;
}

.yonghu-pingjia-kongtai strong {
    color: #344054;
    font-size: 14px;
}

.yonghu-pingjia-kongtai p {
    margin: 0;
    color: #8a6b55;
    font-size: 12px;
    line-height: 1.7;
}

.yonghu-pingjia-kongtai a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #ea580c;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.yonghu-pingjia-youce-kongtai {
    margin: 0 20px 20px;
    padding: 28px 18px;
    flex: 1;
    align-content: center;
}

@media (min-width: 1024px) {
    .yonghu-pingjia-youce-jingxuan {
        overflow: auto;
        scrollbar-width: thin;
    }
}

@media (max-width: 1024px) {
    .yonghu-pingjia-gailan {
        grid-template-columns: 1fr;
    }

    .yonghu-pingjia-youce-dingbu {
        padding: 18px;
    }

    .yonghu-pingjia-youce-neirong {
        padding: 0 18px 18px;
    }

}

@media (max-width: 640px) {
    .yonghu-pingjia-kapian {
        padding: 16px;
    }

    .yonghu-pingjia-xiang-tou {
        align-items: flex-start;
        flex-direction: column;
    }

    .yonghu-pingjia-youce-dingbu {
        gap: 12px;
        padding: 16px;
    }

    .yonghu-pingjia-youce-neirong {
        gap: 12px;
        padding: 0 16px 16px;
    }

    .yonghu-pingjia-youce-jingxuan {
        padding: 16px;
    }

    .yonghu-pingjia-youce-tupianzu {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .yonghu-pingjia-youce-qiehuan-anniu {
        min-width: 120px;
    }

    .yonghu-pingjia-youce-qiehuan-fenshu {
        grid-column: 2 / 3;
        justify-self: start;
    }

    .yonghu-pingjia-tupian-tanchuang {
        padding: 16px;
    }

    .yonghu-pingjia-liebiao-tanchuang {
        padding: 16px;
    }

    .yonghu-pingjia-liebiao-tanchuang-tou,
    .yonghu-pingjia-liebiao-tanchuang-liebiao {
        padding-left: 16px;
        padding-right: 16px;
    }

    .yonghu-pingjia-liebiao-xiang {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .yonghu-pingjia-liebiao-xiang-fenshu {
        grid-column: 2 / 3;
        justify-self: start;
    }

    .yonghu-pingjia-youce-kongtai {
        margin: 0 16px 16px;
    }
}
