/* ========================================
   从容游 - App风格样式
   版本: v2.75.0
   更新日期: 2026-08-14
   变更(v2.75.0): 优化重新提交证件上传样式：①.upload-preview改为虚线边框(dashed)、内边距8px、最小高度100px、居中对齐；②新增.form-item（底部间距16px）、.form-label（灰色14px）、.form-text（黑色粗体16px）用于表单字段统一样式；③支持拍照和选择照片的按钮布局
   变更(v2.74.0): 新增审核拒绝重新提交样式：①.special-discount-footer添加gap:8px支持按钮布局；②.special-discount-time添加flex:1自动占据剩余空间；③新增.upload-preview样式（最小高度40px，底部间距8px）用于证件照片上传预览区域
   变更: v2.1.0 距离/导航/套餐 + v2.2.0 订单/收藏/足迹/客服 + v2.3.0 预订弹窗/购物车
        + v2.25.0 新增 A13/A14 多选筛选面板、A7 服务项目与退款政策、A4/A6 服务商信息、
          A2 儿童住房补差、A3 联系客服、A19 评价点赞、A20 我的拼团、B3 商户端筛选栏、
          C1 退款规则与审核徽章、C5/C6 后台表格省略号（全部为追加，未改动既有规则）
        + v2.26.0 新增小众线路筛选工具栏与已选标签展示区样式（.route-filter-toolbar、
          .route-filter-btn、.route-filter-tags、.route-filter-tag），标签采用渐变色背景
        + v2.27.0 新增小众线路筛选下拉面板样式（.route-filter-dropdown及相关子元素）
        + v2.28.0 重构小众线路筛选UI为直观chip布局，所有选项前置可见，地区单选、主题天数多选
        + v2.29.0 优化筛选UI：整体展开/收起设计，顶部新增「展开筛选」按钮；chip样式全面升级（更大内边距、渐变背景、悬浮动效、精致阴影）
        + v2.30.0 筛选UI图标设计优化：全部按钮使用SVG重置图标，筛选按钮使用SVG漏斗图标，已选摘要使用SVG×清空图标；所有按钮增强渐变和阴影效果
        + v2.68.0 目的地页筛选功能区优化：删除旧版地区横向滚动chips和分类Tab，新增与小众路线一致的筛选工具栏（全部按钮+筛选按钮+已选摘要），支持地区和分类多选筛选，整体展开/收起设计
        + v2.69.0 目的地卡片显示多个分类标签：新增.dest-categories容器和.dest-category-tag标签样式，支持每个目的地显示最多3个分类（紫色渐变边框+浅色背景）
        + v2.70.0 新增特色人群优惠列表样式：.special-discounts-list、.special-discount-card及相关子元素，支持审核状态徽章（待审核黄色、审核通过绿色、审核拒绝红色）、退款状态显示
        + v2.71.0 新增特殊人员优惠筛选标签栏样式：.special-discount-filters横向滚动容器、.filter-tag标签按钮（圆角20px、边框、悬停效果）、.filter-tag.active激活状态（品牌色背景+白色文字+阴影），筛选栏固定在header下方、白色背景、底部边框
   ======================================== */

/* ===== CSS变量 ===== */
:root {
    /* 品牌色 */
    --primary: #6366F1;
    --primary-light: #818CF8;
    --primary-dark: #4F46E5;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    /* 辅助色 */
    --accent: #F59E0B;
    --success: #10B981;
    --danger: #EF4444;
    --info: #3B82F6;

    /* 背景色 */
    --bg-page: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-input: #F1F5F9;
    --bg-mask: rgba(0,0,0,0.5);

    /* 文字色 */
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --text-tertiary: #94A3B8;
    --text-white: #FFFFFF;

    /* 边框 */
    --border-color: #E2E8F0;
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --border-radius-lg: 20px;

    /* 阴影 */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);

    /* 间距 */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 12px;
    --space-lg: 16px;
    --space-xl: 24px;
    --space-2xl: 32px;

    /* 字体 */
    --font-xs: 11px;
    --font-sm: 12px;
    --font-base: 14px;
    --font-lg: 16px;
    --font-xl: 18px;
    --font-2xl: 20px;
    --font-3xl: 24px;
}

/* ===== 全局样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    font-size: var(--font-base);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

button {
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input {
    border: none;
    outline: none;
    font-family: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== App容器 ===== */
.app-container {
    width: 100%;
    min-height: 100vh;
    background: var(--bg-page);
    padding-bottom: 60px;
}

/* ===== 页面切换 ===== */
.page {
    display: none;
    min-height: 100vh;
    position: relative;
}

.page.active {
    display: block;
}

/* ===== 登录页 ===== */
.page-login {
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
}

.login-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.bg-circle.c1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
}

.bg-circle.c2 {
    width: 150px;
    height: 150px;
    bottom: 100px;
    left: -30px;
}

.bg-circle.c3 {
    width: 80px;
    height: 80px;
    bottom: 30px;
    right: 50px;
}

.login-content {
    position: relative;
    z-index: 1;
    padding: 120px var(--space-xl) var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.login-logo {
    text-align: center;
    margin-bottom: 80px;
}

.logo-emoji {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto var(--space-md);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.logo-emoji img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.logo-title {
    font-size: var(--font-3xl);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--space-sm);
}

.logo-subtitle {
    font-size: var(--font-base);
    color: rgba(255,255,255,0.8);
}

.login-actions {
    width: 100%;
    max-width: 300px;
}

.login-btn {
    width: 100%;
    height: 52px;
    border-radius: 26px;
    font-size: var(--font-lg);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    transition: all 0.3s;
}

.login-btn:active {
    transform: scale(0.98);
}

.login-btn.primary {
    background: var(--text-white);
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.login-btn.secondary {
    background: rgba(255,255,255,0.2);
    color: var(--text-white);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.login-btn.text {
    background: transparent;
    color: rgba(255,255,255,0.8);
    height: 44px;
}

.btn-icon {
    font-size: 20px;
}

.login-tips {
    margin-top: var(--space-2xl);
    text-align: center;
    font-size: var(--font-xs);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.login-tips input[type="checkbox"] {
    margin-right: var(--space-xs);
}

.login-tips a {
    color: var(--text-white);
    text-decoration: underline;
}

/* ===== 首页 ===== */
.home-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) var(--space-lg) var(--space-md);
}

.location-bar {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

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

.location-text {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--text-primary);
}

.location-arrow {
    font-size: 10px;
    color: var(--text-tertiary);
}

.header-actions {
    display: flex;
    gap: var(--space-md);
}

.header-icon {
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    position: relative;
}

/* 搜索栏 */
.search-wrapper {
    padding: 0 var(--space-lg) var(--space-lg);
    position: relative;
}

.search-box {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    height: 44px;
    background: var(--bg-card);
    border-radius: 22px;
    padding: 0 var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.search-icon {
    font-size: 16px;
    color: var(--text-tertiary);
}

.search-box input {
    flex: 1;
    height: 100%;
    font-size: var(--font-base);
    color: var(--text-primary);
}

.search-box input::placeholder {
    color: var(--text-tertiary);
}

.search-scan {
    font-size: 18px;
}

.scroll-content {
    padding: 0 var(--space-lg) var(--space-2xl);
}

/* 线路页的scroll-content不需要左右padding，由卡片自己控制margin */
.page-route .scroll-content {
    padding: 0 0 80px;
}

/* 确保游记页面的scroll-content与首页完全一致 */
.page-community .scroll-content {
    padding: 0 var(--space-lg) var(--space-2xl);
}

/* 消息中心页面：scroll-content需要上间距，避免被sticky header覆盖 */
.page-messages .scroll-content {
    padding-top: var(--space-lg);
}

/* 快捷导航 - 重新设计 */
.quick-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl) var(--space-md);
    padding: var(--space-lg) 0;
    background: var(--bg-card);
    border-radius: 20px;
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
}

.quick-icon {
    width: 56px;
    height: 56px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.quick-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%);
    border-radius: 20px;
}

/* 年轻美观的渐变色方案 */
.quick-icon.route {
    background: linear-gradient(135deg, #10B981 0%, #34D399 50%, #6EE7B7 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.quick-icon.guide {
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 50%, #93C5FD 100%);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.quick-item:active .quick-icon {
    transform: scale(0.9);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.quick-label {
    font-size: var(--font-xs);
    color: var(--text-secondary);
    font-weight: 500;
}

/* Banner */
.banner-wrapper {
    position: relative;
    margin-bottom: var(--space-lg);
}

.banner-slider {
    position: relative;
    height: 180px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s;
}

.banner-slide.active {
    opacity: 1;
}

.banner-bg {
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
}

.banner-bg.bg1 {
    background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.45)), url('images/banner-guizhou.jpg');
    background-size: cover;
    background-position: center;
}

.banner-bg.bg2 {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), url('images/banner-miao.jpg');
    background-size: cover;
    background-position: center;
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(transparent, rgba(0,0,0,0.3));
}

.banner-tag {
    display: inline-block;
    padding: 4px var(--space-sm);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 6px;
    font-size: var(--font-xs);
    color: var(--text-white);
    margin-bottom: var(--space-xs);
}

.banner-title {
    font-size: var(--font-xl);
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: var(--space-xs);
}

.banner-desc {
    font-size: var(--font-sm);
    color: rgba(255,255,255,0.9);
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.banner-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: var(--border-color);
    transition: all 0.3s;
}

.banner-dots .dot.active {
    width: 20px;
    background: var(--primary);
    border-radius: 3px;
}

/* 功能入口 */
.feature-bar {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    overflow-x: auto;
    padding-bottom: var(--space-xs);
    -webkit-overflow-scrolling: touch;
}

.feature-bar::-webkit-scrollbar {
    display: none;
}

.feature-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-card);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    font-size: 20px;
}

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

.feature-title {
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.feature-desc {
    font-size: var(--font-xs);
    color: var(--text-tertiary);
}

/* Section区块 */
.section {
    margin-bottom: var(--space-xl);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: var(--font-lg);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.title-icon {
    font-size: 20px;
}

.section-more {
    font-size: var(--font-sm);
    color: #3B82F6;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

.section-more:hover {
    color: #2563EB;
}

/* 热门线路滚动 */
.route-scroll {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    padding-bottom: var(--space-sm);
    -webkit-overflow-scrolling: touch;
}

.route-scroll::-webkit-scrollbar {
    display: none;
}

.route-card {
    flex-shrink: 0;
    width: 240px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.route-img {
    position: relative;
    height: 140px;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== 真实图片样式 ===== */
.img-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

/* img-placeholder 直接显示背景图，无遮罩 */


/* 推荐卡片 — 首页线路 */




.img-placeholder.img1 {
    background-color: #2D5A27;
    background: url('images/banner-guizhou.jpg') center/cover;
}
.img-placeholder.img2 {
    background-color: #1A5276;
    background: url('images/banner-guizhou.jpg') center/cover;
}
.img-placeholder.img3 {
    background-color: #1E3A5F;
    background: url('images/banner-guizhou.jpg') center/cover;
}
.img-placeholder.img4 {
    background-color: #C0392B;
    background: url('images/banner-guizhou.jpg') center/cover;
}
.img-placeholder.img5 {
    background-color: #6C3483;
    background: url('images/dest-qiannan.jpg') center/cover;
}
.img-placeholder.img6 {
    background-color: #1A5276;
    background: url('images/banner-guizhou.jpg') center/cover;
}

/* 美食餐饮 */
.img-placeholder.img7 {
    background-color: #2D5A27;
    background: url('images/dest-qiannan.jpg') center/cover;
}
.img-placeholder.img8 {
    background-color: #7D6608;
    background: url('images/dest-qiannan.jpg') center/cover;
}

/* 景点门票 */
.img-placeholder.img9 {
    background-color: #1A5276;
    background: url('images/guide-libo.jpg') center/cover;
}
.img-placeholder.img10 {
    background-color: #2D5A27;
    background: url('images/dest-xijiang.jpg') center/cover;
}
.img-placeholder.img11 {
    background-color: #0E6251;
    background: url('images/dest-tongren.jpg') center/cover;
}
.img-placeholder.img12 {
    background-color: #4A235A;
    background: url('images/banner-guizhou.jpg') center/cover;
}
.img-placeholder.img13 {
    background-color: #78281F;
    background: url('images/banner-guizhou.jpg') center/cover;
}

/* 美食 */
.img-placeholder.img14 {
    background-color: #C0392B;
    background: url('images/dest-qiannan.jpg') center/cover;
}
.img-placeholder.img15 {
    background-color: #D35400;
    background: url('images/banner-guizhou.jpg') center/cover;
}
.img-placeholder.img16 {
    background-color: #7D6608;
    background: url('images/banner-guizhou.jpg') center/cover;
}
.img-placeholder.img17 {
    background-color: #1E3A5F;
    background: url('images/banner-guizhou.jpg') center/cover;
}

/* 酒店 */
.img-placeholder.img18 {
    background-color: #2D5A27;
    background: url('images/dest-xijiang.jpg') center/cover;
}
.img-placeholder.img19 {
    background-color: #4A235A;
    background: url('images/dest-xijiang.jpg') center/cover;
}
.img-placeholder.img20 {
    background-color: #1A5276;
    background: url('images/dest-xijiang.jpg') center/cover;
}

/* 线路 */
.img-placeholder.img21 {
    background-color: #2D5A27;
    background: url('images/banner-miao.jpg') center/cover;
}
.img-placeholder.img22 {
    background-color: #1A5276;
    background: url('images/banner-miao.jpg') center/cover;
}
.img-placeholder.img23 {
    background-color: #7D6608;
    background: url('images/dest-tongren.jpg') center/cover;
}





/* 旅拍 */
.img-placeholder.img24 {
    background-color: #6C3483;
    background: url('images/banner-miao.jpg') center/cover;
}
.img-placeholder.img25 {
    background-color: #C0392B;
    background: url('images/banner-miao.jpg') center/cover;
}

/* 玩乐 */
.img-placeholder.img26 {
    background-color: #D35400;
    background: url('images/banner-miao.jpg') center/cover;
}
.img-placeholder.img27 {
    background-color: #1A5276;
    background: url('images/banner-miao.jpg') center/cover;
}

/* 商城 */
.img-placeholder.img28 {
    background-color: #2D5A27;
    background: url('images/banner-guizhou.jpg') center/cover;
}
.img-placeholder.img29 {
    background-color: #7D6608;
    background: url('images/banner-miao.jpg') center/cover;
}
.img-placeholder.img30 {
    background-color: #C0392B;
    background: url('images/dest-tongren.jpg') center/cover;
}
.img-placeholder.img31 {
    background-color: #1E3A5F;
    background: url('images/banner-miao.jpg') center/cover;
}
.img-placeholder.img32 {
    background-color: #D35400;
    background: url('images/banner-guizhou.jpg') center/cover;
}
.img-placeholder.img33 {
    background-color: #0E6251;
    background: url('images/banner-guizhou.jpg') center/cover;
}
.img-placeholder.img34 {
    background-color: #6C3483;
    background: url('images/guide-libo.jpg') center/cover;
}

/* 新增线路 */
.img-placeholder.img4v {
    background-color: #4A235A;
    background: url('images/banner-guizhou.jpg') center/cover;
}
.img-placeholder.img5v {
    background-color: #78281F;
    background: url('images/banner-guizhou.jpg') center/cover;
}
.img-placeholder.img6v {
    background-color: #0E6251;
    background: url('images/banner-guizhou.jpg') center/cover;
}

/* 游记 */
.img-placeholder.img39 {
    background-color: #C0392B;
    background: url('images/post-libo.jpg') center/cover;
}
.img-placeholder.img40 {
    background-color: #1E3A5F;
    background: url('images/guide-libo.jpg') center/cover;
}

/* 新增线路图片 — 场景插画 */







/* 详情页 */
.img-placeholder.img38 {
    background-color: #2D5A27;
    background: url('images/banner-guizhou.jpg') center/cover;
}

.route-tag {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    padding: 4px var(--space-sm);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    border-radius: 6px;
    font-size: var(--font-xs);
    color: var(--text-white);
}

.route-tag.hot {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.route-info {
    padding: var(--space-md);
}

.route-name {
    font-size: var(--font-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.route-path {
    font-size: var(--font-xs);
    color: var(--text-tertiary);
    margin-bottom: var(--space-sm);
}

.route-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.route-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.price-symbol {
    font-size: var(--font-sm);
    color: var(--accent);
    font-weight: 500;
}

.price-num {
    font-size: var(--font-xl);
    color: var(--accent);
    font-weight: 700;
}

.price-unit {
    font-size: var(--font-xs);
    color: var(--text-tertiary);
}

.route-stats {
    display: flex;
    gap: var(--space-sm);
    font-size: var(--font-xs);
    color: var(--text-tertiary);
}

.rating {
    color: #FFB800;
}

.sales {
    color: var(--text-tertiary);
}

/* 推荐网格 */
.recommend-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    /* 确保宽度一致 */
    width: 100%;
}

.recommend-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    /* 确保卡片宽度一致 */
    width: 100%;
}

.recommend-img {
    height: 120px;
}

.recommend-info {
    padding: var(--space-sm);
}

.recommend-name {
    font-size: var(--font-sm);
    font-weight: 500;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recommend-tags {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
    flex-wrap: wrap;
}

.recommend-tags .tag {
    font-size: var(--font-xs);
    padding: 2px 6px;
    background: var(--bg-input);
    border-radius: 4px;
    color: var(--text-secondary);
}

.recommend-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recommend-footer .price {
    font-size: var(--font-base);
    font-weight: 600;
    color: var(--accent);
}

.recommend-footer .unit,
.recommend-footer .distance,
.recommend-footer .author {
    font-size: var(--font-xs);
    color: var(--text-tertiary);
}

/* 攻略滚动 */
.guide-scroll {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    padding-bottom: var(--space-sm);
    -webkit-overflow-scrolling: touch;
}

.guide-scroll::-webkit-scrollbar {
    display: none;
}

.guide-card {
    flex-shrink: 0;
    width: 180px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.guide-img {
    height: 100px;
}

.guide-info {
    padding: var(--space-sm);
}

.guide-title {
    font-size: var(--font-sm);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.guide-desc {
    font-size: var(--font-xs);
    color: var(--text-tertiary);
    margin-bottom: var(--space-sm);
}

.guide-meta {
    display: flex;
    gap: var(--space-sm);
    font-size: var(--font-xs);
    color: var(--text-tertiary);
}

/* ===== 分类页面 ===== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    background: var(--bg-card);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.back-btn {
    font-size: 24px;
    color: var(--text-primary);
    width: 32px;
}

.page-title {
    font-size: var(--font-xl);
    font-weight: 600;
    flex: 1;
    text-align: center;
}

.icon-btn {
    font-size: 20px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 筛选栏容器 */
.route-filter-wrap {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    z-index: 150;
    padding: var(--space-md) 0;
}

/* 筛选栏 */
.filter-bar {
    display: flex;
    gap: var(--space-sm);
    padding: 0 var(--space-lg);
    padding-right: 136px; /* 为"更多筛选"按钮预留足够空间（按钮宽度约120px） */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    align-items: center;
}

.filter-bar::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-card);
    border-radius: 20px;
    font-size: var(--font-sm);
    color: var(--text-secondary);
    white-space: nowrap;
    transition: all 0.2s;
    cursor: pointer;
    flex-shrink: 0;
}

.filter-chip.filter-chip-more {
    background: #3B82F6;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    position: absolute;
    right: var(--space-lg);
    top: var(--space-md);
    z-index: 10;
}
    box-shadow: -8px 0 12px rgba(248,250,252,0.95);
    z-index: 10;
}

.filter-chip.filter-chip-more:active {
    background: #2563EB;
    transform: scale(0.95);
}

.filter-chip.filter-chip-more:hover {
    background: #2563EB;
}

.filter-chip.active {
    background: var(--primary);
    color: var(--text-white);
}

.filter-chip:active {
    transform: scale(0.95);
}

/* 卡片列表 */
.card-list {
    padding-bottom: var(--space-xl);
}

.card-item {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-md);
    overflow: hidden;
    display: flex;
    box-shadow: var(--shadow-sm);
}

.card-img {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    position: relative;
}

.card-tag {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    padding: 4px var(--space-sm);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    font-size: var(--font-xs);
    color: var(--text-white);
}

.card-tag.hot {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.card-tag.new {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.card-tag.merchant {
    background: rgba(59, 130, 246, 0.9);
    backdrop-filter: blur(10px);
    right: var(--space-sm);
    left: auto;
}

/* ===== 线路页面 ===== */
.route-list {
    padding-bottom: var(--space-xl);
}

.route-card-large {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    margin: 0 var(--space-lg) var(--space-md) var(--space-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1;
}

.route-card-large:first-of-type {
    margin-top: var(--space-lg);
}

.route-img-large {
    height: 160px;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.route-img-large .route-distance-badge {
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    z-index: 2;
}

.route-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
}

.route-badge {
    display: inline-block;
    padding: 6px var(--space-sm);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    font-size: var(--font-xs);
    color: var(--text-white);
}

.route-badge.hot {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.route-info-large {
    padding: var(--space-md);
}

.route-title-large {
    font-size: var(--font-base);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.route-path-large {
    font-size: var(--font-sm);
    color: var(--text-tertiary);
    margin-bottom: var(--space-sm);
}

.route-highlights {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.highlight-tag {
    font-size: var(--font-xs);
    padding: 4px var(--space-sm);
    background: var(--bg-input);
    border-radius: 6px;
    color: var(--text-secondary);
}

.route-meta-large {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.route-stats-large {
    display: flex;
    gap: var(--space-sm);
    font-size: var(--font-sm);
    color: var(--text-tertiary);
}

.reviews {
    color: var(--text-tertiary);
}

/* ===== 目的地页面 ===== */

/* 顶部Hero区域 */
.guide-hero {
    position: relative;
    height: 200px;
    margin: 0 calc(-1 * var(--space-lg));
    margin-bottom: var(--space-md);
    overflow: hidden;
    /* 修复溢出 - 限制最大宽度 */
    max-width: calc(100% + 2 * var(--space-lg));
    /* 在小屏幕上不超出视口 */
    width: calc(100% + 2 * var(--space-lg));
    left: calc(-1 * var(--space-lg));
}

/* 在桌面端限制hero宽度 */
@media (min-width: 431px) {
    .guide-hero {
        max-width: 430px;
        margin: 0 auto var(--space-md);
        left: 0;
        width: 100%;
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl) var(--space-lg);
    z-index: 1;
}

.hero-title {
    font-size: var(--font-3xl);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--space-sm);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: var(--font-base);
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

/* 地区选择 */
/* ===== v2.30.0 目的地筛选区（chip布局，整体展开/收起） ===== */

/* 筛选功能区容器 */
.guide-filter-section {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 16px 0;
    margin-bottom: 16px;
}

/* 顶部工具栏 */
.guide-filter-toolbar-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
}

.guide-filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 全部按钮 */
.guide-filter-reset-all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 1.5px solid #E2E8F0;
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.guide-filter-reset-all:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #CBD5E1;
}

.guide-filter-reset-all:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.guide-filter-reset-all .reset-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

/* 展开/收起按钮 */
.guide-filter-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-white);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 8px rgba(59, 130, 246, 0.3);
}

.guide-filter-toggle-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.guide-filter-toggle-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(59, 130, 246, 0.3);
}

.guide-filter-toggle-btn .filter-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

.guide-filter-toggle-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
    margin-left: -2px;
}

.guide-filter-toggle-arrow.expanded {
    transform: rotate(180deg);
}

/* 已选摘要 */
.guide-filter-summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 13px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 999px;
    font-size: 12px;
    color: var(--text-white);
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

.guide-filter-clear-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.guide-filter-clear-icon svg {
    width: 9px;
    height: 9px;
    color: var(--text-white);
}

.guide-filter-clear-icon:hover {
    background: rgba(255, 255, 255, 0.35);
}

.guide-filter-clear-icon:active {
    background: rgba(255, 255, 255, 0.45);
    transform: scale(0.92);
}

/* 筛选内容区（整体展开/收起） */
.guide-filter-content {
    max-height: 800px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                padding 0.3s ease;
    padding-bottom: 16px;
}

.guide-filter-content.collapsed {
    max-height: 0;
    opacity: 0;
    padding-bottom: 0;
}

/* 筛选维度块 */
.guide-filter-dimension {
    margin-bottom: 16px;
}

.guide-filter-dimension:last-child {
    margin-bottom: 0;
}

.guide-filter-dim-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding-left: 2px;
}

/* 横向滚动chip容器 */
.guide-filter-chips-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 0 4px;
}

.guide-filter-chips-scroll::-webkit-scrollbar {
    display: none;
}

/* Chip按钮基础样式 */
.guide-filter-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 1.5px solid #E2E8F0;
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.guide-filter-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #CBD5E1;
}

.guide-filter-chip:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* Chip选中态 */
.guide-filter-chip.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: var(--text-white);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.35);
}

.guide-filter-chip.selected:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.45);
}

.guide-filter-chip.selected:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.35);
}

.guide-filter-chip-check {
    font-size: 12px;
    font-weight: 700;
}

/* ===== v2.68.0 目的地页筛选功能区（复用小众路线筛选样式） ===== */

/* 目的地筛选功能区容器 */
.guide-filter-section {
    padding: 12px 16px 0;
    margin-bottom: 16px;
}

/* 目的地筛选工具栏 */
.guide-filter-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
}

.guide-filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 目的地筛选按钮（复用小众路线样式） */
.guide-filter-reset-all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 1.5px solid #E2E8F0;
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.guide-filter-reset-all:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #CBD5E1;
}

.guide-filter-reset-all .reset-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

.guide-filter-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-white);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 8px rgba(59, 130, 246, 0.3);
}

.guide-filter-toggle-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.guide-filter-toggle-btn .filter-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

.guide-filter-toggle-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
    margin-left: -2px;
}

.guide-filter-toggle-arrow.expanded {
    transform: rotate(180deg);
}

.guide-filter-summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 13px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 999px;
    font-size: 12px;
    color: var(--text-white);
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

.guide-filter-clear-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.guide-filter-clear-icon svg {
    width: 9px;
    height: 9px;
    color: var(--text-white);
}

.guide-filter-clear-icon:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* 目的地筛选内容区 */
.guide-filter-content {
    max-height: 800px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                padding 0.3s ease;
    padding-bottom: 16px;
}

.guide-filter-content.collapsed {
    max-height: 0;
    opacity: 0;
    padding-bottom: 0;
}

.guide-filter-dimension {
    margin-bottom: 16px;
}

.guide-filter-dimension:last-child {
    margin-bottom: 0;
}

.guide-filter-dim-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding-left: 2px;
}

.guide-filter-chips-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 2px 0 4px;
}

.guide-filter-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 1.5px solid #E2E8F0;
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.guide-filter-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #CBD5E1;
}

.guide-filter-chip.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: var(--text-white);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.35);
}

.guide-filter-chip.selected:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.45);
}

.guide-filter-chip-check {
    font-size: 12px;
    font-weight: 700;
}

.guide-filter-chip-count {
    font-size: 11px;
    color: var(--text-tertiary);
    font-weight: 400;
    margin-left: 2px;
}

.guide-filter-chip.selected .guide-filter-chip-count {
    color: rgba(255, 255, 255, 0.8);
}

/* 精选目的地 */
.featured-dest {
    padding: var(--space-lg) 0;
}

.featured-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.featured-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.featured-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: 6px var(--space-md);
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    border-radius: 20px;
    font-size: var(--font-sm);
    color: var(--text-white);
    font-weight: 500;
    z-index: 2;
}

.featured-info {
    padding: var(--space-lg);
}

.featured-title {
    font-size: var(--font-xl);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.featured-desc {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.featured-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spot-count {
    font-size: var(--font-sm);
    color: var(--text-tertiary);
}

/* 目的地网格 */
.dest-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    padding: var(--space-lg) 0 var(--space-xl);
}

.dest-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.dest-img {
    position: relative;
    height: 120px;
}

.dest-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px var(--space-sm);
    border-radius: 12px;
    font-size: var(--font-xs);
    color: var(--text-white);
    line-height: 1;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.1);
    z-index: 1;
}

.dest-tag-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.dest-tag.hot {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.dest-tag.recommend {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
}

.dest-tag.green {
    background: rgba(0, 0, 0, 0.65);
}

.dest-info {
    padding: var(--space-sm);
}

.dest-name {
    font-size: var(--font-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.dest-desc {
    font-size: var(--font-xs);
    color: var(--text-tertiary);
    margin-bottom: var(--space-sm);
}

.dest-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-xs);
    color: var(--text-tertiary);
}

/* 目的地分类标签容器 */
.dest-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    flex: 1;
}

/* 目的地分类标签 */
.dest-category-tag {
    display: inline-block;
    padding: 3px 8px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    font-size: 11px;
    color: var(--primary);
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.3;
}

.dest-category-tag:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.12) 100%);
    border-color: rgba(99, 102, 241, 0.3);
}

/* 热门景点滚动 */
.spot-scroll {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    padding-bottom: var(--space-sm);
    -webkit-overflow-scrolling: touch;
}

.spot-scroll::-webkit-scrollbar {
    display: none;
}

.spot-card {
    flex-shrink: 0;
    width: 100px;
}

.spot-img {
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius);
    margin-bottom: var(--space-sm);
    overflow: hidden;
}

.spot-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spot-name {
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spot-rating {
    font-size: var(--font-xs);
    color: #FFB800;
}

/* 主题推荐 */
.theme-section {
    padding-bottom: var(--space-xl);
}

.theme-scroll {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    padding-bottom: var(--space-sm);
    -webkit-overflow-scrolling: touch;
}

.theme-scroll::-webkit-scrollbar {
    display: none;
}

.theme-card {
    flex-shrink: 0;
    width: 90px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    box-shadow: var(--shadow-sm);
}

.theme-icon {
    font-size: 32px;
}

.theme-name {
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.theme-count {
    font-size: var(--font-xs);
    color: var(--text-tertiary);
}

.guide-name {
    font-size: var(--font-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.guide-desc {
    font-size: var(--font-xs);
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.guide-stats {
    font-size: var(--font-xs);
    color: var(--primary);
}

/* ===== 详情页 ===== */
.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
}

.detail-actions {
    display: flex;
    gap: var(--space-md);
}

.action-btn {
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.detail-content {
    padding-bottom: 80px;
}

.detail-gallery {
    position: relative;
    height: 260px;
    margin: 0 calc(var(--space-lg) * -1) var(--space-lg);
}

.gallery-slide {
    width: 100%;
    height: 100%;
}

.gallery-dots {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
}

.gallery-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.5);
}

.gallery-dots .dot.active {
    background: var(--text-white);
    width: 16px;
}

.detail-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.detail-title {
    font-size: var(--font-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.detail-rating {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.stars {
    color: #FFB800;
    letter-spacing: 2px;
}

.rating-text {
    font-size: var(--font-lg);
    font-weight: 600;
}

.review-count {
    font-size: var(--font-sm);
    color: var(--text-tertiary);
}

.detail-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
}

.detail-price .original-price {
    font-size: var(--font-base);
    color: var(--text-tertiary);
    text-decoration: line-through;
}

.card-title-small {
    font-size: var(--font-lg);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.booking-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

.booking-row:last-child {
    border-bottom: none;
}

.booking-row .label {
    font-size: var(--font-base);
    color: var(--text-secondary);
}

.booking-row .value {
    font-size: var(--font-base);
    color: var(--text-primary);
}

.highlight-list {
    list-style: none;
}

.highlight-list li {
    padding: var(--space-xs) 0;
    font-size: var(--font-base);
    color: var(--text-secondary);
}

.fee-item {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
}

.fee-label {
    flex-shrink: 0;
    font-size: var(--font-sm);
}

.fee-label.include {
    color: var(--success);
}

.fee-label.exclude {
    color: var(--danger);
}

.fee-text {
    font-size: var(--font-sm);
    color: var(--text-secondary);
}

.itinerary-day {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.day-tag {
    flex-shrink: 0;
    padding: 4px var(--space-sm);
    background: var(--primary);
    color: var(--text-white);
    font-size: var(--font-xs);
    border-radius: 6px;
    height: fit-content;
}

.day-content h5 {
    font-size: var(--font-base);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.day-content p {
    font-size: var(--font-sm);
    color: var(--text-secondary);
}

.expand-btn {
    width: 100%;
    padding: var(--space-sm);
    background: var(--bg-input);
    border-radius: var(--border-radius-sm);
    font-size: var(--font-sm);
    color: var(--text-secondary);
    margin-top: var(--space-sm);
}

.review-item {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xs);
}

.reviewer {
    font-size: var(--font-sm);
    color: var(--text-secondary);
}

.review-rating {
    color: #FFB800;
    letter-spacing: 2px;
    font-size: 12px;
}

.review-text {
    font-size: var(--font-base);
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.review-date {
    font-size: var(--font-xs);
    color: var(--text-tertiary);
}

.review-more {
    width: 100%;
    padding: var(--space-sm);
    background: none;
    font-size: var(--font-sm);
    color: var(--primary);
    margin-top: var(--space-sm);
}

/* 详情页底部栏 */
.detail-footer {
    position: fixed;
    bottom: 60px;
    left: 0;
    right: 0;
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    z-index: 100;
}

.footer-btn {
    flex: 1;
    height: 48px;
    border-radius: 24px;
    font-size: var(--font-sm);
    font-weight: 600;
    white-space: nowrap;
}

.footer-btn.secondary {
    background: var(--bg-input);
    color: var(--text-primary);
}

.footer-btn.primary {
    background: var(--primary-gradient);
    color: var(--text-white);
}

/* ===== 个人中心 ===== */
.mine-header {
    position: relative;
    padding: var(--space-2xl) var(--space-lg) var(--space-xl);
}

.user-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: var(--primary-gradient);
}

.user-info {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.user-avatar {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255,255,255,0.3);
}

.avatar-icon {
    font-size: 32px;
}

.user-detail {
    flex: 1;
}

.user-name {
    font-size: var(--font-xl);
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: var(--space-xs);
}

.user-desc {
    font-size: var(--font-sm);
    color: rgba(255,255,255,0.8);
}

.mine-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.mine-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}

.mine-card-title {
    font-size: var(--font-base);
    font-weight: 600;
}

.mine-card-more {
    font-size: var(--font-sm);
    color: var(--text-tertiary);
}

.order-shortcuts {
    display: flex;
    padding: var(--space-md) 0;
}

.order-shortcut {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

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

.shortcut-label {
    font-size: var(--font-xs);
    color: var(--text-secondary);
}

.mine-menu {
    padding: var(--space-sm) 0;
}

.mine-menu-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}

.mine-menu-item:last-child {
    border-bottom: none;
}

.menu-icon {
    font-size: 20px;
}

.menu-label {
    flex: 1;
    font-size: var(--font-base);
}

.menu-arrow {
    color: var(--text-tertiary);
}
.menu-value {
    font-size: var(--font-sm);
    color: var(--text-tertiary);
    margin-right: var(--space-xs);
}

/* 通知 */
.notif-item {
    display: flex; align-items: center; gap: 10px;
    padding: 12px; cursor: pointer;
    border-radius: 10px; margin-bottom: 8px;
    transition: all 0.2s;
    background: var(--bg-card);
    border: 1px solid #E2E8F0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.notif-item.unread {
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    border-color: #C7D2FE;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.12);
}
.notif-item:hover {
    border-color: #CBD5E1;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}
.notif-item:active {
    background: var(--bg-input);
    transform: translateY(0);
}
.notif-dot { width: 8px; height: 8px; background: #EF4444; border-radius: 50%; flex-shrink: 0; }

/* 铃铛角标 */
#notifBell[data-badge]::after {
    content: attr(data-badge);
    position: absolute; top: -2px; right: -2px;
    min-width: 16px; height: 16px;
    background: #EF4444; color: #fff;
    font-size: 10px; font-weight: 600;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
}

/* 关注 */
.follow-chip {
    padding: 2px 10px; border-radius: 12px; font-size: 11px;
    border: 1px solid var(--primary); color: var(--primary);
    cursor: pointer; white-space: nowrap; transition: all 0.2s;
    background: #fff; font-weight: 500;
}
.follow-chip.following {
    background: var(--bg-input); color: var(--text-tertiary); border-color: var(--border-color);
}
.follow-item {
    display: flex; align-items: center; gap: var(--space-md);
    padding: var(--space-md); background: var(--bg-card);
    border-radius: var(--border-radius-sm); margin-bottom: var(--space-sm);
    box-shadow: var(--shadow-sm);
}

/* ===== 游记社区 ===== */
.content-tabs {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-card);
}

.content-tab {
    font-size: var(--font-base);
    color: var(--text-secondary);
    padding-bottom: var(--space-sm);
    position: relative;
}

.content-tab.active {
    color: var(--text-primary);
    font-weight: 500;
}

.content-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

/* ===== 游记社区页面 - 瀑布流设计 ===== */

/* 顶部导航 */
.community-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.community-nav {
    display: flex;
    gap: var(--space-lg);
}

.community-tab {
    font-size: var(--font-base);
    color: var(--text-secondary);
    padding: var(--space-sm) 0;
    position: relative;
    transition: color 0.3s;
}

.community-tab.active {
    color: var(--primary);
    font-weight: 600;
}

.community-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.publish-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 20px;
    border: none;
    color: white;
    font-size: var(--font-sm);
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

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

/* 瀑布流网格 */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    grid-auto-flow: dense;
}
.travel-card { align-self: start; }

/* 游记卡片 */
.travel-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

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

/* 大卡片跨两列 */
.travel-card.travel-large {
    grid-column: span 2;
}
/* 普通卡片保持2列网格，不额外处理 */

.travel-cover {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.travel-card.travel-large .travel-cover {
    height: 240px;
}

.travel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
}

.travel-cover .travel-badge {
    position: absolute;
    top: var(--space-sm);
    padding: 4px 10px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    font-size: var(--font-xs);
    font-weight: 500;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 2;
}
.travel-cover .travel-badge:not(.hot) { left: var(--space-sm); }
.travel-cover .travel-badge.hot {
    right: var(--space-sm);
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    color: white;
}

.travel-content {
    padding: var(--space-md);
}

.travel-title {
    font-size: var(--font-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.travel-card.travel-large .travel-title {
    font-size: var(--font-lg);
    -webkit-line-clamp: 2;
}

.travel-excerpt {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.travel-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.author-info {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.author-avatar {
    font-size: 18px;
}

.author-name {
    font-size: var(--font-xs);
    color: var(--text-secondary);
}

.travel-likes {
    font-size: var(--font-xs);
    color: var(--text-tertiary);
}

.travel-stats {
    display: flex;
    gap: var(--space-sm);
    font-size: var(--font-xs);
    color: var(--text-tertiary);
}

/* ===== 底部导航栏 ===== */
.tabbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 200;
}

/* 登录页面隐藏底部导航栏 */
.page-login.active ~ .tabbar {
    display: none;
}

.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: var(--space-sm) 0;
}

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

.tab-label {
    font-size: 10px;
    color: var(--text-tertiary);
}

.tab-item.active .tab-icon,
.tab-item.active .tab-label {
    color: var(--primary);
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: var(--space-md) var(--space-xl);
    background: rgba(0,0,0,0.8);
    color: var(--text-white);
    border-radius: 8px;
    font-size: var(--font-base);
    z-index: 1000;
    display: none;
}

.toast.show {
    display: block;
    animation: fadeInOut 2s;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}

/* ========================================
   新增组件样式 v2.1.0
   距离标签 / 导航按钮 / 套餐内容 / 详情增强
   ======================================== */

/* ===== 距离标签 ===== */
.route-distance-badge {
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    padding: 4px 10px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    font-size: var(--font-xs);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.route-distance-badge .dist-icon {
    font-size: 12px;
}

.route-distance-badge .dist-value {
    font-weight: 600;
    color: #FBBF24;
}

.distance-inline {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--font-xs);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
    padding: 4px 10px;
    border-radius: 12px;
}

.distance-inline .dist-num {
    font-weight: 600;
}

/* 详情页距离行 */
.detail-distance-row {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    margin-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-color);
}

.detail-distance-row .dist-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.detail-distance-row .dist-label {
    font-size: var(--font-sm);
    color: var(--text-secondary);
}

.detail-distance-row .dist-km {
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--primary);
}

/* ===== 导航按钮 ===== */
.nav-mini-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #3B82F6 0%, #6366F1 100%);
    color: #fff;
    border-radius: 20px;
    font-size: var(--font-xs);
    font-weight: 500;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.nav-mini-btn:active {
    transform: scale(0.95);
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.2);
}

.nav-mini-btn .nav-icon {
    font-size: 14px;
}

/* 详情页大导航按钮 */
.nav-action-row {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.nav-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px;
    border-radius: 12px;
    font-size: var(--font-base);
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-action-btn:active {
    transform: scale(0.97);
}

.nav-action-btn.primary-nav {
    background: linear-gradient(135deg, #3B82F6 0%, #6366F1 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.nav-action-btn.secondary-nav {
    background: var(--bg-input);
    color: var(--text-primary);
}

/* 导航提示浮层 */
.nav-hint-toast {
    position: fixed;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-md) var(--space-lg);
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    color: #fff;
    border-radius: 12px;
    font-size: var(--font-sm);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    animation: navHintIn 0.3s ease-out;
    pointer-events: none;
}

.nav-hint-toast .hint-arrow {
    font-size: 18px;
}

@keyframes navHintIn {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===== 套餐内容 ===== */

/* 卡片内套餐摘要 */
.package-summary {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: var(--space-sm);
    margin-bottom: var(--space-sm);
    padding: var(--space-sm) 10px;
    background: linear-gradient(135deg, #F0FDF4 0%, #ECFEFF 100%);
    border-radius: 8px;
    font-size: var(--font-xs);
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.package-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: var(--success);
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

.package-sep {
    color: var(--border-color);
    margin: 0 2px;
}

/* 详情页套餐区块 */
.package-section {
    margin-bottom: var(--space-md);
}

.package-section .card-title-small {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.package-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 10px;
    background: var(--bg-input);
    border-radius: 10px;
    font-size: var(--font-sm);
    color: var(--text-primary);
}

.package-item .pkg-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.package-item .pkg-text {
    line-height: 1.4;
}

.package-item .pkg-text small {
    display: block;
    color: var(--text-tertiary);
    font-size: var(--font-xs);
    margin-top: 2px;
}

/* 套餐全包含标签 */
.package-full-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    border: 1px solid #6EE7B7;
    border-radius: 20px;
    font-size: var(--font-xs);
    color: #047857;
    font-weight: 500;
}

/* ===== 首页线路卡片增强 ===== */
.route-card .route-distance {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: var(--font-xs);
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.route-card .route-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== 线路列表卡片增强 ===== */
.route-card-large .route-overlay {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.route-card-large .route-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.route-card-large .route-stats-row {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--font-xs);
    color: var(--text-tertiary);
}

.route-card-large .route-stats-row .stat-item {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* 线路头图增加渐变叠加层让文字更清晰 */
.route-img-large::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, rgba(0,0,0,0.4));
    pointer-events: none;
    z-index: 1;
}

.route-img-large .route-overlay {
    z-index: 2;
}

.route-img-large .route-distance-badge {
    z-index: 2;
}

/* ========================================
   地图模式样式 v2.1.0
   ======================================== */

/* 地图容器 */
.route-map-view {
    padding-bottom: var(--space-xl);
}

/* 模拟地图 */
.sim-map {
    position: relative;
    height: 340px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-md);
}

.map-terrain {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 48% 55%, #10B981 0%, #34D399 15%, transparent 40%),
        radial-gradient(ellipse at 62% 52%, #3B82F6 0%, #60A5FA 10%, transparent 35%),
        radial-gradient(ellipse at 28% 62%, #F59E0B 0%, #FBBF24 8%, transparent 30%),
        radial-gradient(ellipse at 65% 28%, #8B5CF6 0%, #A78BFA 8%, transparent 30%),
        radial-gradient(ellipse at 35% 32%, #EC4899 0%, #F472B6 8%, transparent 30%),
        linear-gradient(180deg, #DCFCE7 0%, #ECFEFF 30%, #F0FDF4 60%, #FEF3C7 100%);
}

.map-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

/* 地图标记 */
.map-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.marker-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #EF4444;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(239,68,68,0.4);
}

.marker-dot.origin-dot {
    width: 18px;
    height: 18px;
    background: #6366F1;
    border: 3px solid #fff;
    box-shadow: 0 2px 12px rgba(99,102,241,0.5);
}

.marker-label {
    font-size: 10px;
    font-weight: 600;
    color: #1E293B;
    background: rgba(255,255,255,0.9);
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    margin-top: 2px;
}

.marker-label.origin-label {
    color: #6366F1;
    font-size: 11px;
}

.marker-dist {
    font-size: 9px;
    font-weight: 700;
    color: #EF4444;
    background: rgba(255,255,255,0.95);
    padding: 1px 6px;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* 起点脉冲动画 */
.marker-ripple {
    position: absolute;
    top: 9px;
    left: 9px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(99,102,241,0.3);
    animation: mapRipple 2s ease-out infinite;
    transform: translate(-50%, -50%);
}

@keyframes mapRipple {
    0%   { transform: translate(-50%, -50%) scale(0.5); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(3.5); opacity: 0; }
}

/* 路线连线 */
.map-route-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, #6366F1 0%, rgba(239,68,68,0.4) 100%);
    border-radius: 1px;
    z-index: 1;
    transform-origin: left center;
    opacity: 0.6;
}

.map-route-line::after {
    content: '';
    position: absolute;
    right: -3px;
    top: -2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #EF4444;
    opacity: 0.5;
}

/* 图例 */
.map-legend {
    position: absolute;
    bottom: var(--space-sm);
    left: var(--space-sm);
    display: flex;
    gap: var(--space-md);
    padding: 6px 12px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    font-size: 10px;
    color: var(--text-secondary);
    z-index: 3;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #EF4444;
    border: 2px solid #fff;
}

.legend-dot.origin {
    background: #6366F1;
}

/* 地图路线摘要卡片 */
.map-route-cards {
    padding: 0;
}

.map-cards-title {
    font-size: var(--font-base);
    font-weight: 600;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.map-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--bg-card);
    border-radius: var(--border-radius-sm);
    padding: var(--space-md);
    margin-bottom: var(--space-sm);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.2s;
}

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

.map-card-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    width: 44px;
}

.map-card-dist {
    font-size: var(--font-sm);
    font-weight: 700;
    color: #EF4444;
    white-space: nowrap;
}

.map-card-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #EF4444;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(239,68,68,0.3);
}

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

.map-card-info h5 {
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.map-card-info p {
    font-size: var(--font-xs);
    color: var(--text-tertiary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.map-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
}

.map-card-right .price {
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--accent);
}

.map-card-right .rating {
    font-size: var(--font-xs);
}

/* ========================================
   订单/收藏/足迹/弹窗样式 v2.2.0
   ======================================== */

/* 订单页 */
.order-tabs {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-md) 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.order-tabs::-webkit-scrollbar { display: none; }
.order-tab {
    flex-shrink: 0;
    padding: 6px 16px;
    background: var(--bg-card);
    border-radius: 20px;
    font-size: var(--font-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}
.order-tab.active { background: var(--primary); color: #fff; }

.order-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.2s;
}
.order-card:active {
    transform: scale(0.98);
}
.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}
.order-card-title { font-size: var(--font-base); font-weight: 600; }
.order-name { font-size: var(--font-base); font-weight: 600; }
.order-status { font-size: var(--font-sm); font-weight: 500; }
.order-card-body {
    display: flex;
    gap: var(--space-md);
    font-size: var(--font-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}
.order-detail-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.order-price { font-weight: 600; color: var(--accent); margin-left: auto; }
.order-time {
    font-size: var(--font-xs);
    color: var(--text-tertiary);
}
.order-refund-text {
    font-size: var(--font-sm);
    color: #10B981;
    font-weight: 600;
}
.order-reject-reason {
    font-size: var(--font-xs);
    color: var(--danger);
    background: #FEE2E2;
    padding: 8px 12px;
    border-radius: 8px;
    margin: 8px 0;
    line-height: 1.4;
}
.order-card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border-color);
}

/* 订单弹窗 */
.order-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 500;
    display: none;
    align-items: flex-end;
    justify-content: center;
}
.order-modal {
    background: var(--bg-card);
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 430px;
    max-height: 80vh;
    overflow-y: auto;
    padding: var(--space-lg);
    animation: slideUp 0.3s ease-out;
}
.order-modal.om-large {
    max-width: 90vw;
    max-height: 85vh;
    padding: var(--space-xl);
}
.order-modal.om-small {
    max-width: 360px;
    max-height: 70vh;
}
.om-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}
.om-header h3 { font-size: var(--font-lg); font-weight: 600; }
.om-close {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bg-input);
    font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    border: none; cursor: pointer;
}
.om-route {
    font-size: var(--font-base);
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-input);
    border-radius: 10px;
    margin-bottom: var(--space-md);
    text-align: center;
}
.om-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    font-size: var(--font-base);
    border-bottom: 1px solid var(--border-color);
}
.om-price { font-size: var(--font-xl); font-weight: 700; color: var(--accent); }
.om-success { font-size: 56px; text-align: center; margin: 16px 0; }
.om-btn {
    width: 100%;
    padding: 12px;
    border-radius: 24px;
    font-size: var(--font-base);
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-top: var(--space-md);
    transition: all 0.2s;
}
.om-btn:active { transform: scale(0.98); }
.om-btn.primary {
    background: var(--primary-gradient);
    color: #fff;
}
.om-btn.sm {
    width: auto;
    padding: 6px 16px;
    font-size: var(--font-xs);
    margin-top: 0;
    background: var(--bg-input);
    color: var(--text-primary);
}
.om-btn.sm.primary {
    background: var(--primary-gradient);
    color: #fff;
}

/* 收藏页 */
.fav-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md);
    background: var(--bg-card);
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.2s;
}
.fav-card:active { transform: scale(0.98); }
.fav-info { flex: 1; min-width: 0; }
.fav-info h5 {
    font-size: var(--font-base); font-weight: 500;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fav-info span { font-size: var(--font-xs); color: var(--text-tertiary); }
.fav-price { font-size: var(--font-base); font-weight: 600; color: var(--accent); white-space: nowrap; }
.fav-price small { font-size: var(--font-xs); color: var(--text-tertiary); font-weight: 400; }

/* 足迹页 */
.foot-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-card);
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--space-sm);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.2s;
}
.foot-card:active { transform: scale(0.98); }
.foot-num {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--bg-input);
    display: flex; align-items: center; justify-content: center;
    font-size: var(--font-xs); font-weight: 600; color: var(--text-tertiary);
    flex-shrink: 0;
}
.foot-name { flex: 1; font-size: var(--font-base); font-weight: 500; }
.foot-time { font-size: var(--font-xs); color: var(--text-tertiary); white-space: nowrap; }

/* ========================================
   预订弹窗 / 购物车 v2.3.0
   ======================================== */

/* 快速预订卡片 */
.booking-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-sm);
    border-bottom: 1px dashed var(--border-color);
}
.booking-toggle {
    font-size: var(--font-sm);
    color: var(--primary);
    font-weight: 500;
}
.booking-panel {
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border-color);
    animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
    from { opacity: 0; max-height: 0; }
    to   { opacity: 1; max-height: 600px; }
}

/* 日期选择 */
.date-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.date-chip {
    padding: 8px 14px;
    background: var(--bg-input);
    border-radius: 20px;
    font-size: var(--font-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.date-chip:active { transform: scale(0.95); }
.date-chip.active { background: var(--primary) !important; color: #fff !important; }

/* 人数计数器 */
.bok-counter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}
.bok-counter-label { display: flex; flex-direction: column; }
.bok-counter-label b { font-size: var(--font-base); }
.bok-counter-label small { font-size: var(--font-xs); color: var(--text-tertiary); }
.bok-counter-ctrl { display: flex; align-items: center; gap: 12px; }
.bok-btn-cnt {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.bok-btn-cnt:active { background: var(--bg-input); }
.bok-cnt-num { font-size: var(--font-lg); font-weight: 600; min-width: 24px; text-align: center; }

/* 菜单角标 */
.menu-badge {
    background: #EF4444;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    min-width: 18px; height: 18px;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 5px;
}

/* ========================================
   评价系统 v2.4.0 — 四维评分
   ======================================== */

.reviewer-info { display: flex; align-items: center; gap: 6px; }
.reviewer-avatar {
    font-size: 20px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border-radius: 50%;
    flex-shrink: 0;
}

/* 评分维度条 */
.review-scores { margin: 8px 0; padding: 8px 10px; background: var(--bg-input); border-radius: 10px; }
.score-dim { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.dim-label { width: 52px; font-size: 11px; color: var(--text-secondary); flex-shrink: 0; }
.dim-bar { flex: 1; height: 6px; background: #E2E8F0; border-radius: 3px; overflow: hidden; }
.dim-fill { height: 100%; border-radius: 3px; transition: width 0.3s; }
.dim-val { width: 22px; font-size: 11px; font-weight: 600; color: var(--text-primary); text-align: right; }

/* 评价弹窗星级 */
.eval-stars { display: flex; gap: 6px; }
.eval-star {
    font-size: 28px;
    color: #D1D5DB;
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
}
.eval-star.active { color: #F59E0B; }

.review-imgs { display: flex; gap: 6px; margin: 8px 0; }
.review-thumb {
    width: 72px; height: 56px;
    border-radius: 8px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
    display: inline-block;
}
.review-video-thumb {
    width: 100%;
    height: 160px;
    border-radius: 10px;
    margin: 8px 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.review-video-thumb::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}
/* 全局统一播放按钮 */
.video-play-btn,
.review-video-thumb .video-play-btn,
[class*="video"] .video-play-btn {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #333;
    z-index: 2;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    pointer-events: none;
}

/* ===== 响应式 ===== */
@media (min-width: 375px) {
    .app-container {
        max-width: 430px;
        margin: 0 auto;
        background: var(--bg-page);
        box-shadow: 0 0 40px rgba(0,0,0,0.1);
    }

    .tabbar {
        max-width: 430px;
        margin: 0 auto;
    }

    .detail-footer {
        max-width: 430px;
        margin: 0 auto;
    }
}

/* ===== 动画效果 ===== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page.active .scroll-content > * {
    animation: slideUp 0.4s ease-out forwards;
}

.page.active .scroll-content > *:nth-child(1) { animation-delay: 0s; }
.page.active .scroll-content > *:nth-child(2) { animation-delay: 0.05s; }
.page.active .scroll-content > *:nth-child(3) { animation-delay: 0.1s; }
.page.active .scroll-content > *:nth-child(4) { animation-delay: 0.15s; }
.page.active .scroll-content > *:nth-child(5) { animation-delay: 0.2s; }

/* ===== 角色切换链接（我是商家）===== */
.role-switch-link {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    padding: 6px 12px;
    background: rgba(255,255,255,0.15);
    border-radius: 16px;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
    transition: background 0.25s;
}
.role-switch-link:hover {
    background: rgba(255,255,255,0.25);
}
.role-switch-link span {
    font-size: 12px;
    color: #fff;
    font-weight: 500;
}
.role-switch-link .role-arrow {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
}
.role-switch-link.merchant {
    background: rgba(16,185,129,0.35);
}
.role-switch-link.merchant:hover {
    background: rgba(16,185,129,0.5);
}

/* ===== 商家端首页 ===== */
.merchant-banner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    min-height: 120px;
}
.merchant-banner-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #10B981 0%, #059669 40%, #047857 100%);
}
.merchant-banner-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    color: #fff;
}
.merchant-greeting {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}
.merchant-date {
    font-size: 13px;
    opacity: 0.85;
}

/* 扫码核销卡片 */
.merchant-scan-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.2s;
}
.merchant-scan-card:active {
    transform: scale(0.98);
}
.scan-icon-wrapper {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10B981, #059669);
    border-radius: 16px;
    flex-shrink: 0;
}
.scan-icon-large {
    font-size: 28px;
    position: relative;
    z-index: 1;
}
.scan-ring {
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    border: 2px solid rgba(16,185,129,0.3);
    animation: scanPulse 2s ease-in-out infinite;
}
@keyframes scanPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.5; }
}
.scan-info { flex: 1; }
.scan-title { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.scan-desc { font-size: 12px; color: var(--text-tertiary); }
.scan-arrow { font-size: 22px; color: var(--text-tertiary); }

/* 商家数据卡片 */
.merchant-stats-row {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}
.merchant-stat-card {
    flex: 1;
    background: #fff;
    border-radius: 14px;
    padding: 14px 12px;
    text-align: center;
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}
.merchant-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}
.merchant-stat-card.accent-green::before { background: #10B981; }
.merchant-stat-card.accent-blue::before { background: #3B82F6; }
.merchant-stat-card.accent-orange::before { background: #F59E0B; }
.merchant-stat-card .stat-label {
    display: block;
    font-size: 11px;
    color: var(--text-tertiary);
    margin-bottom: 6px;
}
.merchant-stat-card .stat-value {
    display: inline;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}
.merchant-stat-card .stat-unit {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-left: 2px;
}

/* 核销记录列表 */
.verify-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
}
.verify-item:last-child { border-bottom: none; }
.verify-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.verify-icon-circle.success {
    background: #D1FAE5;
}
.verify-icon-circle.pending {
    background: #FEF3C7;
}
.verify-info { flex: 1; }
.verify-name { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.verify-meta { font-size: 11px; color: var(--text-tertiary); }
.verify-amount { font-size: 15px; font-weight: 700; color: var(--accent); text-align: right; }
.verify-time { font-size: 11px; color: var(--text-tertiary); text-align: right; }

/* [v2.53.0] 核销类型徽章：整单核销 / 部分核销，便于识别 */
.verify-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
    margin-right: 6px;
    vertical-align: middle;
    line-height: 1.5;
}
.verify-badge.full {
    background: #D1FAE5;
    color: #047857;
}
.verify-badge.partial {
    background: #FEF3C7;
    color: #B45309;
}
/* 部分核销图标圆圈用橙黄色区分 */
.verify-icon-circle.partial {
    background: #FEF3C7;
}

/* 空状态 */
.verify-empty {
    text-align: center;
    padding: 30px 0;
    color: var(--text-tertiary);
    font-size: 13px;
}

/* ===== 商家端"我的" ===== */
/* 统一商家端卡片风格 */
#merchantMine .mine-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
    margin-bottom: 14px;
    padding: 16px;
}
#merchantMine .mine-card-header {
    margin-bottom: 10px;
}
#merchantMine .mine-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1E293B;
}
#merchantMine .mine-menu-item {
    padding: 12px 0;
}
#merchantMine .mine-menu-item .menu-label {
    font-size: 14px;
    color: #334155;
}
#merchantMine .mine-menu-item .menu-value {
    font-size: 13px;
    color: #64748B;
}
.merchant-balance-card {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #0F172A 100%);
    border-radius: 20px;
    padding: 20px 20px 16px;
    margin-bottom: 16px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.merchant-balance-card::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}
.balance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}
.balance-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}
.withdraw-btn {
    padding: 6px 16px;
    border-radius: 16px;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.withdraw-btn:active {
    background: rgba(255,255,255,0.3);
}
.balance-amount {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 0;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    display: inline;
}
.balance-unit {
    display: inline;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin-left: 4px;
    position: relative;
    z-index: 1;
}
.balance-hint {
    font-size: 10px;
    color: rgba(255,255,255,0.35);
    margin-top: 6px;
    position: relative;
    z-index: 1;
}
.balance-stats {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    position: relative;
    z-index: 1;
}
.balance-stat-item {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
}
.bs-label {
    display: block;
    font-size: 10px;
    color: rgba(255,255,255,0.45);
    margin-top: 4px;
    order: 2;
}
.bs-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    order: 1;
}
.bs-value.up { color: #34D399; }
.bs-value.down { color: #F87171; }

/* 收益维度切换 */
.earning-tabs {
    display: flex;
    gap: 0;
    padding: 2px;
    background: var(--bg-input);
    border-radius: 8px;
    margin-bottom: 10px;
}
.earning-tab {
    flex: 1;
    text-align: center;
    padding: 6px 0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s;
    user-select: none;
}
.earning-tab.active {
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* 收益明细容器 */
#earningDetail {
    padding: 4px 8px 0;
}
/* 收益明细 */
.earning-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    gap: 8px;
}
.earning-row:last-child { border-bottom: none; }
.earning-row-left {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
    min-width: 0;
}
.earning-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}
.earning-dot.order { background: #3B82F6; }
.earning-dot.withdraw { background: #F87171; }
.earning-row-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}
.earning-row-desc {
    font-size: 11px;
    color: var(--text-tertiary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}
.earning-row-amount {
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
}
.earning-row-amount.positive { color: #10B981; }
.earning-row-amount.negative { color: #F87171; }
.earning-summary {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    margin-top: 6px;
    border-top: 2px solid var(--border-color);
}
.earning-summary-label { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.earning-summary-amount { font-size: 16px; font-weight: 700; color: var(--primary); }

/* ===== 搜索面板 ===== */
.search-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    max-height: 360px;
    overflow-y: auto;
    z-index: 100;
    margin-top: -4px;
}
.search-results { padding: 8px 0; }
.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.15s;
}
.search-result-item:active { background: var(--bg-input); }
.search-result-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.search-result-icon.route { background: #DBEAFE; }
.search-result-info { flex: 1; min-width: 0; }
.search-result-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 8px;
}
.search-result-category {
    display: inline-block;
    padding: 2px 8px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 500;
    color: var(--primary);
    white-space: nowrap;
    flex-shrink: 0;
}
.search-result-desc {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 2px;
}
.search-result-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}
.search-empty {
    text-align: center;
    padding: 30px;
    color: var(--text-tertiary);
    font-size: 13px;
}

/* ===== 全局点击状态 ===== */
.card-item:active,
.route-card:active,
.route-card-large:active {
    transform: scale(0.98);
    opacity: 0.92;
}

.mine-menu-item:active {
    background: var(--bg-input);
}

.verify-item:active {
    background: var(--bg-input);
}

.order-card:active {
    transform: scale(0.99);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.tab-item:active .tab-icon,
.tab-item:active .tab-label {
    opacity: 0.6;
}

.back-btn:active,
.icon-btn:active {
    transform: scale(0.92);
    opacity: 0.7;
}

.publish-btn:active {
    transform: scale(0.95);
    opacity: 0.85;
}

.nav-btn:active {
    transform: scale(0.95);
    opacity: 0.8;
}

.community-tab:active {
    opacity: 0.6;
}

.shortcut-icon:active {
    transform: scale(0.9);
}

.merchant-stat-card:active {
    transform: scale(0.97);
    opacity: 0.9;
}

.earning-row:active {
    background: var(--bg-input);
    border-radius: 8px;
}

/* ===== 路线筛选展开下拉 ===== */
.route-filter-wrap {
    /* 已在1104行定义，此处删除重复 */
}

.route-filter-wrap .filter-bar {
    /* 已在1115行定义，此处删除重复 */
}

.route-filter-expand-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    z-index: 5;
}
}

.route-filter-expand-btn.open {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-50%) rotate(180deg);
}

.route-filter-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 12px;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    flex-wrap: wrap;
    gap: 8px;
}

.route-filter-dropdown.open {
    display: flex;
}

.route-filter-dropdown .filter-chip {
    cursor: pointer;
}

/* ===== 成团进度 — 详情页卡片 ===== */
.group-card { padding: 14px 16px; }

.group-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.group-status-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    background: #EFF6FF;
    color: var(--primary);
}

.group-status-badge.reached {
    background: #ECFDF5;
    color: #10B981;
}

.group-progress-wrap { margin-bottom: 12px; }

.group-progress-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 6px;
}

.group-progress-fill {
    height: 100%;
    border-radius: 99px;
    transition: width 0.6s ease;
}

.group-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-tertiary);
}

.group-progress-labels b { color: var(--text-primary); }

.group-stats-row {
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border-radius: 10px;
    padding: 10px 0;
    margin-bottom: 10px;
}

.group-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.gs-num {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.gs-label {
    font-size: 11px;
    color: var(--text-tertiary);
}

.group-stat-divider {
    width: 1px;
    height: 28px;
    background: var(--border-color);
}

.group-tip {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    margin: 0;
    padding: 6px 0 0;
}

/* ===== 成团进度 — 列表卡片内嵌条 ===== */
.card-group-bar {
    padding: 8px 0 6px;
    border-top: 1px solid var(--border-color);
    margin-top: 6px;
}

.cgb-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-bottom: 5px;
}

.cgb-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.cgb-nums {
    color: var(--text-tertiary);
    font-size: 11px;
}

.cgb-track {
    height: 5px;
    background: var(--border-color);
    border-radius: 99px;
    overflow: hidden;
}

.cgb-fill {
    height: 100%;
    border-radius: 99px;
    transition: width 0.5s ease;
}

/* ===== 预订填写页 ===== */
.booking-section {
    background: var(--bg-card);
    border-radius: 14px;
    padding: 16px;
    margin: 0 16px 12px;
}

.booking-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.booking-section-title .bs-badge {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-tertiary);
    background: var(--bg-input);
    padding: 2px 8px;
    border-radius: 20px;
}

/* 特殊优惠提示卡片 */
.special-discount-notice {
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
    border-radius: 12px;
    padding: 16px;
    border-left: 4px solid #EF4444;
    display: flex;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.1);
}

.sdn-icon {
    font-size: 24px;
    flex-shrink: 0;
    line-height: 1;
}

.sdn-content {
    flex: 1;
}

.sdn-title {
    font-size: 14px;
    font-weight: 600;
    color: #B91C1C;
    margin-bottom: 6px;
}

.sdn-desc {
    font-size: 12px;
    line-height: 1.6;
    color: #991B1B;
}

.bf-field {
    margin-bottom: 10px;
}

.bf-field label {
    display: block;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.bf-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    background: var(--bg-input);
    color: var(--text-primary);
    font-family: inherit;
    box-sizing: border-box;
    outline: none;
}

.bf-field input:focus {
    border-color: var(--primary);
}

.bf-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    background: var(--bg-input);
    color: var(--text-primary);
    font-family: inherit;
    box-sizing: border-box;
    resize: none;
    outline: none;
}

.bf-field textarea:focus {
    border-color: var(--primary);
}

.bf-remark-count {
    font-size: 11px;
    color: var(--text-tertiary);
    text-align: right;
    margin-top: 4px;
}

.bf-order-summary {
    background: var(--bg-input);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.bf-order-summary b {
    color: var(--accent);
}

.bf-traveler-divider {
    height: 1px;
    background: var(--border-color);
    margin: 12px 0;
}

/* ===== 管理后台 ===== */
.admin-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #f4f6f9;
    overflow-y: auto;
}
.admin-app {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 40px;
}
.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1e293b;
    color: #fff;
    padding: 14px 16px;
    position: sticky;
    top: 0;
    z-index: 10;
}
.admin-topbar-left { display: flex; align-items: center; gap: 12px; }
.admin-back-btn {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}
.admin-back-btn:hover { background: rgba(255,255,255,0.25); }
.admin-title { font-size: 16px; font-weight: 600; }
.admin-version { font-size: 12px; color: rgba(255,255,255,0.5); }

.admin-tabs {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 16px;
    gap: 0;
    overflow-x: auto;
}
.admin-tab {
    padding: 12px 16px;
    border: none;
    background: none;
    font-size: 14px;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}
.admin-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 500;
}

.admin-section {
    padding: 16px;
}
.admin-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.admin-section-header h3 { font-size: 15px; font-weight: 600; }
.admin-tip { font-size: 12px; color: #9ca3af; }
.admin-tip-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    color: #1d4ed8;
    margin-bottom: 12px;
}
.admin-add-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
}

.admin-list { display: flex; flex-direction: column; gap: 10px; }
.admin-empty { text-align: center; padding: 40px; color: #9ca3af; font-size: 14px; }

/* 路线管理卡片 */
.admin-route-item {
    background: #fff;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.admin-route-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.admin-route-name { font-size: 14px; font-weight: 500; }
.admin-route-meta { display: flex; gap: 10px; margin-bottom: 10px; }
.admin-meta-tag {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
}
.admin-order-input {
    width: 48px;
    padding: 2px 4px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 13px;
    text-align: center;
}
.admin-field-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.admin-field-toggles label {
    font-size: 12px;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

/* 开关样式 */
.admin-toggle { position: relative; display: inline-block; width: 40px; height: 22px; }
.admin-toggle input { opacity: 0; width: 0; height: 0; }
.admin-toggle-slider {
    position: absolute;
    inset: 0;
    background: #d1d5db;
    border-radius: 22px;
    transition: 0.2s;
    cursor: pointer;
}
.admin-toggle-slider:before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.2s;
}
.admin-toggle input:checked + .admin-toggle-slider { background: var(--primary); }
.admin-toggle input:checked + .admin-toggle-slider:before { transform: translateX(18px); }

/* 商家管理卡片 */
.admin-merchant-item {
    background: #fff;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.admin-merchant-info { flex: 1; }
.admin-merchant-name { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.admin-merchant-phone { font-size: 12px; color: #6b7280; }
.admin-merchant-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.admin-status-badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}
.admin-status-badge.active { background: #d1fae5; color: #065f46; }
.admin-status-badge.disabled { background: #fee2e2; color: #991b1b; }
.admin-btn-sm {
    font-size: 12px;
    padding: 4px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    white-space: nowrap;
}
.admin-btn-sm.danger { border-color: #fca5a5; color: #dc2626; }
.admin-btn-sm:hover { background: #f9fafb; }

/* 订单管理 */
.admin-order-item {
    background: #fff;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.admin-order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}
.admin-order-no { font-size: 12px; color: #9ca3af; }
.admin-order-status {
    font-size: 12px;
    padding: 2px 8px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 10px;
}
.admin-order-name { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.admin-order-meta { font-size: 12px; color: #6b7280; margin-bottom: 2px; }
.admin-order-contact { font-size: 12px; color: #9ca3af; }

/* 数据统计 */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.admin-stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.admin-stat-num { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.admin-stat-label { font-size: 12px; color: #6b7280; }

/* ===== 消息中心 / 收藏 / 搜索结果 Tab 样式 ===== */
.page-sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.page-sticky-header .page-header {
    position: static;
    box-shadow: none;
}
.msg-tabs {
    display: flex;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    height: 44px;
    align-items: center;
}
.msg-tabs::-webkit-scrollbar { display: none; }
.msg-tab {
    flex-shrink: 0;
    padding: 0 16px;
    height: 44px;
    line-height: 44px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.msg-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}
.msg-tab:active { opacity: 0.7; }

/* ===== 设置页通知开关 ===== */
.setting-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}
.setting-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-track {
    position: absolute;
    inset: 0;
    background: #D1D5DB;
    border-radius: 12px;
    transition: background 0.2s;
}
.toggle-track::after {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    background: #fff;
    border-radius: 50%;
    top: 2px; left: 2px;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.setting-toggle input:checked + .toggle-track { background: var(--primary); }
.setting-toggle input:checked + .toggle-track::after { transform: translateX(20px); }

/* ===== 统计页时间筛选按钮 ===== */
.stat-period-btn {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid var(--border);
    background: var(--bg-input);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}
.stat-period-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    font-weight: 600;
}

/* ========================================
   v2.25.0 新增样式（A1-A20 / B1-B3 / C1-C6）
   说明：以下选择器均对应 app.js / merchant-portal.html / admin.js
        本轮实际生成的 class 名，仅追加不覆盖既有规则
   ======================================== */

/* ===== v2.25.0 新增：[A13/A14] 多选筛选（醒目筛选按钮 + 多选标签 + 已选条件区）===== */
/* 筛选入口按钮改为醒目实心蓝：高36px、内边距12px 20px、圆角8px、字号14px */
.route-filter-multi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 12px 20px;
    background: #3B82F6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.route-filter-multi-btn:hover {
    background: #2563EB;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.route-filter-multi-btn:active {
    transform: scale(0.97);
}

/* 展开按钮处于打开态时同样使用醒目蓝，与既有 .route-filter-expand-btn.open 协同 */
.route-filter-expand-btn.multi-strong {
    width: auto;
    height: 36px;
    padding: 0 16px;
    border-radius: 8px;
    background: #3B82F6;
    color: #fff;
    border-color: #3B82F6;
    font-size: 14px;
    font-weight: 600;
}

.route-filter-expand-btn.multi-strong:hover {
    background: #2563EB;
    border-color: #2563EB;
}

/* 多选面板：按维度分组（目的地 / 主题分类 / 天数） */
.route-filter-dropdown .filter-dim-group {
    width: 100%;
    padding-bottom: 10px;
    margin-bottom: 8px;
    border-bottom: 1px dashed var(--border-color);
}

.route-filter-dropdown .filter-dim-group:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.filter-dim-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.filter-dim-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.filter-dim-clear {
    font-size: 12px;
    color: var(--primary);
    background: none;
    border: none;
    padding: 2px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.filter-dim-clear:hover {
    background: rgba(59, 130, 246, 0.1);
}

.filter-dim-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 多选标签（复选框形态）：未选灰底，选中蓝底蓝字加粗 */
.filter-check-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
}

.filter-check-chip:active {
    transform: scale(0.95);
}

.filter-check-chip input[type="checkbox"] {
    margin: 0;
    accent-color: #3B82F6;
    cursor: pointer;
}

/* 选中态（JS 加 .selected 类驱动，为主路径） */
.filter-check-chip.selected {
    background: rgba(59, 130, 246, 0.12);
    border-color: #3B82F6;
    color: #3B82F6;
    font-weight: 600;
}

/* 选中态（纯 CSS 兜底，跟随复选框真实状态）
   单独成一条规则：:has() 若不被支持只会丢弃本条，上面的 .selected 主路径不受影响 */
.filter-check-chip:has(input[type="checkbox"]:checked) {
    background: rgba(59, 130, 246, 0.12);
    border-color: #3B82F6;
    color: #3B82F6;
    font-weight: 600;
}

/* 既有 .filter-chip 在多选模式下的选中态（沿用同一视觉语言，不改既有 .active 规则） */
.filter-chip.multi-selected {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid #3B82F6;
    color: #3B82F6;
    font-weight: 600;
}

/* 已选条件展示区：默认隐藏，有条件时加 .show 显示 */
.filter-selected-bar {
    display: none;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(59, 130, 246, 0.06);
    border-bottom: 1px solid var(--border-color);
}

.filter-selected-bar.show {
    display: flex;
    flex-wrap: wrap;
}

.filter-selected-label {
    font-size: 12px;
    color: var(--text-secondary);
    flex-shrink: 0;
    line-height: 22px;
}

.filter-selected-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.filter-selected-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: #3B82F6;
    color: #fff;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

.filter-selected-chip .fsc-remove {
    font-size: 13px;
    opacity: 0.85;
    cursor: pointer;
}

.filter-selected-chip .fsc-remove:hover {
    opacity: 1;
}

.filter-selected-reset {
    font-size: 12px;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 3px 6px;
    flex-shrink: 0;
}

/* ===== v2.25.0 新增：[A7] 服务项目卡片 + 退款政策卡片 ===== */
/* 容器由 app.js renderDetailExtraCards 动态注入，沿用既有 .detail-card 外观 */
#detailServiceCards {
    display: block;
}

#detailServiceCards .detail-card {
    margin-bottom: var(--space-md);
}

/* 服务项目：✅/❌ 图标列表 */
.service-item-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.service-item-cell {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--text-primary);
}

.service-item-cell.excluded {
    color: var(--text-tertiary);
    text-decoration: line-through;
}

.service-item-cell .sic-icon {
    flex-shrink: 0;
    font-size: 13px;
}

/* 退款政策：时间梯度列表 */
.refund-policy-list {
    display: block;
}

.refund-policy-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 12.5px;
    line-height: 1.7;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.22);
}

.refund-policy-row:last-child {
    border-bottom: none;
}

.refund-policy-time {
    color: var(--text-secondary);
    flex-shrink: 0;
}

.refund-policy-value {
    text-align: right;
}

.refund-policy-value b {
    font-weight: 700;
}

.refund-policy-note {
    display: block;
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

/* 退款政策特殊说明条 */
.refund-policy-special {
    padding: 8px 10px;
    background: #FFFBEB;
    border-left: 3px solid #F59E0B;
    border-radius: 6px;
    font-size: 11.5px;
    color: #92400E;
    line-height: 1.7;
    margin-top: 8px;
}

/* ===== v2.25.0 新增：[A4/A6] 服务商信息区块 ===== */
/* 显示格式【简称】全称：简称 16px 粗体 #1e293b，全称 12px #64748b */
.order-card-merchant {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px;
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

.order-card-merchant .ocm-short {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.order-card-merchant .ocm-full {
    font-size: 12px;
    color: #64748b;
    font-weight: 400;
    word-break: break-all;
}

/* 详情页服务商家卡片内的商户名（app.js renderMerchantNameHtml 输出） */
[data-card-id="merchant"] b {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

[data-card-id="merchant"] span {
    font-size: 12px;
    color: #64748b;
}

/* 已核销订单的服务商联系方式区块 */
.merchant-contact-block {
    background: var(--bg-input);
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: var(--space-sm);
    font-size: 12.5px;
    line-height: 1.9;
    color: var(--text-secondary);
}

.merchant-contact-block .mcb-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.merchant-contact-block .mcb-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.merchant-contact-block .mcb-label {
    flex-shrink: 0;
    color: var(--text-tertiary);
    min-width: 56px;
}

.merchant-contact-block .mcb-value {
    flex: 1;
    min-width: 0;
    color: var(--text-primary);
    word-break: break-all;
}

.merchant-contact-block .mcb-tel {
    color: var(--primary);
    font-weight: 600;
}

/* ===== v2.25.0 新增：[A2] 儿童住房补差 ===== */
/* 单选组：预订弹窗 name=bokChildRoom，预订填写页 name=bfChildRoom */
#bokChildRoomWrap label {
    transition: color 0.2s;
}

/* 选中项高亮：分两条独立规则书写，:has() 不被支持时仅丢弃对应那条，
   不影响单选框本身的可用性（补差金额与勾选逻辑由 app.js 负责） */
#bokChildRoomWrap label:has(input[name="bokChildRoom"]:checked) {
    color: #2563EB;
    font-weight: 600;
}

.booking-section label:has(input[name="bfChildRoom"]:checked) {
    color: #2563EB;
    font-weight: 600;
}

#bokChildRoomWrap input[type="radio"],
.booking-section input[name="bfChildRoom"] {
    accent-color: #3B82F6;
    flex-shrink: 0;
    cursor: pointer;
}

/* 儿童房差单选组容器（浅蓝底提示框） */
.child-room-group {
    background: #f8fbff;
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: 10px;
    padding: 12px 14px;
}

.child-room-group .crg-tip {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.child-room-group .crg-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 13px;
    cursor: pointer;
}

.child-room-group .crg-option + .crg-option {
    border-top: 1px dashed rgba(148, 163, 184, 0.28);
}

/* 价格明细中的房差行 */
.price-supply-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 12.5px;
    color: var(--text-secondary);
}

.price-supply-row .psr-amount {
    font-weight: 700;
    color: #EF4444;
    white-space: nowrap;
}

.price-supply-row .psr-note {
    font-size: 11px;
    color: var(--text-tertiary);
}

/* ===== v2.25.0 新增：[A3] 联系客服按钮与弹窗 ===== */
/* 订单卡片/详情页的「📞 联系客服」按钮，基于既有 .om-btn 追加绿色语义 */
.om-btn.order-cs-btn {
    background: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
    font-weight: 600;
    white-space: nowrap;
}

.om-btn.order-cs-btn:hover {
    background: #D1FAE5;
    border-color: #6EE7B7;
}

.om-btn.order-cs-btn:active {
    transform: scale(0.96);
}

/* 客服弹窗内的热线号码与联系方式块（复用既有 .order-modal 容器） */
.cs-hotline-box {
    text-align: center;
    padding: 6px 0 12px;
}

.cs-hotline-box .csb-icon {
    font-size: 44px;
    margin-bottom: 6px;
}

.cs-hotline-box .csb-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.cs-hotline-box .csb-label {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.cs-info-box {
    background: var(--bg-input);
    border-radius: 12px;
    padding: 12px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 12px;
}

.cs-info-box b {
    color: var(--text-primary);
}

.cs-info-box .csi-tel {
    color: var(--primary);
    font-weight: 700;
}

/* ===== v2.25.0 新增：[A19] 评价点赞图标（默认灰 / 激活主色蓝 / 悬停提示）===== */
.review-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
}

.review-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: transparent;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    line-height: 1;
    color: #9CA3AF;
    cursor: pointer;
    position: relative;
    transition: color 0.2s, background 0.2s, transform 0.15s;
}

.review-like-btn:hover {
    background: rgba(59, 130, 246, 0.08);
}

.review-like-btn:active {
    transform: scale(0.9);
}

/* 激活态：图标与点赞数一起变主色蓝 */
.review-like-btn.liked,
.review-like-btn.liked .rlb-count {
    color: #3B82F6;
}

.review-like-btn .rlb-count {
    font-size: 12px;
    font-weight: 600;
    color: #9CA3AF;
    transition: color 0.2s;
}

/* 悬停 tooltip：仅图标 + 悬停提示文字，不额外占位
   注意：app.js 已为按钮写入 title 属性，浏览器会渲染原生提示气泡；
   若此处再用 content:attr(title) 会出现「两个提示框」重叠，
   因此品牌化气泡改为读取 data-tip（可选）。仅在存在 data-tip 时才生成气泡节点，
   未设置 data-tip 时由原生 title 承担悬停提示，二者不会同时出现。 */
.review-like-btn[data-tip]::after {
    content: attr(data-tip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 6px;
    padding: 4px 8px;
    background: rgba(15, 23, 42, 0.88);
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 20;
}

.review-like-btn[data-tip]:hover::after {
    opacity: 1;
    visibility: visible;
}

/* 评价总分数字（A18 仅显示总分五角星 + 分值） */
.review-score-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    margin-left: 4px;
}

/* 收藏心形激活态（A19 收藏统一 ❤️ 心形） */
.action-btn.favorited,
#detailFavBtn.favorited {
    color: #EF4444;
}

/* ===== v2.25.0 新增：[A20] 我的拼团双Tab + 拼团进度 + 订单服务入口 ===== */
/* 双 Tab 复用既有 .msg-tab 结构（#groupTeamsTabs），此处仅补齐容器与等宽分布 */
#groupTeamsTabs {
    display: flex;
    gap: 0;
}

#groupTeamsTabs .msg-tab {
    flex: 1;
    text-align: center;
    padding: 0;
}

/* 拼团订单卡片的结构化区块（app.js renderGroupTeams 输出） */
.order-card .order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.order-card .order-number {
    font-size: 12px;
    color: var(--text-tertiary);
    font-family: -apple-system, BlinkMacSystemFont, monospace;
}

.order-status-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

.order-status-tag.pending {
    background: #FEF3C7;
    color: #92400E;
}

.order-status-tag.completed {
    background: #D1FAE5;
    color: #065F46;
}

.order-status-tag.failed {
    background: #FEE2E2;
    color: #991B1B;
}

.order-card .order-route-info {
    margin: 6px 0 8px;
}

.order-card .order-route-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.order-card .order-meta {
    font-size: 12px;
    color: var(--text-tertiary);
}

.order-card .order-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border-color);
}

.order-card .order-total {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
}

.order-card .order-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* 拼团进度条（我的拼团列表内嵌，区别于详情页 .group-progress-bar） */
.gt-progress {
    margin: 8px 0 10px;
}

.gt-progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 5px;
}

.gt-progress-text b {
    color: var(--primary);
    font-weight: 700;
}

.gt-progress-track {
    height: 6px;
    background: var(--border-color);
    border-radius: 99px;
    overflow: hidden;
}

.gt-progress-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #3B82F6 0%, #60A5FA 100%);
    transition: width 0.5s ease;
}

.gt-progress-fill.reached {
    background: linear-gradient(90deg, #10B981 0%, #34D399 100%);
}

/* 订单服务入口列表项（申请退款 / 退款进度 / 联系客服），含待处理数量角标 */
.order-service-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    background: var(--bg-card);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.order-service-item:active {
    transform: scale(0.98);
    background: var(--bg-input);
}

.order-service-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.order-service-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    position: relative;
    background: var(--bg-input);
}

.order-service-icon.refund { background: #FEF3C7; }
.order-service-icon.progress { background: #DBEAFE; }
.order-service-icon.contact { background: #D1FAE5; }

/* 待处理数量角标 */
.order-service-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: #EF4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-card);
    box-sizing: content-box;
}

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

.order-service-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.order-service-desc {
    font-size: 12px;
    color: var(--text-tertiary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-service-arrow {
    font-size: 18px;
    color: var(--text-tertiary);
    flex-shrink: 0;
}

/* ===== v2.25.0 新增：[B3] 商户端核销筛选栏（merchant-portal.html 已引用）===== */
.mp-filter-bar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.mp-filter-btn {
    padding: 5px 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 12.5px;
    line-height: 1.5;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.mp-filter-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.mp-filter-btn:active {
    transform: scale(0.96);
}

/* 激活态与商户端主色（#10b981）保持一致 */
.mp-filter-btn.active {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.28);
}

.mp-filter-btn.active:hover {
    background: #0e9c72;
    border-color: #0e9c72;
    color: #fff;
}

/* 手机端商家模式统计卡片可点击态（app.js 内 .merchant-stat-card） */
.merchant-stat-card.clickable {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.merchant-stat-card.clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.merchant-stat-card.clickable:active {
    transform: translateY(0) scale(0.97);
}

.merchant-stat-card .stat-hint {
    display: block;
    font-size: 10px;
    color: var(--primary);
    margin-top: 4px;
}

/* ===== v2.25.0 新增：[C1] 后台退款规则梯度配置 + 退款审核状态徽章 ===== */
/* 梯度配置行，沿用既有 .rf-dyn-row 骨架并补齐字段宽度与标签 */
.rf-dyn-row.rf-refund-row {
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
}

.rf-refund-row .rfr-label {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    flex-shrink: 0;
}

.rf-refund-row .rfr-days,
.rf-refund-row .rfr-pct {
    width: 72px;
    text-align: center;
    flex-shrink: 0;
}

.rf-refund-row .rfr-note {
    flex: 1;
    min-width: 140px;
}

.rf-refund-hint {
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.7;
    margin-top: 6px;
}

/* 服务项目配置行（C1 同 Tab 内的 serviceItems 编辑） */
.rf-dyn-row.rf-service-row .rfs-name {
    flex: 1;
    min-width: 120px;
}

.rf-dyn-row.rf-service-row .rfs-included {
    width: 96px;
    font-size: 12px;
    padding: 5px 4px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    flex-shrink: 0;
}

/* 退款审核状态徽章：待审核 / 已通过 / 已拒绝 */
.refund-status-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
}

.refund-status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.refund-status-badge.approved {
    background: #d1fae5;
    color: #065f46;
}

.refund-status-badge.rejected {
    background: #fee2e2;
    color: #991b1b;
}

/* ===== v2.25.0 新增：[C5/C6] 后台表格标题与单元格过长省略号 ===== */
/* 既有 .admin-table 定义在 admin.html 内联样式中，此处仅追加省略号与列宽约束 */
.admin-table {
    table-layout: auto;
}

.admin-table thead th {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    /* white-space:nowrap 已由 admin.html 内联样式提供，此处保留以防单独引用 style.css */
    white-space: nowrap;
}

.admin-table tbody td {
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 例外一：行内已声明 white-space:normal 的单元格是刻意换行的长文本（如投诉内容），不做省略 */
.admin-table tbody td[style*="white-space:normal"] {
    max-width: none;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

/* 例外二：跨列展开详情行（colspan）承载多行内容与缩略图，必须完整展示 */
.admin-table tbody td[colspan] {
    max-width: none;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

/* 长文本单元格（目的地名称 / 线路标题）显式收窄，并用 title 提供完整文本 */
.admin-table td.ellipsis,
.admin-table th.ellipsis {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-table td.ellipsis-sm {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 操作列不参与省略：保持可见、不被挤出视野 */
.admin-table td[style*="display:flex"],
.admin-table td.actions,
.admin-table th.actions {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
}

/* 空状态单元格不做省略，保证提示文案完整居中 */
.admin-table td.admin-empty {
    max-width: none;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

/* 允许表格在窄屏横向滚动，避免操作列被挤出视野 */
.admin-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ========================================
   [A5] 用户协议/隐私政策全文弹窗样式
   ======================================== */

.agreement-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.agreement-content {
    background: #fff;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

.agreement-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #E2E8F0;
    flex-shrink: 0;
}

.agreement-title {
    font-size: 18px;
    font-weight: 600;
    color: #1E293B;
    margin: 0;
}

.agreement-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F1F5F9;
    color: #64748B;
    border: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.agreement-close:hover {
    background: #E2E8F0;
    color: #1E293B;
}

.agreement-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    -webkit-overflow-scrolling: touch;
}

.agreement-body h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1E293B;
    margin: 20px 0 12px;
}

.agreement-body h4:first-child {
    margin-top: 0;
}

.agreement-body p {
    font-size: 14px;
    line-height: 1.8;
    color: #475569;
    margin: 0 0 12px;
}

.agreement-body strong {
    color: #1E293B;
    font-weight: 600;
}

.agreement-footer {
    padding: 16px 24px;
    border-top: 1px solid #E2E8F0;
    flex-shrink: 0;
}

.agreement-confirm-btn {
    width: 100%;
    height: 44px;
    background: #3B82F6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.agreement-confirm-btn:hover {
    background: #2563EB;
}

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

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

/* ========================================
   小众线路筛选工具栏样式
   ======================================== */

/* 筛选工具栏容器 */
/* ===== v2.29.0 小众线路筛选区（chip布局，整体展开/收起） ===== */

/* 筛选功能区容器 */
.route-filter-section {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 16px 0;
    margin-bottom: 16px;
}

/* 顶部工具栏 */
.route-filter-toolbar-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
}

.route-filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 全部按钮 */
.route-filter-reset-all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 1.5px solid #E2E8F0;
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.route-filter-reset-all:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #CBD5E1;
}

.route-filter-reset-all:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.route-filter-reset-all .reset-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

/* 展开/收起按钮 */
.route-filter-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-white);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 8px rgba(59, 130, 246, 0.3);
}

.route-filter-toggle-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.route-filter-toggle-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(59, 130, 246, 0.3);
}

.route-filter-toggle-btn .filter-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

.route-filter-toggle-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
    margin-left: -2px;
}

.route-filter-toggle-arrow.expanded {
    transform: rotate(180deg);
}

/* 已选摘要 */
.route-filter-summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 13px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 999px;
    font-size: 12px;
    color: var(--text-white);
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

.route-filter-clear-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.route-filter-clear-icon svg {
    width: 9px;
    height: 9px;
    color: var(--text-white);
}

.route-filter-clear-icon:hover {
    background: rgba(255, 255, 255, 0.35);
}

.route-filter-clear-icon:active {
    background: rgba(255, 255, 255, 0.45);
    transform: scale(0.92);
}

/* 筛选内容区（整体展开/收起） */
.route-filter-content {
    max-height: 800px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                padding 0.3s ease;
    padding-bottom: 16px;
}

.route-filter-content.collapsed {
    max-height: 0;
    opacity: 0;
    padding-bottom: 0;
}

/* 筛选维度块 */
.route-filter-dimension {
    margin-bottom: 16px;
}

.route-filter-dimension:last-child {
    margin-bottom: 0;
}

.route-filter-dim-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding-left: 2px;
}

/* 横向滚动chip容器 */
.route-filter-chips-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 0 4px;
}

.route-filter-chips-scroll::-webkit-scrollbar {
    display: none;
}

/* Chip按钮基础样式 */
.route-filter-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 1.5px solid #E2E8F0;
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.route-filter-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #CBD5E1;
}

.route-filter-chip:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* Chip选中态 */
.route-filter-chip.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: var(--text-white);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.35);
}

.route-filter-chip.selected:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.45);
}

.route-filter-chip.selected:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.35);
}

.route-filter-chip-check {
    font-size: 12px;
    font-weight: 700;
}

/* ===== v2.26.0/v2.27.0 旧版下拉筛选样式（废弃但保留兼容） ===== */

.route-filter-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

/* 筛选按钮 */
.route-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.route-filter-btn:active {
    transform: scale(0.95);
    background: var(--bg-input);
}

.route-filter-btn .filter-arrow {
    font-size: 10px;
    color: var(--text-tertiary);
    transition: transform 0.2s ease;
}

/* 下拉筛选容器（相对定位，供下拉面板绝对定位） */
.route-filter-dropdown-wrapper {
    position: relative;
}

/* 下拉筛选面板 */
.route-filter-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 280px;
    max-width: calc(100vw - 32px);
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 12px;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.route-filter-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 下拉面板按钮展开态：箭头翻转 */
.route-filter-btn.open .filter-arrow {
    transform: rotate(180deg);
}

/* 下拉面板内的维度分组 */
.filter-dropdown-section {
    margin-bottom: 14px;
}

.filter-dropdown-section:last-of-type {
    margin-bottom: 8px;
}

.filter-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-color);
}

.filter-dropdown-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.filter-clear-btn-small {
    font-size: 12px;
    color: var(--primary);
    padding: 2px 6px;
    border-radius: 4px;
    background: transparent;
    font-weight: 500;
    transition: all 0.2s ease;
}

.filter-clear-btn-small:active {
    background: var(--bg-input);
    transform: scale(0.95);
}

/* 下拉面板内的多选项容器 */
.filter-dropdown-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 下拉面板底部操作栏 */
.filter-dropdown-footer {
    display: flex;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.filter-dropdown-reset,
.filter-dropdown-confirm {
    flex: 1;
    padding: 9px 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.filter-dropdown-reset {
    background: var(--bg-input);
    color: var(--text-secondary);
}

.filter-dropdown-confirm {
    background: var(--primary);
    color: var(--text-white);
}

.filter-dropdown-reset:active,
.filter-dropdown-confirm:active {
    transform: scale(0.97);
}

/* 已选筛选条件展示区 */
.route-filter-tags {
    padding: 12px 16px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.route-filter-tags::before {
    content: '已选：';
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 500;
    flex-shrink: 0;
}

/* 筛选标签 */
.route-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-white);
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.route-filter-tag-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    color: var(--text-white);
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.route-filter-tag-close:active {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0.9);
}

/* ========================================
   [A13][A14] 多选筛选面板样式
   ======================================== */

/* 筛选面板遮罩层 - 居中弹窗风格 */
.filter-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.filter-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 筛选面板内容容器 - 居中弹窗 */
.filter-panel-content {
    background: var(--bg-card);
    border-radius: 16px;
    max-width: 90vw;
    max-height: 80vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-panel-overlay.active .filter-panel-content {
    transform: scale(1);
}

/* 筛选面板头部 - 弹窗风格 */
.filter-panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
    position: relative;
    border-radius: 16px 16px 0 0;
}

.filter-panel-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

.filter-panel-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    color: var(--text-secondary);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.filter-panel-close::before {
    content: '✕';
    font-size: 20px;
    font-weight: 300;
}

.filter-panel-close:active {
    background: var(--bg-input);
    transform: translateY(-50%) scale(0.95);
}

/* 筛选面板主体（可滚动） */
.filter-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-lg);
    -webkit-overflow-scrolling: touch;
    background: var(--bg-card);
}

/* 筛选维度分组 */
.filter-dimension-group {
    margin-bottom: var(--space-xl);
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.filter-dimension-group:last-child {
    margin-bottom: 0;
}

.filter-dimension-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-color);
}

.filter-dimension-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.filter-clear-btn {
    font-size: 13px;
    color: var(--primary);
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: transparent;
    font-weight: 500;
}

.filter-clear-btn:active {
    background: var(--bg-input);
    transform: scale(0.95);
}

/* 筛选选项容器 */
.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* 筛选选项标签 - 类似filter-chip风格 */
.filter-option-label {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    background: var(--bg-page);
    border: 1.5px solid var(--border-color);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.filter-option-label:active {
    transform: scale(0.95);
}

.filter-option-label input[type="checkbox"] {
    display: none;
}

.filter-option-label:has(input[type="checkbox"]:checked) {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
    font-weight: 500;
}

.filter-option-text {
    color: inherit;
}

/* 筛选面板底部操作栏 - 弹窗风格 + 移动端安全区域 */
.filter-panel-footer {
    display: flex;
    gap: 12px;
    padding: 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
    background: var(--bg-card);
    border-radius: 0 0 16px 16px;
}

.filter-reset-btn,
.filter-confirm-btn {
    flex: 1;
    height: 48px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-reset-btn {
    background: var(--bg-page);
    color: var(--text-primary);
    border: 1.5px solid var(--border-color);
}

.filter-reset-btn:active {
    transform: scale(0.98);
    background: var(--bg-input);
}

.filter-confirm-btn {
    background: var(--primary);
    color: var(--text-white);
    border: none;
}

.filter-confirm-btn:active {
    transform: scale(0.98);
    background: var(--primary-dark);
}
}

/* ===== 通用modal弹窗样式（2026-08-10 新增：统一全局弹窗溢出处理）===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 16px;
    max-width: 90vw;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

/* [v2.80.0] 弹窗头部、主体、底部布局修复 */
.modal-header {
    flex-shrink: 0;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.modal-footer {
    flex-shrink: 0;
}


/* ===== 目的地详情页样式 (v2.63.0) ===== */

/* 亮点标签列表 */
.highlight-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.highlight-tag {
    display: inline-block;
    font-size: 13px;
    padding: 6px 12px;
    background: var(--bg-input);
    border-radius: 16px;
    color: var(--text-primary);
}

/* 景点列表 */
.spot-list {
    display: flex;
    flex-direction: column;
}

.spot-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.spot-item:last-child {
    border-bottom: none;
}

.spot-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.spot-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 4px;
}

.spot-tag {
    font-size: 11px;
    background: #eff6ff;
    color: #3b82f6;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
}

/* 路线列表 */
.route-list {
    display: flex;
    flex-direction: column;
}

.route-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-input);
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.route-item:hover {
    background: #e2e8f0;
}

.route-item:last-child {
    margin-bottom: 0;
}

.route-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.route-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.route-meta {
    font-size: 12px;
    color: var(--text-tertiary);
}

.route-arrow {
    font-size: 18px;
    color: var(--text-tertiary);
    margin-left: auto;
}

/* 贴士列表 */
.tip-list {
    display: flex;
    flex-direction: column;
}

.tip-item {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.6;
}

.tip-item:last-child {
    border-bottom: none;
}

/* 自定义内容 */
.custom-content {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.custom-content p {
    margin-bottom: 8px;
}

.custom-content ul, .custom-content ol {
    padding-left: 20px;
    margin-bottom: 8px;
}

.custom-content li {
    margin-bottom: 4px;
}

/* ===== 特殊人群优惠列表 ===== */
/* 筛选标签栏 */
.special-discount-filters {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.special-discount-filters::-webkit-scrollbar {
    display: none;
}

.filter-tag {
    flex-shrink: 0;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    background: var(--bg-page);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-tag.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* 参考订单卡片样式 */
.special-discounts-list {
    padding: var(--space-md);
}

.special-discount-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.special-discount-card:active {
    transform: scale(0.98);
}

.special-discount-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.special-discount-title {
    font-size: var(--font-base);
    font-weight: 600;
    color: var(--text-primary);
}

.special-discount-type {
    display: inline-block;
    padding: 2px 8px;
    font-size: var(--font-xs);
    color: var(--text-secondary);
    background: var(--bg-input);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    font-size: var(--font-xs);
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 4px;
}

.special-discount-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: var(--font-xs);
    font-weight: 500;
    white-space: nowrap;
}

.special-discount-status.pending {
    background: #FEF3C7;
    color: #D97706;
}

.special-discount-status.approved {
    background: #D1FAE5;
    color: #059669;
}

.special-discount-status.rejected {
    background: #FEE2E2;
    color: #DC2626;
}

.special-discount-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.special-discount-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-sm);
}

.special-discount-label {
    color: var(--text-secondary);
}

.special-discount-value {
    color: var(--text-primary);
    font-weight: 500;
}

.special-discount-value.price {
    color: var(--accent);
    font-weight: 600;
}

/* 证件图片缩略图 — 用于订单卡片内 */
.cert-images-preview {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cert-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s;
}

.cert-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 图片预览弹窗 */
.image-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s;
}

.image-preview-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.image-preview-container img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.image-preview-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.image-preview-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.special-discount-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border-color);
    margin-top: var(--space-sm);
    gap: 8px;
}

.special-discount-time {
    font-size: var(--font-xs);
    color: var(--text-tertiary);
    flex: 1;
}

.special-discount-refund {
    font-size: var(--font-sm);
    color: #10B981;
    font-weight: 600;
}

/* 上传预览区域 */
.upload-preview {
    min-height: 100px;
    margin-bottom: 8px;
    padding: 8px;
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    text-align: center;
}

/* 表单项样式 */
.form-item {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.special-discounts-empty {
    padding: 60px 20px;
    text-align: center;
}

.special-discounts-empty-icon {
    font-size: 48px;
    margin-bottom: var(--space-md);
}

.special-discounts-empty-text {
    font-size: var(--font-base);
    color: var(--text-tertiary);
}
