/* ============================================================
   推券客返利系统 - 手机端完整CSS样式
   版本: 1.0.0
   设计系统:
     主色: #ff4757 (红粉色)
     次色: #ff6b81 (浅粉色)
     强调色: #ffa502 (金橙色)
     背景: #f5f5f5
     卡片背景: #fff
     主文字: #333 / 次文字: #666 / 弱文字: #999
     圆角: 10px(卡片), 18px(胶囊), 4px(小元素)
     阴影: 0 2px 8px rgba(0,0,0,0.06)
     最大宽度: 480px 居中
============================================================ */

/* ==================== 基础 Reset 样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Noto Sans CJK SC', 'WenQuanYi Micro Hei', Helvetica, Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#app {
    max-width: 480px;
    margin: 0 auto;
    height: 100%;
    position: relative;
    background: #f5f5f5;
    overflow: hidden;
}

ul, ol, li {
    list-style: none;
}

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

img {
    display: block;
    max-width: 100%;
    object-fit: cover;
}

input, textarea, button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    outline: none;
    border: none;
    background: none;
}

button {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

/* ==================== 页面布局基础 ==================== */
.page-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 60px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.page-wrap::-webkit-scrollbar {
    display: none;
}

.page {
    display: none;
}

.page.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

@keyframes toastIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(255, 71, 87, 0); }
}

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

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

/* ==================== 通用工具类 ==================== */
.gradient-red {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
}

.text-red { color: #ff4757; }
.text-gold { color: #ffa502; }
.text-gray { color: #999; }
.text-666 { color: #666; }
.text-center { text-align: center; }
.bg-white { background: #fff; }

.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==================== 底部导航栏 ==================== */
.tab-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #fff;
    display: flex;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom);
}

.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
    -webkit-user-select: none;
    user-select: none;
}

.tab-item:active {
    opacity: 0.7;
}

.tab-item.active {
    color: #ff4757;
}

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

/* ==================== Toast 提示弹窗 ==================== */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    z-index: 9999;
    font-size: 14px;
    max-width: 80%;
    text-align: center;
    animation: toastIn 0.3s ease;
}

/* ==================== 返回顶部按钮 ==================== */
.back-top,
.back-to-top {
    position: fixed;
    right: 15px;
    bottom: 80px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ff4757;
    cursor: pointer;
    z-index: 90;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.back-top.show,
.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

/* ==================== 加载更多 ==================== */
.loading-more {
    text-align: center;
    padding: 15px;
    color: #999;
    font-size: 12px;
}

.loading-more::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #ddd;
    border-top-color: #ff4757;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 6px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================== 返回按钮 ==================== */
.back-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1;
}

.back-btn:active {
    opacity: 0.7;
}

/* ==================== 1. 首页(home)样式 ==================== */
.home-header {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    padding: 0 0 10px;
}

.home-search {
    padding: 12px 15px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-bar {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
}

.search-input-wrap {
    flex: 1;
    position: relative;
}

.search-input {
    width: 100%;
    height: 36px;
    border-radius: 18px;
    border: none;
    padding: 0 36px 0 36px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    outline: none;
}

.search-input::placeholder {
    color: #999;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    pointer-events: none;
}

.search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ccc;
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Banner 轮播 */
.banner-wrap {
    position: relative;
    overflow: hidden;
    margin: 0 12px;
    border-radius: 10px;
    height: 160px;
}

.banner-list {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.banner-item {
    min-width: 100%;
    height: 100%;
}

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

.banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.banner-dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
}

.banner-dot.active {
    width: 18px;
    background: #fff;
}

/* 导航宫格 */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 15px 12px;
    background: #fff;
    margin: 10px 12px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav-item:active {
    opacity: 0.7;
}

.nav-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: linear-gradient(135deg, #ff6b81, #ff4757);
    color: #fff;
}

.nav-item span {
    font-size: 11px;
    color: #666;
}

/* 标题栏 */
.section-title {
    display: flex;
    align-items: center;
    padding: 12px 15px 8px;
    gap: 8px;
}

.section-title .title-bar {
    width: 3px;
    height: 16px;
    background: linear-gradient(180deg, #ff4757, #ff6b81);
    border-radius: 2px;
}

.section-title span {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.section-title .more {
    margin-left: auto;
    font-size: 12px;
    color: #999;
    cursor: pointer;
}

/* 活动滚动区 */
.activity-scroll {
    overflow-x: auto;
    padding: 0 12px 10px;
    -webkit-overflow-scrolling: touch;
}

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

.activity-list {
    display: flex;
    gap: 8px;
}

.activity-item {
    flex-shrink: 0;
    width: 52px;
    text-align: center;
    cursor: pointer;
}

.activity-item:active {
    opacity: 0.7;
}

.activity-emoji {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff5f5, #ffe0e6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 4px;
}

.activity-item span {
    font-size: 10px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* 线报卡片 */
.xianbao-card {
    margin: 0 12px 10px;
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.xianbao-card:active {
    opacity: 0.85;
}

.xianbao-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4757;
    animation: pulse 1.5s infinite;
    flex-shrink: 0;
}

.xianbao-content {
    flex: 1;
    overflow: hidden;
}

.xianbao-title {
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.xianbao-price {
    font-size: 12px;
    color: #ff4757;
    margin-top: 3px;
}

/* 商品网格 */
.goods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 12px;
}

.goods-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    position: relative;
}

.goods-card:active {
    opacity: 0.85;
    transform: scale(0.99);
    transition: all 0.15s;
}

.goods-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 100%;
}

.goods-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 平台标签 */
.platform-tag {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    color: #fff;
    font-weight: 500;
    z-index: 2;
}

.platform-tag.tmall { background: #ff0036; }
.platform-tag.taobao { background: #ff6600; }
.platform-tag.jd { background: #c91623; }
.platform-tag.pdd { background: #e02e24; }

/* 优惠券标签 */
.coupon-tag {
    position: absolute;
    left: 0;
    bottom: 8px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    padding: 2px 8px 2px 20px;
    border-radius: 0 10px 10px 0;
    font-size: 10px;
    font-weight: 600;
    z-index: 2;
}

.coupon-tag::before {
    content: '🎫';
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
}

/* 返利标签 */
.rebate-tag {
    position: absolute;
    right: 6px;
    bottom: 8px;
    background: linear-gradient(135deg, #ffa502, #ff7f50);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    z-index: 2;
}

/* 9.9包邮徽章 */
.jiubadge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    z-index: 2;
}

/* 商品信息 */
.goods-info {
    padding: 8px;
}

.goods-title {
    font-size: 12px;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 34px;
}

.goods-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 6px;
}

.goods-price {
    font-size: 16px;
    color: #ff4757;
    font-weight: 700;
}

.goods-price::before {
    content: '¥';
    font-size: 11px;
}

.goods-orig {
    font-size: 11px;
    color: #999;
    text-decoration: line-through;
}

.goods-sales {
    font-size: 10px;
    color: #999;
    margin-left: auto;
}

/* 垂直商品列表 */
.goods-list-vertical {
    padding: 0 12px;
}

.goods-list-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 10px;
    display: flex;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.goods-list-item:active {
    opacity: 0.85;
}

.goods-list-item .goods-img-wrap {
    width: 110px;
    height: 110px;
    padding-top: 0;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.goods-list-item .goods-info {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.goods-list-item .goods-title {
    font-size: 13px;
    height: auto;
    -webkit-line-clamp: 2;
}

.goods-list-item .goods-tags {
    display: flex;
    gap: 4px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.goods-list-item .mini-tag {
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 3px;
}

.goods-list-item .mini-tag.coupon {
    background: #fff0f0;
    color: #ff4757;
}

.goods-list-item .mini-tag.rebate {
    background: #fff8e6;
    color: #ffa502;
}

.goods-list-item .goods-price-row {
    margin-top: auto;
}

/* ==================== 2. 分类页(category)样式 ==================== */
.cate-page {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.channel-tabs {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.channel-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    color: #666;
    position: relative;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.channel-tab:active {
    opacity: 0.7;
}

.channel-tab.active {
    color: #ff4757;
    font-weight: 600;
}

.channel-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: linear-gradient(90deg, #ff4757, #ff6b81);
    border-radius: 2px;
}

.cate-wrap {
    display: flex;
    flex: 1;
    min-height: 0;
}

.cate-left {
    width: 90px;
    background: #f5f5f5;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.cate-left::-webkit-scrollbar {
    display: none;
}

.cate-left-item {
    padding: 14px 10px;
    text-align: center;
    font-size: 13px;
    color: #666;
    position: relative;
    cursor: pointer;
}

.cate-left-item:active {
    background: rgba(0, 0, 0, 0.03);
}

.cate-left-item.active {
    background: #fff;
    color: #ff4757;
    font-weight: 600;
}

.cate-left-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: linear-gradient(180deg, #ff4757, #ff6b81);
    border-radius: 0 2px 2px 0;
}

.cate-right {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    -webkit-overflow-scrolling: touch;
    background: #fff;
}

.cate-right::-webkit-scrollbar {
    display: none;
}

.cate-sub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.cate-sub-item {
    text-align: center;
    cursor: pointer;
}

.cate-sub-item:active {
    opacity: 0.7;
}

.cate-sub-item .sub-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin: 0 auto 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: linear-gradient(135deg, #fff5f5, #ffe0e6);
}

.cate-sub-item span {
    font-size: 11px;
    color: #666;
}

/* 排序栏 */
.sort-bar {
    display: flex;
    background: #fff;
    padding: 0 10px;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.sort-item {
    padding: 10px 12px;
    font-size: 13px;
    color: #666;
    position: relative;
    cursor: pointer;
}

.sort-item:active {
    opacity: 0.7;
}

.sort-item.active {
    color: #ff4757;
    font-weight: 600;
}

.sort-item .arrow {
    font-size: 8px;
    margin-left: 2px;
}

/* ==================== 3. 9.9包邮页(jiu)样式 ==================== */
.jiu-header {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    padding: 20px 15px;
    text-align: center;
    color: #fff;
}

.jiu-header h2 {
    font-size: 22px;
    font-weight: 700;
}

.jiu-header p {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 4px;
}

/* ==================== 4. 搜索页(search)样式 ==================== */
.search-page .search-bar {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    padding-top: 15px;
}

.search-page .search-bar .back-btn {
    flex-shrink: 0;
}

.search-history {
    padding: 0 15px 15px;
}

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

.history-header span {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.history-del {
    color: #999;
    font-size: 18px;
    cursor: pointer;
}

.history-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.history-tag {
    padding: 6px 14px;
    background: #f5f5f5;
    border-radius: 16px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
}

.history-tag:active {
    opacity: 0.7;
}

.search-hot {
    padding: 15px;
}

.search-hot-title {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.search-hot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hot-tag {
    padding: 6px 14px;
    background: #f5f5f5;
    border-radius: 16px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
}

.hot-tag:active {
    opacity: 0.7;
}

.hot-tag.hot1,
.hot-tag.hot2,
.hot-tag.hot3 {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
}

.hot-tag.hot4,
.hot-tag.hot5 {
    background: linear-gradient(135deg, #ffa502, #ff7f50);
    color: #fff;
}

.hot-tag.hot6,
.hot-tag.hot7,
.hot-tag.hot8 {
    background: #fff;
    color: #ff4757;
    border: 1px solid #ff4757;
}

/* ==================== 5. 商品详情页(detail)样式 ==================== */
.detail-fixed-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-fixed-header .search-input-wrap {
    flex: 1;
}

.detail-fixed-header .search-input {
    background: rgba(255, 255, 255, 0.9);
}

.detail-swiper {
    position: relative;
    background: #fff;
}

.detail-swiper-list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.detail-swiper-list::-webkit-scrollbar {
    display: none;
}

.detail-swiper-item {
    min-width: 100%;
    scroll-snap-align: start;
}

.detail-swiper-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.detail-page-num {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
}

.detail-price-section {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    padding: 15px;
    color: #fff;
}

.detail-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.detail-coupon-price {
    font-size: 32px;
    font-weight: 700;
}

.detail-coupon-price::before {
    content: '¥';
    font-size: 16px;
}

.detail-orig-price {
    font-size: 14px;
    text-decoration: line-through;
    opacity: 0.8;
}

.detail-tags {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.detail-tag {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
}

.detail-tag.coupon {
    background: #fff;
    color: #ff4757;
    font-weight: 600;
}

.detail-tag.rebate {
    background: linear-gradient(135deg, #ffa502, #ff7f50);
    color: #fff;
    font-weight: 600;
}

.detail-info {
    background: #fff;
    padding: 12px 15px;
}

.detail-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: #333;
}

.detail-shop {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f5f5f5;
}

.shop-icon {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
}

.shop-name {
    font-size: 12px;
    color: #666;
}

.shop-type-tag {
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 3px;
    color: #fff;
    margin-left: 4px;
}

/* 优惠券卡片 */
.detail-coupon-card {
    background: #fff;
    margin: 10px;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.coupon-left {
    width: 80px;
    text-align: center;
    border-right: 1px dashed #eee;
    padding-right: 12px;
}

.coupon-value {
    font-size: 24px;
    font-weight: 700;
    color: #ff4757;
}

.coupon-value::before {
    content: '¥';
    font-size: 12px;
}

.coupon-label {
    font-size: 10px;
    color: #999;
}

.coupon-right {
    flex: 1;
}

.coupon-title {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.coupon-date {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

.coupon-get-btn {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.coupon-get-btn:active {
    opacity: 0.85;
}

/* 详情区块 */
.detail-section {
    background: #fff;
    margin: 10px;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.detail-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-section-title::before {
    content: '';
    width: 3px;
    height: 14px;
    background: linear-gradient(180deg, #ff4757, #ff6b81);
    border-radius: 2px;
}

.shop-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}

.shop-info-row:active {
    opacity: 0.7;
}

.shop-info-row .arrow {
    color: #ccc;
}

/* 详情底部栏 */
.detail-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: #fff;
    display: flex;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 100;
    padding: 0 10px;
    gap: 8px;
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    color: #666;
    padding: 0 10px;
    cursor: pointer;
}

.bottom-action:active {
    opacity: 0.7;
}

.bottom-action .b-icon {
    font-size: 20px;
    margin-bottom: 2px;
}

.get-coupon-btn {
    flex: 1;
    height: 40px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.get-coupon-btn:active {
    opacity: 0.85;
}

/* ==================== 6. 登录页(login)样式 ==================== */
.login-page {
    min-height: 100%;
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.login-card {
    width: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 6px;
}

.login-subtitle {
    font-size: 13px;
    color: #999;
    text-align: center;
    margin-bottom: 30px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.form-input {
    width: 100%;
    height: 44px;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 0 15px;
    font-size: 14px;
    color: #333;
    background: #f9f9f9;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: #ff4757;
    background: #fff;
}

.form-input::placeholder {
    color: #ccc;
}

.login-btn {
    width: 100%;
    height: 46px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    border: none;
    border-radius: 23px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

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

.login-links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 13px;
}

.login-link {
    color: #ff4757;
    cursor: pointer;
}

.login-link:active {
    opacity: 0.7;
}

.login-third {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.login-third-title {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.login-third-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.login-third-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
}

.login-third-btn:active {
    opacity: 0.7;
}

.login-third-btn.wechat {
    background: #07c160;
    color: #fff;
}

.login-third-btn.qq {
    background: #12b7f5;
    color: #fff;
}

.login-third-btn.weibo {
    background: #e6162d;
    color: #fff;
}

/* ==================== 7. 用户中心(me)样式 ==================== */
.me-header {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    padding: 30px 20px 50px;
    position: relative;
}

.me-user-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.me-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

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

.me-user-info {
    color: #fff;
    flex: 1;
}

.me-login-btn {
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.me-login-tip {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 4px;
}

.me-stats-card {
    margin: -30px 12px 10px;
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.me-stat {
    flex: 1;
    text-align: center;
}

.me-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #ff4757;
}

.me-stat-label {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

.me-stat-divider {
    width: 1px;
    height: 36px;
    background: #f0f0f0;
}

.me-withdraw-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ffa502, #ff7f50);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.me-withdraw-btn:active {
    opacity: 0.85;
}

.me-orders {
    background: #fff;
    margin: 0 12px 10px;
    border-radius: 10px;
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.me-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px 12px;
}

.me-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.me-section-more {
    font-size: 12px;
    color: #999;
    cursor: pointer;
}

.me-section-more:active {
    opacity: 0.7;
}

.order-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.order-tab {
    text-align: center;
    cursor: pointer;
}

.order-tab:active {
    opacity: 0.7;
}

.order-tab-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.order-tab span {
    font-size: 11px;
    color: #666;
}

.me-tools {
    background: #fff;
    margin: 0 12px 10px;
    border-radius: 10px;
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px 0;
}

.tool-item {
    text-align: center;
    cursor: pointer;
}

.tool-item:active {
    opacity: 0.7;
}

.tool-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin: 0 auto 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.tool-item span {
    font-size: 11px;
    color: #666;
}

.me-help {
    background: #fff;
    margin: 0 12px 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.help-item {
    display: flex;
    align-items: center;
    padding: 14px 15px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    font-size: 13px;
    color: #333;
}

.help-item:active {
    background: #f9f9f9;
}

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

.help-item .arrow {
    margin-left: auto;
    color: #ccc;
}

/* ==================== 8. 订单列表页(orders)样式 ==================== */
.orders-page {
    min-height: 100%;
}

.orders-tabs {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 10;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.orders-tabs::-webkit-scrollbar {
    display: none;
}

.orders-tab {
    flex-shrink: 0;
    padding: 12px 16px;
    font-size: 14px;
    color: #666;
    position: relative;
    cursor: pointer;
    white-space: nowrap;
}

.orders-tab:active {
    opacity: 0.7;
}

.orders-tab.active {
    color: #ff4757;
    font-weight: 600;
}

.orders-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: linear-gradient(90deg, #ff4757, #ff6b81);
    border-radius: 2px;
}

.order-card {
    background: #fff;
    margin: 10px 12px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid #f5f5f5;
}

.order-platform-tag {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    color: #fff;
    font-weight: 500;
}

.order-platform-tag.taobao { background: #ff6600; }
.order-platform-tag.tmall { background: #ff0036; }
.order-platform-tag.jd { background: #c91623; }
.order-platform-tag.pdd { background: #e02e24; }

.order-status {
    font-size: 12px;
    color: #ff4757;
    font-weight: 500;
}

.order-status.success { color: #10c55b; }
.order-status.pending { color: #ffa502; }
.order-status.failed { color: #999; }

.order-card-body {
    display: flex;
    gap: 10px;
    padding: 12px;
}

.order-goods-pic {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.order-goods-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.order-goods-title {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.order-goods-price {
    font-size: 14px;
    color: #ff4757;
    font-weight: 600;
    margin-top: 6px;
}

.order-goods-price::before {
    content: '¥';
    font-size: 11px;
}

.order-commission {
    font-size: 11px;
    color: #ffa502;
    margin-top: 4px;
}

.order-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-top: 1px solid #f5f5f5;
    background: #fafafa;
}

.order-time {
    font-size: 11px;
    color: #999;
}

.order-pay-price {
    font-size: 13px;
    color: #333;
    font-weight: 600;
}

.order-pay-price::before {
    content: '实付 ¥';
    font-size: 11px;
    color: #999;
    font-weight: 400;
}

/* 空状态 */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 15px;
    opacity: 0.6;
}

.empty-text {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

/* ==================== 9. 收益明细页(earnings)样式 ==================== */
.earnings-page {
    min-height: 100%;
}

.earnings-card {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    margin: 0;
    padding: 25px 20px;
    color: #fff;
}

.earnings-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.earnings-item {
    text-align: center;
    flex: 1;
}

.earnings-label {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 6px;
}

.earnings-value {
    font-size: 24px;
    font-weight: 700;
}

.earnings-value::before {
    content: '¥';
    font-size: 14px;
}

.earnings-list {
    padding: 10px 12px;
}

.earnings-item-card {
    background: #fff;
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.earnings-item-card:active {
    opacity: 0.85;
}

.earnings-item-type {
    flex: 1;
    overflow: hidden;
}

.earnings-item-type .type-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.earnings-item-type .earnings-item-remark {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.earnings-item-amount {
    font-size: 16px;
    font-weight: 700;
    color: #ff4757;
    text-align: right;
}

.earnings-item-amount.income {
    color: #ff4757;
}

.earnings-item-amount.expense {
    color: #999;
}

.earnings-item-time {
    font-size: 10px;
    color: #ccc;
    text-align: right;
    margin-top: 4px;
}

/* ==================== 10. 提现页(withdraw)样式 ==================== */
.withdraw-page {
    min-height: 100%;
}

.withdraw-card {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    padding: 25px 20px;
    color: #fff;
    text-align: center;
}

.withdraw-balance {
    font-size: 32px;
    font-weight: 700;
    margin-top: 8px;
}

.withdraw-balance::before {
    content: '¥';
    font-size: 16px;
}

.withdraw-balance-label {
    font-size: 13px;
    opacity: 0.9;
}

.withdraw-form {
    background: #fff;
    margin: -15px 12px 0;
    border-radius: 10px;
    padding: 20px 15px;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.withdraw-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 15px;
}

.withdraw-input-group label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.withdraw-input {
    width: 100%;
    height: 44px;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 0 15px;
    font-size: 14px;
    color: #333;
    background: #f9f9f9;
    transition: border-color 0.2s;
}

.withdraw-input:focus {
    border-color: #ff4757;
    background: #fff;
}

.withdraw-input::placeholder {
    color: #ccc;
}

.withdraw-account-type {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.account-type-item {
    flex: 1;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.account-type-item .type-icon {
    font-size: 28px;
    margin-bottom: 4px;
}

.account-type-item .type-name {
    font-size: 12px;
    color: #666;
}

.account-type-item.active {
    border-color: #ff4757;
    background: #fff5f5;
}

.account-type-item.active .type-name {
    color: #ff4757;
    font-weight: 600;
}

.account-type-item:active {
    opacity: 0.85;
}

.withdraw-btn {
    width: 100%;
    height: 46px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    border: none;
    border-radius: 23px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.withdraw-btn:active {
    opacity: 0.85;
    transform: scale(0.98);
}

.withdraw-tips {
    margin: 15px 12px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.withdraw-tips-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.withdraw-tip-item {
    font-size: 12px;
    color: #999;
    line-height: 1.8;
    display: flex;
    gap: 6px;
}

.withdraw-tip-item::before {
    content: '·';
    color: #ff4757;
    font-weight: 700;
}

/* ==================== 11. 团队页(team)样式 ==================== */
.team-page {
    min-height: 100%;
}

.team-header {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    padding: 25px 20px;
    color: #fff;
}

.team-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
}

.team-stat {
    text-align: center;
    flex: 1;
}

.team-stat-value {
    font-size: 24px;
    font-weight: 700;
}

.team-stat-label {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 4px;
}

.team-tabs {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.team-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    color: #666;
    position: relative;
    cursor: pointer;
}

.team-tab:active {
    opacity: 0.7;
}

.team-tab.active {
    color: #ff4757;
    font-weight: 600;
}

.team-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: linear-gradient(90deg, #ff4757, #ff6b81);
    border-radius: 2px;
}

.team-list {
    padding: 10px 12px;
}

.team-member {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.member-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b81, #ff4757);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
    overflow: hidden;
}

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

.member-info {
    flex: 1;
    overflow: hidden;
}

.member-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.member-phone {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

.member-time {
    font-size: 11px;
    color: #ccc;
    margin-top: 4px;
}

.member-orders {
    text-align: right;
}

.member-orders .order-count {
    font-size: 18px;
    font-weight: 700;
    color: #ff4757;
}

.member-orders .order-label {
    font-size: 10px;
    color: #999;
}

/* ==================== 12. 邀请好友页(invite)样式 ==================== */
.invite-page {
    min-height: 100%;
}

.invite-header {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    padding: 30px 20px;
    text-align: center;
    color: #fff;
}

.invite-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.invite-header p {
    font-size: 13px;
    opacity: 0.9;
}

.invite-card {
    background: #fff;
    margin: -15px 12px 0;
    border-radius: 10px;
    padding: 20px 15px;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.invite-code {
    text-align: center;
    margin-bottom: 15px;
}

.invite-code-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

.invite-code-value {
    font-size: 28px;
    font-weight: 700;
    color: #ff4757;
    letter-spacing: 4px;
    padding: 10px 20px;
    background: #fff5f5;
    border-radius: 10px;
    display: inline-block;
}

.copy-btn {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-left: 10px;
}

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

.invite-rules {
    background: #fff;
    margin: 10px 12px;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.invite-rules-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.invite-rules-title::before {
    content: '';
    width: 3px;
    height: 14px;
    background: linear-gradient(180deg, #ff4757, #ff6b81);
    border-radius: 2px;
}

.invite-rule-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
}

.rule-step {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.rule-text {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    padding-top: 3px;
}

.invite-share-btn {
    display: block;
    width: calc(100% - 24px);
    margin: 15px 12px 20px;
    height: 46px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    border: none;
    border-radius: 23px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.invite-share-btn:active {
    opacity: 0.85;
    transform: scale(0.98);
}

.invite-poster {
    background: #fff;
    margin: 0 12px 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.invite-poster img {
    width: 100%;
    display: block;
}

/* ==================== 13. 签到页(signin)样式 ==================== */
.signin-page {
    min-height: 100%;
}

.signin-header {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    padding: 30px 20px;
    text-align: center;
    color: #fff;
}

.signin-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 auto 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.signin-amount {
    font-size: 32px;
    font-weight: 700;
}

.signin-amount::before {
    content: '¥';
    font-size: 16px;
}

.signin-label {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 4px;
}

.signin-btn {
    background: #fff;
    color: #ff4757;
    border: none;
    padding: 10px 40px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.signin-btn:active {
    opacity: 0.85;
    transform: scale(0.98);
}

.signin-btn.signed {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    box-shadow: none;
    cursor: default;
}

.signin-calendar {
    background: #fff;
    margin: -15px 12px 0;
    border-radius: 10px;
    padding: 15px;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.calendar-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    text-align: center;
}

.calendar-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 8px;
}

.calendar-week span {
    font-size: 12px;
    color: #999;
    padding: 4px 0;
}

.calendar-day {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    font-size: 13px;
    color: #666;
    border-radius: 50%;
    position: relative;
}

.calendar-day.signed {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    font-weight: 600;
}

.calendar-day.signed::after {
    content: '✓';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffa502;
    color: #fff;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-day.today {
    border: 2px solid #ff4757;
    color: #ff4757;
    font-weight: 600;
}

.calendar-day.empty {
    visibility: hidden;
}

.signin-rules {
    background: #fff;
    margin: 10px 12px;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.signin-rules-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.signin-rule-item {
    font-size: 12px;
    color: #999;
    line-height: 1.8;
    display: flex;
    gap: 6px;
}

.signin-rule-item::before {
    content: '·';
    color: #ff4757;
    font-weight: 700;
}

/* ==================== 14. 收藏页(favorites)样式 ==================== */
.favorites-page {
    min-height: 100%;
}

.fav-list {
    padding: 10px 12px;
}

.fav-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 10px;
    display: flex;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
}

.fav-item:active {
    opacity: 0.85;
}

.fav-item-img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.fav-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-right: 30px;
}

.fav-item-title {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fav-item-price {
    font-size: 16px;
    color: #ff4757;
    font-weight: 700;
    margin-top: 6px;
}

.fav-item-price::before {
    content: '¥';
    font-size: 11px;
}

.fav-item-del {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ccc;
    cursor: pointer;
}

.fav-item-del:active {
    color: #ff4757;
}

/* ==================== 15. 消息页(messages)样式 ==================== */
.messages-page {
    min-height: 100%;
}

.msg-list {
    padding: 10px 0;
}

.msg-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #fff;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    position: relative;
}

.msg-item:active {
    background: #f9f9f9;
}

.msg-item.unread {
    background: #fffbfb;
}

.msg-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b81, #ff4757);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.msg-item-content {
    flex: 1;
    overflow: hidden;
}

.msg-item-title {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.msg-item.unread .msg-item-title {
    font-weight: 600;
}

.msg-item-desc {
    font-size: 12px;
    color: #999;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.msg-item-time {
    font-size: 11px;
    color: #ccc;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 2px;
}

.msg-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4757;
    flex-shrink: 0;
}

/* ==================== 16. 设置页(settings)样式 ==================== */
.settings-page {
    min-height: 100%;
}

.settings-group {
    background: #fff;
    margin: 10px 12px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.settings-item {
    display: flex;
    align-items: center;
    padding: 14px 15px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
}

.settings-item:active {
    background: #f9f9f9;
}

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

.settings-label {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.settings-value {
    font-size: 13px;
    color: #999;
    margin-right: 6px;
}

.settings-arrow {
    color: #ccc;
    font-size: 14px;
}

.settings-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 6px;
}

.settings-switch {
    width: 42px;
    height: 24px;
    border-radius: 12px;
    background: #ddd;
    position: relative;
    cursor: pointer;
    transition: background 0.2s;
}

.settings-switch.on {
    background: #ff4757;
}

.settings-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.settings-switch.on::after {
    transform: translateX(18px);
}

.logout-btn {
    display: block;
    width: calc(100% - 24px);
    margin: 20px 12px;
    height: 46px;
    background: #fff;
    color: #ff4757;
    border: 1px solid #ff4757;
    border-radius: 23px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.logout-btn:active {
    opacity: 0.85;
    background: #fff5f5;
}

/* ==================== 17. 意见反馈页(feedback)样式 ==================== */
.feedback-page {
    min-height: 100%;
}

.feedback-type {
    background: #fff;
    margin: 10px 12px;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.feedback-type-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.feedback-type-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feedback-type-item {
    padding: 8px 16px;
    border: 1px solid #eee;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.feedback-type-item:active {
    opacity: 0.85;
}

.feedback-type-item.active {
    border-color: #ff4757;
    background: #fff5f5;
    color: #ff4757;
    font-weight: 500;
}

.feedback-textarea {
    width: calc(100% - 24px);
    margin: 0 12px;
    min-height: 120px;
    background: #fff;
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    resize: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.feedback-textarea:focus {
    outline: none;
}

.feedback-textarea::placeholder {
    color: #ccc;
}

.feedback-contact {
    margin: 10px 12px;
    background: #fff;
    border-radius: 10px;
    padding: 0 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.feedback-contact input {
    width: 100%;
    height: 46px;
    border: none;
    font-size: 14px;
    color: #333;
    background: transparent;
}

.feedback-contact input::placeholder {
    color: #ccc;
}

.feedback-submit-btn {
    display: block;
    width: calc(100% - 24px);
    margin: 20px 12px;
    height: 46px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    border: none;
    border-radius: 23px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.feedback-submit-btn:active {
    opacity: 0.85;
    transform: scale(0.98);
}

/* ==================== 18. 联系客服页(service)样式 ==================== */
.service-page {
    min-height: 100%;
}

.service-card {
    background: #fff;
    margin: 20px 12px;
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.service-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.service-desc {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
}

.service-qr {
    width: 180px;
    height: 180px;
    margin: 0 auto 15px;
    border-radius: 10px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.service-qr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.service-qr-tip {
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
}

.service-wechat,
.service-phone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-top: 1px solid #f5f5f5;
}

.service-wechat .label,
.service-phone .label {
    font-size: 14px;
    color: #666;
}

.service-wechat .value,
.service-phone .value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.service-btn {
    display: block;
    width: calc(100% - 24px);
    margin: 0 12px 20px;
    height: 46px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    border: none;
    border-radius: 23px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.service-btn:active {
    opacity: 0.85;
    transform: scale(0.98);
}

/* ==================== 19. 返利说明页(rebateInfo)样式 ==================== */
.rebate-info-page {
    min-height: 100%;
}

.rebate-info-card {
    background: #fff;
    margin: 10px 12px;
    border-radius: 10px;
    padding: 20px 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.rebate-info-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rebate-info-title::before {
    content: '';
    width: 3px;
    height: 16px;
    background: linear-gradient(180deg, #ff4757, #ff6b81);
    border-radius: 2px;
}

.rebate-info-content {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.rebate-step {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.rebate-step:last-child {
    border-bottom: none;
}

.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    margin-bottom: 4px;
}

.step-desc {
    font-size: 12px;
    color: #999;
    line-height: 1.6;
}

/* ==================== 20. 关于我们页(about)样式 ==================== */
.about-page {
    min-height: 100%;
    text-align: center;
    padding: 40px 20px;
}

.about-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

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

.about-name {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.about-version {
    font-size: 13px;
    color: #999;
    margin-bottom: 25px;
}

.about-desc {
    background: #fff;
    margin: 0 12px;
    border-radius: 10px;
    padding: 20px 15px;
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ==================== 21. 订单详情页(orderDetail)样式 ==================== */
.order-detail-page {
    min-height: 100%;
}

.order-detail-status {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    padding: 25px 20px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-detail-status .status-icon {
    font-size: 32px;
}

.order-detail-status .status-text {
    font-size: 18px;
    font-weight: 600;
}

.order-detail-status .status-desc {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 4px;
}

.order-detail-goods {
    background: #fff;
    margin: 10px 12px;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.order-detail-goods img {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.order-detail-goods .goods-detail-info {
    flex: 1;
    overflow: hidden;
}

.order-detail-goods .goods-detail-title {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.order-detail-goods .goods-detail-price {
    font-size: 16px;
    color: #ff4757;
    font-weight: 700;
    margin-top: 8px;
}

.order-detail-goods .goods-detail-price::before {
    content: '¥';
    font-size: 11px;
}

.order-detail-info {
    background: #fff;
    margin: 0 12px 10px;
    border-radius: 10px;
    padding: 5px 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
}

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

.info-label {
    color: #999;
}

.info-value {
    color: #333;
    font-weight: 500;
}

.info-value.red {
    color: #ff4757;
    font-weight: 700;
}

.info-value.green {
    color: #10c55b;
}

/* ==================== 22. 提现记录页(withdrawRecords)样式 ==================== */
.withdraw-records-page {
    min-height: 100%;
}

.withdraw-record-card {
    background: #fff;
    margin: 8px 12px;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 12px;
}

.record-info {
    flex: 1;
    overflow: hidden;
}

.record-amount {
    font-size: 18px;
    font-weight: 700;
    color: #ff4757;
}

.record-amount::before {
    content: '¥';
    font-size: 12px;
}

.record-time {
    font-size: 11px;
    color: #ccc;
    margin-top: 4px;
}

.record-remark {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.record-status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    flex-shrink: 0;
}

.record-status.pending {
    background: #fff8e6;
    color: #ffa502;
}

.record-status.approved {
    background: #e6f9ee;
    color: #10c55b;
}

.record-status.rejected {
    background: #f5f5f5;
    color: #999;
}

/* ==================== 23. 注册页(register)样式 ==================== */
.register-page {
    min-height: 100%;
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.register-form {
    width: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.register-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.register-form .form-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.register-form .form-input {
    width: 100%;
    height: 44px;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 0 15px;
    font-size: 14px;
    color: #333;
    background: #f9f9f9;
    transition: border-color 0.2s;
}

.register-form .form-input:focus {
    border-color: #ff4757;
    background: #fff;
}

.register-form .form-input::placeholder {
    color: #ccc;
}

.register-form .code-group {
    display: flex;
    gap: 10px;
}

.register-form .code-group .form-input {
    flex: 1;
}

.register-form .code-btn {
    flex-shrink: 0;
    padding: 0 15px;
    height: 44px;
    background: #fff5f5;
    color: #ff4757;
    border: 1px solid #ff4757;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.register-form .code-btn:active {
    opacity: 0.7;
}

.register-form .code-btn:disabled {
    color: #ccc;
    border-color: #eee;
    background: #f5f5f5;
    cursor: default;
}

.register-btn {
    width: 100%;
    height: 46px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    border: none;
    border-radius: 23px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.register-btn:active {
    opacity: 0.85;
    transform: scale(0.98);
}

.register-links {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #999;
}

.register-links a {
    color: #ff4757;
    cursor: pointer;
}

.register-links a:active {
    opacity: 0.7;
}

/* ==================== 通用页面头部(子页面) ==================== */
.sub-page-header {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
}

.sub-page-header .back-btn {
    flex-shrink: 0;
}

.sub-page-header .header-title {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
}

/* ==================== 通用按钮 ==================== */
.btn-primary {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary:active {
    opacity: 0.85;
}

.btn-outline {
    background: #fff;
    color: #ff4757;
    border: 1px solid #ff4757;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.btn-outline:active {
    opacity: 0.85;
    background: #fff5f5;
}

/* ==================== 安全区域适配 ==================== */
.safe-bottom {
    padding-bottom: env(safe-area-inset-bottom);
}

.safe-top {
    padding-top: env(safe-area-inset-top);
}

/* ==================== 滚动隐藏 ==================== */
.no-scrollbar {
    -webkit-overflow-scrolling: touch;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* ==================== 浮动操作按钮 ==================== */
.fab-btn {
    position: fixed;
    right: 15px;
    bottom: 80px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 90;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
}

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

/* ==================== 弹窗遮罩 ==================== */
.overlay-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.overlay-mask.show {
    opacity: 1;
    visibility: visible;
}

/* ==================== 底部弹窗 ==================== */
.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 16px 16px 0 0;
    z-index: 501;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-height: 80%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-sheet.show {
    transform: translateY(0);
}

.bottom-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.bottom-sheet-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.bottom-sheet-close {
    font-size: 22px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

/* ==================== 全局响应式适配 ==================== */
@media screen and (min-width: 481px) {
    #app {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }
}

/* ==================== 文字选中颜色 ==================== */
::selection {
    background: #ff4757;
    color: #fff;
}

::-moz-selection {
    background: #ff4757;
    color: #fff;
}

/* ==================== 输入框占位符颜色 ==================== */
input::placeholder,
textarea::placeholder {
    color: #ccc;
}

/* ==================== 图片加载失败占位 ==================== */
img[data-error] {
    background: #f5f5f5;
}

/* ==================== 禁用状态 ==================== */
.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* ==================== 清除浮动 ==================== */
.clearfix::after {
    content: '';
    display: table;
    clear: both;
}
