[v-cloak] {
    display: none !important;
}

* {
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}
body { 
    margin: 0; 
    background-color: #eef2f5; 
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', sans-serif;
}

#app-container {
    width: 100%; 
    max-width: 500px; 
    min-height: 100vh;
    margin: 0 auto; 
    background-color: #f8fafc; 
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.05); 
    padding-bottom: 70px; 
    overflow-x: hidden;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
}

.van-tabbar--fixed { 
    left: 50% !important; 
    transform: translateX(-50%); 
    max-width: 500px; 
    border-top-left-radius: 24px; 
    border-top-right-radius: 24px;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.96);
    box-shadow: 0 -6px 20px rgba(0,0,0,0.05);
}

.glass-card {
    background: #ffffff; 
    border-radius: 24px; 
    margin: 12px; 
    padding: 16px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.02), 0 2px 4px rgba(0,0,0,0.02);
    transition: all 0.2s ease;
}
.section-title { 
    font-size: 18px; 
    font-weight: 800; 
    margin: 20px 16px 12px; 
    color: #0f172a; 
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.my-swipe .van-swipe-item { 
    text-align: center; 
    border-radius: 20px; 
    overflow: hidden; 
}
.swipe-img { 
    width: 100%; 
    height: 150px; 
    object-fit: cover; 
    display: block; 
    border-radius: 20px; 
}

.super-red-container { 
    display: flex; 
    gap: 12px; 
    margin: 12px 16px 8px;
}
.red-card {
    flex: 1; 
    border-radius: 20px; 
    padding: 16px 12px; 
    color: white;
    position: relative; 
    overflow: hidden;
    box-shadow: 0 12px 20px -8px rgba(255, 65, 108, 0.4);
    background: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%);
    animation: softPulse 2.4s infinite ease;
    cursor: pointer;
    transition: transform 0.15s;
}
.red-card:active { transform: scale(0.97); }
.red-card.jd { background: linear-gradient(135deg, #E60012 0%, #ff5e6e 100%); box-shadow: 0 12px 20px -8px rgba(230, 0, 18, 0.4);}
@keyframes softPulse { 
    0% { transform: scale(1); opacity: 0.98; } 
    50% { transform: scale(0.99); opacity: 1; } 
    100% { transform: scale(1); opacity: 0.98; } 
}
.red-card-title { font-size: 17px; font-weight: 900; letter-spacing: -0.2px; }
.red-card-sub { font-size: 12px; opacity: 0.92; margin-top: 6px; }

.user-header-bg {
    background: linear-gradient(135deg, #fa6b8a 0%, #feca57 100%);
    padding: 48px 20px 56px; 
    color: #fff; 
    border-bottom-left-radius: 32px; 
    border-bottom-right-radius: 32px;
}

.service-grid .van-grid-item__text { 
    font-size: 12px; 
    font-weight: 500;
}

.support-platforms {
    margin-top: 18px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 10px;
}
.brand-icon {
    width: 28px; 
    height: 28px; 
    border-radius: 12px; 
    color: #fff; 
    font-size: 13px; 
    font-weight: 700;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 3px 6px rgba(0,0,0,0.06); 
}
.brand-icon.b2b { width: 38px; font-size: 11px; background: #ff7300; }
.brand-icon.tb { background: #ff5000; }
.brand-icon.tm { background: #ff0036; }
.brand-icon.jd { background: #e2231a; }
.brand-icon.pdd { background: #e02e24; }
.brand-icon.dy { background: #1c1c1c; }
.brand-icon.vip { background: #f10180; }
.brand-icon.sn { background: #fbc800; color: #2c3e50; } 
.brand-icon.ks { background: #ff5400; }

.custom-svg-icon {
    display: flex; 
    align-items: center; 
    justify-content: center;
    width: 38px; 
    height: 38px; 
    margin-bottom: 4px;
}
.custom-svg-icon svg {
    width: 100% !important; 
    height: 100% !important; 
    display: block;
    object-fit: contain;
}

::-webkit-scrollbar { display: none; }
.van-grid-item { cursor: pointer; }
.van-grid-item:active { background-color: #f1f5f9; border-radius: 20px; }
.van-cell { background: transparent; }
.van-button--large { border-radius: 60px; }
.van-cell::after { border-bottom: none !important; }

/* ================= 弹窗核心样式 ================= */
.my-custom-popup {
    width: 85%;
    max-width: 360px;
    background-color: #fff;
    overflow: hidden; 
}
.popup-inner-box {
    padding: 24px 20px;
    box-sizing: border-box;
    width: 100%;
    position: relative;
}

/* ===== 找回订单弹窗 ===== */
.bind-order-modal-mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.bind-order-modal-mask.active {
    display: flex;
}
.bind-order-modal {
    width: 88%;
    max-width: 360px;
    background: #fff;
    border-radius: 24px;
    padding: 28px 24px 24px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    animation: modalIn 0.25s cubic-bezier(.34,1.56,.64,1);
}
@keyframes modalIn {
    from { transform: scale(0.88) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}
.bind-modal-close {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #64748b;
    transition: background 0.15s;
}
.bind-modal-close:active { background: #e2e8f0; }
.bind-modal-header {
    text-align: center;
    margin-bottom: 24px;
}
.bind-modal-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 26px;
}
.bind-modal-title {
    font-size: 20px;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 4px;
}
.bind-modal-sub {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}
.bind-modal-label {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin: 0 0 8px 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.bind-modal-input {
    width: 100%;
    height: 48px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 16px;
    font-size: 15px;
    color: #1e293b;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}
.bind-modal-input:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
    background: #fff;
}
.bind-modal-input::placeholder { color: #b0bec5; }
.bind-modal-select {
    width: 100%;
    height: 48px;
    background: #f0fdf9;
    border: 1.5px solid #a7f3d0;
    border-radius: 12px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 600;
    color: #0f766e;
    outline: none;
    box-sizing: border-box;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}
.bind-modal-select:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
    background-color: #fff;
}
.bind-modal-select option[value=""] { color: #b0bec5; font-weight: 400; }
.search-platform-select {
    width: 100%;
    height: 48px;
    background: #fff5f5;
    border: 1.5px solid #fecdd3;
    border-radius: 16px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 600;
    color: #e11d48;
    outline: none;
    box-sizing: border-box;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e11d48' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}
.search-platform-select:focus {
    border-color: #e11d48;
    box-shadow: 0 0 0 3px rgba(238,10,36,0.1);
    background-color: #fff;
}
.search-platform-select option { color: #1e293b; font-weight: 500; }
.search-platform-select option:disabled { color: #b0bec5; font-weight: 400; }
.bind-modal-field { margin-bottom: 18px; }

.bind-modal-submit {
    width: 100%;
    height: 50px;
    background: linear-gradient(95deg, #10b981, #059669);
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(16,185,129,0.3);
    transition: opacity 0.15s, transform 0.15s, background 0.2s, box-shadow 0.2s;
    font-family: inherit;
    margin-top: 6px;
    letter-spacing: 0.5px;
}
.bind-modal-submit:active { opacity: 0.88; transform: scale(0.98); }
.bind-modal-submit:disabled {
    background: #cbd5e1;
    box-shadow: none;
    cursor: not-allowed;
    color: #f8fafc;
    transform: none;
    opacity: 1;
}

/* 登录注册弹窗专区 */
.auth-wrap { position: relative; }
.auth-close {
    position: absolute; right: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%;
    background: #f1f5f9; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; font-size: 16px; color: #64748b;
}
.auth-header { text-align: center; padding-top: 28px; margin-bottom: 10px; }
.auth-header .logo-icon { font-size: 44px; color: #ee0a24; margin-bottom: 6px; }
.auth-header h2 { margin: 0; font-size: 22px; font-weight: 900; color: #0f172a; }
.auth-header p { margin: 4px 0 0; font-size: 13px; color: #64748b; }
.auth-form-area { padding-top: 16px; }
.auth-form-area .van-cell { background-color: #f1f5f9 !important; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; }
.auth-submit-btn { height: 46px; font-size: 16px; font-weight: 800; margin-top: 8px; margin-bottom: 20px; box-shadow: 0 6px 16px rgba(238, 10, 36, 0.2); }

/* 我的订单列表卡片样式 */
.order-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    margin: 12px 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}
.order-card:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.order-card-header {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px dashed #e2e8f0; padding-bottom: 10px; margin-bottom: 12px;
}
.order-card-body { display: flex; gap: 12px; }
.order-img { width: 80px; height: 80px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: #f1f5f9; }
.order-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.order-title {
    font-size: 14px; font-weight: bold; color: #1e293b; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.order-price-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 6px; }
.order-price { font-size: 13px; color: #64748b; }
.order-commission { font-size: 16px; font-weight: 900; color: #ee0a24; }
.order-card-footer {
    margin-top: 12px; padding-top: 10px; border-top: 1px solid #f8fafc;
    font-size: 12px; color: #94a3b8; display: flex; justify-content: space-between;
}

/* 提现收款码设置样式 */
.qr-upload-card {
    background: #fff; border-radius: 16px; padding: 20px; margin: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04); text-align: center;
}
.qr-title { font-size: 16px; font-weight: bold; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.qr-title.wechat { color: #07c160; }
.qr-title.alipay { color: #1677ff; }
.van-uploader__wrapper { justify-content: center; }
.van-uploader__preview-image { width: 140px !important; height: 140px !important; border-radius: 12px; }
.van-uploader__upload { width: 140px !important; height: 140px !important; border-radius: 12px; background-color: #f8fafc; border: 1.5px dashed #cbd5e1; }

/* ===== 新版教程弹窗样式 (三卡片) ===== */
.guide-card {
    background: #ffffff;
    border-radius: 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f2f6;
    transition: all 0.2s;
}
.guide-card:last-child {
    margin-bottom: 0;
}
.guide-card-header {
    padding: 18px 20px 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px dashed #edf2f7;
}
.guide-card-header .guide-card-icon {
    font-size: 1.8rem;
}
.guide-card-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.2px;
    margin: 0;
}
.guide-card-body {
    padding: 16px 20px 20px 20px;
}
.step-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.step-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.step-number {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #f1f4f9;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #3b4b6e;
    margin-top: 2px;
    box-shadow: inset 0 1px 0 rgba(0,0,0,0.02), 0 1px 1px rgba(0,0,0,0.02);
}
.step-content {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #1e2a3e;
}
.step-content strong {
    font-weight: 600;
    color: #4f46e5;
    background: #f0efff;
    padding: 2px 6px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-block;
    margin: 0 2px;
}
.highlight-text {
    background: #fef9e3;
    color: #b45309;
    font-weight: 500;
    padding: 0 4px;
    border-radius: 12px;
    font-size: 0.85rem;
    display: inline-block;
}
.subnote {
    margin-top: 10px;
    padding-left: 42px;
    font-size: 0.85rem;
    color: #5c6f8c;
    background: #fafcff;
    border-left: 3px solid #cbdffc;
    border-radius: 12px;
    padding: 8px 12px;
}
.rule-text {
    background: #f8fafc;
    padding: 14px 18px;
    border-radius: 20px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #1e293b;
    border: 1px solid #eef2f8;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.rule-text .rule-icon {
    font-size: 1.5rem;
}
.withdraw-note {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #5587b0;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    border-radius: 24px;
    padding: 6px 14px;
    width: fit-content;
}
.highlight-time {
    font-weight: 700;
    color: #2c6e9e;
    background: #e6f0fa;
    padding: 2px 8px;
    border-radius: 24px;
    display: inline-block;
    font-size: 0.85rem;
    margin: 0 2px;
}
.guide-footer-tip {
    margin-top: 12px;
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
    padding: 8px 0 4px;
}