* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6C5CE7;
    --primary-light: #A29BFE;
    --secondary: #FD79A8;
    --accent: #FDCB6E;
    --success: #00B894;
    --warning: #FDCB6E;
    --danger: #E17055;
    --info: #74B9FF;
    --star-fill: #EB3CC9;
    --bg: #1B123D;
    --card: #FFFFFF;
    --text: #2D3436;
    --text-secondary: #636E72;
    --text-muted: #B2BEC3;
    --border: #DFE6E9;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --radius: 12px;
    --radius-sm: 8px;
}

/* Icon styles for Font Awesome */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-lg { font-size: 48px; }
.icon-xl { font-size: 64px; }

.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-primary { color: var(--primary); }
.text-warning { color: var(--warning); }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg) url('../images/bj.jpg') no-repeat center top / 100% auto;
    color: var(--text);
    min-height: 100vh;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 70px;
}

.header {
    color: white;
    padding: 12px 16px;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(108,92,231,0.3);
}

/* 顶部一行：搜索 + 定位 */
.header-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 定位组 - 右上角 */
.header-loc {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
}

.header-loc i {
    font-size: 18px;
    color: #fff;
}

.header-loc-text {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
    cursor: pointer;
}

/* 搜索框 */
.header-search {
    flex: 1;
    display: flex;
    align-items: center;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 18px;
    padding: 0 12px;
    height: 34px;
}

.header-search-icon {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    flex-shrink: 0;
    margin-right: 6px;
}

.header-search-input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 13px;
    height: 100%;
}

.header-search-input::placeholder {
    color: rgba(255,255,255,0.35);
}

/* GPS定位按钮 */
.loc-gps-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}
.loc-gps-btn.active {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}
.loc-gps-btn:active {
    transform: scale(0.92);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-title {
    font-size: 18px;
    font-weight: 600;
}

.header-back {
    font-size: 20px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 50%;
    transition: background 0.2s;
}
.header-back:hover {
    background: rgba(255,255,255,0.15);
}
.header-back i {
    color: white;
}

.header-action {
    font-size: 14px;
    opacity: 0.9;
    cursor: pointer;
}

.location-bar {
    background: white;
    margin: 12px 16px;
    padding: 12px 16px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.location-icon {
    font-size: 20px;
    color: var(--primary);
}

.location-text {
    flex: 1;
    font-size: 14px;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.location-refresh {
    font-size: 16px;
    color: var(--primary);
}

.filter-section {
    margin: 0 10px 10px;
    border-radius: var(--radius);
    padding: 10px 12px;
    box-shadow: var(--shadow);
}


.sort-row {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding: 4px 0;
}

.sort-tag {
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 13px;
    background: #F0EDFF;
    color: var(--primary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.sort-tag.active {
    background: var(--primary);
    color: white;
}

.fallback-notice {
    margin: 8px 10px;
    padding: 10px 14px;
    background: rgba(255, 193, 7, 0.12);
    border-left: 3px solid #FFC107;
    border-radius: 6px;
    font-size: 13px;
    color: #FFC107;
    display: flex;
    align-items: center;
    gap: 8px;
}

.distance-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    background: rgba(108, 92, 231, 0.2);
    color: #6C5CE7;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    vertical-align: middle;
}

.merchant-list {
    padding: 0 10px 120px;
}

.merchant-card {
    background: url(/images/bj2.png) no-repeat right bottom / cover;
    background-color: #3A2E9E;
    border-radius: var(--radius);
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.2s;
    color: #fff;
    position: relative;
    min-height: 130px;
    overflow: hidden;
}

.merchant-card .merchant-name,
.merchant-card .price-value,
.merchant-card .merchant-meta {
    color: #fff;
}

.merchant-card .merchant-meta span {
    color: rgba(255,255,255,0.85);
}

.merchant-card .distance-badge {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

.merchant-card .merchant-tag {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.merchant-card .merchant-tag.activity {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

.merchant-card .merchant-tag.group {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

.merchant-card .merchant-tag.shuttle {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

.merchant-card .merchant-footer {
    border-top-color: rgba(255,255,255,0.2);
}

.merchant-card .price-info {
    color: rgba(255,255,255,0.85);
}

.merchant-card:active {
    transform: scale(0.98);
}

/* 商家卡片图文布局 */
.merchant-card-body {
    display: flex;
    align-items: center;
    gap: 10px;
}

.merchant-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(255,255,255,0.1);
}

.merchant-thumb-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(74,61,168,0.5), rgba(108,92,231,0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: rgba(255,255,255,0.5);
    flex-shrink: 0;
}

.merchant-card-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding-right: 48px;
}

.merchant-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.5;
}

.price-value {
    font-size: 15px;
    font-weight: 700;
    color: #FFD700;
}

.actor-price {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    margin-left: 4px;
}

.merchant-header {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.merchant-logo {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
}

.merchant-info {
    flex: 1;
}

.merchant-name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.merchant-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-secondary);
    flex-wrap: wrap;
    overflow: hidden;
    line-height: 1.5;
}

.star-rating {
    display: inline-flex;
    gap: 2px;
    font-size: 12px;
    flex-shrink: 0;
}

.star-rating i {
    color: var(--star-fill);
}

.star-rating i.star-empty {
    color: rgba(255,255,255,0.25);
}

.star-rating-text {
    margin-left: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* 普通卡片内的星级颜色 */
.booking-card .star-rating i,
.merchant-detail .star-rating i {
    color: var(--star-fill);
}

.booking-card .star-rating i.star-empty,
.merchant-detail .star-rating i.star-empty {
    color: rgba(255,255,255,0.2);
}

.distance-badge {
    background: #F0EDFF;
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
}

.merchant-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    overflow: hidden;
    margin-top: 1px;
}

.merchant-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    background: #FFF0F5;
    color: var(--secondary);
    flex-shrink: 0;
}

.merchant-tag.activity {
    background: #FFF3E0;
    color: #E17055;
}

.merchant-tag.group {
    background: #E8F5E9;
    color: #00B894;
}

.merchant-tag.shuttle {
    background: #E3F2FD;
    color: #1976D2;
}

.merchant-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    
}

.price-info {
    font-size: 13px;
    color: var(--text-secondary);
}

.price-value {
    color: var(--danger);
    font-weight: 600;
    font-size: 16px;
}

.rebate-info {
    font-size: 12px;
    color: var(--success);
}

/* 商家卡片右下角返利标签 */
.merchant-card-rebate {
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 10px;
    white-space: nowrap;
    line-height: 1;
}

.btn {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:active {
    background: #5A4BD1;
}

.btn-outline {
    background: white;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: var(--radius);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.booking-form {
    padding: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: var(--text);
}
.modal-content .form-label {
    color: #ccc;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: var(--card);
    color: var(--text);
    font-family: inherit;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108,92,231,0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.order-tabs {
    display: flex;
    background: var(--card);
    margin: 12px 16px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.order-tab {
    flex: 1;
    padding: 12px 8px;
    text-align: center;
    font-size: 13px;
    cursor: pointer;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    position: relative;
}

.order-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

.order-tab .badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--danger);
    color: white;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 8px;
    min-width: 18px;
    text-align: center;
}

.order-card {
    background: var(--card);
    margin: 0 16px 12px;
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.order-no {
    font-size: 12px;
    color: var(--text-muted);
}

.order-status {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 10px;
    font-weight: 500;
}

.order-status.status-1 {
    background: #E3F2FD;
    color: #1976D2;
}

.order-status.status-2 {
    background: #FFF3E0;
    color: #E17055;
}

.order-status.status-3 {
    background: #E8F5E9;
    color: #00B894;
}

.order-status.status-0 {
    background: #F5F5F5;
    color: #636E72;
}

.order-status.status-4 {
    background: #FFEBEE;
    color: #B71C1C;
}

.order-body {
    display: flex;
    gap: 12px;
}

.order-merchant-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.order-info {
    flex: 1;
}

.order-service {
    font-size: 15px;
    font-weight: 600;
}

.order-merchant {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.order-time {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.order-amount {
    font-weight: 600;
    color: var(--danger);
}

.order-rebate {
    font-size: 12px;
    color: var(--success);
}

.profile-section {
    background: var(--card);
    margin: 12px 16px;
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 18px;
    font-weight: 600;
}

.profile-phone {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.auth-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: center;
}

.balance-card {
    background: linear-gradient(135deg, var(--primary), #8B7CF6);
    color: white;
    margin: 12px 16px;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 4px 16px rgba(108,92,231,0.3);
}

.balance-label {
    font-size: 13px;
    opacity: 0.8;
}

.balance-amount {
    font-size: 32px;
    font-weight: 700;
    margin: 8px 0;
}

.balance-sub {
    font-size: 13px;
    opacity: 0.8;
    display: flex;
    justify-content: space-between;
}

.menu-list {
    margin: 12px 16px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.2s;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:active {
    background: var(--bg);
}

.menu-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 12px;
}

.menu-icon.purple { background: #F0EDFF; }
.menu-icon.pink { background: #FFF0F5; }
.menu-icon.green { background: #E8F5E9; }
.menu-icon.blue { background: #E3F2FD; }
.menu-icon.orange { background: #FFF3E0; }

.menu-title {
    flex: 1;
    font-size: 15px;
}

.menu-arrow {
    color: var(--text-muted);
    font-size: 16px;
}

.account-log {
    background: var(--card);
    margin: 0 16px 10px;
    border-radius: var(--radius);
    padding: 14px 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.log-desc {
    font-size: 14px;
    flex: 1;
}

.log-amount {
    font-size: 16px;
    font-weight: 600;
}

.log-amount.income {
    color: var(--success);
}

.log-amount.expense {
    color: var(--danger);
}

.log-time {
    font-size: 12px;
    color: var(--text-muted);
}

.log-balance {
    font-size: 12px;
    color: var(--text-secondary);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255,255,255,0.4);
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.3);
    opacity: 0.7;
}

.empty-text {
    font-size: 14px;
}

.booking-card {
    background: #201851;
    margin: 12px 16px;
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
    color: rgba(255,255,255,0.85);
}

.booking-card .merchant-name {
    color: #fff;
}

.booking-card .merchant-meta,
.booking-card .merchant-meta span {
    color: rgba(255,255,255,0.7);
}

.booking-card .distance-badge {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
}

.booking-card .merchant-tag {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.8);
}

.booking-card .merchant-tag.activity {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
}

.booking-card .merchant-tag.group {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
}

.booking-card .merchant-tag.shuttle {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
}

.service-option {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.service-option.selected {
    border-color: var(--primary);
    background: #F0EDFF;
}

.service-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.service-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.service-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--danger);
}

.service-original {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 8px;
}

.service-rebate {
    font-size: 12px;
    color: var(--success);
    margin-top: 2px;
}

.agreement-content {
    padding: 20px;
    line-height: 1.8;
    font-size: 14px;
}

.agreement-content h3 {
    margin-bottom: 16px;
    color: var(--primary);
}

.agreement-content p {
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 14px;
    color: white;
    animation: toastIn 0.3s ease;
}

.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast.info { background: var(--info); }

@keyframes toastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.tab-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: #020105;
    display: flex;
    flex-direction: column;
    padding: 6px 0 0;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    z-index: 100;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.05);
}

.tab-savings {
    text-align: center;
    padding: 4px 16px 2px;
}

.savings-title {
    font-size: 12px;
    color: #6C5CE7;
    line-height: 1.5;
}

.savings-amount {
    font-size: 24px;
    font-weight: 700;
    color: #6C5CE7;
    line-height: 1.4;
}

.tab-items-row {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding-top: 2px;
}

.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 11px;
    transition: color 0.2s;
}

.tab-item.active {
    color: var(--primary);
}

.tab-item.active .tab-icon {
    -webkit-text-stroke: 0.5px var(--primary);
    text-shadow: 0 0 4px var(--primary), 0 0 8px rgba(108, 92, 231, 0.6), 0 0 14px rgba(108, 92, 231, 0.3);
}

.tab-icon {
    font-size: 22px;
}

.car-service-banner {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    margin: 12px 16px;
    padding: 16px;
    border-radius: var(--radius);
}

.car-service-title {
    font-size: 16px;
    font-weight: 600;
    color: #1565C0;
    margin-bottom: 4px;
}

.car-service-desc {
    font-size: 13px;
    color: #1976D2;
    margin-bottom: 10px;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 16px;
}

/* 加载动画 */
.loading {
    text-align: center;
    padding: 40px;
    color: rgba(255,255,255,0.5);
}

.loading-spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.modal-content {
    background: #020105;
    color: #f0f0f0;
    width: 100%;
    max-width: 480px;
    border-radius: 16px 16px 0 0;
    max-height: 70vh;
    overflow-y: auto;
    padding: 20px;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-muted);
}

/* 个人信息设置 - 分区标题 */
.settings-section-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    padding-bottom: 8px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

/* 设置页输入框 + 按钮行 */
.settings-field-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* 位置选择Tab */
.location-tabs {
    display: flex;
    background: #F5F6FA;
    border-radius: var(--radius-sm);
    padding: 3px;
    margin-bottom: 16px;
}

.location-tab {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
}

.location-tab.active {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.loc-tab-panel {
    padding-bottom: 4px;
}

.region-select {
    appearance: auto;
    cursor: pointer;
    background: #fff;
}

.region-select:disabled {
    background: #F5F6FA;
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Banner 轮播图 */
.banner-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #F0F0F0;
}

.banner-section.small.card-banner {
    margin: -16px -16px 12px -16px;
    width: calc(100% + 32px);
    border-radius: var(--radius) var(--radius) 0 0;
}

.banner-section.large {
    border-radius: 0;
    margin-bottom: 12px;
}

.banner-slide {
    width: 100%;
    height: auto;
    display: none;
    vertical-align: middle;
}

.banner-slide.active {
    display: block;
}

/* 详情页Banner - 使用background-image */
.detail-banner {
    height: 260px;
    background: #1B123D;
}
.detail-banner .banner-slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s ease;
    opacity: 0;
}
.detail-banner .banner-slide.active {
    opacity: 1;
}
.banner-gradient-top {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
    z-index: 1;
    pointer-events: none;
}
.banner-gradient-bottom {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(27,18,61,0.9), transparent);
    z-index: 1;
    pointer-events: none;
}
.banner-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.banner-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.banner-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.2s;
}

.banner-dot.active {
    background: white;
    width: 16px;
    border-radius: 3px;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    font-size: 12px;
    transition: background 0.2s;
}

.banner-arrow:hover {
    background: rgba(0,0,0,0.5);
}

.banner-arrow.left { left: 8px; }
.banner-arrow.right { right: 8px; }

.banner-none {
    display: none;
}

.merchant-logo-img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.merchant-logo-img.large {
    width: 80px;
    height: 80px;
}

/* 右下角贴边悬浮按钮 */
.side-float-btns {
    position: fixed;
    right: 0;
    bottom: 120px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.3s ease;
}

.side-float-btns.hidden {
    transform: translateX(120%);
}

.float-btn {
    width: 120px;
    height: 80px;
    border-radius: 12px 0 0 12px;
    overflow: hidden;
    cursor: pointer;
    transition: width 0.3s;
}

.float-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 底部弹出面板 */
.bottom-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 300;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bottom-sheet {
    width: 100%;
    max-width: 480px;
    max-height: 70vh;
    background: #1B123D;
    border-radius: 20px 20px 0 0;
    padding: 8px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.bottom-sheet-handle {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin: 0 auto 16px;
}

.bottom-sheet-title {
    font-size: 18px;
    font-weight: 700;
    color: #FFD700;
    text-align: center;
    margin-bottom: 16px;
}

.bottom-sheet-body {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.8;
}

.bottom-sheet-body p {
    margin-bottom: 10px;
}

.sheet-subtitle {
    color: #FFD700;
    font-weight: 600;
    font-size: 15px;
    margin-top: 8px;
}

/* 小票上传区域 */
.receipt-upload-area {
    border: 2px dashed rgba(108, 92, 231, 0.3);
    border-radius: var(--radius-sm);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.receipt-upload-area:hover {
    border-color: var(--primary);
}

#receiptUploadPlaceholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* 小票列表 */
.receipt-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    padding: 8px 16px;
    margin-top: 4px;
}

.receipt-grid {
    padding: 0 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.receipt-card {
    background: var(--card);
    border-radius: var(--radius-sm);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.15s;
    position: relative;
}

.receipt-card:active {
    transform: scale(0.98);
}

.receipt-card-img {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #F5F6FA;
}

.receipt-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.receipt-status {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2px 0;
    font-size: 10px;
    text-align: center;
    color: #fff;
    font-weight: 500;
}

.receipt-status.pending { background: rgba(253, 203, 110, 0.85); color: #8B6914; }
.receipt-status.approved { background: rgba(0, 184, 148, 0.85); }
.receipt-status.rejected { background: rgba(225, 112, 85, 0.85); }

.receipt-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.receipt-amount {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.receipt-merchant {
    font-size: 12px;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.receipt-order {
    font-size: 11px;
    color: var(--text-muted);
}

.receipt-time {
    font-size: 11px;
    color: var(--text-muted);
}

.receipt-delete-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: rgba(225, 112, 85, 0.12);
    color: var(--danger);
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.receipt-delete-btn:active {
    background: rgba(225, 112, 85, 0.25);
}

/* 小票大图预览 */
.receipt-full-preview {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.receipt-full-preview img {
    max-width: 95%;
    max-height: 90vh;
    border-radius: 4px;
    object-fit: contain;
}

/* ==================== 商家详情页 ==================== */

/* 详情页body适配 */
body.has-detail-header {
    padding-top: 52px;
    padding-bottom: 0;
}

/* 透明头部，随滚动变实 */
.transparent-header {
    position: fixed;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: transparent !important;
    box-shadow: none !important;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.transparent-header.header-solid {
    background: linear-gradient(135deg, #2D1B69, #1B123D) !important;
    box-shadow: 0 2px 12px rgba(108,92,231,0.3) !important;
}
.transparent-header .header-action {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.transparent-header .header-action:active {
    background: rgba(255,255,255,0.3);
}

/* 详情区块 */
.detail-section {
    margin: 0 12px 12px;
    padding: 16px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.9);
}

/* Logo区域 */
.detail-logo-wrap {
    display: flex;
    justify-content: center;
    margin: -48px 0 12px;
    position: relative;
    z-index: 2;
}
.detail-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    background: #2D1B69;
}
.detail-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), #8B7CF6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    border: 3px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* 标题区 */
.detail-title-row {
    text-align: center;
}
.detail-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 8px;
}
.detail-rating-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.detail-stars {
    font-size: 13px;
}
.detail-stars .star-num {
    margin-left: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--star-fill);
}
.detail-distance {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    background: rgba(108,92,231,0.2);
    border-radius: 10px;
    font-size: 12px;
    color: #A29BFE;
}

/* 统计行 */
.detail-stats-row {
    display: flex;
    justify-content: space-around;
    text-align: center;
}
.detail-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.stat-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.stat-icon-circle.purple { background: rgba(108,92,231,0.2); color: #A29BFE; }
.stat-icon-circle.green { background: rgba(0,184,148,0.2); color: #00B894; }
.stat-icon-circle.pink { background: rgba(253,121,168,0.2); color: #FD79A8; }
.stat-icon-circle.gold { background: rgba(253,203,110,0.2); color: #FDCB6E; }
.stat-num {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}

/* 区块标题 */
.detail-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.section-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(108,92,231,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #A29BFE;
}
.section-count {
    margin-left: auto;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.06);
    padding: 2px 10px;
    border-radius: 10px;
}
.section-count.rebate-link {
    color: #FDCB6E;
    background: rgba(253,203,110,0.12);
    cursor: pointer;
    transition: all 0.2s;
}
.section-count.rebate-link:active {
    background: rgba(253,203,110,0.25);
    transform: scale(0.95);
}

/* 返利说明弹窗 */
.rebate-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 200;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.rebate-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.rebate-modal {
    width: 100%;
    max-width: 480px;
    max-height: 85vh;
    background: #1E1545;
    border-radius: 20px 20px 0 0;
    padding: 0;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.rebate-modal-overlay.active .rebate-modal {
    transform: translateY(0);
}
.rebate-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.rebate-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}
.rebate-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.2s;
}
.rebate-modal-close:active {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
.rebate-modal-body {
    padding: 20px;
}
.rebate-highlight {
    background: linear-gradient(135deg, rgba(253,203,110,0.12), rgba(253,203,110,0.05));
    border: 1px solid rgba(253,203,110,0.2);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #FDCB6E;
    text-align: center;
    line-height: 1.6;
}
.rebate-highlight i {
    margin-right: 4px;
}
.rebate-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 20px 0 12px;
    padding-left: 4px;
}
.rebate-rule-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rebate-rule-list li {
    position: relative;
    padding-left: 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
}
.rebate-rule-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(108,92,231,0.5);
}

/* 导航中提示Toast */
.nav-toast {
    width: 100%;
    max-width: 420px;
    background: #1E1545;
    border-radius: 20px;
    padding: 28px 24px 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.nav-toast-spinner {
    margin-bottom: 16px;
    font-size: 36px;
    color: #A29BFE;
}
.nav-toast-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.nav-toast-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 20px;
}
.nav-toast-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.nav-toast-btns .btn {
    min-width: 100px;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 14px;
}
.nav-toast-btns .btn-outline {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
}

/* 详情描述文字 */

/* 导航Toast居中显示 */
#navToast.rebate-modal-overlay {
    align-items: center;
}

/* 地图选择弹窗 */
.map-picker-sheet {
    width: 100%;
    max-width: 480px;
    max-height: 85vh;
    background: #1E1545;
    border-radius: 20px 20px 0 0;
    padding: 0;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.rebate-modal-overlay.active .map-picker-sheet {
    transform: translateY(0);
}
.map-picker-list {
    padding: 4px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.map-picker-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.2s;
    border: 1px solid rgba(255,255,255,0.04);
}
.map-picker-item:active {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.1);
}
.map-picker-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.map-picker-info {
    flex: 1;
    min-width: 0;
}
.map-picker-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
}
.map-picker-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}
.detail-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
}

/* 信息列表 */
.detail-info-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.detail-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.detail-info-item:last-child {
    border-bottom: none;
}
.info-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(108,92,231,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #A29BFE;
    flex-shrink: 0;
}
.info-icon-wrap.rebate-icon {
    background: rgba(253,203,110,0.15);
    color: #FDCB6E;
}
.info-content {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}
.info-label {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 3px;
}
.info-value {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    word-break: break-all;
}
.info-value.price-range {
    color: #FD79A8;
    font-weight: 600;
    font-size: 16px;
}
.info-value.rebate-text {
    color: #FDCB6E;
    font-size: 13px;
}
.info-value.rebate-text b {
    font-size: 16px;
}

/* 可点击的信息项（地址-打开地图） */
.detail-info-item.info-clickable {
    cursor: pointer;
    border-radius: 10px;
    padding: 12px;
    margin: 0 -6px;
    transition: background 0.2s;
}
.detail-info-item.info-clickable:active {
    background: rgba(108,92,231,0.12);
}
.info-arrow {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0,184,148,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #00B894;
    flex-shrink: 0;
    align-self: center;
}

/* 服务卡片 */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.service-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.2s;
    cursor: pointer;
}
.service-card:active {
    background: rgba(108,92,231,0.1);
    border-color: rgba(108,92,231,0.2);
    transform: scale(0.98);
}
.service-card-left {
    flex: 1;
    min-width: 0;
    padding-right: 12px;
}
.service-card-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}
.service-card-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 6px;
    line-height: 1.4;
}
.service-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    flex-wrap: wrap;
}
.service-duration {
    color: rgba(255,255,255,0.4);
}
.service-card-rebate {
    color: #00B894;
    font-weight: 500;
}
.service-card-right {
    text-align: right;
    flex-shrink: 0;
}
.service-card-price {
    font-size: 22px;
    font-weight: 700;
    color: #FD79A8;
    line-height: 1;
}
.service-card-original {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
    text-decoration: line-through;
    margin-top: 4px;
}
.service-card-discount {
    display: inline-block;
    margin-top: 4px;
    padding: 1px 6px;
    background: rgba(253,121,168,0.2);
    color: #FD79A8;
    font-size: 11px;
    border-radius: 4px;
    font-weight: 600;
}
.service-empty {
    text-align: center;
    padding: 30px;
    color: rgba(255,255,255,0.25);
}
.service-empty i {
    font-size: 36px;
    margin-bottom: 8px;
    display: block;
}
.service-empty p {
    font-size: 13px;
}

/* 底部操作栏 */
.detail-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: rgba(27,18,61,0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 10px 16px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    z-index: 99;
}
.bottom-bar-info {
    display: flex;
    flex-direction: column;
}
.bottom-bar-price {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}
.bottom-bar-price b {
    font-size: 20px;
    color: #FD79A8;
    font-weight: 700;
}
.bottom-bar-rebate {
    font-size: 12px;
    color: #FDCB6E;
}
.bottom-bar-rebate b {
    font-weight: 700;
}
.btn-booking {
    flex-shrink: 0;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 24px;
    background: linear-gradient(135deg, #6C5CE7, #8B7CF6);
    box-shadow: 0 4px 16px rgba(108,92,231,0.4);
    transition: all 0.2s;
    white-space: nowrap;
}
.btn-booking:active {
    transform: scale(0.96);
    box-shadow: 0 2px 8px rgba(108,92,231,0.3);
}

/* 小屏适配：缩略图进一步缩小，文字自动适配 */
@media (max-width: 360px) {
    .merchant-list {
        padding: 0 8px 120px;
    }
    .filter-section {
        margin: 0 8px 8px;
        padding: 8px 10px;
    }
    .merchant-card {
        padding: 10px 8px;
        margin-bottom: 8px;
    }
    .merchant-thumb,
    .merchant-thumb-placeholder {
        width: 64px;
        height: 64px;
    }
    .merchant-card-body {
        gap: 8px;
    }
    .merchant-card-content {
        padding-right: 42px;
        gap: 3px;
    }
    .merchant-name {
        font-size: 14px;
    }
    .star-rating {
        font-size: 11px;
    }
    .merchant-meta {
        font-size: 10px;
    }
    .merchant-tag {
        font-size: 10px;
        padding: 1px 6px;
    }
    .merchant-desc {
        font-size: 11px;
    }
    .merchant-card-rebate {
        font-size: 16px;
        padding: 2px 8px;
    }
}

/* 登录弹窗 */
.login-card {
    max-width: 380px;
    border-radius: 20px;
    padding: 28px 24px 24px;
    background: #fff;
    color: var(--text);
}
.login-card .form-label {
    color: var(--text);
}
.login-card .modal-title {
    color: var(--text);
}
.login-card-header {
    margin-bottom: 24px;
}
.login-avatar-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6C5CE7, #A29BFE);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 24px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(108,92,231,0.3);
}




