/* 服务者项目前端样式 - 自适应 */

/* ===== 后台表单: 2+8+2 栅栏布局 ===== */
.servicer-form-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: flex-start;
}
.servicer-form-nav {
    width: 16.66667%;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    padding-right: 12px;
}
.servicer-form-nav .nav-pills > li > a {
    border-radius: 4px;
    padding: 8px 10px;
    margin-bottom: 4px;
    color: #666;
    font-size: 13px;
    border: 1px solid transparent;
    cursor: pointer;
}
.servicer-form-nav .nav-pills > li > a:hover {
    background: #f5f5f5;
    color: #333;
}
.servicer-form-nav .nav-pills > li.active > a,
.servicer-form-nav .nav-pills > li.active > a:hover,
.servicer-form-nav .nav-pills > li.active > a:focus {
    background: #4a90d9;
    color: #fff;
    border-color: #4a90d9;
}
.servicer-form-nav .nav-pills > li > a i {
    margin-right: 6px;
    width: 14px;
    text-align: center;
}
.servicer-form-content {
    width: 66.66667%;
    min-width: 0;
    padding: 0 12px;
}
.servicer-form-aside {
    width: 16.66667%;
    flex-shrink: 0;
    padding-left: 12px;
}
.servicer-form-aside .aside-box {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 12px;
    position: sticky;
    top: 0;
}
.servicer-form-aside .aside-box h5 {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 6px;
}
.servicer-form-aside .aside-box h5 i {
    margin-right: 4px;
}
.servicer-form-aside .aside-box ul {
    padding-left: 16px;
    margin: 0;
}
.servicer-form-aside .aside-box li {
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
    line-height: 1.5;
}
.servicer-form-section {
    padding: 20px 0 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}
.servicer-form-section:last-child {
    border-bottom: none;
}
.servicer-form-section-title {
    margin: 0 0 20px;
    padding-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #4a90d9;
    display: inline-block;
}
.servicer-form-section-title i {
    margin-right: 8px;
    color: #4a90d9;
}
/* 响应式: 小屏时导航变水平, 右侧隐藏 */
@media (max-width: 991px) {
    .servicer-form-nav {
        width: 100%;
        position: static;
        padding-right: 0;
        margin-bottom: 10px;
    }
    .servicer-form-nav .nav-pills > li {
        display: inline-block;
        margin-right: 4px;
    }
    .servicer-form-content {
        width: 100%;
        padding: 0;
    }
    .servicer-form-aside {
        display: none;
    }
}

.servicer-banner {
    background: linear-gradient(135deg, #4a90d9 0%, #357abd 100%);
    color: #fff;
    padding: 50px 0 40px;
    text-align: center;
}
.servicer-banner-title {
    margin: 0 0 10px;
    font-size: 32px;
    font-weight: 700;
}
.servicer-banner-sub {
    font-size: 16px;
    opacity: .9;
    margin: 0;
}

.servicer-container {
    padding: 24px 15px 60px;
}

/* 筛选区 */
.servicer-filter {
    background: #f7f8fa;
    border-radius: 6px;
    padding: 18px 20px;
    margin-bottom: 24px;
}
.servicer-filter .filter-label {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 6px;
    font-weight: 400;
}
.servicer-quota-tip {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #e0e0e0;
    font-size: 13px;
    color: #666;
}

/* 服务者列表 */
.servicer-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}
.servicer-loading {
    width: 100%;
    padding: 60px 0;
    color: #999;
    font-size: 14px;
}
.servicer-card {
    width: calc(25% - 20px);
    margin: 0 10px 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
    transition: box-shadow .2s, transform .2s;
}
.servicer-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    transform: translateY(-2px);
}
.servicer-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}
.servicer-card-avatar {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}
.servicer-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.servicer-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 48px;
    background: #f5f5f5;
}
.servicer-card-body {
    padding: 14px 16px;
}
.servicer-card-name {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.servicer-card-city {
    margin: 0 0 8px;
    font-size: 13px;
    color: #888;
}
.servicer-card-service {
    margin: 0 0 8px;
    line-height: 1.8;
}
.service-tag {
    display: inline-block;
    padding: 2px 8px;
    margin: 0 4px 4px 0;
    font-size: 12px;
    color: #4a90d9;
    background: #eef4fb;
    border-radius: 3px;
}
.servicer-card-price {
    margin: 0;
    font-size: 14px;
    color: #f60;
    font-weight: 600;
}
.servicer-card-view {
    margin: 0;
    font-size: 12px;
    color: #aaa;
}
.servicer-card-view i {
    margin-right: 4px;
}

/* 服务项多选筛选 */
.filter-service-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
}
.filter-service-item {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    user-select: none;
}
.filter-service-item input {
    margin: 0 5px 0 0;
}
.filter-btn-group {
    display: flex;
    gap: 8px;
}
.filter-btn-group .btn {
    flex: 1;
}

.btn-load-more {
    min-width: 200px;
}

/* 详情页 */
.servicer-detail-container {
    padding: 30px 15px 60px;
}
.servicer-view-tip {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
    padding: 10px;
    background: #f7f8fa;
    border-radius: 6px;
}
.servicer-view-tip i {
    color: #4a90d9;
    margin-right: 4px;
}
.servicer-detail-service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.service-tag-lg {
    display: inline-block;
    padding: 6px 16px;
    font-size: 14px;
    color: #4a90d9;
    background: #eef4fb;
    border-radius: 4px;
}
.servicer-detail-header {
    display: flex;
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
    margin-bottom: 20px;
}
.servicer-detail-avatar {
    width: 140px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 24px;
    background: #f0f0f0;
}
.servicer-detail-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.servicer-detail-base {
    flex: 1;
}
.servicer-detail-name {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 700;
}
.servicer-detail-meta {
    margin: 0 0 12px;
    color: #666;
    font-size: 14px;
}
.servicer-detail-meta span {
    margin-right: 20px;
}
.servicer-detail-service {
    margin: 0 0 10px;
}
.servicer-detail-price {
    margin: 0;
    color: #f60;
    font-size: 18px;
    font-weight: 600;
}
.servicer-detail-actions {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.btn-share {
    background: linear-gradient(135deg, #4a90d9 0%, #357abd 100%);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
}
.btn-share:hover {
    color: #fff;
    box-shadow: 0 4px 12px rgba(74, 144, 217, .4);
    transform: translateY(-1px);
}
.btn-back-list {
    background: #f5f6f7;
    color: #555;
    border: 1px solid #e4e7ed;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all .2s;
}
.btn-back-list:hover {
    background: #eef1f5;
    color: #333;
    text-decoration: none;
}

/* 分享弹层 */
.servicer-share-mask {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.55);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.servicer-share-panel {
    background: #fff;
    border-radius: 10px;
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 12px 40px rgba(0,0,0,.2);
    animation: shareIn .2s ease-out;
}
@keyframes shareIn {
    from { opacity: 0; transform: translateY(20px) scale(.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.servicer-share-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}
.servicer-share-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
.servicer-share-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}
.servicer-share-close:hover {
    background: #f5f5f5;
    color: #555;
}
.servicer-share-body {
    padding: 20px;
}
.servicer-share-preview {
    background: linear-gradient(135deg, #f7f9fc 0%, #eef3f9 100%);
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 20px;
    border-left: 3px solid #4a90d9;
}
.share-preview-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}
.share-preview-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}
.share-preview-meta i {
    color: #4a90d9;
    margin-right: 4px;
}
.share-preview-desc {
    font-size: 13px;
    color: #888;
}

.servicer-share-ways {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.share-way-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all .2s;
    background: #fafbfc;
    border: 1px solid #f0f0f0;
}
.share-way-item:hover {
    background: #f0f6fe;
    border-color: #c7dcfa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74,144,217,.15);
}
.share-icon {
    font-size: 26px;
    margin-bottom: 6px;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    border-radius: 50%;
    color: #fff;
}
.icon-copy   { background: #4a90d9; }
.icon-native { background: #9b59b6; }
.icon-wechat { background: #07c160; }
.icon-qq     { background: #12b7f5; }
.icon-weibo  { background: #e6162d; }

.share-way-item span {
    font-size: 12px;
    color: #555;
}

.servicer-share-url-box {
    margin-bottom: 16px;
}
.servicer-share-url-box > label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
    font-weight: 400;
}
.servicer-share-url-box .form-control {
    border-right: none;
    border-radius: 4px 0 0 4px;
}
.servicer-share-tip {
    padding: 10px 12px;
    background: #f7faff;
    border: 1px solid #e1eefb;
    border-radius: 6px;
    font-size: 13px;
}
.servicer-share-tip p {
    margin: 0;
}

/* 二维码分享 */
.servicer-share-qrbox {
    margin-bottom: 18px;
    padding: 14px;
    background: #fff8f0;
    border: 1px dashed #ffc88a;
    border-radius: 8px;
}
.servicer-share-qrbox > label {
    display: block;
    font-size: 13px;
    color: #8a5a10;
    margin-bottom: 10px;
    font-weight: 600;
}
.servicer-share-qrwrap {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}
.servicer-share-qrimg {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    background: #fff;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #f0e0c0;
}
.servicer-share-qrimg canvas,
.servicer-share-qrimg img {
    width: 100% !important;
    height: 100% !important;
    display: block;
}
.servicer-share-qrmeta {
    flex: 1;
    min-width: 160px;
}
.servicer-share-qrmeta p {
    margin: 0 0 6px;
}
.servicer-share-qrmeta .qr-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
.servicer-share-qrmeta .qr-meta {
    font-size: 13px;
    color: #666;
}
.servicer-share-qrmeta .qr-meta i {
    color: #4a90d9;
    margin-right: 4px;
}
.servicer-share-qrmeta .qr-desc {
    margin-top: 10px;
    font-size: 13px;
    color: #c57a10;
    background: #fff1dc;
    padding: 6px 10px;
    border-radius: 4px;
}
.servicer-share-qractions {
    margin-top: 12px;
    text-align: right;
}

.servicer-detail-section {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
    margin-bottom: 20px;
}
.servicer-section-title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
}
.servicer-detail-info {
    color: #666;
    font-size: 14px;
}

/* 锁定区域 */
.servicer-locked {
    text-align: center;
    padding: 30px 20px;
}
.servicer-locked-icon {
    font-size: 48px;
    color: #bbb;
    margin-bottom: 16px;
}
.servicer-locked-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
}
.servicer-locked-desc {
    color: #888;
    margin: 0 0 20px;
    font-size: 14px;
}
.btn-view-full {
    min-width: 200px;
    height: 44px;
    font-size: 15px;
}
.servicer-locked-code-tip {
    margin: 24px 0 10px;
    color: #999;
    font-size: 13px;
}
.btn-show-code {
    min-width: 200px;
}

.servicer-code-form {
    text-align: center;
    padding: 20px;
}
.servicer-code-form h3 {
    margin: 0 0 10px;
    font-size: 18px;
}
.servicer-sales-contact {
    background: #f7f8fa;
    border-radius: 6px;
    padding: 16px;
    margin: 16px auto;
    max-width: 400px;
    text-align: left;
    font-size: 14px;
}
.servicer-sales-contact p {
    margin: 0 0 6px;
}
.servicer-code-input {
    max-width: 400px;
    margin: 0 auto;
}
.servicer-code-input .form-control {
    height: 44px;
}
.servicer-code-input .btn {
    height: 44px;
    padding: 0 20px;
}

.servicer-detail-block {
    margin-bottom: 24px;
}
.servicer-detail-block:last-child {
    margin-bottom: 0;
}
.servicer-detail-block h3 {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
}
.servicer-intro {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
    white-space: pre-wrap;
    background: #f9f9f9;
    padding: 14px;
    border-radius: 6px;
}
.servicer-images {
    display: flex;
    flex-wrap: wrap;
    margin: -5px;
}
.servicer-images img {
    width: calc(33.333% - 10px);
    margin: 5px;
    border-radius: 6px;
    cursor: pointer;
}
.servicer-videos {
    display: flex;
    flex-wrap: wrap;
    margin: -5px;
}
.servicer-video-card {
    width: calc(50% - 10px);
    margin: 5px;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.servicer-video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}
.servicer-video-loading,
.servicer-video-error {
    position: absolute;
    left: 0; right: 0; top: 50%;
    transform: translateY(-50%);
    text-align: center;
    color: #ddd;
    font-size: 13px;
    padding: 0 12px;
    z-index: 2;
    pointer-events: none;
}
.servicer-video-error { color: #ffb347; }
.servicer-video-loading i {
    margin-right: 4px;
    color: #fff;
}
.servicer-video-cover-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0,0,0,.55);
    color: #fff;
    border: 3px solid rgba(255,255,255,.85);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 6px; /* play 图标视觉居中微调 */
    z-index: 3;
    box-shadow: 0 4px 18px rgba(0,0,0,.35);
    transition: transform .15s, background .2s, opacity .2s;
    user-select: none;
}
.servicer-video-cover-play:hover {
    background: rgba(0,0,0,.7);
    transform: translate(-50%, -50%) scale(1.06);
}
.servicer-video-cover-play:active {
    transform: translate(-50%, -50%) scale(.96);
}
@media (max-width: 767px) {
    .servicer-video-card {
        width: calc(100% - 10px);
    }
    .servicer-video-cover-play {
        width: 64px;
        height: 64px;
        font-size: 24px;
    }
}
.servicer-package {
    background: #fff8f0;
    padding: 14px 16px;
    border-radius: 6px;
    color: #c80;
    font-size: 14px;
}
.servicer-package p {
    margin: 0;
}
.servicer-contact {
    background: #f0f7ff;
    padding: 16px;
    border-radius: 6px;
    font-size: 15px;
}
.servicer-contact p {
    margin: 0 0 8px;
}
.servicer-contact p:last-child {
    margin-bottom: 0;
}

/* ===== 相册弹层(移动端优先,支持上一张/下一张) ===== */
.servicer-album {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    color: #fff;
}
.servicer-albg-topbar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: rgba(0,0,0,.55);
    color: #fff;
    z-index: 2;
    user-select: none;
}
.servicer-albg-counter {
    font-size: 15px;
    letter-spacing: .5px;
    font-weight: 500;
}
.servicer-albg-close {
    background: rgba(255,255,255,.12);
    border: none;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.servicer-albg-close:hover { background: rgba(255,255,255,.25); }

.servicer-albg-stage {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 0;
    background: #000;
}
.servicer-albg-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    opacity: 0;
    transition: opacity .25s ease-out;
    -webkit-user-drag: none;
    user-select: none;
}
.servicer-albg-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background .2s, transform .2s;
    z-index: 3;
}
.servicer-albg-nav:hover { background: rgba(255,255,255,.35); }
.servicer-albg-nav:active { transform: translateY(-50%) scale(.94); }
.servicer-albg-prev { left: 14px; }
.servicer-albg-next { right: 14px; }

.servicer-albg-thumbs {
    flex-shrink: 0;
    padding: 10px 12px;
    background: rgba(0,0,0,.6);
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}
.servicer-albg-thumbs::-webkit-scrollbar { display: none; }
.servicer-albg-thumb {
    display: inline-block;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    opacity: .55;
    transition: opacity .2s, border-color .2s, transform .2s;
    cursor: pointer;
}
.servicer-albg-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.servicer-albg-thumb.active {
    border-color: #4a90d9;
    opacity: 1;
    transform: scale(1.05);
}

/* 手机端:箭头按钮放大,缩略图高度加高方便点 */
@media (max-width: 767px) {
    .servicer-albg-nav {
        width: 54px;
        height: 54px;
        font-size: 22px;
        background: rgba(255,255,255,.12);
    }
    .servicer-albg-prev { left: 8px; }
    .servicer-albg-next { right: 8px; }
    .servicer-albg-thumb {
        width: 66px;
        height: 66px;
    }
    .servicer-albg-topbar {
        padding: 12px 14px;
    }
    .servicer-albg-counter { font-size: 16px; }
}
@media (max-width: 480px) {
    .servicer-albg-nav {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    .servicer-albg-thumb {
        width: 60px;
        height: 60px;
    }
}
/* 只有1张图时隐藏上下导航和缩略图 */
.servicer-album[data-count="1"] .servicer-albg-nav,
.servicer-album[data-count="1"] .servicer-albg-thumbs {
    display: none;
}

/* 响应式适配 */
@media (max-width: 991px) {
    .servicer-card {
        width: calc(33.333% - 20px);
    }
}
@media (max-width: 767px) {
    .servicer-banner {
        padding: 30px 0 24px;
    }
    .servicer-banner-title {
        font-size: 24px;
    }
    .servicer-banner-sub {
        font-size: 14px;
        margin-bottom: 0;
    }
    .servicer-card {
        width: calc(50% - 20px);
    }
    .servicer-card-avatar {
        height: 140px;
    }
    .servicer-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 16px;
    }
    .servicer-detail-avatar {
        width: 110px;
        height: 110px;
        margin: 0 0 16px;
    }
    .servicer-detail-name {
        font-size: 22px;
    }
    .servicer-detail-meta span {
        display: inline-block;
        margin: 0 8px 4px;
    }
    .servicer-images img {
        width: calc(50% - 10px);
    }
}
@media (max-width: 767px) {
    .servicer-share-ways {
        grid-template-columns: repeat(3, 1fr);
    }
    .servicer-share-mask {
        align-items: flex-end;
        padding: 0;
    }
    .servicer-share-panel {
        max-width: 100%;
        border-radius: 14px 14px 0 0;
        max-height: 85vh;
    }
    .servicer-detail-actions {
        flex-direction: column;
    }
    .btn-share,
    .btn-back-list {
        width: 100%;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .servicer-card {
        width: 100%;
    }
    .servicer-card-avatar {
        height: 200px;
    }
    .servicer-detail-section,
    .servicer-detail-header {
        padding: 16px;
    }
    .servicer-share-ways {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .share-icon {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 22px;
    }
}

/* ===== 联系企微客服浮动按钮 ===== */
.servicer-contact-fab {
    position: fixed;
    right: 24px;
    bottom: 90px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    padding: 11px 20px;
    background: linear-gradient(135deg, #07c160 0%, #2bd970 100%);
    color: #fff;
    border-radius: 40px;
    box-shadow: 0 4px 16px rgba(7, 193, 96, 0.4);
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.servicer-contact-fab:hover,
.servicer-contact-fab:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 193, 96, 0.5);
}
.servicer-contact-fab i {
    margin-right: 6px;
    font-size: 18px;
    line-height: 1;
}
.servicer-contact-fab span {
    white-space: nowrap;
}
@media (max-width: 768px) {
    .servicer-contact-fab {
        right: 14px;
        bottom: 70px;
        padding: 9px 16px;
        font-size: 13px;
    }
    .servicer-contact-fab i {
        font-size: 16px;
    }
}
