@import url('https://fonts.googleapis.cn/css2?family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');

:root {
    --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    --primary: #ff6b9d;
    --primary-dark: #e85588;
    --secondary: #c65bff;
    --brand-start: #ff6b9d;
    --brand-end: #c65bff;
    --gradient-brand: linear-gradient(135deg, var(--brand-start) 0%, var(--brand-end) 100%);
    --gradient-brand-shadow: 0 10px 26px rgba(255, 79, 147, 0.28);
    --bg-soft:
        radial-gradient(circle at 20% 10%, rgba(255, 198, 224, 0.45), transparent 35%),
        radial-gradient(circle at 85% 20%, rgba(213, 176, 255, 0.38), transparent 35%),
        linear-gradient(160deg, #fff0f5 0%, #f0e6ff 40%, #e8f4ff 100%);
    --bg: linear-gradient(135deg, #fff0f5 0%, #f0e6ff 50%, #e8f4ff 100%);
    --card: #ffffff;
    --text: #2d2d3a;
    --text-muted: #888;
    --radius: 16px;
    --shadow: 0 8px 32px rgba(124, 92, 255, 0.12);
    --tab-bar-height: calc(52px + env(safe-area-inset-bottom));
    --float-tab-space: calc(96px + env(safe-area-inset-bottom));
    --swipe-actions-height: 56px;
    --home-dock-height: calc(108px + env(safe-area-inset-bottom));
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    min-height: 100vh;
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* iOS/微信：输入框字号 >=16px 防止聚焦时自动放大 */
input, select, textarea {
    font-size: 16px;
}

.page {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    padding-bottom: 80px;
}

.page-swipe {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100dvh;
    padding-bottom: var(--home-dock-height, calc(108px + env(safe-area-inset-bottom)));
    overflow: hidden;
}

.page-swipe #cardArea {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.page-swipe .header-bar {
    flex-shrink: 0;
}

.page-swipe .empty-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.15s;
}

.btn:active { transform: scale(0.97); }
.btn-primary {
    background: var(--gradient-brand);
    color: #fff;
    width: 100%;
    box-shadow: var(--gradient-brand-shadow);
    border: none;
}
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-like { background: #4ade80; color: #fff; }
.btn-dislike { background: #f87171; color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 14px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 14px; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e8e8ef;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}
.form-group input:focus { border-color: var(--primary); }

.auth-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.auth-logo-icon { color: var(--primary); margin-bottom: 12px; }
.header-profile-link { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; color: inherit; }
.auth-logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.auth-slogan { color: var(--text-muted); margin-bottom: 32px; font-size: 14px; }
.auth-card { width: 100%; max-width: 400px; }

.tab-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    display: flex;
    border-top: 1px solid #f0f0f5;
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
    z-index: 100;
}

.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px;
    font-size: 11px;
    line-height: 1.2;
    color: var(--text-muted);
    text-decoration: none;
}

.tab-item.active { color: var(--primary); font-weight: 600; }
.tab-item .icon-tab { display: flex; width: 24px; height: 24px; margin: 0; }
.tab-item.active .icon-tab { color: var(--primary); }
.tab-label { display: block; }

/* 浮动底部 Tab（全站统一） */
body.has-float-tab .page {
    padding-bottom: var(--float-tab-space);
}

.float-tab-wrap {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 448px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 100;
    pointer-events: none;
    background: transparent;
}

.float-tab-wrap .tab-bar-float {
    pointer-events: auto;
}

.tab-bar-float {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 68px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 -4px 24px rgba(31, 36, 51, 0.08);
    padding: 6px 6px 4px;
}

.tab-float-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-decoration: none;
    color: #8c8f99;
    font-size: 10px;
    font-weight: 600;
    position: relative;
    transition: color 0.2s;
}

.tab-float-item.active { color: #ff4f93; }

.icon-tab-float {
    width: 22px;
    height: 22px;
    display: flex;
}

.tab-float-indicator {
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: #ff4f93;
    margin-top: 1px;
}

/* ========== 全站轻社交设计系统（与首页统一） ========== */
body.body-app {
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 198, 224, 0.45), transparent 35%),
        radial-gradient(circle at 85% 20%, rgba(213, 176, 255, 0.38), transparent 35%),
        var(--bg);
    min-height: 100dvh;
}

body.body-app .page {
    background: transparent;
}

body.body-app .card,
body.body-app .glass-card,
body.body-app .profile-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow:
        0 16px 40px rgba(255, 91, 156, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
}

body.body-app .card {
    padding: 18px 20px;
    margin: 12px 16px;
}

body.body-app .header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 10px;
    font-size: 20px;
    font-weight: 800;
    color: #1f2433;
    letter-spacing: -0.3px;
    background: transparent;
}

body.body-app .header-bar:has(> span:nth-child(3)) {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

body.body-app .header-bar:has(> span:nth-child(3)) > span:nth-child(1) {
    justify-self: start;
    min-width: 0;
}

body.body-app .header-bar:has(> span:nth-child(3)) > span:nth-child(2) {
    justify-self: center;
    text-align: center;
    white-space: nowrap;
}

body.body-app .header-bar:has(> span:nth-child(3)) > span:nth-child(3) {
    justify-self: end;
    min-width: 0;
}

body.body-app .header-bar a,
body.body-app .header-link {
    font-size: 13px;
    font-weight: 700;
    color: #ff4f93;
    text-decoration: none;
}

body.body-app .page-header-compact {
    padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 10px;
}

body.body-app .page-header-back {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 22px rgba(255, 87, 150, 0.1);
}

body.body-app .page-header-title {
    color: #1f2433;
    -webkit-text-fill-color: #1f2433;
    background: none;
}

body.body-app .empty-state {
    color: #6b7280;
    padding: 48px 24px;
    text-align: center;
}

body.body-app .tab-switch {
    display: flex;
    gap: 8px;
    padding: 0 16px 12px;
}

body.body-app .tab-switch-btn {
    flex: 1;
    height: 36px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 8px 22px rgba(255, 87, 150, 0.1);
    color: #8c8f99;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: transform 0.15s, color 0.15s, background 0.15s;
}

body.body-app .tab-switch-btn.active {
    background: var(--gradient-brand);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--gradient-brand-shadow);
}

body.body-app .tab-switch-btn:active {
    transform: scale(0.97);
}

/* 喜欢与匹配：头部固定，列表单独滚动 */
body.has-float-tab .page-likes,
body.has-float-tab .page-notify {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 0;
    overflow: hidden;
    padding-bottom: 0;
    box-sizing: border-box;
}

body.body-app .likes-page-head {
    flex-shrink: 0;
    z-index: 5;
    background: linear-gradient(180deg, rgba(255, 240, 245, 0.96) 70%, rgba(255, 240, 245, 0));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.body-app .page-likes .likes-list-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: calc(var(--float-tab-space) + 8px);
}

body.body-app .notify-page-head {
    flex-shrink: 0;
    z-index: 5;
    background: linear-gradient(180deg, rgba(255, 240, 245, 0.96) 70%, rgba(255, 240, 245, 0));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.body-app .notify-list-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: calc(var(--float-tab-space) + 8px);
}

body.body-app .notify-empty-card {
    margin-top: 0;
}

.tab-switch-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    margin-left: 4px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: #ff4f93;
}

body.body-app .tab-switch-btn.active .tab-switch-badge {
    background: rgba(255, 255, 255, 0.92);
    color: #ff4f93;
}

body.body-app .list-item {
    border-bottom: 1px solid rgba(255, 107, 157, 0.08);
    padding: 14px 4px;
}

body.body-app .list-item:last-child {
    border-bottom: none;
}

body.body-app .list-item img {
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 14px rgba(255, 91, 156, 0.12);
}

body.body-app .notify-item {
    cursor: pointer;
    transition: transform 0.15s;
    padding: 10px 14px;
    margin: 8px 16px;
}

body.body-app .notify-item.unread {
    background: linear-gradient(180deg, rgba(255, 236, 245, 0.95), rgba(255, 248, 252, 0.92));
    box-shadow:
        0 10px 28px rgba(255, 91, 156, 0.1),
        inset 0 0 0 1px rgba(255, 107, 157, 0.12);
}

body.body-app .notify-icon {
    color: #ff4f93;
}

body.body-app .contact-box {
    background: linear-gradient(180deg, rgba(255, 244, 250, 0.9), rgba(248, 240, 255, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
}

body.body-app .privacy-tip {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.body-app .form-group input,
body.body-app .form-group select,
body.body-app .form-group textarea {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    box-shadow: inset 0 1px 2px rgba(31, 36, 51, 0.04);
}

body.body-app .form-group input:focus,
body.body-app .form-group select:focus,
body.body-app .form-group textarea:focus {
    border-color: rgba(255, 79, 147, 0.45);
    box-shadow: 0 0 0 3px rgba(255, 79, 147, 0.12);
}

body.body-app .tag,
body.body-app .card .tag {
    background: linear-gradient(180deg, #ffe4ef, #ffdceb);
    color: #ff4f93;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 700;
}

body.body-app .detail-fixed-bar {
    left: 50%;
    transform: translateX(-50%);
    max-width: 480px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-top: none;
    box-shadow: 0 -8px 32px rgba(255, 91, 156, 0.12);
    border-radius: 24px 24px 0 0;
}

body.body-app .page-mine {
    background: transparent;
}

body.body-app .mine-header-bar {
    padding-bottom: 4px;
}

body.body-app .mine-content {
    padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

body.body-app .page-mine .card {
    margin: 0;
}

body.body-app .mine-profile-card {
    padding: 0;
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 16px 40px rgba(255, 91, 156, 0.12);
    border-radius: var(--radius);
}

body.body-app .mine-profile-card::before,
body.body-app .mine-profile-card::after {
    display: none;
}

body.body-app .mine-profile-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    pointer-events: none;
}

body.body-app .mine-profile-inner {
    position: relative;
    z-index: 1;
    padding: 18px 16px 16px;
}

body.body-app .mine-edit-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 107, 157, 0.22);
    color: #ff4f93;
    box-shadow: 0 4px 14px rgba(255, 91, 156, 0.1);
}

body.body-app .mine-edit-btn .icon {
    width: 14px;
    height: 14px;
}

body.body-app .mine-wallet-card {
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.body-app .mine-wallet-body {
    position: relative;
    min-height: 92px;
    padding: 0;
    background: transparent;
}

body.body-app .mine-wallet-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    pointer-events: none;
}

body.body-app .mine-wallet-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 18px 108px;
    min-height: 92px;
}

body.body-app .mine-wallet-link {
    flex: 1;
    min-width: 0;
}

body.body-app .mine-menu-card {
    padding: 16px 0 6px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 16px 40px rgba(255, 91, 156, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

body.body-app .mine-menu-item {
    transition: background 0.15s;
}

body.body-app .mine-menu-item:active {
    background: rgba(255, 107, 157, 0.06);
}

body.body-app .mine-menu-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

body.body-app .mine-menu-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

body.body-app .mine-recharge-btn {
    background: var(--gradient-brand);
    box-shadow: var(--gradient-brand-shadow);
    border: none;
    padding: 10px 18px;
}

body.body-app .mine-logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 107, 157, 0.18);
    color: #ff4f93;
    font-weight: 700;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 24px rgba(255, 91, 156, 0.08);
}

body.body-app .mine-logout-btn .icon {
    width: 18px;
    height: 18px;
}

body.body-app .mine-logout-btn:active {
    opacity: 0.88;
    transform: scale(0.98);
    background: rgba(255, 228, 239, 0.65);
    color: #ff4f93;
}

body.body-app .page-detail .detail-fixed-bar .btn-primary,
body.body-app .detail-bar-btn-wide.btn-primary,
body.body-app.page-pay-contact .pay-card .btn-primary {
    background: var(--gradient-brand);
    box-shadow: var(--gradient-brand-shadow);
    border: none;
}

body.body-app.auth-page .auth-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 50px rgba(255, 91, 156, 0.14);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-radius: 28px;
}

body.body-app.welcome-page {
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 198, 224, 0.45), transparent 35%),
        radial-gradient(circle at 85% 20%, rgba(213, 176, 255, 0.38), transparent 35%),
        linear-gradient(160deg, #fff0f5 0%, #f0e6ff 40%, #e8f4ff 100%);
}

body.body-app.auth-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

body.body-app.auth-page .auth-card {
    margin: 0;
}

body.body-app .page-detail {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

body.body-app .profile-step-dot {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 14px rgba(255, 91, 156, 0.1);
}

body.body-app .profile-step-dot.active {
    background: linear-gradient(135deg, #ff6b9d, #c65bff);
    border-color: transparent;
    color: #fff;
}

body.body-app .profile-edit-save-bar {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 -8px 32px rgba(255, 91, 156, 0.12);
    border-radius: 24px 24px 0 0;
}

body.body-app .confirm-dialog {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 1));
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(255, 91, 156, 0.18);
}

body.body-app .confirm-actions .confirm-cancel {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(255, 107, 157, 0.14);
    color: #5f6472;
}

body.body-app .modal-sheet {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

/* SVG 图标 */
.icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon svg { display: block; width: 100%; height: 100%; }
.icon-tab { width: 22px; height: 22px; }
.icon-sm { width: 18px; height: 18px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 48px; height: 48px; }
.icon-xl { width: 64px; height: 64px; }
.back-link { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; color: inherit; }
.btn-icon { display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.btn-icon .icon { width: 28px; height: 28px; }
.welcome-icon-wrap { position: relative; z-index: 1; color: var(--primary); }
.swipe-hint .icon { width: 22px; height: 22px; flex-shrink: 0; }
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    vertical-align: middle;
    margin-left: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #16a34a;
    background: rgba(34, 197, 94, 0.12);
}
.verified-badge .icon { width: 14px; height: 14px; flex-shrink: 0; }
.contact-open-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--secondary); margin-top: 8px; }
.contact-open-badge .icon { width: 14px; height: 14px; }
.photo-add .icon { width: 32px; height: 32px; color: #aaa; }
.photo-del { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border: none; border-radius: 50%; background: rgba(0,0,0,0.55); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.photo-del .icon { width: 14px; height: 14px; }

.swipe-card-wrap {
    flex: 1;
    min-height: 0;
    display: flex;
    padding: 0 clamp(8px, 3vw, 16px) 4px;
    perspective: 1000px;
}

.swipe-card {
    position: relative;
    touch-action: none;
    user-select: none;
    transition: transform 0.1s linear;
    flex: 1;
    min-height: 0;
    width: 100%;
    margin: 0;
    border-radius: clamp(14px, 4vw, 20px);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
    display: flex;
    flex-direction: column;
}

.swipe-card .avatar {
    width: 100%;
    flex: 1 1 auto;
    min-height: 80px;
    height: 0;
    object-fit: cover;
    background: #f5f5f8;
}

.swipe-card .info {
    flex: 0 0 auto;
    padding: clamp(10px, 3vw, 16px) clamp(12px, 4vw, 20px) clamp(12px, 3vw, 16px);
    max-height: 42%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.swipe-card .name { font-size: clamp(18px, 5vw, 22px); font-weight: 700; }
.swipe-card .meta { color: var(--text-muted); font-size: clamp(12px, 3.2vw, 14px); margin: 4px 0 6px; }
.swipe-card .bio {
    font-size: clamp(13px, 3.5vw, 14px);
    color: #666;
    margin-top: 4px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.swipe-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.swipe-card .tag {
    background: #fff0f5;
    color: var(--primary);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: clamp(11px, 2.8vw, 12px);
}

.swipe-actions {
    position: fixed;
    left: 50%;
    bottom: var(--tab-bar-height);
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: var(--swipe-actions-height);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: clamp(8px, 2.5vw, 16px);
    padding: 8px clamp(10px, 4vw, 16px);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid #f0f0f5;
    z-index: 99;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

/* 首页：操作栏 + Tab 合并为底部 dock，避免错位 */
.bottom-dock {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid #f0f0f5;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
}

.bottom-dock .swipe-actions {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: var(--swipe-actions-height);
    padding: 10px clamp(12px, 4vw, 20px);
    background: transparent;
    border-top: none;
    box-shadow: none;
    z-index: auto;
}

.bottom-dock .tab-bar {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    max-width: none;
    background: transparent;
    border-top: 1px solid #f0f0f5;
    padding: 4px 0 6px;
    box-shadow: none;
}

.swipe-actions .btn-icon {
    width: clamp(48px, 13vw, 54px);
    height: clamp(48px, 13vw, 54px);
    border-radius: 50%;
    padding: 0;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.swipe-actions .btn-icon .icon { width: clamp(22px, 6vw, 26px); height: clamp(22px, 6vw, 26px); }

.swipe-actions .btn-contact {
    flex: 1;
    max-width: clamp(108px, 30vw, 128px);
    min-width: 0;
    height: clamp(40px, 11vw, 44px);
    border-radius: 22px;
    padding: 0 clamp(10px, 3vw, 14px);
    font-size: clamp(12px, 3.2vw, 14px);
    font-weight: 600;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--secondary), #9d7bff);
    color: #fff;
    box-shadow: 0 4px 14px rgba(124, 92, 255, 0.35);
    flex-shrink: 1;
    gap: 4px;
    overflow: hidden;
}

.swipe-actions .btn-contact .icon { width: clamp(14px, 4vw, 16px); height: clamp(14px, 4vw, 16px); flex-shrink: 0; }
.swipe-actions .btn-contact span:last-child { overflow: hidden; text-overflow: ellipsis; }

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 12px 20px;
    border-radius: 24px;
    font-size: 14px;
    z-index: 9999;
    transition: transform 0.3s;
    width: max-content;
    max-width: calc(100vw - 32px);
    white-space: nowrap;
    text-align: center;
    box-sizing: border-box;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.error { background: #ef4444; }

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    font-weight: 600;
}

.page-header-compact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px 10px;
}

.page-header-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 10px rgba(124, 92, 255, 0.1);
    color: var(--text);
    text-decoration: none;
    flex-shrink: 0;
    margin-top: 2px;
    transition: transform 0.15s;
}

.page-header-back:active {
    transform: scale(0.94);
}

.page-header-back .icon {
    width: 20px;
    height: 20px;
}

.page-header-main {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.page-header-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.4;
}

/* 兼容旧类名 */
.page-header-stacked {
    padding: 12px 16px 10px;
}

.header-bar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    border: 2px solid var(--primary);
    background: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.header-city-pill {
    color: var(--text);
    min-width: 0;
    max-width: 42%;
    flex-shrink: 1;
}

.header-city-pill .icon { color: var(--primary); flex-shrink: 0; }

#cityText {
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-pill-btn {
    color: var(--primary);
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.15s, transform 0.15s;
}

button.header-pill-btn {
    font-family: inherit;
}

.header-pill-btn:active { opacity: 0.85; transform: scale(0.97); }

.header-filter-btn .icon,
.header-profile-link .icon { width: 16px; height: 16px; }

.list-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #f5f5f8;
    text-decoration: none;
    color: inherit;
}

.list-item img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    background: #f0f0f5;
}

.contact-box {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 16px;
    margin-top: 12px;
}

.contact-box p { margin: 6px 0; font-size: 15px; }

.privacy-tip {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    padding: 12px 16px;
    background: #fff8f0;
    border-radius: 8px;
    margin: 12px 16px;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    font-size: 14px;
}

.tags-select { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-btn {
    padding: 6px 14px;
    border-radius: 16px;
    border: 1px solid #e8e8ef;
    background: #fff;
    font-size: 13px;
    cursor: pointer;
}
.tag-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* 启动页 */
.welcome-page { background: linear-gradient(160deg, #fff0f5 0%, #f0e6ff 40%, #e8f4ff 100%); }
.welcome-wrap { min-height: 100vh; max-width: 480px; margin: 0 auto; padding: 60px 24px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.welcome-visual { position: relative; width: 160px; height: 160px; margin-bottom: 32px; }
.welcome-circle { position: absolute; border-radius: 50%; }
.welcome-circle.c1 { width: 160px; height: 160px; background: rgba(255,107,157,0.15); top: 0; left: 0; }
.welcome-circle.c2 { width: 120px; height: 120px; background: rgba(124,92,255,0.12); top: 20px; left: 20px; }
.welcome-icon-wrap { display: flex; align-items: center; justify-content: center; width: 160px; height: 160px; }
.welcome-title { font-size: 26px; font-weight: 800; margin-bottom: 10px; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.welcome-sub { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 40px; }
.welcome-actions { width: 100%; max-width: 320px; display: flex; flex-direction: column; gap: 12px; }
.welcome-btn-outline { background: rgba(255,255,255,0.8) !important; }
.welcome-agree { margin-top: 24px; font-size: 12px; color: var(--text-muted); }
.welcome-agree a { color: var(--secondary); }


/* 划卡动画 */
.swipe-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: clamp(16px, 4.5vw, 20px);
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    z-index: 5;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.like-hint { color: #4ade80; border: 3px solid #4ade80; }
.dislike-hint { color: #f87171; border: 3px solid #f87171; }
.swipe-card.show-like .like-hint { opacity: 1; }
.swipe-card.show-dislike .dislike-hint { opacity: 1; }
.verified { color: var(--secondary); font-size: 16px; }
.contact-open { font-size: 12px; color: var(--secondary); margin-top: 8px; }
.empty-sub { margin-top: 8px; font-size: 13px; }

/* 付费页 */
.pay-user { display: flex; align-items: center; gap: 14px; }
.pay-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.pay-name { font-size: 18px; font-weight: 700; }
.pay-meta { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.pay-notice { font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 16px; padding: 12px; background: #fff8f0; border-radius: 8px; }
.pay-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f5f5f8; font-size: 15px; }
.pay-row .price { color: var(--primary); font-size: 18px; }
.pay-warning { color: #f87171; text-align: center; margin: 12px 0; font-size: 14px; }
.contact-item { display: flex; align-items: center; gap: 8px; padding: 12px 0; border-bottom: 1px solid #f0f0f5; }
.contact-item span { color: var(--text-muted); font-size: 13px; min-width: 60px; }
.contact-item strong { flex: 1; }
.btn-copy { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border: 1px solid var(--primary); background: #fff; color: var(--primary); border-radius: 12px; font-size: 12px; cursor: pointer; }
.carousel-overlay-btn { position: absolute; top: 16px; background: rgba(0,0,0,0.4); color: #fff; padding: 6px 12px; border-radius: 16px; text-decoration: none; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.carousel-back { left: 16px; }
.carousel-report { right: 16px; }

/* 开关 */
.switch-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid #f5f5f8; }
.switch-desc { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.switch { position: relative; width: 48px; height: 28px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; inset: 0; background: #ddd; border-radius: 28px; cursor: pointer; transition: 0.3s; }
.slider:before { content: ''; position: absolute; width: 22px; height: 22px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: 0.3s; }
.switch input:checked + .slider { background: var(--primary); }
.switch input:checked + .slider:before { transform: translateX(20px); }

/* Loading */
.global-loading { position: fixed; inset: 0; background: rgba(255,255,255,0.6); display: none; align-items: center; justify-content: center; z-index: 9998; }
.loading-spinner { width: 36px; height: 36px; border: 3px solid #f0f0f5; border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 我的页面 */
.page-mine {
    padding-bottom: var(--float-tab-space);
    background: transparent;
}

.page-mine .card {
    margin-left: 0;
    margin-right: 0;
}

.mine-content {
    padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mine-profile-card {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.mine-profile-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    pointer-events: none;
}

.mine-profile-inner {
    position: relative;
    z-index: 1;
    padding: 18px 16px 16px;
}

.mine-profile-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.mine-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.mine-avatar-wrap::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gradient-brand);
    z-index: 0;
}

.mine-avatar {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 24px rgba(255, 91, 156, 0.2);
    display: block;
}

.mine-avatar-badge {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d 0%, #c65bff 100%);
    border: 2px solid #fff;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(255, 91, 156, 0.24);
}

.mine-avatar-badge.hidden {
    display: none;
}

.mine-avatar-badge .icon {
    width: 12px;
    height: 12px;
}

.mine-edit-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}

.mine-edit-btn:active {
    opacity: 0.8;
    transform: scale(0.97);
}

.mine-profile-main {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.mine-name {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    color: #1f2433;
    letter-spacing: -0.3px;
    margin: 0;
    padding-right: 88px;
}

.mine-meta {
    margin-top: 4px;
    font-size: 13px;
    color: #8b90a0;
    line-height: 1.45;
}

.mine-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.mine-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #888;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.95);
}

.mine-tag-verified {
    color: #ff4f93;
    background: rgba(255, 228, 239, 0.92);
    border-color: rgba(255, 107, 157, 0.12);
}

.mine-tag-verified .icon {
    width: 14px;
    height: 14px;
}

.mine-tag-gender {
    color: #3b82f6;
    background: rgba(219, 234, 254, 0.92);
    border-color: rgba(59, 130, 246, 0.12);
}

.mine-tag-female {
    color: #ec4899;
    background: rgba(252, 231, 243, 0.92);
    border-color: rgba(236, 72, 153, 0.12);
}

.mine-tag-city {
    color: #8b5cf6;
    background: rgba(237, 233, 254, 0.92);
    border-color: rgba(139, 92, 246, 0.12);
}

.profile-score-panel {
    padding: 16px 18px;
}

.profile-score-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.profile-score-label {
    font-size: 14px;
    font-weight: 600;
    color: #5f6472;
}

.profile-score-value {
    font-size: 16px;
    font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-score-panel .score-bar {
    height: 8px;
    background: rgba(255, 107, 157, 0.12);
    border-radius: 999px;
    overflow: hidden;
}

.profile-score-panel .score-fill {
    width: var(--score-pct, 0%);
    height: 100%;
    background: var(--gradient-brand);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.mine-wallet-card {
    padding: 0;
    overflow: hidden;
}

.mine-wallet-body {
    position: relative;
    min-height: 92px;
    padding: 0;
}

.mine-wallet-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    pointer-events: none;
}

.mine-wallet-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 18px 108px;
    min-height: 92px;
}

.mine-wallet-link {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.mine-wallet-link:active {
    opacity: 0.88;
}

.mine-wallet-arrow {
    flex-shrink: 0;
    color: #c4c7d0;
    display: flex;
    align-items: center;
}

.mine-wallet-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mine-wallet-info {
    flex: 1;
    min-width: 0;
}

.mine-wallet-label {
    font-size: 13px;
    color: #888;
}

.mine-wallet-amount {
    margin-top: 4px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.1;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mine-recharge-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--gradient-brand);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: var(--gradient-brand-shadow);
    border: none;
}

.mine-recharge-btn:active {
    opacity: 0.9;
    transform: scale(0.97);
}

.mine-recharge-arrow {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.mine-recharge-arrow .icon {
    width: 16px;
    height: 16px;
}

.mine-menu-card {
    padding: 16px 0 6px;
}

.mine-menu-title {
    padding: 0 18px 10px;
    font-size: 15px;
    font-weight: 800;
    color: #1f2433;
}

.mine-menu {
    display: flex;
    flex-direction: column;
}

.mine-menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    text-decoration: none;
    color: inherit;
}

.mine-menu-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 107, 157, 0.08);
}

.mine-menu-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.mine-menu-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.mine-menu-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mine-menu-text strong {
    font-size: 15px;
    font-weight: 700;
    color: #1f2433;
}

.mine-menu-text small {
    font-size: 12px;
    color: #aaa;
    line-height: 1.4;
}

.mine-menu-arrow {
    color: #ccc;
    flex-shrink: 0;
    display: flex;
}

.mine-menu-arrow .icon {
    width: 18px;
    height: 18px;
}

.mine-logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    color: #ff4f93;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 2px;
}

.mine-logout-btn .icon {
    width: 18px;
    height: 18px;
}

.mine-logout-btn:active {
    opacity: 0.88;
    transform: scale(0.98);
}

/* 筛选弹层 */
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,0.4); display: none; align-items: flex-end; justify-content: center; z-index: 200; }
.modal-mask.show { display: flex; }
.modal-sheet { background: #fff; width: 100%; max-width: 480px; border-radius: 20px 20px 0 0; padding: 24px 20px 32px; }

/* 详情轮播 */
.carousel { position: relative; height: 360px; overflow: hidden; border-radius: 0 0 20px 20px; }
.carousel-track { display: flex; height: 100%; transition: transform 0.3s; }
.carousel-track img { width: 100%; flex-shrink: 0; object-fit: cover; height: 100%; }
.carousel-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.carousel-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.5); }
.carousel-dots span.active { background: #fff; width: 16px; border-radius: 3px; }
.detail-fixed-bar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; background: #fff; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); display: flex; gap: 10px; box-shadow: 0 -4px 20px rgba(0,0,0,0.06); }

/* 相册 */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.photo-add { aspect-ratio: 1; border: 2px dashed #ddd; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #aaa; cursor: pointer; }

/* 通知 */
.notify-item { cursor: pointer; }
.notify-row { display: flex; gap: 10px; align-items: center; }
.notify-icon { color: var(--primary); flex-shrink: 0; }
.notify-body { flex: 1; min-width: 0; }

/* 确认弹窗 */
.confirm-mask {
    position: fixed;
    inset: 0;
    background: rgba(31, 36, 51, 0.42);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 300;
    padding: 24px;
}

.confirm-mask.show {
    display: flex;
    animation: confirm-fade-in 0.2s ease;
}

body.confirm-open {
    overflow: hidden;
}

.confirm-dialog {
    background: #fff;
    border-radius: 22px;
    padding: 24px 22px 20px;
    width: max-content;
    min-width: 260px;
    max-width: min(360px, calc(100vw - 40px));
    text-align: center;
    box-shadow: 0 20px 50px rgba(31, 36, 51, 0.18);
    animation: confirm-pop-in 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.confirm-title {
    font-size: 18px;
    font-weight: 800;
    color: #1f2433;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.confirm-message {
    font-size: 13px;
    color: #8b90a0;
    line-height: 1.5;
    margin-bottom: 22px;
    white-space: nowrap;
}

.confirm-actions {
    display: flex;
    gap: 10px;
    width: 100%;
    min-width: 240px;
}

.confirm-actions .btn {
    flex: 1;
    width: auto;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 999px;
}

.confirm-actions .confirm-cancel {
    border: 1px solid #ececf3;
    background: #f7f8fa;
    color: #5f6472;
}

.confirm-actions .confirm-cancel:active {
    opacity: 0.85;
}

.confirm-actions .confirm-ok-danger {
    border: none;
    background: linear-gradient(90deg, #ff6b6b 0%, #ef4444 100%);
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.28);
    color: #fff;
}

@keyframes confirm-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes confirm-pop-in {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 完善资料 · 分步向导 */
.page-profile {
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
}

.profile-wizard {
    padding: 0 16px 16px;
}

.profile-hero {
    text-align: center;
    padding: 20px 8px 8px;
}

.profile-step-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 20px;
    padding: 0 12px;
}

.profile-step-item {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 100px;
}

.profile-step-item:last-child { flex: 0; }

.profile-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e8e8ef;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s;
}

.profile-step-item.active .profile-step-dot,
.profile-step-item.done .profile-step-dot {
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.35);
}

.profile-step-line {
    flex: 1;
    height: 2px;
    background: #e8e8ef;
    margin: 0 4px;
    border-radius: 1px;
    transition: background 0.25s;
}

.profile-step-item.done .profile-step-line {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.profile-step-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-step-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.profile-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px 20px;
    margin-top: 12px;
}

.profile-pane {
    display: none;
    animation: profileFadeIn 0.3s ease;
}

.profile-pane.active { display: block; }

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

.avatar-upload-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.avatar-upload {
    position: relative;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    cursor: pointer;
    display: block;
}

.avatar-upload::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    z-index: 0;
}

.avatar-upload img {
    position: relative;
    z-index: 1;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    display: block;
}

.avatar-upload-badge {
    position: absolute;
    z-index: 2;
    right: 2px;
    bottom: 2px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.avatar-upload-badge .icon { width: 16px; height: 16px; }

.avatar-upload-hint {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.gender-switch {
    display: flex;
    gap: 12px;
}

.gender-opt {
    flex: 1;
    padding: 12px;
    border-radius: 14px;
    border: 2px solid #e8e8ef;
    background: #fafafa;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.gender-opt.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(255,107,157,0.1), rgba(124,92,255,0.08));
    color: var(--primary);
}

.gender-switch-locked .gender-opt {
    cursor: not-allowed;
    opacity: 0.85;
}

.gender-readonly {
    padding: 11px 14px;
    border-radius: 10px;
    background: #f5f6f8;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
}

.field-hint {
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.profile-form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.profile-form-label span {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 12px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #fafbff;
    border: 1px solid #ececf3;
    border-radius: 12px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.profile-tags-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.profile-photo-tip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(255,107,157,0.08), rgba(124,92,255,0.06));
    border-radius: 12px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

.profile-photo-tip .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary);
}

.profile-photo-tip > span:not(.icon) {
    flex: 1;
    min-width: 0;
}

.profile-photo-count-hint {
    margin: -8px 0 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.profile-photo-count-hint.is-warning {
    color: #d48806;
}

.profile-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.profile-photo-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
}

.profile-photo-cell {
    position: relative;
    aspect-ratio: 1;
}

.profile-photo-cell .photo-del {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.profile-photo-add {
    aspect-ratio: 1;
    border: 2px dashed #ddd;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #aaa;
    cursor: pointer;
    background: #fafafa;
    transition: border-color 0.2s, color 0.2s;
}

.profile-photo-add:active {
    border-color: var(--primary);
    color: var(--primary);
}

.profile-photo-add span:last-child {
    font-size: 11px;
}

.profile-photo-add .icon {
    width: 28px;
    height: 28px;
    color: #bbb;
}

.profile-nav-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    gap: 10px;
    box-shadow: 0 -4px 24px rgba(124, 92, 255, 0.08);
    z-index: 50;
}

.profile-nav-bar .btn {
    flex: 1;
    width: auto;
}

.profile-nav-bar .btn-outline.profile-nav-prev {
    flex: 0.6;
    border-color: #e8e8ef;
    color: var(--text-muted);
}

.profile-nav-bar .btn-outline.profile-nav-prev.hidden {
    visibility: hidden;
    pointer-events: none;
}

.profile-audit-tip {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.5;
}

.audit-banner {
    margin: 0 16px 12px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.audit-banner.hidden {
    display: none;
}

.audit-banner-pending {
    background: #fff7e6;
    color: #ad6800;
    border: 1px solid #ffd591;
}

.audit-banner-rejected {
    background: #fff1f0;
    color: #cf1322;
    border: 1px solid #ffa39e;
}

.audit-banner-approved {
    background: #f6ffed;
    color: #389e0d;
    border: 1px solid #b7eb8f;
}

.profile-photo-cell.is-pending-audit {
    position: relative;
}

.profile-photo-cell.is-rejected-audit {
    position: relative;
}

.profile-photo-cell.is-rejected-audit .photo-rejected-dim {
    opacity: 0.45;
    filter: grayscale(0.6);
}

.photo-audit-badge {
    position: absolute;
    left: 6px;
    bottom: 6px;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 10px;
    line-height: 1.4;
    z-index: 1;
}

.photo-audit-badge-rejected {
    background: rgba(207, 19, 34, 0.88);
}

body.body-app .page-profile-edit .audit-banner {
    margin-top: 0;
}

.mine-audit-banner {
    margin: 0 0 12px;
}

/* 编辑资料（个人中心独立页） */

.profile-edit-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 12px;
}

.profile-edit-header .page-header-back {
    justify-self: start;
}

.profile-edit-header-main {
    text-align: center;
    min-width: 0;
}

.profile-edit-header-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #1f2433;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.profile-edit-header-sub {
    margin: 4px 0 0;
    font-size: 12px;
    color: #8b90a0;
    line-height: 1.4;
}

.profile-edit-header-spacer {
    justify-self: end;
    width: 38px;
    height: 38px;
}

.profile-edit-body {
    padding: 0 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.profile-edit-body .audit-banner {
    margin: 0;
}

.profile-edit-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0;
}

.profile-edit-body .profile-card,
.profile-edit-form .profile-card {
    margin: 0;
}

.profile-edit-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 14px;
    color: #1f2433;
}

.profile-edit-section-title::before {
    content: '';
    width: 4px;
    height: 16px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff6b9d 0%, #c65bff 100%);
    flex-shrink: 0;
}

.profile-basic-card .profile-basic-avatar {
    margin-bottom: 6px;
}

.profile-basic-card .avatar-upload-wrap {
    margin-bottom: 0;
}

.profile-avatar-name {
    margin: 12px 0 0;
    font-size: 18px;
    font-weight: 800;
    color: #1f2433;
    text-align: center;
}

.page-profile-edit .profile-gender-age-row {
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
}

.page-profile-edit .profile-gender-age-row .profile-form-label {
    width: auto;
    flex-shrink: 0;
}

.page-profile-edit .profile-gender-age-row .gender-readonly {
    flex: 0 0 52px;
    width: 52px;
    text-align: center;
    padding: 10px 6px;
}

.page-profile-edit .profile-gender-age-row .gender-locked {
    background: #f3f4f7;
    color: #8b90a0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.page-profile-edit .profile-gender-age-row .gender-locked:active {
    opacity: 0.75;
}

.page-profile-edit .profile-gender-age-row .profile-form-label-age {
    margin-left: auto;
}

.page-profile-edit .profile-gender-age-row input {
    flex: 0 0 72px;
    width: 72px;
    min-width: 56px;
}

.page-profile-edit .profile-field-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
    padding: 8px 0;
}

.page-profile-edit .profile-field-row:last-child {
    padding-bottom: 0;
}

.page-profile-edit .profile-field-row .profile-form-label {
    width: auto;
    margin: 0;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
    color: #5f6472;
}

.page-profile-edit .profile-field-row input,
.page-profile-edit .profile-field-row .gender-readonly {
    flex: 1;
    min-width: 0;
    text-align: left;
    border: 1px solid #ececf3;
    border-radius: 12px;
    padding: 10px 12px;
    background: #fafbff;
    font-size: 15px;
    font-weight: 600;
    color: #1f2433;
    box-sizing: border-box;
}

.page-profile-edit .profile-field-row-gender {
    align-items: center;
}

.page-profile-edit .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 0;
}

.page-profile-edit .profile-city-height-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.page-profile-edit .form-row-2 .profile-field-row-compact {
    padding: 8px 0;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.page-profile-edit .form-row-2 .profile-field-row-compact .profile-form-label {
    width: auto;
    margin-bottom: 0;
    flex-shrink: 0;
}

.page-profile-edit .form-row-2 .profile-field-row-compact input {
    flex: 1;
    min-width: 0;
    width: auto;
}

.page-profile-edit .profile-city-height-row .profile-field-row-compact:first-child input {
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

.page-profile-edit .profile-field-row-height {
    flex-shrink: 0;
    width: auto;
}

.page-profile-edit .profile-field-row-height input {
    flex: 0 0 72px;
    width: 72px;
    max-width: 72px;
    text-align: center;
    padding-left: 8px;
    padding-right: 8px;
}

.page-profile-edit .profile-field-block {
    margin-top: 14px;
    margin-bottom: 0;
}

.page-profile-edit .profile-field-block .profile-form-label {
    margin-bottom: 8px;
}

.page-profile-edit .profile-edit-tags {
    gap: 10px;
}

.page-profile-edit .profile-tags-hint {
    display: none;
}

.page-profile-edit .profile-edit-tags .tag-btn {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 107, 157, 0.12);
    background: #f3f4f7;
    font-size: 13px;
    font-weight: 600;
    color: #5f6472;
}

.page-profile-edit .profile-edit-tags .tag-btn.active {
    background: linear-gradient(135deg, #ff6b9d 0%, #c65bff 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(198, 91, 255, 0.2);
}

.page-profile-edit .bio-editor {
    position: relative;
}

.page-profile-edit .bio-editor textarea {
    width: 100%;
    min-height: 112px;
    padding: 12px 14px 28px;
    box-sizing: border-box;
    resize: vertical;
}

.page-profile-edit .bio-counter {
    position: absolute;
    right: 12px;
    bottom: 10px;
    font-size: 12px;
    color: #aaa;
    pointer-events: none;
}

.profile-album-card {
    padding-bottom: 20px;
}

.profile-edit-save-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -4px 24px rgba(124, 92, 255, 0.08);
    z-index: 50;
}

.profile-edit-save-bar .btn,
.profile-edit-save-btn {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff6b9d 0%, #c65bff 100%);
    box-shadow: 0 12px 28px rgba(198, 91, 255, 0.24);
    font-size: 16px;
    font-weight: 700;
}

/* ========== 轻社交匹配首页 ========== */
.page-home-match {
    --home-filter-h: 44px;
    --avatar-size: clamp(220px, 62vw, 288px);
    max-width: 480px;
    margin: 0 auto;
    min-height: 100dvh;
    padding-bottom: var(--float-tab-space);
    overflow: visible;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: transparent;
}

.home-filter-bar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 6px;
    gap: 8px;
}

.home-filter-actions {
    display: flex;
    gap: 8px;
}

.home-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 8px 22px rgba(255, 87, 150, 0.1);
    font-size: 13px;
    font-weight: 700;
    color: #1f2433;
    cursor: pointer;
    text-decoration: none;
    padding: 0 12px;
    transition: transform 0.15s;
}

.home-pill:active { transform: scale(0.96); }

.home-pill-static {
    cursor: default;
    pointer-events: none;
    user-select: none;
}

.home-pill-static:active {
    transform: none;
}

.home-pill-city {
    min-width: 72px;
    padding: 0 12px;
    color: #1f2433;
}

.home-pill-city .icon-sm {
    color: #ff4f93;
}

.home-pill-action {
    min-width: 68px;
    color: #ff4f93;
}

.home-pill-action .icon { color: #ff4f93; }

.home-pill-action .icon-sm {
    width: 16px;
    height: 16px;
}

.icon-xs { width: 14px; height: 14px; }
.icon-meta { width: 14px; height: 14px; color: #ff6baa; }

.home-card-area {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4px 18px 16px;
    overflow: visible;
}

.home-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    text-align: center;
    color: #6b7280;
}

.match-card-wrap {
    flex: 0 1 auto;
    width: 100%;
    max-height: calc(100dvh - var(--float-tab-space) - var(--home-filter-h) - env(safe-area-inset-top, 0px) - 20px);
    display: flex;
    align-items: stretch;
    perspective: 1000px;
}

.match-card {
    position: relative;
    touch-action: pan-y;
    user-select: none;
    width: 100%;
    flex: 0 1 auto;
    margin: 0;
    padding: 20px 20px 22px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow:
        0 24px 56px rgba(255, 91, 156, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    animation: matchCardEnter 0.45s ease-out;
    transition: transform 0.1s linear;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

@keyframes matchCardEnter {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.match-card.show-like .like-hint { opacity: 1; }
.match-card.show-dislike .dislike-hint { opacity: 1; }

.avatar-stage {
    position: relative;
    flex-shrink: 0;
    margin: 0 0 16px;
    padding: 6px 0 10px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 20%, rgba(234, 203, 255, 0.42), transparent 62%),
        radial-gradient(circle at 80% 10%, rgba(255, 200, 230, 0.25), transparent 45%);
}

.avatar-wrap {
    width: var(--avatar-size);
    height: var(--avatar-size);
    margin: 0 auto;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #ffffff 0%, #eacbff 45%, #ef6dff 100%);
    box-shadow: 0 18px 42px rgba(194, 91, 255, 0.22);
    position: relative;
}

.avatar-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid rgba(255, 255, 255, 0.95);
}

.match-deco {
    position: absolute;
    pointer-events: none;
    z-index: 2;
}

.match-deco-star {
    top: 8px;
    left: calc(50% - var(--avatar-size) / 2 - 10px);
    font-size: 20px;
    color: #d47bff;
    transform: rotate(-12deg);
}

.match-deco-star2 {
    bottom: 28px;
    left: calc(50% - var(--avatar-size) / 2 + 10px);
    font-size: 13px;
    color: #ffd8ee;
}

.match-deco-heart {
    top: 20px;
    right: calc(50% - var(--avatar-size) / 2 + 4px);
    font-size: 18px;
    color: #ff9cc7;
}

.match-deco-dots {
    top: 14px;
    right: calc(50% - var(--avatar-size) / 2 - 18px);
    width: 34px;
    height: 34px;
    background-image: radial-gradient(circle, rgba(199, 116, 255, 0.35) 2px, transparent 2px);
    background-size: 9px 9px;
    opacity: 0.75;
}

.match-online-badge {
    position: absolute;
    right: calc(50% - var(--avatar-size) / 2 + 8px);
    bottom: 18px;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #7a3cff;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 10px 24px rgba(122, 60, 255, 0.14);
    z-index: 3;
}

.match-profile {
    flex: 0 1 auto;
    padding: 0 4px;
    overflow: hidden;
}

.match-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.match-name {
    font-size: clamp(28px, 7.2vw, 36px);
    font-weight: 800;
    color: #1f2433;
    letter-spacing: -0.8px;
    line-height: 1.1;
}

.match-age-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    padding: 4px 10px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
    vertical-align: middle;
}

.match-age-badge.is-female {
    background: linear-gradient(90deg, #ffe1ea, #ffd7e7);
    color: #ff4f93;
}

.match-age-badge.is-female .icon-age-gender {
    color: #ff4f93;
}

.match-age-badge.is-male {
    background: linear-gradient(90deg, #dbeafe, #e0f2fe);
    color: #2563eb;
}

.match-age-badge.is-male .icon-age-gender {
    color: #2563eb;
}

.match-age-badge .icon-age-gender {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.match-age-badge .icon-age-gender svg {
    display: block;
    width: 100%;
    height: 100%;
}

.match-age-num {
    display: block;
    line-height: 1;
}

.match-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: clamp(13px, 3.5vw, 15px);
    color: #5f6472;
}

.match-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.match-meta-dot {
    color: #c4c7d0;
    font-weight: 700;
}

.match-meta.is-female .icon-meta {
    color: #ff6baa;
}

.match-meta.is-male .icon-meta {
    color: #2563eb;
}

.match-bio {
    margin-top: 12px;
    font-size: clamp(15px, 3.8vw, 17px);
    line-height: 1.65;
    color: #5c6170;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.match-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.match-tag {
    background: linear-gradient(180deg, #ffe4ef, #ffdceb);
    color: #ff4f93;
    border-radius: 999px;
    padding: 7px 16px;
    font-size: clamp(13px, 3.5vw, 15px);
    font-weight: 700;
}

.match-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 3vw, 14px);
    margin-top: 20px;
    padding-top: 2px;
}

.match-btn {
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.match-btn:active { transform: scale(0.94); }

.match-btn-dislike,
.match-btn-like {
    width: clamp(62px, 16vw, 76px);
    height: clamp(62px, 16vw, 76px);
    border-radius: 50%;
    flex-shrink: 0;
    color: #fff;
    border: 5px solid rgba(255, 255, 255, 0.92);
}

.match-btn-dislike {
    background: linear-gradient(135deg, #ff7a7a, #ff5c5c);
    box-shadow: 0 12px 28px rgba(255, 92, 92, 0.26);
}

.match-btn-like {
    background: linear-gradient(135deg, #75e88d, #34c964);
    box-shadow: 0 12px 28px rgba(52, 201, 100, 0.24);
}

.match-btn-dislike .icon,
.match-btn-like .icon {
    width: clamp(26px, 6.5vw, 30px);
    height: clamp(26px, 6.5vw, 30px);
}

.match-btn-contact {
    flex: 1;
    min-width: 120px;
    max-width: 220px;
    height: clamp(54px, 13.5vw, 64px);
    border-radius: 999px;
    background: var(--gradient-brand);
    color: #fff;
    font-size: clamp(15px, 3.8vw, 18px);
    font-weight: 800;
    gap: 6px;
    padding: 0 14px;
    box-shadow: var(--gradient-brand-shadow);
    border: 4px solid rgba(255, 255, 255, 0.75);
    position: relative;
    overflow: hidden;
}

.match-btn-contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    animation: contactShine 3.5s ease-in-out infinite;
}

@keyframes contactShine {
    0%, 70% { left: -120%; }
    100% { left: 140%; }
}

.match-btn-contact:active { transform: scale(0.97); }

.modal-sheet-glass {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px 24px 0 0;
}

.modal-sheet-title {
    font-size: 18px;
    font-weight: 800;
    color: #1f2433;
    margin-bottom: 20px;
    text-align: center;
}

.form-row-inline {
    display: flex;
    gap: 10px;
}

.form-row-inline input { flex: 1; }

/* ========== 深度打磨 · 组件类（替代内联样式） ========== */
.auth-back {
    position: absolute;
    top: calc(12px + env(safe-area-inset-top, 0px));
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #5f6472;
    text-decoration: none;
}

.auth-back .icon { width: 18px; height: 18px; }

body.body-app.auth-page {
    position: relative;
}

.auth-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #888;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-wechat-wrap.hidden {
    display: none;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 14px;
    color: #aaa;
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 107, 157, 0.12);
}

.btn-wechat {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border: none;
    border-radius: 14px;
    background: #07c160;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(7, 193, 96, 0.28);
    cursor: pointer;
}

.btn-wechat:active {
    opacity: 0.92;
    transform: scale(0.98);
}

.auth-wechat-tip {
    margin-top: 10px;
    font-size: 12px;
    color: #aaa;
    text-align: center;
    line-height: 1.5;
}

.welcome-wechat-wrap.hidden {
    display: none;
}

.welcome-wechat-wrap .btn-wechat {
    margin-top: 0;
}

.btn-mt-sm { margin-top: 12px; }
.btn-mt-md { margin-top: 16px; }
.btn-mt-lg { margin-top: 20px; }
.btn-mt-8 { margin-top: 8px; }

.is-hidden { display: none !important; }
.hidden { display: none !important; }

.detail-fixed-bar.is-hidden { display: none !important; }

body.body-app .detail-fixed-bar:not(.is-hidden) {
    display: flex;
}

.section-title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #1f2433;
}

.list-empty-hint {
    color: #888;
    font-size: 14px;
    padding: 12px 0;
    text-align: center;
}

.list-item-body { flex: 1; min-width: 0; }
.list-item-name { font-weight: 600; color: #1f2433; }
.list-item-meta { font-size: 12px; color: #888; margin-top: 2px; }

.notify-title {
    font-weight: 600;
    color: #1f2433;
    font-size: 14px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.notify-unread-tag {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    color: #ff4f93;
    background: rgba(255, 107, 157, 0.12);
    border: 1px solid rgba(255, 107, 157, 0.18);
}

.notify-content { font-size: 13px; color: #666; margin-top: 2px; line-height: 1.35; }
.notify-time { font-size: 11px; color: #aaa; margin-top: 2px; }

.order-user-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.order-user-row img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 14px rgba(255, 91, 156, 0.12);
}

.order-user-name { font-weight: 600; color: #1f2433; }
.order-user-meta { font-size: 12px; color: #888; margin-top: 2px; }

.wallet-balance-card,
.page-wallet .wallet-panel-top {
    text-align: left;
    color: #fff;
}

.wallet-panel {
    padding: 0;
    overflow: hidden;
}

.page-wallet .wallet-panel {
    padding: 12px 12px 0;
}

.page-wallet .wallet-panel-top-wrap {
    margin-bottom: 14px;
}

.page-wallet .wallet-panel-top {
    position: relative;
    min-height: 100px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.page-wallet .wallet-panel-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    pointer-events: none;
}

.page-wallet .wallet-panel-top-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wallet-panel-body {
    padding: 0 4px 16px;
}

.wallet-section-title {
    margin-bottom: 14px;
}

.wallet-balance-label {
    opacity: 0.95;
    font-size: 14px;
    margin: 0;
}

.wallet-balance-amount {
    font-size: 38px;
    font-weight: 700;
    margin: 6px 0 0;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.page-wallet .wallet-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.page-wallet .wallet-amount-btn {
    position: relative;
    min-height: 46px;
    padding: 6px 6px 5px;
    border: 1.5px solid transparent;
    border-radius: 12px;
    background: #f3f4f7;
    color: #1f2433;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    overflow: hidden;
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.page-wallet .wallet-amount-btn:active {
    transform: scale(0.98);
}

.page-wallet .wallet-amount-btn.active {
    background: #fff;
    border-color: #c65bff;
    box-shadow: 0 8px 20px rgba(198, 91, 255, 0.12);
}

.page-wallet .wallet-amount-check {
    position: absolute;
    top: -1.5px;
    right: -1.5px;
    width: 21px;
    height: 21px;
    border-radius: 0 12px 0 10px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c65bff 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
}

.page-wallet .wallet-amount-check::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 4px;
    width: 4px;
    height: 7px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.page-wallet .wallet-amount-btn.active .wallet-amount-check {
    opacity: 1;
}

.page-wallet .wallet-amount-value {
    font-size: 15px;
    font-weight: 700;
}

.page-wallet .wallet-amount-bonus {
    font-size: 10px;
    font-weight: 600;
    color: #10b981;
}

.page-wallet .wallet-recharge-btn {
    width: 100%;
    margin-top: 14px;
    padding: 13px 24px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff6b9d 0%, #c65bff 100%);
    box-shadow: 0 12px 28px rgba(198, 91, 255, 0.24);
    font-size: 16px;
    font-weight: 700;
}

.page-wallet .wallet-pay-hint {
    margin-top: 10px;
}

.page-wallet .wallet-logs-card {
    padding-top: 18px;
}

.page-wallet .wallet-logs-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.page-wallet .wallet-logs-title {
    margin: 0;
}

.page-wallet .wallet-logs-more {
    font-size: 12px;
    color: #aaa;
    flex-shrink: 0;
    cursor: pointer;
    user-select: none;
}

.wallet-balance-amount-sm {
    font-size: 32px;
    font-weight: 700;
    color: #ff4f93;
    margin: 6px 0 0;
}

.wallet-balance-caption {
    color: #888;
    font-size: 14px;
}

.amount-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.amount-grid .tag-btn {
    flex: 1 1 calc(33.333% - 10px);
    min-width: 88px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    line-height: 1.2;
    padding-top: 10px;
    padding-bottom: 10px;
}

.amount-grid .tag-btn .amount-bonus {
    font-size: 11px;
    font-weight: 600;
    color: #10b981;
}

.amount-grid .tag-btn.active .amount-bonus {
    color: rgba(255, 255, 255, 0.92);
}

.form-hint {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
    text-align: center;
    line-height: 1.5;
}

.wallet-log-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 107, 157, 0.08);
    font-size: 14px;
    color: #5f6472;
}

.page-wallet .wallet-log-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin-top: 2px;
}

.page-wallet .wallet-log-detail {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.45;
    color: #8b90a0;
}

.page-wallet .wallet-log-bonus {
    margin-left: 10px;
    color: #10b981;
    font-weight: 600;
}

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

.wallet-log-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: 1;
    min-width: 0;
    text-align: left;
}

.wallet-log-title {
    font-size: 14px;
    line-height: 1.45;
    color: #5f6472;
    word-break: break-all;
    width: 100%;
    text-align: left;
}

.wallet-log-sub {
    font-size: 12px;
    line-height: 1.4;
    color: #8b90a0;
}

.wallet-log-sub.is-bonus {
    color: #10b981;
    font-weight: 600;
}

.wallet-log-time {
    font-size: 11px;
    line-height: 1.4;
    color: #aaa;
    margin-top: 2px;
    width: 100%;
    text-align: left;
}

.wallet-log-amount {
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1.45;
    padding-top: 1px;
}
.wallet-log-amount.is-plus { color: #34c964; }
.wallet-log-amount.is-minus { color: #ff5c5c; }

.detail-card-overlap {
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

.detail-name {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #1f2433;
}

.detail-meta {
    color: #888;
    margin: 6px 0;
    font-size: 14px;
}

.detail-bio {
    margin-top: 12px;
    line-height: 1.7;
    color: #5c6170;
}

.detail-bar-actions {
    display: flex;
    gap: 10px;
    width: 100%;
}

.detail-bar-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.detail-bar-btn-wide {
    flex: 2;
    text-decoration: none;
}

body.body-app .tag-btn {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(255, 87, 150, 0.08);
    font-weight: 700;
    transition: transform 0.15s, background 0.15s, color 0.15s;
}

body.body-app .tag-btn.active {
    background: var(--gradient-brand);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--gradient-brand-shadow);
}

body.body-app .tag-btn:active { transform: scale(0.96); }

/* 完善资料向导 · 玻璃化 */
body.body-app .page-profile .header-bar,
body.body-app .page-profile-edit .page-header-compact,
body.body-app.page-profile-edit .profile-edit-header,
body.body-app.page-contact-setting .profile-edit-header,
body.body-app.page-verify .profile-edit-header,
body.body-app.page-distribution .profile-edit-header,
body.body-app.page-distribution-team .profile-edit-header,
body.body-app.page-distribution-records .profile-edit-header,
body.body-app.page-distribution-poster .profile-edit-header {
    background: transparent;
}

body.body-app .profile-hero {
    margin: 0 16px 8px;
    padding: 20px 16px 14px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 16px 40px rgba(255, 91, 156, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

body.body-app .profile-step-title {
    color: #1f2433;
    -webkit-text-fill-color: #1f2433;
    background: none;
}

body.body-app .profile-card {
    margin-top: 12px;
    padding: 22px 18px;
}

body.body-app .page-profile .form-group input,
body.body-app .page-profile .form-group select,
body.body-app .page-profile .form-group textarea {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.95);
}

body.body-app.page-profile-edit .profile-card {
    margin-top: 0;
    padding: 18px 16px;
    border-radius: 16px;
}

body.body-app.page-profile-edit .form-group input,
body.body-app.page-profile-edit .form-group select,
body.body-app.page-profile-edit .form-group textarea {
    background: #fafbff;
    border: 1px solid #ececf3;
    border-radius: 12px;
    box-shadow: none;
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2433;
}

body.body-app.page-profile-edit .profile-field-row input,
body.body-app.page-profile-edit .profile-field-row .gender-readonly {
    background: #fafbff;
    border: 1px solid #ececf3;
    border-radius: 12px;
    padding: 10px 12px;
}

body.body-app.page-profile-edit .form-group input:focus,
body.body-app.page-profile-edit .form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 107, 157, 0.35);
}

body.body-app.page-profile-edit .bio-editor textarea {
    background: #fafbff;
    border: 1px solid #ececf3;
    border-radius: 12px;
    font-weight: 500;
    text-align: left;
    padding: 12px 14px 28px;
}

body.body-app.page-profile-edit .profile-photo-tip {
    background: linear-gradient(135deg, rgba(255, 228, 239, 0.85), rgba(240, 230, 255, 0.75));
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 12px;
}

body.body-app.page-profile-edit .profile-edit-save-bar {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 -8px 32px rgba(255, 91, 156, 0.12);
    border-radius: 24px 24px 0 0;
}

body.body-app .gender-opt {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 14px rgba(255, 91, 156, 0.06);
}

body.body-app .gender-opt.active {
    border-color: transparent;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.18), rgba(198, 91, 255, 0.14));
    color: #ff4f93;
    box-shadow: 0 8px 20px rgba(255, 79, 147, 0.15);
}

body.body-app .gender-readonly {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 14px;
}

body.body-app .profile-photo-tip {
    background: linear-gradient(135deg, rgba(255, 228, 239, 0.85), rgba(240, 230, 255, 0.75));
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
}

body.body-app .profile-nav-bar,
body.body-app .profile-edit-save-bar {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 -8px 32px rgba(255, 91, 156, 0.12);
    border-radius: 24px 24px 0 0;
}

body.body-app .profile-nav-bar .btn-outline.profile-nav-prev {
    border-color: rgba(255, 79, 147, 0.35);
    color: #ff4f93;
    background: rgba(255, 255, 255, 0.6);
}

body.body-app .profile-step-dot {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 107, 157, 0.2);
}

body.body-app .profile-step-item.active .profile-step-dot,
body.body-app .profile-step-item.done .profile-step-dot {
    background: linear-gradient(135deg, #ff6b9d, #c65bff);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 16px rgba(255, 79, 147, 0.28);
}

body.body-app .profile-step-line {
    background: rgba(255, 107, 157, 0.15);
}

body.body-app .profile-step-item.done .profile-step-line {
    background: linear-gradient(90deg, #ff6b9d, #c65bff);
}

body.body-app .profile-step-desc {
    color: #888;
}

body.body-app .subpage-stack {
    padding: 0 0 16px;
}

body.body-app.page-profile-edit .subpage-stack {
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
}

/* ========== 逐页视觉微调 ========== */

/* Welcome 动效 */
@keyframes welcome-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes welcome-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@keyframes welcome-fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes welcome-spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.welcome-animate-float { animation: welcome-float 4s ease-in-out infinite; }

.welcome-animate-pulse { animation: welcome-pulse 3s ease-in-out infinite; }

.welcome-animate-in {
    opacity: 0;
    animation: welcome-fade-up 0.6s ease forwards;
}

.welcome-delay-1 { animation-delay: 0.1s; }
.welcome-delay-2 { animation-delay: 0.2s; }
.welcome-delay-3 { animation-delay: 0.28s; }
.welcome-delay-4 { animation-delay: 0.36s; }
.welcome-delay-5 { animation-delay: 0.44s; }

body.body-app.welcome-page .welcome-wrap {
    justify-content: center;
    padding-top: calc(48px + env(safe-area-inset-top, 0px));
}

body.body-app .welcome-circle.c3 {
    width: 80px;
    height: 80px;
    background: rgba(255, 198, 224, 0.35);
    top: -10px;
    right: -10px;
    left: auto;
    animation: welcome-spin-slow 18s linear infinite;
}

body.body-app .welcome-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: -28px 0 32px;
    max-width: 320px;
}

body.body-app .welcome-feature {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #ff4f93;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 18px rgba(255, 87, 150, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.body-app .welcome-btn-outline {
    background: rgba(255, 255, 255, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 8px 22px rgba(255, 87, 150, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Auth 入场 */
.auth-animate-in {
    opacity: 0;
    animation: welcome-fade-up 0.55s ease forwards;
}

.auth-delay-1 { animation-delay: 0.08s; }
.auth-delay-2 { animation-delay: 0.16s; }
.auth-delay-3 { animation-delay: 0.24s; }
.auth-delay-4 { animation-delay: 0.32s; }

body.body-app.auth-page .auth-card {
    box-shadow: 0 24px 56px rgba(255, 91, 156, 0.16);
}

/* Pay-contact */
body.body-app.page-pay-contact .pay-page {
    padding-bottom: 8px;
}

.pay-user-card {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.pay-user-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.06), rgba(198, 91, 255, 0.05));
    pointer-events: none;
}

.pay-user-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    z-index: 1;
}

.pay-user-avatar-wrap::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d, #c65bff);
    z-index: -1;
    opacity: 0.85;
}

.pay-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.95);
    display: block;
}

.pay-user-info {
    flex: 1;
    min-width: 0;
    z-index: 1;
}

.pay-name {
    font-size: 18px;
    font-weight: 800;
    color: #1f2433;
}

.pay-meta {
    font-size: 13px;
    color: #888;
    margin-top: 4px;
}

.pay-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 1;
}

.pay-badge-lock {
    color: #c65bff;
    background: rgba(198, 91, 255, 0.1);
    border: 1px solid rgba(198, 91, 255, 0.2);
}

.pay-badge-unlocked {
    color: #34c964;
    background: rgba(52, 201, 100, 0.1);
    border: 1px solid rgba(52, 201, 100, 0.25);
}

.pay-badge .icon { width: 14px; height: 14px; }

.pay-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #666;
    line-height: 1.65;
    margin-bottom: 16px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(255, 244, 250, 0.95), rgba(248, 240, 255, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 16px;
}

.pay-notice .icon {
    flex-shrink: 0;
    color: #ff4f93;
    margin-top: 2px;
}

.pay-summary {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    padding: 4px 14px;
    margin-bottom: 4px;
}

.pay-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 107, 157, 0.08);
    font-size: 15px;
    color: #5f6472;
}

.pay-row-last { border-bottom: none; }

.pay-price {
    color: #ff4f93;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.pay-balance {
    color: #1f2433;
    font-weight: 700;
}

.pay-warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #f87171;
    text-align: center;
    margin: 12px 0;
    font-size: 14px;
    font-weight: 600;
}

.pay-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.contact-result-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 14px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255, 107, 157, 0.1);
    font-size: 16px;
    font-weight: 700;
    color: #34c964;
}

.contact-result-head .icon { color: #34c964; }

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 107, 157, 0.08);
}

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

.contact-item-label {
    color: #888;
    font-size: 13px;
    min-width: 56px;
    flex-shrink: 0;
}

.contact-item-value {
    flex: 1;
    min-width: 0;
    font-weight: 700;
    color: #1f2433;
    word-break: break-all;
}

body.body-app .btn-copy {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 79, 147, 0.35);
    background: rgba(255, 255, 255, 0.85);
    color: #ff4f93;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.15s, background 0.15s;
}

body.body-app .btn-copy:active {
    transform: scale(0.96);
    background: rgba(255, 228, 239, 0.9);
}

/* Report */
.report-tip-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: linear-gradient(135deg, rgba(255, 244, 250, 0.95), rgba(248, 240, 255, 0.88)) !important;
}

.report-tip-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ff4f93;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 6px 16px rgba(255, 91, 156, 0.12);
}

.report-tip-text strong {
    display: block;
    font-size: 15px;
    color: #1f2433;
    margin-bottom: 4px;
}

.report-tip-text p {
    margin: 0;
    font-size: 13px;
    color: #888;
    line-height: 1.55;
}

/* 实名认证 */
.verify-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.verify-loading-card {
    text-align: center;
    color: #888;
    padding: 32px 16px;
}

.verify-tip-card,
.verify-status-card,
.verify-reject-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.verify-tip-icon,
.verify-status-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.verify-tip-icon {
    background: rgba(255, 107, 157, 0.1);
    color: var(--primary, #ff6b9d);
}

.verify-tip-text strong,
.verify-status-title {
    display: block;
    font-size: 16px;
    color: #1f2433;
    margin: 0 0 6px;
}

.verify-tip-text p,
.verify-status-desc,
.verify-meta {
    margin: 0;
    font-size: 13px;
    color: #888;
    line-height: 1.55;
}

.verify-status-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px;
}

.verify-status-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin-bottom: 4px;
}

.verify-status-success .verify-status-icon {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
}

.verify-status-pending .verify-status-icon {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

.verify-status-rejected .verify-status-icon {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.verify-reject-card {
    flex-direction: column;
    background: #fff5f5;
    border: 1px solid #fecaca;
}

.verify-reject-card strong {
    color: #dc2626;
    font-size: 14px;
}

.verify-reject-card p {
    margin: 6px 0 0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.verify-photo-upload {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 1.5px dashed #ddd;
    border-radius: 12px;
    overflow: hidden;
    background: #fafafa;
    cursor: pointer;
}

.verify-id-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.verify-id-card-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.verify-id-card-upload {
    aspect-ratio: 1.58 / 1;
}

.verify-photo-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #aaa;
    font-size: 13px;
}

.verify-photo-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mine-tag-pending {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.mine-tag-pending .icon {
    color: #2563eb;
}

/* 列表增强 */
body.body-app .list-item {
    transition: background 0.15s, transform 0.15s;
}

body.body-app .list-item:active {
    transform: scale(0.985);
    background: rgba(255, 107, 157, 0.04);
}

.list-item-arrow {
    color: #ccc;
    flex-shrink: 0;
    margin-left: 8px;
}

.list-item-match .list-item-name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.list-match-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--gradient-brand);
    box-shadow: var(--gradient-brand-shadow);
}

.list-match-badge .icon { width: 12px; height: 12px; }

.list-empty-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 32px 16px;
    color: #ccc;
}

.list-empty-wrap .list-empty-hint {
    padding: 0;
}

/* 通知 */
body.body-app .notify-icon-wrap {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ff4f93;
    background: linear-gradient(135deg, rgba(255, 228, 239, 0.9), rgba(240, 230, 255, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 14px rgba(255, 91, 156, 0.1);
}

body.body-app .notify-icon-wrap .icon-md {
    width: 18px;
    height: 18px;
}

.notify-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff4f93;
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 2px rgba(255, 79, 147, 0.18);
}

body.body-app .notify-item:active {
    transform: scale(0.985);
}

/* 订单 */
.order-card {
    position: relative;
    overflow: hidden;
}

.order-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #ff4f93;
    background: rgba(255, 107, 157, 0.12);
    border: 1px solid rgba(255, 107, 157, 0.2);
}

/* 空态卡片 */
.empty-state-card .empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 36px 20px;
}

.empty-state-card .empty-state .icon {
    color: #ddd;
}

.empty-state-card .empty-state p {
    margin: 0;
    color: #888;
    font-size: 14px;
}

/* 详情轮播按钮玻璃化 */
body.body-app .carousel-overlay-btn {
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    font-weight: 600;
}

body.body-app .carousel-overlay-btn:active {
    background: rgba(255, 255, 255, 0.32);
}

/* 联系方式设置 */
body.body-app.page-contact-setting .page {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}

body.body-app.page-contact-setting .profile-edit-header {
    padding: calc(6px + env(safe-area-inset-top, 0px)) 16px 8px;
    gap: 8px;
}

body.body-app.page-contact-setting .profile-edit-header-title {
    font-size: 18px;
    line-height: 1.2;
}

body.body-app.page-contact-setting .profile-edit-header-sub {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.35;
}

body.body-app.page-contact-setting .contact-setting-body {
    padding: 0 16px 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.body-app.page-contact-setting .contact-setting-body .audit-banner {
    margin: 0;
}

body.body-app.page-contact-setting .contact-privacy-tip {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.5;
    color: #5f6472;
    background: linear-gradient(135deg, rgba(255, 228, 239, 0.92), rgba(240, 230, 255, 0.82));
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(255, 91, 156, 0.06);
}

body.body-app.page-contact-setting .contact-privacy-tip-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    object-fit: contain;
}

body.body-app.page-contact-setting .contact-privacy-tip p {
    margin: 0;
    flex: 1;
    min-width: 0;
}

body.body-app.page-contact-setting .contact-privacy-tip strong {
    color: #ff4f93;
    font-weight: 700;
}

body.body-app.page-contact-setting .contact-setting-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.body-app.page-contact-setting .profile-card {
    margin: 0;
    padding: 14px 14px;
    border-radius: 18px;
}

body.body-app.page-contact-setting .contact-section-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 800;
    color: #1f2433;
}

body.body-app.page-contact-setting .contact-section-title-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

body.body-app.page-contact-setting .contact-field-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.body-app.page-contact-setting .contact-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #fafbff;
    border: 1px solid #ececf3;
    border-radius: 12px;
}

body.body-app.page-contact-setting .contact-field-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
}

body.body-app.page-contact-setting .contact-field-main {
    flex: 1;
    min-width: 0;
}

body.body-app.page-contact-setting .contact-field-main label {
    display: block;
    margin: 0 0 2px;
    font-size: 11px;
    font-weight: 600;
    color: #8b90a0;
    line-height: 1.2;
}

body.body-app.page-contact-setting .contact-field-main input {
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    color: #1f2433;
    outline: none;
    box-shadow: none;
}

body.body-app.page-contact-setting .contact-field-main input::placeholder {
    color: #b8bcc8;
    font-weight: 500;
}

body.body-app.page-contact-setting .contact-switch-panel {
    padding: 8px 12px;
    background: #fafbff;
    border: 1px solid #ececf3;
    border-radius: 12px;
}

body.body-app.page-contact-setting .contact-switch-panel + .contact-switch-panel {
    margin-top: 8px;
}

body.body-app.page-contact-setting .contact-switch-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

body.body-app.page-contact-setting .contact-switch-row-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
}

body.body-app.page-contact-setting .contact-switch-row-text {
    flex: 1;
    min-width: 0;
}

body.body-app.page-contact-setting .contact-switch-row-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    color: #1f2433;
}

body.body-app.page-contact-setting .contact-switch-row .switch-desc {
    margin: 2px 0 0;
    font-size: 11px;
    color: #8b90a0;
    line-height: 1.35;
}

body.body-app.page-contact-setting .contact-permission-tip {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 8px 10px;
    font-size: 11px;
    line-height: 1.4;
    color: #7b8090;
    background: linear-gradient(135deg, rgba(255, 236, 245, 0.9), rgba(237, 228, 255, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 10px;
}

body.body-app.page-contact-setting .contact-permission-tip-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    object-fit: contain;
}

body.body-app.page-contact-setting .contact-setting-save-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    z-index: 50;
}

body.body-app.page-contact-setting .contact-setting-save-bar .profile-edit-save-btn {
    padding: 12px 24px;
    font-size: 15px;
}

@media (prefers-reduced-motion: reduce) {
    .welcome-animate-float,
    .welcome-animate-pulse,
    .welcome-animate-in,
    .auth-animate-in,
    body.body-app .welcome-circle.c3 {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

@media (max-height: 700px) {
    .page-home-match {
        --avatar-size: clamp(190px, 54vw, 240px);
    }

    .match-card {
        padding: 16px 16px 18px;
    }

    .match-actions {
        margin-top: 14px;
    }
}

@media (max-width: 360px) {
    .page-home-match {
        --avatar-size: clamp(200px, 58vw, 230px);
    }

    .match-btn-contact {
        min-width: 108px;
        font-size: 14px;
    }

    .home-card-area {
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* 推广中心 */
body.body-app.page-distribution .page,
body.body-app.page-distribution-team .page,
body.body-app.page-distribution-records .page,
body.body-app.page-distribution-poster .page {
    padding-bottom: 24px;
}

.distribution-body {
    padding: 0 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dist-loading-card,
.dist-empty-card {
    margin: 0;
    padding: 28px 16px;
    text-align: center;
    color: #8b90a0;
    font-size: 14px;
}

.dist-hero-card {
    margin: 0;
    padding: 18px 16px 14px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c65bff 100%);
    color: #fff;
    box-shadow: 0 16px 36px rgba(198, 91, 255, 0.28);
}

.dist-icon {
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.dist-icon-sm {
    width: 16px;
    height: 16px;
}

.dist-icon-stat {
    width: 28px;
    height: 28px;
}

.dist-icon-stat-top {
    width: 32px;
    height: 32px;
    margin-bottom: 2px;
}

.dist-icon-btn {
    width: 18px;
    height: 18px;
}

.dist-icon-poster {
    width: 36px;
    height: 36px;
}

.dist-icon-nav {
    width: 40px;
    height: 40px;
}

.dist-icon-title {
    width: 20px;
    height: 20px;
}

.dist-icon-footer {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.dist-header-rules {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 2px;
    color: #ff4f93;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.dist-header-rules img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.dist-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.dist-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    opacity: 0.92;
}

.dist-level-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    font-size: 11px;
    font-weight: 700;
}

.dist-hero-balance-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0 14px;
}

.dist-hero-balance-main {
    min-width: 0;
    flex: 1;
}

.dist-hero-amount {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
}

.dist-hero-total-link {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    text-decoration: none;
}

.dist-hero-total-link .icon {
    width: 14px;
    height: 14px;
    opacity: 0.85;
}

.dist-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dist-hero-grid-4 {
    display: flex;
    align-items: stretch;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.dist-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.dist-hero-grid-4 .dist-hero-stat {
    flex: 1;
    min-width: 0;
    position: relative;
    padding: 2px 4px;
    background: none;
    border-radius: 0;
}

.dist-hero-grid-4 .dist-hero-stat:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8%;
    bottom: 8%;
    width: 1px;
    background: rgba(255, 255, 255, 0.28);
}

.dist-hero-stat-text span {
    display: block;
    font-size: 10px;
    opacity: 0.88;
    line-height: 1.3;
    white-space: nowrap;
}

.dist-hero-stat-text strong {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

.dist-hero-grid > div:not(.dist-hero-stat) {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
}

.dist-hero-grid span {
    display: block;
    font-size: 11px;
    opacity: 0.88;
}

.dist-hero-grid strong {
    display: block;
    margin-top: 4px;
    font-size: 16px;
    font-weight: 800;
}

.dist-section-title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 800;
    color: #1f2433;
}

.dist-section-title-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dist-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.dist-section-head .dist-section-title {
    margin: 0;
}

body.body-app.page-distribution .profile-card,
body.body-app.page-distribution-team .profile-card,
body.body-app.page-distribution-records .profile-card {
    margin: 0;
    padding: 16px;
    border-radius: 18px;
}

.dist-invite-layout {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.dist-invite-main {
    flex: 1;
    min-width: 0;
}

.dist-invite-code-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.dist-invite-code {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ff4f93;
}

.dist-copy-btn {
    padding: 6px 12px;
    border: 1px solid rgba(255, 79, 147, 0.35);
    border-radius: 999px;
    background: rgba(255, 244, 250, 0.9);
    color: #ff4f93;
    font-size: 12px;
    font-weight: 700;
}

.dist-invite-url {
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1.5;
    color: #8b90a0;
    word-break: break-all;
}

.dist-invite-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dist-invite-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 10px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 12px;
    border: none;
}

.dist-invite-actions .btn-primary {
    background: linear-gradient(90deg, #ff6b9d 0%, #e87fd4 55%, #d574ff 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 107, 157, 0.26);
}

.dist-poster-btn {
    background: linear-gradient(90deg, #c65bff 0%, #a855f7 55%, #9b59f5 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(155, 89, 245, 0.26);
}

.dist-stats-card {
    padding: 12px 14px 10px;
}

.dist-stats-card .dist-section-title {
    margin-bottom: 8px;
    font-size: 15px;
    letter-spacing: -0.2px;
}

.dist-stats-grid {
    display: flex;
    align-items: stretch;
}

.dist-stats-card .dist-stats-grid {
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 251, 253, 0.92), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(255, 107, 157, 0.07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
    padding: 0;
}

.dist-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
    position: relative;
    padding: 8px 4px;
    background: none;
    border: none;
    border-radius: 0;
    text-decoration: none;
    color: inherit;
}

.dist-stats-card .dist-stat-item {
    gap: 3px;
    padding: 8px 4px 9px;
}

.dist-stat-item:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: #ececf3;
}

.dist-stats-card .dist-stat-item:not(:first-child)::before {
    top: 12%;
    bottom: 12%;
    background: rgba(0, 0, 0, 0.06);
}

.dist-stat-item strong {
    font-size: 17px;
    font-weight: 800;
    color: #1f2433;
}

.dist-stats-card .dist-stat-item strong {
    font-size: 16px;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.2px;
}

.dist-stats-card .dist-stat-item:nth-child(1) strong {
    color: #ff4f93;
}

.dist-stats-card .dist-stat-item:nth-child(2) strong {
    color: #9b59f5;
}

.dist-stats-card .dist-stat-item:nth-child(3) strong {
    color: #fa8c16;
}

.dist-stats-card .dist-stat-item:nth-child(4) strong {
    color: #4f8cff;
}

.dist-stat-item span {
    font-size: 10px;
    color: #8b90a0;
    white-space: nowrap;
}

.dist-stats-card .dist-stat-item span {
    font-size: 10px;
    color: #9ca0ae;
    line-height: 1.2;
}

.dist-stats-card .dist-icon-stat-top {
    width: 28px;
    height: 28px;
    margin-bottom: 0;
    object-fit: contain;
}

.dist-stats-card a.dist-stat-item {
    border-radius: 12px;
    transition: background 0.15s ease, transform 0.15s ease;
}

.dist-stats-card a.dist-stat-item:active {
    background: rgba(255, 107, 157, 0.06);
    transform: scale(0.98);
}

.dist-stat-static {
    pointer-events: none;
}

.dist-team-preview-card {
    padding-bottom: 12px;
}

.dist-team-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.dist-team-preview-head .dist-section-title {
    margin: 0;
    flex-shrink: 0;
}

.dist-team-preview-card .dist-team-tabs {
    flex: 1;
    justify-content: flex-end;
    gap: 14px;
    min-width: 0;
}

.dist-team-preview-card .dist-team-tab {
    flex: none;
    padding: 2px 0 6px;
    border-radius: 0;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
    font-family: inherit;
}

.dist-team-preview-card .dist-team-tab.active {
    background: none;
    border-color: transparent;
    border-bottom-color: #ff4f93;
    color: #ff4f93;
}

.dist-team-preview-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dist-team-preview-item {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f1f5;
    text-decoration: none;
    color: inherit;
}

.dist-team-preview-item:last-child {
    border-bottom: none;
}

.dist-team-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.dist-recharge-badge {
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(255, 79, 147, 0.1);
    color: #ff4f93;
    font-size: 10px;
    font-weight: 700;
}

.dist-team-preview-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    white-space: nowrap;
}

.dist-team-contrib {
    font-size: 10px;
    color: #8b90a0;
}

.dist-team-preview-right strong {
    font-size: 14px;
    font-weight: 800;
    color: #ff4f93;
}

.dist-more-link {
    display: block;
    margin-top: 8px;
    padding: 10px 0 2px;
    text-align: center;
    color: #8b90a0;
    font-size: 13px;
    text-decoration: none;
}

.dist-more-link::after {
    content: ' >';
}

.dist-loading-inline,
.dist-empty-inline {
    padding: 16px 0;
    text-align: center;
    font-size: 13px;
    color: #8b90a0;
}

.dist-nav-card {
    padding: 14px 8px;
}

.dist-nav-grid {
    display: flex;
    align-items: stretch;
}

.dist-nav-item {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 4px 2px;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    text-decoration: none;
    color: #1f2433;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.dist-footer-tip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 4px 16px;
    color: #a0a5b3;
    font-size: 10px;
    line-height: 1.4;
}

.dist-footer-tip p {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dist-rules-list {
    margin: 0;
    padding-left: 18px;
    color: #5f6472;
    font-size: 13px;
    line-height: 1.65;
}

.dist-rules-list li + li {
    margin-top: 6px;
}

.dist-link-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dist-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 24px rgba(255, 91, 156, 0.08);
    text-decoration: none;
    color: #1f2433;
    font-size: 15px;
    font-weight: 700;
}

.dist-team-tabs {
    display: flex;
    gap: 8px;
}

.dist-team-tab {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: #8b90a0;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.dist-team-tab.active {
    background: linear-gradient(90deg, rgba(255, 107, 157, 0.18), rgba(198, 91, 255, 0.14));
    color: #ff4f93;
    border-color: rgba(255, 107, 157, 0.25);
}

.dist-team-list,
.dist-records-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dist-team-item {
    margin: 0;
    padding: 12px 14px;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 10px;
    align-items: center;
}

.dist-team-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: #f3f4f7;
}

.dist-team-main strong {
    display: block;
    font-size: 15px;
    color: #1f2433;
}

.dist-team-main small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: #8b90a0;
}

.dist-team-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 11px;
    color: #8b90a0;
    white-space: nowrap;
}

.dist-record-item {
    margin: 0;
    padding: 14px 16px;
}

.dist-record-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.dist-record-top strong {
    font-size: 15px;
    color: #1f2433;
}

.dist-record-amount {
    font-size: 16px;
    font-weight: 800;
    color: #ff4f93;
}

.dist-record-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
    font-size: 12px;
    color: #8b90a0;
}

.dist-record-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.dist-status {
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.dist-status-frozen {
    background: rgba(255, 193, 7, 0.15);
    color: #b8860b;
}

.dist-status-ok {
    background: rgba(74, 222, 128, 0.15);
    color: #16a34a;
}

.dist-status-done {
    background: rgba(148, 163, 184, 0.18);
    color: #64748b;
}

.dist-status-invalid {
    background: rgba(248, 113, 113, 0.15);
    color: #dc2626;
}

.dist-record-time {
    font-size: 11px;
    color: #b8bcc8;
}

.dist-load-more {
    width: 100%;
    margin-top: 0;
}

.dist-list-pager {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 4px 0 8px;
}

.dist-list-pager-status {
    margin: 0;
    font-size: 12px;
    color: #a0a5b3;
    text-align: center;
    line-height: 1.4;
}

.dist-list-pager-status.hidden {
    display: none;
}

.dist-list-pager .dist-load-more {
    max-width: 280px;
}

.dist-poster-card {
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
}

.dist-poster-inner {
    padding: 28px 20px 24px;
    text-align: center;
    background: linear-gradient(160deg, #fff0f5 0%, #f0e6ff 45%, #ffe8f3 100%);
}

.dist-poster-brand {
    font-size: 13px;
    font-weight: 800;
    color: #ff4f93;
    letter-spacing: 1px;
}

.dist-poster-inner h2 {
    margin: 10px 0 6px;
    font-size: 20px;
    color: #1f2433;
}

.dist-poster-slogan {
    margin: 0 0 18px;
    font-size: 13px;
    color: #8b90a0;
}

.dist-poster-qr {
    width: 220px;
    height: 220px;
    border-radius: 16px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 8px 24px rgba(255, 91, 156, 0.12);
}

.dist-poster-code {
    margin-top: 16px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ff4f93;
}

.dist-poster-note {
    margin: 10px 0 0;
    font-size: 12px;
    color: #8b90a0;
}

.dist-poster-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dist-poster-tip {
    margin: 0;
    text-align: center;
    font-size: 12px;
    color: #8b90a0;
}

.dist-menu-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(198, 91, 255, 0.12));
}

.dist-menu-icon-wrap .icon {
    width: 22px;
    height: 22px;
    color: #ff4f93;
}

.dist-hero-actions {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dist-withdraw-btn {
    flex-shrink: 0;
    min-width: 88px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    color: #ff4f93;
    background: #fff;
    border: none;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    text-align: center;
}

.dist-pending-tip {
    margin-bottom: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.dist-withdraw-balance {
    margin-bottom: 12px;
}

.dist-withdraw-tip {
    margin: 8px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.dist-verify-tip,
.dist-pending-card {
    margin-bottom: 12px;
    padding: 12px 14px;
    font-size: 13px;
    color: #8b90a0;
}

.dist-verify-tip a {
    color: #ff4f93;
    text-decoration: none;
}

.dist-pending-card {
    color: #e67e22;
    background: #fff8ef;
    border: 1px solid rgba(230, 126, 34, 0.2);
}

.dist-withdraw-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.dist-form-field span {
    font-size: 13px;
    color: #5c6370;
}

.dist-form-field input,
.dist-form-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e8ebf0;
    border-radius: 10px;
    font-size: 15px;
    background: #fff;
}

.dist-fee-preview {
    font-size: 13px;
    color: #8b90a0;
}

.dist-submit-btn {
    width: 100%;
    margin-top: 4px;
}

/* 佣金提现页 */
body.body-app.page-distribution-withdraw {
    background: linear-gradient(180deg, #ffe3f1 0%, #f3e8ff 45%, #eaf3ff 100%);
}

body.body-app.page-distribution-withdraw .profile-edit-header,
body.body-app.page-distribution-withdraw .page {
    background: transparent;
}

body.body-app.page-distribution-withdraw .distribution-body {
    padding: 0 14px 16px;
    gap: 10px;
}

body.body-app.page-distribution-withdraw .profile-card.dist-withdraw-form {
    padding: 12px 13px 11px;
    border-radius: 18px;
}

body.body-app.page-distribution-withdraw .profile-card {
    margin: 0;
    padding: 14px 14px 12px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 245, 252, 0.88), rgba(246, 239, 255, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 32px rgba(180, 110, 200, 0.12);
}

.dist-withdraw-balance {
    margin-bottom: 0;
    padding: 14px 14px 11px;
    border-radius: 18px;
    background-color: #ff6b9d;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    color: #fff;
    box-shadow: 0 10px 26px rgba(255, 107, 157, 0.22);
    overflow: hidden;
}

.dist-withdraw-hero-label-row {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dist-withdraw-balance .dist-hero-label {
    font-size: 12px;
    opacity: 0.92;
}

.dist-withdraw-info-icon {
    width: 14px;
    height: 14px;
    opacity: 0.85;
}

.dist-withdraw-info-icon svg {
    width: 14px;
    height: 14px;
}

.dist-withdraw-balance .dist-hero-amount {
    margin-top: 4px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.4px;
}

.dist-withdraw-tips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 6px;
}

.dist-withdraw-tip-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.15;
}

.dist-withdraw-tip-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.dist-withdraw-section-title {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 6px;
    font-size: 14px;
}

.dist-withdraw-section-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

body.body-app.page-distribution-withdraw .dist-withdraw-form {
    gap: 7px;
}

body.body-app.page-distribution-withdraw .dist-form-field {
    gap: 3px;
}

body.body-app.page-distribution-withdraw .dist-form-field span {
    font-size: 11px;
}

body.body-app.page-distribution-withdraw .dist-withdraw-form .dist-form-field input {
    padding: 8px 11px;
    border-radius: 9px;
    font-size: 13px;
}

body.body-app.page-distribution-withdraw .dist-input-wrap {
    gap: 7px;
    padding: 0 10px;
    border-radius: 9px;
}

body.body-app.page-distribution-withdraw .dist-input-wrap input {
    padding: 8px 0 !important;
    font-size: 13px;
}

body.body-app.page-distribution-withdraw .dist-withdraw-account-trigger {
    gap: 7px;
    padding: 8px 11px;
    border-radius: 9px;
    font-size: 13px;
}

body.body-app.page-distribution-withdraw .dist-input-wrap .dist-input-icon {
    width: 16px;
    height: 16px;
}

body.body-app.page-distribution-withdraw .dist-withdraw-account-icon {
    width: 20px;
    height: 20px;
}

body.body-app.page-distribution-withdraw .dist-fee-preview {
    margin-top: 1px;
    padding: 8px 11px;
    border-radius: 9px;
}

body.body-app.page-distribution-withdraw .dist-fee-preview-left {
    gap: 4px;
    font-size: 11px;
}

body.body-app.page-distribution-withdraw .dist-fee-preview-icon {
    width: 14px;
    height: 14px;
}

body.body-app.page-distribution-withdraw .dist-fee-preview-amount {
    font-size: 14px;
}

.dist-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    border: 1px solid #ececf3;
    border-radius: 10px;
    background: #fff;
}

.dist-input-wrap .dist-input-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.72;
}

.dist-input-wrap input {
    flex: 1;
    min-width: 0;
    border: none !important;
    padding: 9px 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 14px;
}

.dist-withdraw-account-picker {
    position: relative;
}

.dist-withdraw-account-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid #ececf3;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #1f2433;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
}

.dist-withdraw-account-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.dist-withdraw-account-label {
    flex: 1;
    min-width: 0;
}

.dist-withdraw-account-arrow {
    display: flex;
    align-items: center;
    color: #b8bcc8;
    flex-shrink: 0;
}

.dist-withdraw-account-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #ececf3;
    box-shadow: 0 10px 28px rgba(180, 110, 200, 0.14);
}

.dist-withdraw-account-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-radius: 8px;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: #1f2433;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
}

.dist-withdraw-account-option.active,
.dist-withdraw-account-option:hover {
    background: rgba(255, 244, 250, 0.95);
}

.dist-withdraw-account-option-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.dist-fee-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 2px;
    padding: 9px 12px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(246, 239, 255, 0.95), rgba(238, 245, 255, 0.9));
    border: 1px solid rgba(139, 92, 255, 0.08);
}

.dist-fee-preview-left {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #8b90a0;
}

.dist-fee-preview-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.dist-fee-preview-amount {
    font-size: 15px;
    font-weight: 800;
    color: #8b5cff;
    white-space: nowrap;
}

body.body-app.page-distribution-withdraw .dist-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0;
    padding: 14px 20px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff6b9d 0%, #c65bff 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(255, 79, 154, 0.25);
}

.dist-submit-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.dist-withdraw-records-link {
    padding: 14px 14px;
}

body.body-app.page-distribution-withdraw .dist-withdraw-records-wrap {
    margin: 0;
}

.dist-withdraw-records-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.dist-withdraw-records-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.dist-withdraw-records-text {
    min-width: 0;
}

.dist-withdraw-records-text strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #1f2433;
    line-height: 1.25;
}

.dist-withdraw-records-text small {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    font-weight: 400;
    color: #9ca0ae;
    line-height: 1.3;
}

.dist-record-remark {
    margin: 6px 0 0;
    font-size: 12px;
    color: #e67e22;
}

/* 收益明细页 */
body.body-app.page-distribution-records {
    background: #faf6fc;
}

body.body-app.page-distribution-records .distribution-body {
    padding: 0 14px 16px;
    gap: 8px;
}

.distribution-records-body {
    gap: 8px;
}

body.body-app.page-distribution-records .dist-records-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
}

body.body-app.page-distribution-records .dist-records-list:has(.dist-record-item) {
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(255, 107, 157, 0.06);
    overflow: hidden;
}

body.body-app.page-distribution-records .dist-record-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 11px 12px;
    border: none;
    border-bottom: 1px solid #f3f4f6;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.body-app.page-distribution-records .dist-record-item:last-child {
    border-bottom: none;
}

.dist-records-loading,
.dist-records-empty {
    margin: 0;
    padding: 32px 16px;
    text-align: center;
    color: #8b90a0;
    font-size: 14px;
}

.dist-records-rules-link {
    font-size: 11px;
}

.dist-records-hero {
    margin: 0;
    padding: 22px 14px 18px;
    border-radius: 18px;
    background-color: #ff6b9d;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    color: #fff;
    box-shadow: 0 12px 28px rgba(255, 107, 157, 0.22);
    overflow: hidden;
}

.dist-records-hero-grid {
    display: flex;
    align-items: stretch;
}

.dist-records-hero-stat {
    flex: 1;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 0 4px;
    text-decoration: none;
    color: #fff;
}

.dist-records-hero-stat:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8%;
    bottom: 8%;
    width: 1px;
    background: rgba(255, 255, 255, 0.28);
}

.dist-records-hero-stat span {
    font-size: 11px;
    opacity: 0.92;
    white-space: nowrap;
}

.dist-records-hero-stat strong {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.dist-records-hero-link strong {
    font-size: 15px;
}

.dist-records-tabs {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.dist-records-tabs::-webkit-scrollbar {
    display: none;
}

.dist-records-tab {
    flex: none;
    padding: 10px 12px 8px;
    border: none;
    background: none;
    color: #8b90a0;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.dist-records-tab.active {
    color: #1f2433;
    font-weight: 800;
    border-bottom-color: #ff4f93;
}

.dist-records-filter-bar {
    display: flex;
    align-items: center;
    padding: 6px 2px 4px;
}

.dist-records-month-picker {
    position: relative;
}

.dist-records-month-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    border: none;
    background: none;
    color: #666;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
}

.dist-records-month-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.72;
}

.dist-records-month-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    line-height: 1;
}

.dist-records-month-arrow {
    width: 0;
    height: 0;
    margin-top: 2px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #999;
}

.dist-records-month-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 30;
    width: 260px;
    padding: 12px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.dist-records-month-panel.hidden {
    display: none;
}

.dist-records-month-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.dist-records-month-panel-year {
    font-size: 15px;
    font-weight: 700;
    color: #1f2433;
}

.dist-records-month-nav {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 8px;
    background: #f5f6fa;
    color: #666;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.dist-records-month-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.dist-records-month-item {
    padding: 8px 0;
    border: none;
    border-radius: 10px;
    background: #f7f8fa;
    color: #666;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
}

.dist-records-month-item.active {
    background: rgba(255, 79, 147, 0.12);
    color: #ff4f93;
    font-weight: 700;
}

body.body-app.page-distribution-records .dist-record-avatar-wrap {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f4f7;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

body.body-app.page-distribution-records .dist-record-avatar-wrap.is-level-1 {
    background: #fff0f6;
    box-shadow: inset 0 0 0 1px rgba(255, 107, 157, 0.12);
}

body.body-app.page-distribution-records .dist-record-avatar-wrap.is-level-2 {
    background: #f5f0ff;
    box-shadow: inset 0 0 0 1px rgba(155, 89, 245, 0.12);
}

body.body-app.page-distribution-records .dist-record-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: none;
    background: transparent;
}

body.body-app.page-distribution-records .dist-record-body {
    flex: 1;
    min-width: 0;
}

body.body-app.page-distribution-records .dist-record-type {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
}

body.body-app.page-distribution-records .dist-record-from {
    margin-top: 3px;
    font-size: 12px;
    color: #777;
    line-height: 1.3;
}

body.body-app.page-distribution-records .dist-record-detail {
    margin-top: 2px;
    font-size: 11px;
    color: #aaa;
    line-height: 1.3;
}

body.body-app.page-distribution-records .dist-record-side {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    min-width: 82px;
    padding-left: 4px;
    text-align: right;
}

body.body-app.page-distribution-records .dist-record-amount {
    font-size: 16px;
    font-weight: 700;
    color: #ff4d79;
    line-height: 1.15;
    white-space: nowrap;
    letter-spacing: -0.2px;
}

body.body-app.page-distribution-records .dist-record-status-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1px;
    min-height: 18px;
}

body.body-app.page-distribution-records .dist-record-status {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.45;
    white-space: nowrap;
}

body.body-app.page-distribution-records .dist-record-status.is-frozen {
    background: #fff7e6;
    color: #fa8c16;
}

body.body-app.page-distribution-records .dist-record-status.is-settled {
    background: #f0fae8;
    color: #52c41a;
}

body.body-app.page-distribution-records .dist-record-status.is-invalid {
    background: #fff0f0;
    color: #ff4d4f;
}

body.body-app.page-distribution-records .dist-record-status.is-done {
    background: #f5f5f5;
    color: #8c8c8c;
}

body.body-app.page-distribution-records .dist-record-time {
    font-size: 10px;
    color: #c0c4cc;
    line-height: 1.2;
    white-space: nowrap;
}

body.body-app.page-distribution-records .dist-record-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #d8dce3;
    margin-left: 1px;
}

body.body-app.page-distribution-records .dist-record-arrow svg {
    width: 12px;
    height: 12px;
}

.dist-records-footer-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px 20px;
    color: #b8bcc8;
    font-size: 11px;
}

/* 我的团队页 */
body.body-app.page-distribution-team {
    background: #faf6fc;
}

body.body-app.page-distribution-team .distribution-body {
    padding: 0 14px 16px;
    gap: 10px;
}

.dist-team-body {
    margin-top: -4px;
}

.dist-team-summary-card {
    margin: 0;
    padding: 16px 10px;
    border-radius: 18px;
    background-color: #faf6fc;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 10px 28px rgba(255, 107, 157, 0.1);
    overflow: hidden;
}

.dist-team-summary-loading,
.dist-team-list-loading,
.dist-team-list-empty {
    margin: 0;
    padding: 24px 12px;
    text-align: center;
    color: #8b90a0;
    font-size: 14px;
}

.dist-team-summary-grid {
    display: flex;
    align-items: stretch;
}

.dist-team-summary-stat {
    flex: 1;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 0 4px;
}

.dist-team-summary-stat:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: rgba(0, 0, 0, 0.06);
}

.dist-team-summary-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.dist-team-summary-label {
    font-size: 11px;
    color: #8b90a0;
    white-space: nowrap;
}

.dist-team-summary-value {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    color: #1f2433;
}

.dist-team-summary-stat.is-level-1 .dist-team-summary-value {
    color: #ff4f93;
}

.dist-team-summary-stat.is-level-2 .dist-team-summary-value {
    color: #9b59f5;
}

.dist-team-summary-stat.is-recharge .dist-team-summary-value {
    color: #fa8c16;
}

.dist-team-summary-stat.is-contrib .dist-team-summary-value {
    color: #4f8cff;
}

.dist-team-page-tabs {
    gap: 0;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 107, 157, 0.08);
    box-shadow: 0 2px 12px rgba(255, 107, 157, 0.06);
}

.dist-team-page-tabs .dist-team-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 10px 12px;
    border-radius: 999px;
    background: transparent;
    border: none;
    box-shadow: none;
    color: #5c6070;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.dist-team-page-tabs .dist-team-tab-icon {
    display: none;
}

.dist-team-page-tabs .dist-team-tab.active {
    background: linear-gradient(90deg, #ff6b9d 0%, #c65bff 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 107, 157, 0.24);
}

.dist-team-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 2px 2px 0;
}

.dist-team-list-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #1f2433;
}

.dist-team-sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 107, 157, 0.15);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #8b90a0;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.dist-team-sort-btn.active {
    background: rgba(255, 244, 250, 0.95);
    border-color: rgba(255, 79, 147, 0.28);
    color: #ff4f93;
}

.dist-team-sort-icon {
    width: 12px;
    height: 12px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16M7 12h10M10 18h4'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16M7 12h10M10 18h4'/%3E%3C/svg%3E") center / contain no-repeat;
    opacity: 0.85;
}

.dist-team-list-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(255, 107, 157, 0.06);
    overflow: hidden;
}

.dist-team-member-item {
    display: grid;
    grid-template-columns: 48px 1fr auto 16px;
    gap: 10px;
    align-items: center;
    padding: 12px 12px 12px 14px;
    border-bottom: 1px solid #f3f4f6;
}

.dist-team-member-item:last-child {
    border-bottom: none;
}

.dist-team-avatar-wrap {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.dist-team-crown {
    position: absolute;
    top: -8px;
    left: -6px;
    width: 22px;
    height: 22px;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
}

.dist-team-member-item .dist-team-avatar {
    width: 44px;
    height: 44px;
}

.dist-team-member-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    padding-left: 8px;
    border-left: 1px solid #f0f1f5;
    font-size: 11px;
    color: #8b90a0;
    white-space: nowrap;
}

.dist-team-member-side .is-contrib {
    color: #ff4f93;
    font-weight: 700;
}

.dist-team-member-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d8dce3;
}

.dist-team-member-arrow .icon svg {
    width: 12px;
    height: 12px;
}

.dist-team-privacy {
    display: grid;
    grid-template-columns: 28px 1fr 72px;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    padding: 12px 12px 12px 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 22px rgba(155, 89, 245, 0.08);
}

.dist-team-privacy-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.dist-team-privacy-text {
    margin: 0;
    font-size: 11px;
    line-height: 1.45;
    color: #8b90a0;
}

.dist-team-privacy-art {
    width: 68px;
    height: auto;
    object-fit: contain;
    justify-self: end;
}

.dist-team-back-top {
    position: fixed;
    right: 16px;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    z-index: 120;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #ff4f93;
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.24);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    pointer-events: none;
}

.dist-team-back-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dist-team-back-top:active {
    transform: translateY(0) scale(0.94);
}

.dist-team-back-top .icon svg {
    width: 22px;
    height: 22px;
}

/* 提现记录页 */
body.body-app.page-distribution-withdraw-records {
    background: linear-gradient(180deg, #ffe3f1 0%, #f3e8ff 45%, #eaf3ff 100%);
}

body.body-app.page-distribution-withdraw-records .profile-edit-header,
body.body-app.page-distribution-withdraw-records .page {
    background: transparent;
}

body.body-app.page-distribution-withdraw-records .distribution-body {
    padding: 0 14px 16px;
    gap: 10px;
}

.dist-withdraw-records-body {
    gap: 10px;
}

.dist-withdraw-stats-wrap {
    margin: 0;
}

.dist-withdraw-stats-loading,
.dist-withdraw-list-loading,
.dist-withdraw-list-empty {
    margin: 0;
    padding: 24px 12px;
    text-align: center;
    color: #8b90a0;
    font-size: 14px;
}

.dist-withdraw-stats-card {
    margin: 0;
    padding: 16px 10px 14px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 245, 252, 0.88), rgba(246, 239, 255, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 32px rgba(180, 110, 200, 0.12);
}

.dist-withdraw-stats-grid {
    display: flex;
    align-items: stretch;
}

.dist-withdraw-stats-item {
    flex: 1;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 0 4px;
}

.dist-withdraw-stats-item:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12%;
    bottom: 12%;
    width: 1px;
    background: rgba(0, 0, 0, 0.06);
}

.dist-withdraw-stats-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.dist-withdraw-stats-value {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}

.dist-withdraw-stats-item.is-total .dist-withdraw-stats-value {
    color: #ff4f9a;
}

.dist-withdraw-stats-item.is-processing .dist-withdraw-stats-value {
    color: #f59e0b;
}

.dist-withdraw-stats-item.is-received .dist-withdraw-stats-value {
    color: #22c55e;
}

.dist-withdraw-stats-label {
    font-size: 11px;
    color: #5c6070;
    font-weight: 600;
}

.dist-withdraw-stats-sub {
    font-size: 10px;
    color: #9ca0ae;
    line-height: 1.2;
}

.dist-withdraw-tabs {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 8px 6px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 18px rgba(180, 110, 200, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.dist-withdraw-tabs::-webkit-scrollbar {
    display: none;
}

.dist-withdraw-tab {
    flex: 1 0 auto;
    min-width: 52px;
    padding: 8px 10px 12px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #8a8fa3;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    transition: color 0.15s ease;
}

.dist-withdraw-tab.active {
    background: transparent;
    box-shadow: none;
    color: #ff4f9a;
    font-weight: 800;
}

.dist-withdraw-tab.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff6b9d, #c65bff);
}

.dist-withdraw-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dist-withdraw-item {
    padding: 14px 14px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 24px rgba(180, 110, 200, 0.08);
}

.dist-withdraw-item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.dist-withdraw-item-main {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.dist-withdraw-item-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.dist-withdraw-item-info {
    min-width: 0;
    flex: 1;
}

.dist-withdraw-item-info strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #1f2433;
    line-height: 1.25;
}

.dist-withdraw-order-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    min-width: 0;
}

.dist-withdraw-order-no {
    font-size: 11px;
    color: #9ca0ae;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dist-withdraw-copy-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: rgba(255, 244, 250, 0.9);
    color: #ff4f93;
    cursor: pointer;
}

.dist-withdraw-copy-btn .icon svg {
    width: 12px;
    height: 12px;
}

.dist-withdraw-item-amount {
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 800;
    color: #ff4f9a;
    line-height: 1.1;
    white-space: nowrap;
}

.dist-withdraw-item-meta {
    margin-top: 10px;
    font-size: 12px;
    color: #8b90a0;
    line-height: 1.35;
}

.dist-withdraw-item-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.dist-withdraw-item-pills span {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f5f6fa;
    font-size: 11px;
    color: #8b90a0;
    line-height: 1.2;
}

.dist-withdraw-item-remark {
    margin: 8px 0 0;
    font-size: 11px;
    color: #b8bcc8;
    line-height: 1.4;
}

.dist-withdraw-item-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #f3f4f6;
}

.dist-withdraw-status {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
}

.dist-withdraw-status.is-pending {
    background: #fff7e6;
    color: #f59e0b;
}

.dist-withdraw-status.is-passed {
    background: #eef5ff;
    color: #8b5cff;
}

.dist-withdraw-status.is-paid {
    background: #f0fae8;
    color: #22c55e;
}

.dist-withdraw-status.is-rejected {
    background: #fff0f0;
    color: #ef4444;
}

.dist-withdraw-item-time {
    margin-left: auto;
    font-size: 11px;
    color: #b8bcc8;
    white-space: nowrap;
}

.dist-withdraw-item-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d8dce3;
    flex-shrink: 0;
}

.dist-withdraw-item-arrow .icon svg {
    width: 12px;
    height: 12px;
}

body.body-app.page-distribution-withdraw-records .dist-list-pager-status {
    color: #b8bcc8;
    font-size: 11px;
}

@media (max-width: 380px) {
    .dist-hero-stat-text span {
        font-size: 9px;
    }

    .dist-hero-stat-text strong {
        font-size: 11px;
    }

    .dist-stats-card .dist-stat-item strong {
        font-size: 14px;
    }

    .dist-stats-card .dist-stat-item span {
        font-size: 9px;
    }

    .dist-stats-card .dist-icon-stat-top {
        width: 24px;
        height: 24px;
    }

    .dist-stats-card .dist-stat-item {
        padding: 6px 2px 7px;
    }

    .dist-stat-item strong {
        font-size: 14px;
    }

    .dist-stat-item span {
        font-size: 9px;
    }

    .dist-nav-item {
        font-size: 10px;
    }

    .dist-footer-tip {
        font-size: 9px;
    }

    .dist-team-preview-card .dist-team-tab {
        font-size: 11px;
    }

    .dist-invite-actions {
        grid-template-columns: 1fr;
    }

    .dist-records-hero-stat strong {
        font-size: 13px;
    }

    .dist-records-hero-stat span {
        font-size: 10px;
    }

    .dist-records-tab {
        font-size: 12px;
        padding: 8px 8px 6px;
    }

    body.body-app.page-distribution-records .dist-record-item {
        padding: 10px 10px;
        gap: 8px;
    }

    body.body-app.page-distribution-records .dist-record-avatar-wrap {
        width: 36px;
        height: 36px;
    }

    body.body-app.page-distribution-records .dist-record-type {
        font-size: 13px;
    }

    body.body-app.page-distribution-records .dist-record-amount {
        font-size: 15px;
    }

    body.body-app.page-distribution-records .dist-record-side {
        min-width: 72px;
    }

    .dist-withdraw-stats-value {
        font-size: 14px;
    }

    .dist-withdraw-item-amount {
        font-size: 16px;
    }

    .dist-withdraw-item-icon {
        width: 36px;
        height: 36px;
    }
}
