* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    touch-action: manipulation;
}

button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: #F3F0EB;
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
    z-index: 1;
}

.app {
    max-width: 750px;
    margin: 0 auto;
    background-color: #F3F0EB;
    min-height: 100vh;
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
}

/* 顶部导航 */
.header {
    background: linear-gradient(135deg, #6B9673 0%, #87A88F 100%);
    color: white;
    padding: 12px 16px;
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-search {
    flex: 1;
    min-width: 0;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.header-info {
    display: flex;
    flex-direction: column;
}

.greeting {
    font-size: 13px;
    opacity: 0.9;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.notification {
    font-size: 18px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}
.notify-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: #e74c3c;
    color: #fff;
    border-radius: 8px;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    display: none;
    box-sizing: border-box;
}
.notify-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 90%;
    max-width: 360px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}
.notify-panel.show { transform: translateX(0); }
.notify-panel-header {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}
.notify-panel-close { cursor: pointer; font-size: 22px; color: #666; }
.notify-panel-actions { padding: 10px 16px; border-bottom: 1px solid #f0f0f0; display: flex; gap: 8px; font-size: 13px; }
.notify-action-btn { padding: 6px 12px; border: 1px solid #ddd; background: #fff; border-radius: 6px; cursor: pointer; font-size: 12px; }
.notify-action-btn.primary { background: #4a90e2; color: #fff; border-color: #4a90e2; }
.notify-list { flex: 1; overflow-y: auto; }
.notify-item { padding: 12px 16px; border-bottom: 1px solid #f5f5f5; }
.notify-item-title { font-weight: 600; font-size: 14px; margin-bottom: 4px; color: #222; }
.notify-item-body { font-size: 13px; color: #555; line-height: 1.5; }
.notify-item-time { font-size: 11px; color: #999; margin-top: 6px; }
.notify-item.unread .notify-item-title::before { content: '●'; color: #e74c3c; margin-right: 6px; font-size: 10px; }
.notify-empty { text-align: center; color: #999; padding: 40px 16px; font-size: 13px; }
.notify-mask { position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 9998; display: none; }
.notify-mask.show { display: block; }

.lang-switch {
    display: flex;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 2px;
}

.lang {
    padding: 3px 10px;
    font-size: 12px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.lang.active {
    background: white;
    color: #6B9673;
}

/* 搜索栏 */
.search-box {
    background: white;
    border-radius: 20px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.search-icon {
    font-size: 16px;
}

.search-text {
    font-size: 14px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 轮播Banner */
.banner-section {
    padding: 20px;
    background: linear-gradient(135deg, #6B9673 0%, #87A88F 100%);
    position: relative;
}

.banner-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.banner {
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    aspect-ratio: 16 / 9;
    display: none;
    pointer-events: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner.active {
    display: block;
    animation: fadeIn 0.5s ease;
    pointer-events: auto;
}

.banner-cover {
    padding: 0;
    min-height: 200px;
    aspect-ratio: 16 / 9;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.banner-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

.banner-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 16px;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.banner-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0,0,0,0.2);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    z-index: 1;
}

.banner-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.banner-title {
    font-size: 28px;
    font-weight: bold;
    color: white;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.banner-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.banner-btn {
    background: white;
    color: #6B9673;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.banner-btn:hover {
    background: #999;
    color: white;
}

/* 快捷入口 */
.quick-actions {
    background: white;
    margin: 12px 20px;
    border-radius: 16px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.action-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
}

.action-text {
    font-size: 13px;
    color: #666;
}

/* 通用Section */
.section {
    background: white;
    margin: 12px 20px;
    border-radius: 16px;
    padding: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.section-desc {
    font-size: 13px;
    color: #6B9673;
}

.section-more {
    font-size: 13px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.section-more:hover {
    color: #6B9673;
}

/* 服务类目2x2网格 */
.service-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-grid-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: transform 0.2s, box-shadow 0.2s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.service-grid-item:active {
    transform: scale(0.98);
}

.service-grid-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-grid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.service-grid-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    z-index: 1;
}

.service-grid-icon {
    font-size: 28px;
    margin-bottom: 4px;
}

.service-grid-title {
    font-size: 17px;
    font-weight: bold;
    color: white;
    margin-bottom: 4px;
}

.service-grid-price {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
}

.service-grid-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    color: white;
}

/* 热门服务（金刚区） */
.hot-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.hot-service-card {
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.hot-service-card:active {
    transform: scale(0.98);
}

.hot-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.hot-title {
    font-size: 17px;
    font-weight: bold;
    color: white;
    margin-bottom: 6px;
}

.hot-price {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.hot-hot-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.2);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    color: white;
}

/* 服务网格 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.service-grid-card {
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    background: #F8F9FA;
    transition: background 0.3s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.service-grid-card:active {
    background: #E9ECEF;
}

.service-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon {
    font-size: 28px;
}

.service-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.service-price {
    font-size: 13px;
    color: #E74C3C;
    font-weight: 600;
}

/* 阿姨列表 */
.aunt-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aunt-card {
    background: #F8F9FA;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    gap: 12px;
    position: relative;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.aunt-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #E9ECEF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
}

.aunt-online {
    position: absolute;
    top: 56px;
    left: 76px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid white;
}

.aunt-online.online {
    background: #4CD964;
}

.aunt-online.offline {
    background: #CCCCCC;
}

.aunt-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #6B9673 0%, #87A88F 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
}

.aunt-info {
    flex: 1;
    min-width: 0;
}

.aunt-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.aunt-rating {
    font-size: 13px;
    color: #FFB800;
    margin-bottom: 8px;
}

.aunt-skill {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
}

.aunt-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.stat {
    font-size: 12px;
    color: #999;
}

/* 客服联系弹窗 */
.contact-modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.contact-modal-content {
    width: 100%;
    max-width: 750px;
    background: white;
    border-radius: 24px 24px 0 0;
    padding: 32px 24px;
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
    text-align: center;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #F8F9FA;
    border-radius: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-option:active {
    background: #E9ECEF;
}

.contact-option-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: white;
}

.contact-option-info {
    flex: 1;
    text-align: left;
}

.contact-option-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.contact-option-desc {
    font-size: 13px;
    color: #999;
}

.contact-option-arrow {
    font-size: 20px;
    color: #ccc;
}

.qr-modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.qr-modal-content {
    width: 88%;
    max-width: 520px;
    background: white;
    border-radius: 20px;
    padding: 24px 20px 20px;
    text-align: center;
    position: relative;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.qr-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.qr-modal-close:active {
    background: #f0f0f0;
}

.qr-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.qr-modal-image-wrap {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #f5f5f5;
}

.qr-modal-image {
    width: 100%;
    display: block;
    height: auto;
}

.qr-modal-tip {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
}

.qr-modal-double {
    padding: 20px 16px 16px;
}

.qr-double-wrap {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.qr-double-item {
    flex: 1;
    background: #F8F9FA;
    border-radius: 16px;
    padding: 14px 10px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.qr-double-item:active {
    transform: scale(0.97);
    background: #EEF0F2;
}

.qr-double-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    margin-bottom: 10px;
}

.qr-double-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.qr-double-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.qr-double-icon {
    font-size: 16px;
}

.qr-double-desc {
    font-size: 11px;
    color: #999;
    line-height: 1.3;
}

.qr-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.qr-action-btn {
    flex: 1;
    background: #F0F4FF;
    color: #4A6FFF;
    border: none;
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: background 0.2s;
}

.qr-action-btn:active {
    background: #E0E8FF;
}

.qr-modal-enlarge {
    width: 82%;
    max-width: 400px;
    padding: 22px 20px 18px;
}

.qr-modal-enlarge .qr-modal-image-wrap {
    margin-bottom: 14px;
}

.qr-copy-btn {
    width: 100%;
    background: linear-gradient(135deg, #6B9673, #5A8565);
    color: white;
    border: none;
    padding: 13px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: opacity 0.2s;
}

.qr-copy-btn:active {
    opacity: 0.85;
}

/* 优惠活动 */
.promo-section {
    display: flex;
    gap: 12px;
}

.promo-card {
    flex: 1;
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-card.new-user {
    background: linear-gradient(135deg, #FFECEC 0%, #FFF5F5 100%);
}

.promo-card.invite {
    background: linear-gradient(135deg, #ECEFFF 0%, #F5F8FF 100%);
}

.promo-content {
    flex: 1;
}

.promo-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.promo-desc {
    font-size: 12px;
    color: #999;
}

.promo-badge {
    font-size: 28px;
}

/* 预约小贴士 */
.tips-card {
    background: linear-gradient(135deg, #FFF8E7 0%, #FFF3D6 100%);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tips-icon {
    font-size: 24px;
}

.tips-text {
    font-size: 14px;
    color: #333;
}

/* 底部安全区 */
.safe-bottom {
    height: calc(20px + env(safe-area-inset-bottom, 0px));
}

/* 响应式 */
@media (max-width: 480px) {
    .hot-services {
        grid-template-columns: 1fr 1fr;
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 技师选择区域 */
.therapist-section {
    background: white;
    margin: 16px;
    border-radius: 12px;
    padding: 16px;
}

.therapist-section h2 {
    font-size: 16px;
    margin-bottom: 16px;
    color: #333;
}

.therapist-list {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
}

.therapist-item {
    flex: 0 0 120px;
    background: #f8f8f8;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.therapist-item.selected {
    border-color: #4c8d59;
    background: #e8f5ea;
}

.therapist-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6B9673, #87A88F);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 8px;
    overflow: hidden;
}

.therapist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.therapist-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.therapist-skill {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.therapist-rating {
    font-size: 12px;
    color: #ff9800;
}

/* 服务规格标签 */
.specs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.spec-tag {
    padding: 4px 12px;
    background: #e8f5ea;
    color: #4c8d59;
    border-radius: 20px;
    font-size: 12px;
}

/* 位置按钮 */
.location-btn {
    padding: 12px;
    background: #4c8d59;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
}

.location-btn:disabled {
    background: #ccc;
}

/* 服务图标 */
.service-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

/* 分页容器 */
.pagination-container {
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pagination-btn {
    padding: 8px 16px;
    border: none;
    background: #f0f0f0;
    color: #666;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
    background: #e0e0e0;
}

.pagination-btn:disabled {
    background: #f8f8f8;
    color: #ccc;
    cursor: not-allowed;
}

.pagination-pages {
    display: flex;
    gap: 4px;
}

.pagination-page {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #666;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-page:hover:not(.active) {
    background: #f0f0f0;
}

.pagination-page.active {
    background: #6B9673;
    color: white;
}

.pagination-ellipsis {
    padding: 0 8px;
    color: #999;
    font-size: 14px;
}

/* 底部导航栏 */
.tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 750px;
    margin: 0 auto;
    background: white;
    display: flex;
    border-top: 1px solid #eee;
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    text-decoration: none;
    color: #999;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.tab-item.active {
    color: #6B9673;
}

.tab-icon {
    font-size: 22px;
    line-height: 1;
}

.tab-label {
    font-size: 12px;
    line-height: 1;
}

/* 悬浮客服按钮 */
.float-service-btn {
    position: fixed;
    right: 16px;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #6B9673 0%, #87A88F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 16px rgba(107, 150, 115, 0.4);
    z-index: 99;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.float-service-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(107, 150, 115, 0.5);
}

.float-service-btn:active {
    transform: scale(0.95);
}

/* 客服弹窗遮罩 */
.contact-modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 客服弹窗内容 */
.contact-modal-content {
    background: white;
    width: 90%;
    max-width: 360px;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    max-height: 90vh;
    overflow-y: auto;
}

/* 客服二维码容器 */
.contact-qr-container {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 20px;
}

.contact-qr-item {
    text-align: center;
}

.contact-qr-wrapper {
    width: 140px;
    height: 140px;
    background: #f8f8f8;
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
}

.contact-qr-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-qr-label {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.contact-qr-desc {
    font-size: 11px;
    color: #999;
}
