* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
}
body {
    background: #0f0f1a;
    overflow: hidden;
    height: 100vh;
    color: #fff;
}

/* ===== 地图 ===== */
#mapContainer {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}
#map { width: 100%; height: 100%; }
.amap-logo, .amap-copyright { display: none !important; }

/* ===== 顶部栏 ===== */
.top-bar {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 10;
}
.back-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

/* ===== 底部卡片 ===== */
.bottom-card {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px 24px 0 0;
    padding: 12px 20px 30px;
    max-height: 60vh;
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transition: max-height 0.3s ease;
}
.handle-bar {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin: 0 auto 16px;
}

/* ===== 状态切换 ===== */
.stage { display: none; }
.stage.active { display: block; }

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.distance-info {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* ===== 输入框 ===== */
.location-input {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 8px 16px;
    margin-bottom: 16px;
}
.input-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.input-row:last-child { border-bottom: none; }
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dot.green { background: #34a853; }
.dot.red { background: #ea4335; }
.input-row input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 15px;
}
.input-row input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* ===== 搜索结果 ===== */
.search-results {
    max-height: 300px;
    overflow-y: auto;
}
.search-item {
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 4px;
}
.search-item:hover {
    background: rgba(255, 255, 255, 0.05);
}
.search-item .name {
    font-size: 14px;
    color: #fff;
    margin-bottom: 2px;
}
.search-item .addr {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== 车型列表 ===== */
.car-type-list {
    margin-bottom: 16px;
}
.car-type-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}
.car-type-item.active {
    border-color: #1a73e8;
    background: rgba(26, 115, 232, 0.1);
}
.car-type-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.car-type-icon { font-size: 28px; }
.car-type-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}
.car-type-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}
.car-type-price {
    font-size: 17px;
    font-weight: 700;
    color: #34a853;
}

/* ===== 按钮 ===== */
.btn-primary {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #1a73e8;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-primary:active { background: #1557b0; }
.btn-primary:disabled {
    background: rgba(26, 115, 232, 0.3);
    cursor: not-allowed;
}
.btn-outline {
    width: 100%;
    padding: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 15px;
    color: #fff;
    background: transparent;
    cursor: pointer;
    margin-top: 12px;
}

/* ===== 等待动画 ===== */
.waiting-animation {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}
.pulse {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1a73e8;
    animation: pulse 1.4s ease-in-out infinite;
}
.pulse:nth-child(2) { animation-delay: 0.2s; }
.pulse:nth-child(3) { animation-delay: 0.4s; }
@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}
.waiting-text {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}
.waiting-sub {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

/* ===== 司机信息卡片 ===== */
.driver-info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 16px;
}
.driver-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.driver-detail { flex: 1; }
.driver-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}
.driver-car {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}
.driver-plate {
    font-size: 15px;
    font-weight: 700;
    color: #fbbc04;
    background: rgba(251, 188, 4, 0.15);
    padding: 4px 12px;
    border-radius: 6px;
}

/* ===== 行程信息 ===== */
.trip-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
}
.trip-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}
.trip-row span:last-child {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}
.status-hint {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    padding: 12px;
}

/* ===== 支付 ===== */
.pay-title {
    text-align: center;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}
.pay-amount {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #34a853;
    margin-bottom: 6px;
}
.pay-sub {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 24px;
}

/* ===== 完成 ===== */
.done-icon {
    text-align: center;
    font-size: 48px;
    margin-bottom: 12px;
}
.done-text {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    white-space: nowrap;
}
.toast.show { opacity: 1; }

/* ===== 页面初始隐藏 ===== */
#app-wrapper {
    opacity: 0;
    transition: opacity 0.3s ease;
}
#app-wrapper.show { opacity: 1; }

/* ===== 登录遮罩 ===== */
#loginOverlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    transition: opacity 0.3s;
}
#loginOverlay.hidden {
    opacity: 0;
    pointer-events: none;
}
.login-box {
    background: #1a1a2e;
    border-radius: 20px;
    padding: 32px 24px;
    width: 100%;
    max-width: 380px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.login-box .logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 6px;
}
.login-box .sub {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-bottom: 24px;
}
.login-box .field {
    margin-bottom: 14px;
}
.login-box .field label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}
.login-box .field input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}
.login-box .field input:focus {
    border-color: #1a73e8;
}
.login-box .btn-login {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #1a73e8;
    cursor: pointer;
    margin-top: 8px;
}
.login-box .switch-tip {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 16px;
    cursor: pointer;
}
.login-box .switch-tip span {
    color: #1a73e8;
}

/* ===== 底部导航 ===== */
.bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 20;
    display: flex;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4px 0 10px;
    height: 64px;
    align-items: center;
}
.bottom-nav .nav-item {
    flex: 1;
    text-align: center;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px 0;
}
.bottom-nav .nav-item .icon {
    font-size: 22px;
    display: block;
    margin-bottom: 2px;
}
.bottom-nav .nav-item.active {
    color: #1a73e8;
}

/* 底部卡片留出导航栏高度 */
.bottom-card {
    bottom: 64px !important;
    max-height: calc(60vh - 64px) !important;
}

/* ===== 订单列表 ===== */
.order-list-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background 0.2s;
}
.order-list-item:hover {
    background: rgba(255, 255, 255, 0.08);
}
.order-list-item .row-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.order-list-item .status-tag {
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 12px;
}
.order-list-item .status-tag.pending { background: rgba(251,188,4,0.2); color: #fbbc04; }
.order-list-item .status-tag.doing { background: rgba(26,115,232,0.2); color: #1a73e8; }
.order-list-item .status-tag.done { background: rgba(52,168,83,0.2); color: #34a853; }
.order-list-item .status-tag.cancelled { background: rgba(234,67,53,0.2); color: #ea4335; }
.order-list-item .route {
    font-size: 14px;
    color: #fff;
    margin-bottom: 6px;
}
.order-list-item .route span {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 4px;
}
.order-list-item .row-3 {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}
.order-list-item .price {
    color: #34a853;
    font-weight: 600;
    font-size: 15px;
}

/* ===== 个人中心 ===== */
.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-bottom: 20px;
}
.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}
.profile-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}
.profile-phone {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}
.profile-menu {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
}
.menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: background 0.2s;
}
.menu-item:last-child { border-bottom: none; }
.menu-item:hover { background: rgba(255, 255, 255, 0.05); }
.menu-icon { font-size: 20px; }
.menu-label { flex: 1; font-size: 15px; }
.menu-arrow { color: rgba(255, 255, 255, 0.3); font-size: 20px; }

/* ===== 全屏遮罩（订单详情 / 通用 Modal） ===== */
.overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #0f0f1a;
    z-index: 300;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
}
.overlay.hidden { display: none; }

.overlay-content {
    background: #1a1a2e;
    width: 100%;
    min-height: 100vh;
    max-width: 100%;
    border-radius: 0;
    border: none;
    display: flex;
    flex-direction: column;
}

.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 600;
    color: #fff;
    position: sticky;
    top: 0;
    background: #1a1a2e;
    z-index: 10;
}
.overlay-header button {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    cursor: pointer;
    padding: 4px 12px;
}

.overlay-body {
    padding: 16px 20px 40px;
    color: #fff;
    flex: 1;
}

/* ===== 订单详情内容 ===== */
.detail-order-id {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
}
.detail-route {
    margin-bottom: 16px;
}
.detail-route-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
}
.detail-route-row .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}
.detail-route-row .dot.green { background: #34a853; }
.detail-route-row .dot.red { background: #ea4335; }
.detail-route-row .text {
    font-size: 13px;
    color: #fff;
    line-height: 1.4;
}
.detail-static-map {
    width: 100%;
    border-radius: 10px;
    margin: 12px 0;
    background: rgba(255,255,255,0.05);
    display: block;
}
.detail-summary {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin: 12px 0;
}
.detail-summary .item {
    flex: 1;
    text-align: center;
}
.detail-summary .item .num {
    font-size: 16px;
    font-weight: 600;
}
.detail-summary .item .label {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}
.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.detail-row:last-child { border-bottom: none; }
.detail-row .label { color: rgba(255,255,255,0.5); }
.detail-row .value { color: #fff; font-weight: 500; text-align: right; max-width: 60%; }
.detail-row .value.amount { color: #34a853; font-size: 16px; font-weight: 700; }
.detail-row .value.muted { color: rgba(255,255,255,0.4); font-weight: 400; }
.detail-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 12px 0;
}
.detail-status-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

/* =============================================================
   通用 Modal（全屏，深色主题）
   ============================================================= */
.modal-small {
    /* 保持全屏，不需要覆盖 .overlay-content 的样式 */
}

.modal-small .overlay-footer {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #1a1a2e;
    position: sticky;
    bottom: 0;
    z-index: 10;
}
.modal-small .overlay-footer button {
    flex: 1;
    padding: 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.2s;
}
.modal-small .overlay-footer .btn-primary {
    background: #1a73e8;
    color: #fff;
}
.modal-small .overlay-footer .btn-primary:active {
    background: #1557b0;
}
.modal-small .overlay-footer .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.modal-small .overlay-footer .btn-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    margin-top: 0;
}
.modal-small .overlay-footer .btn-outline:active {
    background: rgba(255, 255, 255, 0.05);
}

/* Modal 里的输入框（深色主题） */
.modal-small .overlay-body input[type="password"] {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 10px;
    outline: none;
}
.modal-small .overlay-body input[type="password"]:focus {
    border-color: #1a73e8 !important;
}
.modal-small .overlay-body input[type="password"]::placeholder {
    color: rgba(255, 255, 255, 0.3);
}
.modal-small .overlay-body label {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* =============================================================
   聊天功能
   ============================================================= */

.chat-bubble {
    position: fixed;
    right: 16px;
    bottom: 140px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(26, 115, 232, 0.45);
    cursor: pointer;
    z-index: 30;
    transition: transform 0.2s;
    user-select: none;
}
.chat-bubble:active { transform: scale(0.92); }

.chat-bubble-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: #ea4335;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0a0a0a;
}

.chat-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #0f0f1a;
    z-index: 500;
    display: flex;
    flex-direction: column;
}
.chat-overlay.hidden { display: none; }

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: #1a1a2e;
    flex-shrink: 0;
    padding-top: calc(12px + env(safe-area-inset-top));
}
.chat-close-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    border-radius: 50%;
}
.chat-close-btn:active { background: rgba(255,255,255,0.08); }
.chat-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    flex: 1;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 75%;
}
.chat-msg-mine {
    align-self: flex-end;
    align-items: flex-end;
}
.chat-msg-other {
    align-self: flex-start;
    align-items: flex-start;
}

.chat-text {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
    white-space: pre-wrap;
}
.chat-msg-mine .chat-text {
    background: #1a73e8;
    color: #fff;
    border-bottom-right-radius: 4px;
}
.chat-msg-other .chat-text {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-bottom-left-radius: 4px;
}

.chat-img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 12px;
    display: block;
    cursor: pointer;
}

.chat-time {
    font-size: 10px;
    color: rgba(255,255,255,0.35);
    margin-top: 4px;
    padding: 0 4px;
}

.chat-input-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: #1a1a2e;
    flex-shrink: 0;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
.chat-img-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.7);
    font-size: 22px;
    cursor: pointer;
    border-radius: 50%;
    flex-shrink: 0;
}
.chat-img-btn:active { background: rgba(255,255,255,0.08); }
.chat-input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 14px;
    outline: none;
}
.chat-input:focus { border-color: #1a73e8; }
.chat-input::placeholder { color: rgba(255,255,255,0.3); }
.chat-send-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 20px;
    background: #1a73e8;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
}
.chat-send-btn:active { background: #1557b0; }

/* =============================================================
   订单详情页内嵌聊天按钮
   ============================================================= */
.detail-chat-btn-wrapper {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to top, #1a1a2e 60%, rgba(26, 26, 46, 0));
    z-index: 20;
    pointer-events: none;   /* 让渐变层不阻挡点击，只有按钮可点 */
}
.detail-chat-btn {
    pointer-events: auto;
    width: 100%;
    padding: 16px;
    background: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(26, 115, 232, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}
.detail-chat-btn:active {
    background: #1557b0;
}
