@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));
    --float-tab-rise: calc(12px + 68px + 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: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    min-height: 68px;
    height: auto;
    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 4px 4px;
}

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

.tab-float-label {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
    padding: 0 2px;
}

/* 5 个及以上 Tab 时略缩小，保证单行显示 */
.tab-bar-float:has(.tab-float-item:nth-child(5)) {
    padding: 5px 2px 3px;
}

.tab-bar-float:has(.tab-float-item:nth-child(5)) .tab-float-item {
    font-size: 9px;
}

.tab-bar-float:has(.tab-float-item:nth-child(5)) .icon-tab-float {
    width: 20px;
    height: 20px;
}

.tab-bar-float:has(.tab-float-item:nth-child(6)) .tab-float-item {
    font-size: 8px;
}

.tab-bar-float:has(.tab-float-item:nth-child(6)) .icon-tab-float {
    width: 18px;
    height: 18px;
}

.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 {
    position: fixed;
    bottom: 0;
    z-index: 100;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    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: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 18px rgba(255, 91, 156, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.body-app .mine-wallet-body {
    position: relative;
    min-height: 82px;
    padding: 0;
    margin: 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-membership-row {
    position: relative;
    min-height: 76px;
    padding: 0;
    margin: 0;
    background: transparent;
    border-top: none;
    overflow: hidden;
}

body.body-app .mine-membership-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    min-height: 76px;
}

body.body-app .mine-membership-link {
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

body.body-app .mine-membership-icon,
body.body-app .mine-membership-main,
body.body-app .mine-membership-btn {
    position: relative;
    z-index: 1;
}

body.body-app .mine-membership-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background: rgba(255, 107, 157, 0.32);
    z-index: 2;
    pointer-events: none;
}

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

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

body.body-app .mine-wallet-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

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

body.body-app .mine-menu-card {
    padding: 10px 0 4px;
    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-grid-card {
    padding: 8px 10px 6px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 6px 18px rgba(255, 91, 156, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.body-app .mine-grid-title {
    padding: 0 2px 6px;
    font-size: 13px;
    font-weight: 700;
    color: #5c6478;
    letter-spacing: 0.02em;
}

body.body-app .mine-grid {
    gap: 0;
}

body.body-app .mine-grid-item {
    gap: 4px;
    padding: 2px 8px 0;
    position: relative;
}

body.body-app .mine-grid-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 0;
    bottom: 4px;
    width: 1px;
    background: rgba(255, 107, 157, 0.12);
}

body.body-app .mine-grid-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 107, 157, 0.06);
}

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

body.body-app .mine-grid-label {
    font-size: 11px;
    font-weight: 500;
    color: #4a5162;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.body-app .mine-grid-item:active {
    opacity: 0.72;
}

body.body-app .mine-wallet-card + .mine-grid-card {
    margin-top: -4px;
}

body.body-app .mine-grid-card + .mine-menu-card {
    margin-top: 0;
}

body.body-app .mine-menu-item {
    padding: 11px 18px;
    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: 40px;
    height: 40px;
    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: 8px 14px;
    font-size: 13px;
}

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,
body.body-app.page-pay-contact .pay-submit-btn {
    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 {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f5;
}

.profile-basic-card .profile-score-panel {
    margin-top: 0;
}

.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;
    background: transparent;
}

.mine-wallet-body {
    position: relative;
    min-height: 82px;
    padding: 0;
    margin: 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: 14px 16px;
    min-height: 82px;
}

.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 {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

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

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

.mine-wallet-amount {
    margin-top: 2px;
    font-size: 26px;
    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: 8px 14px;
    border-radius: 999px;
    background: var(--gradient-brand);
    color: #fff;
    font-size: 13px;
    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: 10px 0 4px;
}

.mine-grid-card {
    padding: 8px 10px 6px;
}

.mine-grid-title,
.mine-menu-title {
    padding: 0 18px 6px;
    font-size: 14px;
    font-weight: 800;
    color: #1f2433;
}

body.body-app .mine-menu-title {
    padding: 0 18px 5px;
    font-size: 13px;
    font-weight: 700;
    color: #5c6478;
    letter-spacing: 0.02em;
}

.mine-grid-title {
    padding: 0 2px 6px;
    font-size: 13px;
    font-weight: 700;
    color: #5c6478;
}

.mine-grid {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.mine-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
    padding: 2px 8px 0;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.mine-grid-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 0;
    bottom: 4px;
    width: 1px;
    background: rgba(255, 107, 157, 0.12);
}

.mine-grid-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: rgba(255, 107, 157, 0.06);
}

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

.mine-grid-icon.dist-menu-icon-wrap {
    color: #ff6b9d;
}

.mine-grid-icon.dist-menu-icon-wrap .icon {
    width: 18px;
    height: 18px;
}

.mine-grid-label {
    font-size: 11px;
    font-weight: 500;
    color: #4a5162;
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.mine-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 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: 40px;
    height: 40px;
    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-empty {
    margin: 0;
    padding: 20px 16px;
    text-align: center;
    font-size: 14px;
    color: #aaa;
}

.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);
}

body.body-app .confirm-dialog {
    padding: 18px 18px 16px;
    border-radius: 20px;
}

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

body.body-app .confirm-title {
    font-size: 17px;
    margin-bottom: 6px;
}

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

body.body-app .confirm-message {
    margin-bottom: 16px;
    line-height: 1.45;
}

.confirm-dialog.check-in-rules-dialog .confirm-message {
    text-align: left;
    white-space: normal;
}

.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;
}

body.body-app .confirm-actions .btn {
    padding: 10px 14px;
    font-size: 14px;
}

.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: 72px;
}

.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;
}

.profile-form-label .profile-label-required-mark {
    color: #e53935;
    font-weight: 700;
    font-size: 14px;
    margin: 0 1px;
}

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

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

.profile-form-label .profile-label-tags-hint {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 12px;
    margin-left: 6px;
}

.profile-form-label .profile-label-current-age {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 12px;
    margin-left: 6px;
}

.profile-form-label .profile-label-current-age.is-invalid {
    color: #e53935;
}

.profile-birthday-row {
    display: grid;
    grid-template-columns: 1.35fr 0.82fr 0.82fr;
    gap: 8px;
}

.profile-birthday-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 10px 28px 10px 10px;
    border: 1px solid #ececf3;
    border-radius: 12px;
    background: #fff;
    font-family: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    box-sizing: border-box;
}

.profile-birthday-trigger::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    width: 0;
    height: 0;
    margin-top: -2px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #8b90a0;
    pointer-events: none;
}

.profile-birthday-trigger-value {
    font-size: 15px;
    font-weight: 600;
    color: #1f2433;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-birthday-trigger-value.is-placeholder {
    color: #888;
    font-weight: 600;
}

.profile-birthday-trigger:active,
.profile-birthday-trigger:focus-visible {
    border-color: rgba(255, 79, 147, 0.35);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 79, 147, 0.12);
}

.profile-zodiac-hint {
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-muted);
}

.profile-birthday-sheet {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.profile-birthday-sheet.hidden {
    display: none;
}

.profile-birthday-sheet-mask {
    position: absolute;
    inset: 0;
    background: rgba(15, 18, 28, 0.45);
}

.profile-birthday-sheet-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    max-height: min(72vh, 520px);
    background: #fff;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -8px 32px rgba(31, 36, 51, 0.12);
    display: flex;
    flex-direction: column;
    animation: profileBirthdaySheetUp 0.24s ease;
}

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

.profile-birthday-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f1f5;
    flex-shrink: 0;
}

.profile-birthday-sheet-title {
    font-size: 15px;
    font-weight: 700;
    color: #1f2433;
}

.profile-birthday-sheet-btn {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 4px;
    cursor: pointer;
}

.profile-birthday-sheet-cancel {
    color: #8b90a0;
}

.profile-birthday-sheet-confirm {
    color: #ff4f93;
}

.profile-birthday-sheet-body {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
}

.profile-birthday-sheet-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-birthday-sheet-item {
    width: 100%;
    border: none;
    border-radius: 12px;
    background: #f7f8fc;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: #1f2433;
    text-align: center;
    cursor: pointer;
}

.profile-birthday-sheet-item.active {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.14), rgba(124, 92, 255, 0.1));
    color: #ff4f93;
}

.profile-birthday-sheet-grid {
    display: grid;
    gap: 8px;
}

.profile-birthday-sheet-grid-month {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-birthday-sheet-grid-day {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.profile-birthday-sheet-cell {
    border: none;
    border-radius: 12px;
    background: #f7f8fc;
    min-height: 44px;
    padding: 8px 4px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #1f2433;
    cursor: pointer;
}

.profile-birthday-sheet-cell.active {
    background: linear-gradient(135deg, #ff6b9d, #7c5cff);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 79, 147, 0.28);
}

body.profile-birthday-sheet-open {
    overflow: hidden;
}

.page-profile-edit .profile-birthday-row {
    width: 100%;
    gap: 6px;
}

body.body-app.page-profile-edit .profile-birthday-field .profile-birthday-trigger {
    padding: 10px 24px 10px 8px;
    border-radius: 12px;
}

body.body-app.page-profile-edit .profile-birthday-field .profile-birthday-trigger-value {
    font-size: 14px;
}

body.body-app.page-profile-edit .profile-birthday-field #birthMonthTrigger .profile-birthday-trigger-value,
body.body-app.page-profile-edit .profile-birthday-field #birthDayTrigger .profile-birthday-trigger-value {
    font-size: 13px;
}

body.body-app.page-profile .profile-birthday-trigger {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #ececf3;
    border-radius: 14px;
    box-shadow: inset 0 1px 2px rgba(31, 36, 51, 0.04);
}

body.body-app.page-profile .profile-birthday-trigger-value.is-placeholder {
    color: #888;
}

.profile-region-picker {
    position: relative;
    width: 100%;
}

.profile-region-native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.profile-region-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 10px 36px 10px 12px;
    border: 1px solid #ececf3;
    border-radius: 12px;
    background: #fff;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    box-sizing: border-box;
}

.profile-region-trigger::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    width: 0;
    height: 0;
    margin-top: -2px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #8b90a0;
    pointer-events: none;
}

.profile-region-trigger-value {
    display: block;
    width: 100%;
    font-size: 15px;
    font-weight: 600;
    color: #1f2433;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-region-trigger-value.is-placeholder {
    color: #888;
}

.profile-region-trigger:active:not(:disabled),
.profile-region-trigger:focus-visible:not(:disabled) {
    border-color: rgba(255, 79, 147, 0.35);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 79, 147, 0.12);
}

.profile-region-trigger:disabled,
.profile-region-trigger.is-disabled {
    cursor: not-allowed;
    background: #f7f8fc;
    border-color: #ececf3;
}

.profile-region-trigger:disabled .profile-region-trigger-value,
.profile-region-trigger.is-disabled .profile-region-trigger-value {
    color: #b8bcc8;
}

body.body-app.page-profile .profile-region-row {
    gap: 10px;
}

body.body-app.page-profile .profile-region-row .form-group {
    min-width: 0;
    margin-bottom: 0;
}

body.body-app.page-profile .profile-region-trigger {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #ececf3;
    border-radius: 14px;
    box-shadow: inset 0 1px 2px rgba(31, 36, 51, 0.04);
}

body.body-app.page-profile-edit .profile-region-row .form-group {
    min-width: 0;
}

body.body-app.page-profile-edit .profile-region-trigger {
    background: #fafbff;
    border: 1px solid #ececf3;
    border-radius: 12px;
}

.profile-region-sheet-search {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px 12px;
    border: 1px solid #ececf3;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: #1f2433;
    background: #fafbff;
    outline: none;
}

.profile-region-sheet-search:focus {
    border-color: rgba(255, 107, 157, 0.35);
    box-shadow: 0 0 0 3px rgba(255, 79, 147, 0.12);
}

.profile-region-sheet-empty {
    padding: 24px 12px;
    text-align: center;
    font-size: 14px;
    color: #8b90a0;
}

#profileRegionSheet .profile-birthday-sheet-panel {
    display: flex;
    flex-direction: column;
    max-height: min(72vh, 520px);
    transition: transform 0.2s ease, max-height 0.2s ease;
    will-change: transform, max-height;
}

#profileRegionSheet .profile-birthday-sheet-body.profile-birthday-sheet-list-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    padding: 12px 16px 16px;
}

#profileRegionSheet .profile-region-sheet-search {
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 1;
    background: #fff;
}

#profileRegionSheet #profileRegionSheetList {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#profileRegionSheet.profile-region-sheet-keyboard .profile-birthday-sheet-panel {
    border-radius: 18px 18px 0 0;
}

.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: 0;
    font-size: 13px;
    color: var(--text-muted);
}

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

.profile-photo-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.profile-photo-toolbar .profile-photo-count-hint {
    flex: 1;
    min-width: 0;
}

.profile-photo-sort-toggle {
    flex-shrink: 0;
    border: 1px solid var(--primary);
    color: var(--primary);
    background: rgba(255, 107, 157, 0.06);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
}

.profile-photo-sort-toggle.is-active {
    background: var(--primary);
    color: #fff;
}

.profile-photo-sort-active-hint {
    margin: -4px 0 12px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--primary);
    background: rgba(255, 107, 157, 0.08);
    text-align: center;
}

.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-sort-index,
.profile-photo-cell .photo-sort-handle,
.profile-photo-cell .photo-sort-arrows {
    display: none;
}

.is-photo-sort-mode .profile-photo-cell[data-photo-id] .photo-sort-index,
.is-photo-sort-mode .profile-photo-cell[data-photo-id] .photo-sort-handle,
.is-photo-sort-mode .profile-photo-cell[data-photo-id] .photo-sort-arrows {
    display: flex;
}

.is-photo-sort-mode .profile-photo-cell .photo-del {
    display: none;
}

.is-photo-sort-mode .profile-photo-cell img {
    pointer-events: none;
    -webkit-touch-callout: none;
    user-select: none;
    -webkit-user-select: none;
}

.is-photo-sort-mode .profile-photo-add {
    opacity: 0.45;
    pointer-events: none;
}

.photo-sort-index {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.photo-sort-handle {
    position: absolute;
    left: 6px;
    bottom: 6px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    padding: 0;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    cursor: grab;
    touch-action: none;
}

.photo-sort-handle .icon {
    width: 18px;
    height: 18px;
}

.photo-sort-handle:active {
    cursor: grabbing;
}

.photo-sort-arrows {
    position: absolute;
    right: 6px;
    bottom: 6px;
    z-index: 2;
    flex-direction: column;
    gap: 4px;
}

.photo-sort-move {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 8px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
}

.photo-sort-move:disabled {
    opacity: 0.35;
}

.photo-sort-move .icon {
    width: 16px;
    height: 16px;
}

.profile-photo-cell.is-photo-dragging {
    z-index: 5;
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    touch-action: none;
}

body.is-photo-sorting {
    user-select: none;
    -webkit-user-select: none;
}

body.is-photo-sorting .profile-photo-grid {
    touch-action: none;
}

.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-photo-add.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.profile-photo-cell-uploading {
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
}

.profile-photo-cell-uploading .profile-photo-upload-preview {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    filter: brightness(0.72);
}

.profile-photo-upload-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 8px;
    padding: 10px 8px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.18) 58%, transparent 100%);
}

.profile-photo-upload-bar {
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    overflow: hidden;
}

.profile-photo-upload-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #a78bfa 0%, #7c5cff 100%);
    transition: width 0.15s ease;
}

.profile-photo-upload-text {
    margin: 0;
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.profile-photo-cell-uploading.is-upload-error .profile-photo-upload-bar span {
    background: #ef4444;
}

.profile-photo-cell-uploading.is-upload-error .profile-photo-upload-text {
    color: #fecaca;
}

.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-edit-section-title .profile-photo-sort-toggle {
    margin-left: auto;
    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.gender-locked,
.page-profile-edit .profile-gender-age-row .profile-zodiac-readonly {
    border: 1px solid #ececf3;
    border-radius: 12px;
    background: #f3f4f7;
    font-size: 15px;
    font-weight: 600;
    color: #8b90a0;
    box-sizing: border-box;
    margin: 0;
    -webkit-tap-highlight-color: transparent;
}

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

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

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

.page-profile-edit .profile-gender-age-row .profile-zodiac-readonly {
    flex: 1;
    min-width: 0;
    text-align: left;
    padding: 10px 12px;
    cursor: pointer;
}

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

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

.page-profile-edit .profile-birthday-field {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    column-gap: 6px;
    padding: 8px 0;
}

.page-profile-edit .profile-birthday-field .profile-form-label {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
    color: #5f6472;
    white-space: nowrap;
}

.page-profile-edit .profile-birthday-field .profile-birthday-row {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-width: 0;
}

.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:not(.gender-locked) {
    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-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-edit-section-title-divider {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.profile-edit-form .is-audit-pending {
    border-color: #f5c542;
    box-shadow: 0 0 0 2px rgba(245, 197, 66, 0.18);
}

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

.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 {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 10px;
    gap: 6px;
    min-height: var(--home-filter-h);
}

.home-filter-side {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
}

.home-filter-start {
    justify-content: flex-start;
}

.home-filter-end {
    justify-content: flex-end;
}

.home-mode-switch {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 3px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 6px 20px rgba(166, 120, 200, 0.12);
    max-width: calc(100% - 168px);
}

.home-mode-switch-item {
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #8b7aa8;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.2;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.home-mode-switch-item.active {
    background: linear-gradient(135deg, #ff6b9d, #8b5cf6);
    color: #fff;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.28);
}

.home-mode-switch.hidden {
    display: none;
}

.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;
    line-height: 1;
    color: #1f2433;
    cursor: pointer;
    text-decoration: none;
    padding: 0 12px;
    transition: transform 0.15s;
}

.home-pill [id$="Icon"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
}

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

.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; }

.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; }

.match-card.is-no-gesture {
    touch-action: manipulation;
    user-select: auto;
    cursor: pointer;
}

.avatar-stage {
    position: relative;
    flex-shrink: 0;
    margin: 0 0 12px;
    padding: 4px 0 8px;
    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-detail-hint {
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    color: #9b59d0;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(234, 203, 255, 0.85);
    box-shadow: 0 6px 18px rgba(194, 91, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    animation: matchDetailHintFloat 2.6s ease-in-out infinite;
}

@keyframes matchDetailHintFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        box-shadow: 0 6px 18px rgba(194, 91, 255, 0.18);
    }
    50% {
        transform: translateX(-50%) translateY(-7px);
        box-shadow: 0 12px 24px rgba(194, 91, 255, 0.24);
    }
}

@media (prefers-reduced-motion: reduce) {
    .match-detail-hint {
        animation: none;
    }
}

.match-detail-hint .icon {
    width: 12px;
    height: 12px;
    opacity: 0.9;
}

.match-profile {
    flex: 0 1 auto;
    padding: 0 2px;
    margin-top: -5px;
    overflow: hidden;
}

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

.match-name {
    font-size: clamp(26px, 6.8vw, 34px);
    font-weight: 800;
    color: #1f2433;
    letter-spacing: -0.6px;
    line-height: 1.05;
}

.match-age-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    border-radius: 999px;
    padding: 3px 9px;
    font-weight: 700;
    font-size: 13px;
    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: 4px;
    font-size: clamp(12px, 3.3vw, 14px);
    color: #5f6472;
    line-height: 1.3;
}

.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: 8px;
    font-size: clamp(14px, 3.6vw, 16px);
    line-height: 1.5;
    color: #5c6170;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.match-tag {
    background: linear-gradient(180deg, #ffe4ef, #ffdceb);
    color: #ff4f93;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: clamp(11px, 3vw, 13px);
    font-weight: 600;
}

.match-tags .interest-tag-chip {
    gap: 3px;
}

.match-tags .interest-tag-icon,
.match-tags .interest-tag-icon-img,
.match-tags .interest-tag-icon-svg {
    width: 12px;
    height: 12px;
}

.interest-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    vertical-align: middle;
}

.interest-tag-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.1em;
    height: 1.1em;
}

.interest-tag-icon-img {
    width: 1.1em;
    height: 1.1em;
    object-fit: contain;
}

.interest-tag-icon-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
}

.interest-tag-icon-svg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.interest-tag-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.page-detail .interest-tag-chip,
.page-detail .tag.interest-tag-chip {
    background: #f3e8ff;
    color: #7e22ce;
    font-weight: 600;
}

.map-card-tag.interest-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.like-quota-badge {
    margin: 10px 16px 0;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 105, 180, 0.1);
    color: #d63384;
    font-size: 12px;
    text-align: center;
    line-height: 1.4;
}

.like-quota-badge.is-exhausted {
    background: rgba(255, 77, 79, 0.12);
    color: #cf1322;
}

.detail-like-quota {
    width: 100%;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255, 105, 180, 0.08);
    color: #d63384;
    font-size: 12px;
    text-align: center;
}

.detail-like-quota.is-exhausted {
    background: rgba(255, 77, 79, 0.1);
    color: #cf1322;
}

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

.detail-bar-actions-row .btn,
.detail-bar-actions-row .detail-bar-unlock {
    flex: 1;
}

.membership-plan-tag-like {
    background: rgba(114, 46, 209, 0.12);
    color: #722ed1;
}

.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); }

.match-btn-contact > span {
    position: relative;
    z-index: 1;
    animation: matchContactBtnFloat 2.6s ease-in-out infinite;
}

@keyframes matchContactBtnFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
    .match-btn-contact > span {
        animation: none;
    }
}

.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; }

.modal-sheet-glass .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #5f6472;
    margin-bottom: 8px;
}

.modal-sheet-glass .form-group input[type="number"],
.modal-sheet-glass .form-group input[type="text"] {
    min-height: 44px;
    padding: 11px 14px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.94);
    border: 1.5px solid #ececf3;
    border-radius: 14px;
    box-shadow: inset 0 1px 2px rgba(31, 36, 51, 0.03);
}

.modal-sheet-glass .form-group input:focus {
    border-color: rgba(255, 79, 147, 0.45);
    box-shadow: 0 0 0 3px rgba(255, 79, 147, 0.1);
}

.filter-gender-switch {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.filter-gender-opt {
    min-height: 44px;
    padding: 10px 8px;
    border-radius: 14px;
    border: 1.5px solid #e8e8ef;
    background: rgba(255, 255, 255, 0.94);
    font-size: 15px;
    font-weight: 600;
    color: #8b90a0;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.12s ease;
    -webkit-tap-highlight-color: transparent;
}

.filter-gender-opt.active {
    border-color: rgba(255, 79, 147, 0.55);
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.12), rgba(124, 92, 255, 0.08));
    color: #ff4f93;
    box-shadow: 0 4px 14px rgba(255, 79, 147, 0.12);
}

.filter-gender-opt:active {
    transform: scale(0.98);
}

.filter-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.modal-sheet-glass .filter-modal-actions .btn {
    flex: 1;
    width: auto;
    min-height: 46px;
    margin-top: 0;
}

.modal-sheet-glass .filter-modal-actions .btn-primary {
    width: auto;
    flex: 1.35;
}

.modal-sheet-glass .filter-modal-actions .btn-outline {
    background: rgba(255, 255, 255, 0.94);
}

/* ========== 深度打磨 · 组件类（替代内联样式） ========== */
.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;
}

body.body-app.login-page {
    background-color: #fff0f5;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: env(safe-area-inset-top) 16px env(safe-area-inset-bottom);
    box-sizing: border-box;
}

.login-bg-media {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background-color: #fff0f5;
    background-image: var(--login-bg-fallback);
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
}

.login-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    background: transparent;
}

.login-bg-media.is-video-fallback .login-bg-video {
    opacity: 0;
    visibility: hidden;
}

.login-page-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

body.body-app.login-page.login-dual-mode .login-page-shell,
body.body-app.login-page.login-password-only .login-page-shell {
    justify-content: flex-start;
    gap: 0;
}

body.body-app.login-page.login-dual-mode .login-page-footer,
body.body-app.login-page.login-password-only .login-page-footer {
    margin-top: auto;
    flex-shrink: 0;
    padding-top: 10px;
    padding-bottom: 2px;
}

.login-hero {
    width: 100%;
    text-align: center;
    padding-top: clamp(224px, 34vh, 268px);
    margin-bottom: 0;
    flex-shrink: 0;
}

/* 双登录 / 仅密码：标题区下移 */
body.body-app.login-page.login-dual-mode .login-hero,
body.body-app.login-page.login-password-only .login-hero {
    padding-top: clamp(208px, 30vh, 232px);
    margin-bottom: 10px;
}

body.body-app.login-page.login-dual-mode .login-hero-title,
body.body-app.login-page.login-password-only .login-hero-title {
    font-size: 28px;
}

body.body-app.login-page.login-dual-mode .login-hero-slogan,
body.body-app.login-page.login-password-only .login-hero-slogan {
    margin-top: 6px;
    font-size: 13px;
}

body.body-app.login-page.login-wechat-only .login-hero {
    padding-top: clamp(224px, 34vh, 268px);
    margin-bottom: 10px;
}

body.body-app.login-page.login-dual-mode .login-method-body {
    width: 100%;
}

.login-hero-title {
    margin: 0;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #c65bff 0%, #8b5cf6 45%, #6366f1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-hero-slogan {
    margin: 10px 0 0;
    font-size: 14px;
    color: #9b7fd6;
    letter-spacing: 0.5px;
}

body.body-app.login-page .login-card {
    width: 100%;
    max-width: 360px;
    margin: 0;
    padding: 28px 22px 24px;
    background: #fff;
    border: none;
    border-radius: 32px;
    box-shadow: 0 18px 48px rgba(166, 120, 200, 0.18);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    flex-shrink: 0;
}

body.body-app.login-page.login-dual-mode .login-card {
    padding: 16px 18px 14px;
    border-radius: 24px;
}

body.body-app.login-page.login-dual-mode .login-features {
    margin-bottom: 12px;
}

body.body-app.login-page.login-dual-mode .login-method-tabs {
    margin-bottom: 12px;
}

body.body-app.login-page.login-dual-mode .login-password-form .form-group {
    margin-bottom: 10px;
}

body.body-app.login-page.login-dual-mode .login-password-form .form-group label {
    margin-bottom: 4px;
    font-size: 13px;
}

body.body-app.login-page.login-dual-mode .login-password-form .form-group input {
    padding: 10px 12px;
    font-size: 15px;
}

body.body-app.login-page.login-dual-mode .login-password-form .checkbox-row {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.45;
}

body.body-app.login-page.login-dual-mode .login-password-form .btn-mt-sm {
    margin-top: 8px;
}

body.body-app.login-page.login-dual-mode .auth-footer {
    margin-top: 10px;
    font-size: 13px;
}

body.body-app.login-page.register-page .login-card {
    padding: 16px 18px 14px;
    border-radius: 24px;
}

body.body-app.login-page.register-page .login-features {
    margin-bottom: 12px;
}

body.body-app.login-page.register-page .login-register-form .form-group {
    margin-bottom: 10px;
}

body.body-app.login-page.register-page .login-register-form .form-group label {
    margin-bottom: 4px;
    font-size: 13px;
}

body.body-app.login-page.register-page .login-register-form .form-group input {
    padding: 10px 12px;
    font-size: 15px;
}

body.body-app.login-page.register-page .login-register-form .checkbox-row {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.45;
}

body.body-app.login-page.register-page .login-register-form .btn-mt-sm {
    margin-top: 8px;
}

body.body-app.login-page.register-page .auth-footer {
    margin-top: 10px;
    font-size: 13px;
}

@media (max-height: 740px) {
    body.body-app.login-page.login-dual-mode .login-hero,
    body.body-app.login-page.login-password-only .login-hero {
        padding-top: clamp(180px, 27vh, 200px);
        margin-bottom: 8px;
    }

    body.body-app.login-page.login-wechat-only .login-hero {
        padding-top: clamp(192px, 30vh, 220px);
    }

    body.body-app.login-page .login-hero-title {
        font-size: 28px;
    }

    body.body-app.login-page .login-hero-slogan {
        margin-top: 4px;
        font-size: 12px;
    }

    body.body-app.login-page .login-card {
        padding: 16px 18px 14px;
    }

    body.body-app.login-page .login-page-footer {
        padding-top: 8px;
        font-size: 11px;
    }
}

.login-features {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    margin-bottom: 20px;
    padding: 4px 0;
}

.login-features-compact {
    margin-bottom: 16px;
}

.login-feature-item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    padding: 0 6px;
}

.login-feature-item:first-child {
    padding-left: 0;
}

.login-feature-item:last-child {
    padding-right: 0;
}

.login-feature-item + .login-feature-item {
    border-left: 1px solid rgba(230, 224, 240, 0.95);
}

.login-feature-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    flex-shrink: 0;
}

.login-feature-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 0;
    flex: 0 1 auto;
    text-align: center;
}

.login-feature-item strong {
    font-size: 12px;
    font-weight: 700;
    color: #2d3142;
    line-height: 1.3;
    word-break: keep-all;
}

.login-feature-item span {
    font-size: 10px;
    line-height: 1.35;
    word-break: keep-all;
    text-align: center;
    display: block;
    width: 100%;
}

.login-feature-item:nth-child(1) span { color: #ff6b9d; }
.login-feature-item:nth-child(2) span { color: #b46bff; }
.login-feature-item:nth-child(3) span { color: #5b9dff; }

.login-method-tabs {
    display: flex;
    gap: 0;
    padding: 4px;
    margin-bottom: 16px;
    background: rgba(245, 242, 250, 0.95);
    border-radius: 999px;
}

.login-method-tabs.hidden {
    display: none;
}

.login-method-tab {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #8c8799;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.login-method-tab.active {
    background: #fff;
    color: #8b5cf6;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.15);
}

.login-method-panel.hidden {
    display: none;
}

.login-password-form {
    margin-bottom: 4px;
}

body.body-app.login-page .login-password-form .form-group input {
    background: #f7f6fb;
    border: 1.5px solid #d8cfe8;
    border-radius: 12px;
    box-shadow: inset 0 1px 3px rgba(139, 92, 246, 0.06);
    color: #1f2433;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

body.body-app.login-page .login-password-form .form-group input::placeholder {
    color: #b4a9c6;
}

body.body-app.login-page .login-password-form .form-group input:focus {
    background: #fff;
    border-color: rgba(139, 92, 246, 0.72);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14), inset 0 1px 2px rgba(139, 92, 246, 0.05);
}

.login-wechat-wrap {
    width: 100%;
}

body.body-app.login-page .login-wechat-btn {
    height: 52px;
    border-radius: 999px;
    background: linear-gradient(180deg, #1ad872 0%, #07c160 100%);
    box-shadow: 0 12px 28px rgba(7, 193, 96, 0.32);
    font-size: 17px;
    letter-spacing: 0.5px;
    padding: 0 20px;
}

.login-wechat-btn-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.login-wechat-btn-icon svg,
.login-wechat-btn-icon img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.login-agreement {
    margin: 14px 0 0;
    text-align: center;
    font-size: 12px;
    color: #9aa0ae;
    line-height: 1.6;
}

.login-agreement a {
    color: #ff6b9d;
    text-decoration: none;
    font-weight: 600;
}

.login-agreement a + a {
    margin-left: 2px;
}

body.body-app.login-page .login-wechat-tip {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 12px;
    color: #8c93a3;
    text-align: left;
}

.login-wechat-tip-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.45;
}

.login-wechat-tip-mark {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #07c160;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    flex-shrink: 0;
}

.login-page-footer {
    margin: 0;
    padding-top: 8px;
    flex-shrink: 0;
    text-align: center;
    font-size: 12px;
    color: rgba(140, 130, 160, 0.85);
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.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; }

body.body-app .page-likes .list-item-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

body.body-app .page-likes .classic-gender-mini {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

body.body-app .page-likes .classic-gender-mini.female {
    background: #ff5caa;
    color: #fff;
}

body.body-app .page-likes .classic-gender-mini.male {
    background: #3b82f6;
    color: #fff;
}

.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: 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;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.detail-active-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    background: #f3f4f6;
}

.detail-active-badge-online {
    color: #16a34a;
    background: rgba(34, 197, 94, 0.12);
}

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

.detail-bar-actions {
    display: flex;
    flex-direction: column;
    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-map-privacy .profile-edit-header,
body.body-app.page-verify .profile-edit-header,
body.body-app.page-membership .profile-edit-header,
body.body-app.page-wallet .profile-edit-header,
body.body-app.page-check-in .profile-edit-header,
body.body-app.page-check-in .check-in-top-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.page-orders .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 #ececf3;
    border-radius: 14px;
    box-shadow: inset 0 1px 2px rgba(31, 36, 51, 0.04);
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2433;
}

body.body-app.page-profile .form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 36px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.88);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b90a0' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 12px;
}

body.body-app.page-profile .form-group select:invalid {
    color: #888;
}

body.body-app.page-profile .form-group select:disabled {
    cursor: not-allowed;
    background-color: #f7f8fc;
    color: #b8bcc8;
    font-weight: 500;
}

body.body-app.page-profile .form-group input:focus,
body.body-app.page-profile .form-group select:focus:not(:disabled),
body.body-app.page-profile .form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 107, 157, 0.35);
    box-shadow: 0 0 0 3px rgba(255, 79, 147, 0.12);
}

body.body-app .page-profile .profile-region-row select {
    width: 100%;
}

body.body-app.page-profile-edit .profile-region-row select {
    width: 100%;
}

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,
body.body-app.page-report .form-group input,
body.body-app.page-report .form-group select,
body.body-app.page-report .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 .form-group select,
body.body-app.page-report .form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 36px;
    cursor: pointer;
    background-color: #fafbff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b90a0' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 12px;
}

body.body-app.page-profile-edit .form-group select:invalid,
body.body-app.page-report .form-group select:invalid {
    color: #888;
    font-weight: 600;
}

body.body-app.page-profile-edit .form-group select:disabled,
body.body-app.page-report .form-group select:disabled {
    cursor: not-allowed;
    background-color: #f7f8fc;
    color: #b8bcc8;
    font-weight: 500;
}

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

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

body.body-app.page-report .report-form-card {
    padding: 18px 16px;
    border-radius: 16px;
}

body.body-app.page-report .form-group {
    margin-bottom: 16px;
}

body.body-app.page-report .form-group:last-of-type {
    margin-bottom: 0;
}

body.body-app.page-report .form-group .profile-form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2433;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

body.body-app.page-report .form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
    font-weight: 500;
}

body.body-app.page-report .checkbox-row {
    margin: 14px 0 16px;
    font-size: 14px;
    color: #5f6472;
}

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-wallet .wallet-page {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

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

body.body-app.page-wallet .wallet-scroll {
    flex: 1;
    min-height: 0;
    padding: 0 14px 16px;
}

body.body-app.page-wallet .wallet-panel,
body.body-app.page-wallet .wallet-logs-card {
    margin: 0 0 12px;
}

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 {
    background:
        radial-gradient(circle at 12% 4%, rgba(255, 198, 224, 0.72), transparent 38%),
        radial-gradient(circle at 88% 8%, rgba(213, 176, 255, 0.55), transparent 36%),
        linear-gradient(180deg, #fff0f6 0%, #f7f0ff 42%, #faf7ff 100%);
    min-height: 100dvh;
}

body.body-app.page-pay-contact .pay-contact-stack {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
}

body.body-app.page-pay-contact .pay-contact-header {
    background: transparent;
    padding: calc(6px + env(safe-area-inset-top, 0px)) 16px 4px;
}

body.body-app.page-pay-contact .profile-edit-header-title {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.1px;
}

body.body-app.page-pay-contact .page-header-back {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 14px rgba(167, 139, 250, 0.12);
}

body.body-app.page-pay-contact .profile-edit-header-spacer {
    width: 36px;
    height: 36px;
}

body.body-app.page-pay-contact .pay-contact-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 14px;
    min-height: 0;
}

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

body.body-app.page-pay-contact .pay-page .card,
body.body-app.page-pay-contact .pay-card,
body.body-app.page-pay-contact .pay-notice-card {
    margin: 0;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.98);
    box-shadow: 0 6px 18px rgba(255, 91, 156, 0.06);
    background: #fff;
}

body.body-app.page-pay-contact .pay-page .pay-contact-detail {
    padding: 0;
}

body.body-app.page-pay-contact .pay-page .pay-success-card {
    padding: 12px 14px;
}

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

.pay-user-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 94% 22%, rgba(255, 107, 157, 0.1), transparent 40%),
        linear-gradient(135deg, rgba(255, 107, 157, 0.03), rgba(198, 91, 255, 0.04));
}

.pay-user-deco::before,
.pay-user-deco::after {
    position: absolute;
    font-size: 18px;
    line-height: 1;
    opacity: 0.22;
    pointer-events: none;
}

.pay-user-deco::before {
    content: '♥';
    color: #ff8eb8;
    right: 72px;
    top: 10px;
    font-size: 15px;
    transform: rotate(-12deg);
}

.pay-user-deco::after {
    content: '♥';
    color: #c9a0ff;
    right: 24px;
    top: 34px;
    font-size: 12px;
    transform: rotate(8deg);
}

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

.pay-user-avatar-wrap::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7eb3, #b57bff);
    z-index: -1;
    opacity: 0.95;
    box-shadow: 0 3px 10px rgba(198, 91, 255, 0.22);
}

.pay-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    display: block;
}

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

.pay-name {
    font-size: 17px;
    font-weight: 800;
    color: #1a1d26;
    line-height: 1.25;
    letter-spacing: -0.2px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

body.body-app.page-pay-contact .classic-gender-mini {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

body.body-app.page-pay-contact .classic-gender-mini.female {
    background: #ff5caa;
    color: #fff;
}

body.body-app.page-pay-contact .classic-gender-mini.male {
    background: #3b82f6;
    color: #fff;
}

.pay-meta {
    font-size: 12px;
    color: #9aa0ae;
    margin-top: 3px;
}

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

.pay-badge-lock {
    color: #a855f7;
    background: rgba(243, 232, 255, 0.95);
    border: 1px solid rgba(216, 180, 254, 0.55);
}

.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: 12px;
    height: 12px;
    color: #a855f7;
}

.pay-icon-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.pay-icon-row {
    width: 18px;
    height: 18px;
}

.pay-icon-btn {
    width: 20px;
    height: 20px;
}

.pay-notice-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
}

.pay-notice-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    object-fit: contain;
}

.pay-notice-card p {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}

.pay-card {
    padding: 14px 14px 12px;
}

.pay-card-title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
    color: #1a1d26;
    letter-spacing: -0.1px;
}

.pay-summary {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.pay-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(250, 247, 255, 0.85);
    border: 1px solid rgba(237, 233, 254, 0.95);
    font-size: 14px;
    color: #5f6472;
}

.pay-summary-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-weight: 500;
}

.pay-price {
    color: #ff4d8f;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.3px;
    flex-shrink: 0;
}

.pay-balance {
    color: #1a1d26;
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
}

.pay-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    border-radius: 23px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    border: none;
    background: linear-gradient(90deg, #ff5b9c 0%, #d16bff 52%, #c65bff 100%);
    box-shadow: 0 10px 24px rgba(255, 91, 156, 0.26);
}

.pay-submit-btn:active {
    transform: scale(0.985);
    opacity: 0.97;
}

.pay-card-hint {
    margin: 10px 0 0;
    font-size: 11px;
    color: #a0a6b3;
    text-align: center;
    line-height: 1.45;
}

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

.pay-trust-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
    margin: auto 0 0;
    flex-shrink: 0;
}

.pay-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 10px 6px 8px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 14px rgba(255, 91, 156, 0.05);
}

.pay-trust-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.pay-trust-item strong {
    font-size: 11px;
    font-weight: 800;
    color: #1a1d26;
    line-height: 1.2;
}

.pay-trust-item small {
    font-size: 9px;
    color: #a0a6b3;
    line-height: 1.3;
}

/* Pay-contact unlocked */
.pay-user-card-unlocked .pay-user-avatar-wrap {
    position: relative;
}

.pay-avatar-heart {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 18px;
    height: 18px;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
}

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

.pay-user-card-unlocked .pay-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pay-unlock-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #ff4d8f;
    line-height: 1.3;
}

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

.pay-success-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(240, 253, 244, 0.98), rgba(255, 255, 255, 1));
    border: 1px solid rgba(187, 247, 208, 0.55);
}

.pay-success-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    object-fit: contain;
}

.pay-success-body {
    flex: 1;
    min-width: 0;
}

.pay-success-title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 800;
    color: #16a34a;
    line-height: 1.25;
}

.pay-success-desc {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}

.pay-contact-detail {
    padding: 0;
    overflow: hidden;
}

.pay-contact-detail-head {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 11px 14px 9px;
    font-size: 15px;
    font-weight: 800;
    color: #1a1d26;
    border-bottom: 1px solid rgba(237, 233, 254, 0.95);
}

.pay-contact-detail-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.pay-contact-detail-body {
    padding: 2px 14px 0;
}

.pay-contact-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(237, 233, 254, 0.85);
}

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

.pay-contact-label {
    font-size: 13px;
    color: #9aa0ae;
    white-space: nowrap;
}

.pay-contact-value {
    font-size: 15px;
    font-weight: 700;
    color: #1a1d26;
    min-width: 0;
    word-break: break-all;
}

.pay-copy-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 143, 178, 0.45);
    background: #fff;
    color: #ff4d8f;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

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

.pay-contact-tip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    font-size: 11px;
    font-weight: 400;
    color: #a0a6b3;
    line-height: 1.45;
    white-space: nowrap;
}

.pay-contact-tip-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.pay-unlocked-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 0;
}

.pay-copy-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    border-radius: 22px;
    border: none;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, #ff5b9c 0%, #d16bff 52%, #c65bff 100%);
    box-shadow: 0 10px 24px rgba(255, 91, 156, 0.26);
    cursor: pointer;
}

.pay-copy-primary-icon {
    width: 20px;
    height: 20px;
}

.pay-continue-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-height: 42px;
    border-radius: 21px;
    border: 1px solid rgba(216, 180, 254, 0.55);
    background: #fff;
    color: #9b6bff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(167, 139, 250, 0.08);
}

.pay-continue-btn .icon {
    width: 16px;
    height: 16px;
}

body.body-app.page-pay-contact-unlocked .pay-page {
    gap: 10px;
}

.contact-result {
    padding: 0;
    overflow: hidden;
}

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

.contact-result-body {
    padding: 2px 14px 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 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);
}

/* 我的订单 · 已购联系方式 */
body.body-app.page-orders {
    background: #f3f4f7;
}

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

body.body-app.page-orders .orders-search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 0 12px;
    min-height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(236, 238, 244, 0.95);
    box-shadow: 0 4px 16px rgba(180, 110, 200, 0.06);
}

body.body-app.page-orders .orders-search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #b8bcc8;
}

body.body-app.page-orders .orders-search-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: #1f2433;
    font-size: 14px;
    font-family: inherit;
    outline: none;
}

body.body-app.page-orders .orders-search-input::placeholder {
    color: #b8bcc8;
}

body.body-app.page-orders .orders-search-input::-webkit-search-cancel-button,
body.body-app.page-orders .orders-search-input::-webkit-search-decoration {
    display: none;
}

body.body-app.page-orders .orders-search-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(240, 241, 245, 0.95);
    color: #8a8fa3;
    cursor: pointer;
    flex-shrink: 0;
}

body.body-app.page-orders .orders-search-clear.hidden {
    display: none;
}

body.body-app.page-orders .orders-search-clear:active {
    transform: scale(0.92);
}

body.body-app.page-orders .orders-list-panel-empty .empty-state small {
    margin-top: -4px;
    font-size: 12px;
    color: #b8bcc8;
}

body.body-app.page-orders .orders-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 16px rgba(180, 110, 200, 0.06);
}

body.body-app.page-orders .orders-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 9px 10px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #8a8fa3;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

body.body-app.page-orders .orders-tab.active {
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, #ff7eb3, #ff5b9c);
    box-shadow: 0 4px 14px rgba(255, 91, 156, 0.28);
}

body.body-app.page-orders .orders-tab-label {
    line-height: 1.2;
}

body.body-app.page-orders .orders-tab-count {
    min-width: 16px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    color: #ff6b9d;
}

body.body-app.page-orders .orders-tab.active .orders-tab-count {
    color: rgba(255, 255, 255, 0.95);
}

body.body-app.page-orders .orders-privacy-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 12px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(255, 235, 244, 0.95), rgba(255, 245, 250, 0.98));
    border: 1px solid rgba(255, 170, 200, 0.22);
}

body.body-app.page-orders .orders-privacy-banner-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ff5b9c;
}

body.body-app.page-orders .orders-privacy-banner-text {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #ff6b9d;
    font-weight: 500;
}

body.body-app.page-orders .orders-privacy-banner-arrow {
    display: inline-flex;
    align-items: center;
    color: #ffb3cc;
    flex-shrink: 0;
}

body.body-app.page-orders .orders-list-wrap {
    min-height: 120px;
}

body.body-app.page-orders .orders-list-panel {
    overflow: hidden;
    border-radius: 18px;
    padding: 10px;
    background: linear-gradient(180deg, #f7f8fb 0%, #f3f4f8 100%);
    border: 1px solid rgba(236, 238, 244, 0.95);
    box-shadow: 0 8px 28px rgba(180, 110, 200, 0.08);
}

body.body-app.page-orders .orders-list-panel-empty,
body.body-app.page-orders .orders-list-loading {
    padding: 36px 20px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

body.body-app.page-orders .orders-list-panel-empty .empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

body.body-app.page-orders .orders-list-panel-empty .empty-state .icon {
    color: #ddd;
}

body.body-app.page-orders .orders-list-panel-empty .empty-state p {
    margin: 0;
    color: #888;
}

body.body-app.page-orders .orders-item {
    padding: 14px 14px 12px;
    margin-bottom: 10px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(236, 238, 244, 0.95);
    box-shadow: 0 2px 10px rgba(160, 170, 190, 0.08);
}

body.body-app.page-orders .orders-item--clickable {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.body-app.page-orders .orders-item--clickable:active {
    transform: scale(0.985);
    box-shadow: 0 1px 6px rgba(160, 170, 190, 0.1);
}

body.body-app.page-orders .orders-copy-btn {
    position: relative;
    z-index: 1;
}

body.body-app.page-orders .orders-item:last-child {
    margin-bottom: 0;
}

body.body-app.page-orders .orders-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

body.body-app.page-orders .order-user-row {
    margin-bottom: 0;
    min-width: 0;
    flex: 1;
}

body.body-app.page-orders .order-user-row img {
    width: 44px;
    height: 44px;
    margin-right: 10px;
}

body.body-app.page-orders .order-user-info {
    min-width: 0;
}

body.body-app.page-orders .order-user-name {
    font-size: 15px;
    font-weight: 700;
    color: #1f2433;
    line-height: 1.3;
}

body.body-app.page-orders .order-user-time {
    margin-top: 3px;
    font-size: 11px;
    color: #a0a4b3;
    line-height: 1.3;
}

body.body-app.page-orders .orders-item-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

body.body-app.page-orders .orders-item-price {
    font-size: 15px;
    font-weight: 700;
    color: #ff4f93;
    line-height: 1.2;
}

body.body-app.page-orders .orders-item .order-badge {
    position: static;
    padding: 3px 8px;
    font-size: 10px;
    line-height: 1.2;
    color: #fff;
    background: linear-gradient(135deg, #ff7eb3, #ff5b9c);
    border: none;
    box-shadow: 0 2px 8px rgba(255, 91, 156, 0.22);
}

body.body-app.page-orders .orders-item .order-badge-refund {
    color: #8a8fa3;
    background: #eef0f4;
    box-shadow: none;
}

body.body-app.page-orders .orders-contact-grid {
    display: grid;
    align-items: stretch;
    gap: 0;
    padding-top: 12px;
    border-top: 1px solid #f3f4f7;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.body-app.page-orders .orders-contact-col {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 0 6px;
    box-sizing: border-box;
}

body.body-app.page-orders .orders-contact-col--empty {
    padding: 0 4px;
}

body.body-app.page-orders .orders-contact-col:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 0;
    width: 1px;
    height: calc(100% - 4px);
    background: #eceef3;
}

body.body-app.page-orders .orders-contact-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 6px;
    font-size: 11px;
    color: #8a8fa3;
    font-weight: 500;
}

body.body-app.page-orders .orders-contact-label--empty {
    justify-content: center;
    margin-bottom: 4px;
}

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

body.body-app.page-orders .orders-contact-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 20px;
    width: 100%;
    min-width: 0;
}

body.body-app.page-orders .orders-contact-text {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    font-size: 11px;
    color: #3a3f52;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

body.body-app.page-orders .orders-contact-value--empty {
    justify-content: center;
}

body.body-app.page-orders .orders-contact-text--empty {
    flex: none;
    font-size: 11px;
    font-weight: 500;
    color: #b8bcc8;
    text-align: center;
}

body.body-app.page-orders .orders-contact-col--empty .orders-contact-value {
    justify-content: center;
}

body.body-app.page-orders .orders-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border: none;
    background: transparent;
    color: #b8bcc8;
    cursor: pointer;
    flex-shrink: 0;
}

body.body-app.page-orders .orders-copy-btn:active {
    color: #ff5b9c;
    transform: scale(0.92);
}

body.body-app.page-orders .orders-refund-hint {
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid #f3f4f7;
    font-size: 12px;
    color: #a0a4b3;
    text-align: center;
}

body.body-app.page-orders .orders-footer-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 14px 0 0;
    font-size: 11px;
    color: #a0a4b3;
    line-height: 1.4;
}

body.body-app.page-orders .orders-footer-lock {
    display: inline-flex;
    align-items: center;
    color: #b8bcc8;
}

body.body-app.page-orders .orders-list-pager {
    padding: 2px 0 4px;
}

/* 空态卡片 */
.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;
}

/* 完善资料 · 步骤4 联系方式（与 contact-setting 一致） */
body.body-app .page-profile .profile-contact-step {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
}

body.body-app .page-profile .profile-contact-step.active {
    display: flex;
}

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

body.body-app .page-profile .profile-contact-step .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-profile .profile-contact-step .contact-privacy-tip-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    object-fit: contain;
}

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

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

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

body.body-app .page-profile .profile-contact-step .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-profile .profile-contact-step .contact-section-title-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

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

body.body-app .page-profile .profile-contact-step .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-profile .profile-contact-step .contact-field-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
}

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

body.body-app .page-profile .profile-contact-step .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-profile .profile-contact-step .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-profile .profile-contact-step .contact-field-main input::placeholder {
    color: #b8bcc8;
    font-weight: 500;
}

body.body-app .page-profile .profile-contact-step .contact-optional-panel {
    margin-top: 8px;
}

body.body-app .page-profile .profile-contact-step .contact-more-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    border: 1px dashed #d8dbe6;
    border-radius: 12px;
    background: #fafbff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

body.body-app .page-profile .profile-contact-step .contact-more-toggle:active {
    border-color: rgba(255, 107, 157, 0.35);
    color: #ff4f93;
}

body.body-app .page-profile .profile-contact-step .contact-more-toggle-chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
    transition: transform 0.2s ease;
}

body.body-app .page-profile .profile-contact-step .contact-more-toggle.is-expanded .contact-more-toggle-chevron {
    transform: rotate(-135deg);
    margin-top: 3px;
}

body.body-app .page-profile .profile-contact-step .contact-field-list-optional {
    margin-top: 8px;
}

body.body-app .page-profile .profile-contact-step .contact-field-source {
    display: none !important;
}

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

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

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

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

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

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

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

body.body-app .page-profile .profile-contact-step .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-profile .profile-contact-step .contact-permission-tip-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    object-fit: contain;
}

body.body-app .page-profile .profile-wizard .contact-setting-form {
    display: block;
}

@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;
    }
}

/* 推广中心 · 内容页整页滚动（与 wallet/orders 等 subpage 一致，配合 JS window scroll） */
body.body-app.page-distribution .page.subpage-stack,
body.body-app.page-distribution-team .page.subpage-stack,
body.body-app.page-distribution-records .page.subpage-stack,
body.body-app.page-distribution-withdraw .page.subpage-stack,
body.body-app.page-distribution-withdraw-records .page.subpage-stack {
    min-height: auto;
    height: auto;
    max-height: none;
    overflow: visible;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}

body.body-app.page-distribution-poster {
    overflow: hidden;
    height: 100dvh;
}

body.body-app.page-distribution-poster .page {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 100dvh;
    padding-bottom: 0;
    overflow: hidden;
}

body.body-app.page-distribution-poster .profile-edit-header {
    flex-shrink: 0;
    padding-bottom: 8px;
}

body.body-app.page-distribution-poster .distribution-body {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}

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

.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: 14px 14px 10px;
    border-radius: 18px;
    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: 5px;
    font-size: 12px;
    opacity: 0.92;
}

.dist-level-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
    max-width: 100%;
}

.dist-level-progress {
    margin-left: 2px;
    padding-left: 5px;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0.95;
    white-space: nowrap;
}

.dist-hero-level-group {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
    flex-shrink: 1;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    text-align: right;
}

.dist-hero-level-group:active {
    opacity: 0.88;
}

.dist-hero-level-group::after {
    content: '';
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    margin-left: -2px;
    opacity: 0.72;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
}

.dist-upgrade-tip {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 10px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dist-upgrade-arrow {
    margin: 0 1px;
    font-weight: 700;
    opacity: 0.9;
}

.dist-upgrade-tip--near {
    color: rgba(255, 255, 255, 0.98);
    font-weight: 600;
}

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

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

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

.dist-hero-total-link {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 11px;
    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: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

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

.dist-hero-card .dist-icon-stat {
    width: 24px;
    height: 24px;
}

.dist-hero-grid-4 .dist-hero-stat {
    flex: 1;
    min-width: 0;
    position: relative;
    padding: 0 2px;
    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: 1px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
}

.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-overview-card {
    padding: 12px 14px 8px;
}

.dist-overview-panel {
    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);
    overflow: hidden;
}

.dist-overview-card .dist-overview-panel .dist-stats-grid,
.dist-overview-card .dist-overview-panel .dist-nav-grid {
    margin: 0;
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.dist-overview-card .dist-overview-panel .dist-nav-grid {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.dist-overview-card .dist-overview-panel .dist-invite-actions {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 10px 12px 12px;
    margin: 0;
}

.dist-overview-card .dist-overview-team {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 12px 12px 10px;
}

.dist-overview-team .dist-team-preview-head {
    margin-bottom: 8px;
}

.dist-overview-team .dist-team-preview-head .dist-section-title {
    font-size: 14px;
}

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

.dist-overview-team .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-overview-team .dist-team-tab.active {
    background: none;
    border-color: transparent;
    border-bottom-color: #ff4f93;
    color: #ff4f93;
}

.dist-overview-team .dist-team-preview-item {
    padding: 10px 0;
}

.dist-overview-team .dist-more-link {
    margin-top: 4px;
    padding-bottom: 0;
}

.dist-overview-card .dist-nav-item {
    position: relative;
    gap: 4px;
    padding: 8px 4px 9px;
    font-size: 11px;
    transition: background 0.15s ease, transform 0.15s ease;
}

.dist-overview-card .dist-nav-item:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12%;
    bottom: 12%;
    width: 1px;
    background: rgba(0, 0, 0, 0.06);
}

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

.dist-overview-card .dist-icon-nav {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

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

.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-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 0;
    color: #a0a5b3;
    font-size: 10px;
    line-height: 1.4;
}

.dist-footer-tip p {
    margin: 0;
    line-height: 1.45;
}

.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-search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0 12px;
    min-height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(236, 238, 244, 0.95);
    box-shadow: 0 4px 16px rgba(180, 110, 200, 0.06);
}

.dist-search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #b8bcc8;
}

.dist-search-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: #1f2433;
    font-size: 14px;
    font-family: inherit;
    outline: none;
}

.dist-search-input::placeholder {
    color: #b8bcc8;
}

.dist-search-input::-webkit-search-cancel-button,
.dist-search-input::-webkit-search-decoration {
    display: none;
}

.dist-search-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(240, 241, 245, 0.95);
    color: #8a8fa3;
    cursor: pointer;
    flex-shrink: 0;
}

.dist-search-clear.hidden {
    display: none;
}

.dist-search-clear:active {
    transform: scale(0.92);
}

.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;
    max-height: calc(100dvh - 170px);
}

body.body-app.page-distribution-poster .dist-poster-card {
    flex: 1;
    min-height: 0;
    max-height: none;
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
}

.dist-poster-inner {
    padding: clamp(12px, 2.4vw, 22px) clamp(12px, 2vw, 18px) clamp(12px, 2.2vw, 20px);
    text-align: center;
    background: linear-gradient(160deg, #fff0f5 0%, #f0e6ff 45%, #ffe8f3 100%);
}

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

.dist-poster-inner h2 {
    margin: 6px 0 4px;
    font-size: clamp(15px, 4.2vw, 20px);
    line-height: 1.2;
    color: #1f2433;
}

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

.dist-poster-qr {
    width: min(62vw, 180px);
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 8px 24px rgba(255, 91, 156, 0.12);
}

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

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

body.body-app.page-distribution-poster .dist-poster-actions .btn {
    min-height: 44px;
    padding-top: 10px;
    padding-bottom: 10px;
}

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

.dist-poster-compose-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-height: 0;
}

body.body-app.page-distribution-poster .dist-poster-compose-wrap {
    gap: 8px;
    padding: 0 0 8px;
}

body.body-app.page-distribution-poster .dist-poster-template-picker {
    margin: 0 10px;
    padding: 8px 10px 6px;
    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.1);
}

.dist-poster-template-picker {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 4px;
    -webkit-overflow-scrolling: touch;
    flex-shrink: 0;
    justify-content: center;
}

.dist-poster-template-btn {
    flex: 0 0 auto;
    width: 64px;
    border: 2px solid transparent;
    border-radius: 12px;
    background: #fff;
    padding: 5px;
    text-align: center;
    cursor: pointer;
}

body.body-app.page-distribution-poster .dist-poster-template-btn {
    width: 56px;
    padding: 4px;
}

body.body-app.page-distribution-poster .dist-poster-template-btn img {
    width: 42px;
    height: 42px;
}

.dist-poster-template-btn.active {
    border-color: #ff4f93;
    box-shadow: 0 4px 14px rgba(255, 79, 147, 0.18);
}

.dist-poster-template-btn img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto 3px;
}

.dist-poster-template-btn span {
    display: block;
    font-size: 10px;
    color: #5f6475;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dist-poster-image-wrap {
    position: relative;
    border-radius: 16px;
    overflow: visible;
    background: transparent;
    line-height: 0;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dist-poster-composed-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 280px);
    object-fit: contain;
}

body.body-app.page-distribution-poster .dist-poster-image-wrap {
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

body.body-app.page-distribution-poster .dist-poster-image-wrap.is-swipeable {
    cursor: grab;
}

body.body-app.page-distribution-poster .dist-poster-image-wrap.is-swipeable:active {
    cursor: grabbing;
}

body.body-app.page-distribution-poster .dist-poster-composed-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 32px rgba(255, 91, 156, 0.16);
    transition: opacity 0.2s ease;
}

body.body-app.page-distribution-poster .dist-poster-image-wrap.is-loading .dist-poster-composed-image {
    opacity: 0.55;
}

body.body-app.page-distribution-poster .dist-poster-image-wrap.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 107, 157, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: dist-poster-spin 0.7s linear infinite;
    pointer-events: none;
}

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

body.body-app.page-distribution-poster .dist-poster-inner {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.body-app.page-distribution-poster .dist-poster-qr {
    width: min(52vw, 160px);
    max-height: min(52vw, 160px);
}

.dist-poster-code-below {
    margin-top: 0;
    text-align: center;
}

.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: 80px;
    padding: 8px 14px;
    font-size: 13px;
    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: 6px;
    font-size: 11px;
    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;
}

.dist-form-field-optional {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 12px;
}

body.body-app.page-distribution-withdraw .dist-amount-input-wrap {
    gap: 6px;
    padding: 0 0 0 11px;
    border-radius: 9px;
}

body.body-app.page-distribution-withdraw .dist-amount-input-wrap input {
    padding: 8px 0 !important;
    font-size: 13px;
}

body.body-app.page-distribution-withdraw .dist-withdraw-all-btn {
    padding: 8px 10px;
    font-size: 12px;
}

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-amount-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 4px 0 12px;
    border: 1px solid #ececf3;
    border-radius: 10px;
    background: #fff;
}

.dist-amount-input-wrap input {
    flex: 1;
    min-width: 0;
    border: none !important;
    padding: 10px 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 15px;
}

.dist-amount-input-wrap input:focus {
    outline: none;
}

.dist-withdraw-all-btn {
    flex-shrink: 0;
    border: none;
    background: transparent;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #8b5cf6;
    cursor: pointer;
    white-space: nowrap;
}

.dist-withdraw-all-btn:disabled {
    color: #b8bfd0;
    cursor: not-allowed;
}

.dist-withdraw-all-btn:not(:disabled):active {
    opacity: 0.75;
}

.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-withdraw-qrcode-upload {
    position: relative;
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1;
    border: 1.5px dashed #ddd;
    border-radius: 12px;
    overflow: hidden;
    background: #fafafa;
    cursor: pointer;
}

.dist-withdraw-qrcode-upload.is-uploading {
    pointer-events: none;
    opacity: 0.72;
}

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

.dist-withdraw-qrcode-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dist-withdraw-qrcode-status {
    margin: 8px 0 0;
    font-size: 12px;
    color: #8b90a0;
    line-height: 1.5;
}

.dist-withdraw-item-qrcode-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dist-withdraw-item-qrcode {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.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-wrap {
    position: relative;
    margin: 0 -2px;
}

.dist-records-tabs-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 32px;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.dist-records-tabs-fade--left {
    left: 0;
    background: linear-gradient(to right, #faf6fc 35%, rgba(250, 246, 252, 0));
}

.dist-records-tabs-fade--right {
    right: 0;
    background: linear-gradient(to left, #faf6fc 35%, rgba(250, 246, 252, 0));
}

.dist-records-tabs-wrap.can-scroll-left .dist-records-tabs-fade--left,
.dist-records-tabs-wrap.can-scroll-right .dist-records-tabs-fade--right {
    opacity: 1;
}

.dist-records-tabs-scroll-hint {
    position: absolute;
    right: 2px;
    top: 50%;
    width: 14px;
    height: 14px;
    transform: translateY(-50%);
    opacity: 0.55;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b90a0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
}

.dist-records-tabs {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-padding-inline: 12px;
}

.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-wrap.is-level-3 {
    background: #fff8ed;
    box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.16);
}

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: 4px;
    min-height: 18px;
    flex-wrap: nowrap;
}

body.body-app.page-distribution-records .dist-record-unlock {
    font-size: 10px;
    color: #fa8c16;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
}

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;
    width: 100%;
    margin-top: 12px;
    padding: 10px 0 0;
    border: none;
    border-top: 1px solid #f3f4f6;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.dist-withdraw-item-foot:active {
    opacity: 0.82;
}

.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;
}

.dist-withdraw-timeline-mask {
    z-index: 260;
}

.dist-withdraw-timeline-sheet {
    padding: 18px 18px calc(24px + env(safe-area-inset-bottom, 0px));
    max-height: 78vh;
    overflow: auto;
}

.dist-withdraw-timeline-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.dist-withdraw-timeline-head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #1f2433;
}

.dist-withdraw-timeline-order {
    margin: 4px 0 0;
    font-size: 12px;
    color: #8b90a0;
    word-break: break-all;
}

.dist-withdraw-timeline-close {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 10px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.dist-withdraw-timeline-status-wrap {
    margin-bottom: 16px;
}

.dist-withdraw-timeline-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dist-withdraw-timeline-step {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    min-height: 56px;
}

.dist-withdraw-timeline-track {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
}

.dist-withdraw-timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #e5e7eb;
    flex-shrink: 0;
    z-index: 1;
}

.dist-withdraw-timeline-line {
    flex: 1;
    width: 2px;
    margin-top: 4px;
    background: #e5e7eb;
    min-height: 28px;
}

.dist-withdraw-timeline-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 18px;
}

.dist-withdraw-timeline-content strong {
    font-size: 14px;
    color: #1f2433;
}

.dist-withdraw-timeline-content span {
    font-size: 12px;
    color: #8b90a0;
}

.dist-withdraw-timeline-remark {
    margin: 2px 0 0;
    font-size: 12px;
    color: #ef4444;
    line-height: 1.45;
}

.dist-withdraw-timeline-step.is-done .dist-withdraw-timeline-dot {
    background: #22c55e;
    box-shadow: 0 0 0 2px #dcfce7;
}

.dist-withdraw-timeline-step.is-done .dist-withdraw-timeline-line {
    background: #bbf7d0;
}

.dist-withdraw-timeline-step.is-current .dist-withdraw-timeline-dot {
    background: #8b5cff;
    box-shadow: 0 0 0 2px #ede9fe;
}

.dist-withdraw-timeline-step.is-current .dist-withdraw-timeline-content strong {
    color: #7c5cff;
}

.dist-withdraw-timeline-step.is-pending .dist-withdraw-timeline-content strong,
.dist-withdraw-timeline-step.is-pending .dist-withdraw-timeline-content span {
    color: #b8bcc8;
}

body.dist-withdraw-timeline-open {
    overflow: hidden;
}

.dist-level-guide-mask {
    z-index: 260;
}

.dist-level-guide-sheet {
    padding: 18px 16px calc(24px + env(safe-area-inset-bottom, 0px));
    max-height: 82vh;
    overflow: auto;
}

.dist-level-guide-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.dist-level-guide-head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #1f2433;
}

.dist-level-guide-sub {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: #8b90a0;
}

.dist-level-guide-close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 999px;
    background: #f3f4f7;
    color: #666;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

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

.dist-level-guide-item {
    padding: 12px 14px;
    border-radius: 14px;
    background: #faf7fc;
    border: 1px solid rgba(255, 79, 147, 0.08);
}

.dist-level-guide-item.is-current {
    background: linear-gradient(135deg, #fff5fa 0%, #fff 100%);
    border-color: rgba(255, 79, 147, 0.22);
    box-shadow: 0 4px 14px rgba(255, 79, 147, 0.08);
}

.dist-level-guide-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.dist-level-guide-item-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.dist-level-guide-item-title strong {
    font-size: 15px;
    font-weight: 800;
    color: #1f2433;
}

.dist-level-guide-icon {
    flex-shrink: 0;
}

.dist-level-guide-badge {
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.dist-level-guide-badge.is-current {
    color: #ff4f93;
    background: rgba(255, 79, 147, 0.12);
}

.dist-level-guide-badge.is-unlocked {
    color: #6b7280;
    background: rgba(107, 114, 128, 0.12);
}

.dist-level-guide-benefits {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.45;
    color: #4b5563;
    font-weight: 600;
}

.dist-level-guide-condition {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #8b90a0;
}

.dist-level-guide-progress {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 79, 147, 0.14);
}

.dist-level-guide-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 12px;
    color: #8b90a0;
}

.dist-level-guide-progress-head strong {
    font-size: 13px;
    color: #ff4f93;
}

.dist-level-guide-progress-bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 79, 147, 0.12);
    overflow: hidden;
}

.dist-level-guide-progress-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff7eb3 0%, #ff4f93 100%);
}

.dist-level-guide-progress-tip {
    margin: 6px 0 0;
    font-size: 11px;
    color: #8b90a0;
}

.dist-level-guide-progress-tip.is-done {
    color: #16a34a;
}

.dist-level-guide-empty {
    padding: 28px 12px;
    text-align: center;
    font-size: 13px;
    color: #8b90a0;
}

body.dist-level-guide-open {
    overflow: hidden;
}

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-overview-team .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 10px 6px;
    }

    .dist-records-tabs-fade {
        width: 24px;
    }

    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;
    }
}

/* ── 附近地图页 ── */
body.body-app.page-map {
    overflow: hidden;
}

body.body-app.page-map .map-container {
    position: fixed;
    inset: 0;
    z-index: 1;
}

.map-top-bar {
    position: fixed;
    top: calc(10px + env(safe-area-inset-top, 0px));
    left: 12px;
    right: 12px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.map-top-back {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #374151;
    flex-shrink: 0;
}

body.page-map.has-float-tab .map-user-card {
    bottom: calc(var(--float-tab-rise) + 6px);
    z-index: 110;
}

.map-top-city {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.map-top-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.map-top-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f3f4f6;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-top-btn-ghost {
    text-decoration: none;
}

.map-top-btn-accent {
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    color: #fff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.map-top-btn-accent:active {
    transform: scale(0.96);
}

.map-status {
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    z-index: 15;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(17, 24, 39, 0.82);
    color: #fff;
    font-size: 13px;
    text-align: center;
}

.map-offset-tip {
    position: fixed;
    top: calc(68px + env(safe-area-inset-top, 0px));
    left: 12px;
    right: 12px;
    z-index: 19;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 34px 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(234, 203, 255, 0.85);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.map-offset-tip-icon {
    flex-shrink: 0;
    color: #8b5cf6;
    margin-top: 2px;
}

.map-offset-tip-text {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: 12px;
    line-height: 1.55;
    color: #5f6472;
}

.map-offset-tip-text strong {
    color: #7c3aed;
    font-weight: 700;
}

.map-offset-tip-close {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 999px;
    background: rgba(237, 233, 254, 0.95);
    color: #8b5cf6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.map-offset-tip-close:active {
    transform: scale(0.94);
    background: rgba(221, 214, 254, 0.98);
    color: #7c3aed;
}

.map-user-marker.is-self .map-user-marker-ring {
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    box-shadow: 0 8px 18px rgba(99, 102, 241, 0.36);
}

.map-marker-distance-self {
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    font-weight: 700;
}

.map-user-marker {
    position: relative;
    width: 54px;
    height: 54px;
}

.map-user-marker-ring {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #ff5fa2, #8b5cf6);
    box-shadow: 0 8px 18px rgba(139, 92, 246, 0.32);
}

.map-user-marker-ring img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    display: block;
}

.map-marker-online {
    position: absolute;
    right: 2px;
    bottom: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #fff;
}

.map-marker-distance {
    position: absolute;
    left: 50%;
    bottom: -20px;
    transform: translateX(-50%);
    white-space: nowrap;
    background: rgba(17, 24, 39, 0.82);
    color: #fff;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 999px;
}

.map-user-card {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 30;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
    padding: 12px 16px 16px;
}

.map-user-card.hidden {
    display: none;
}

.map-card-handle {
    width: 36px;
    height: 4px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: #e5e7eb;
}

.map-card-close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: #f3f4f6;
    color: #6b7280;
    padding: 0;
    cursor: pointer;
}

.map-card-close .icon-sm {
    width: 16px;
    height: 16px;
}

.map-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 28px;
}

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

.map-card-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffb8d4;
    display: block;
}

.map-card-online-badge {
    position: absolute;
    right: -4px;
    bottom: -2px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px 2px 5px;
    border-radius: 999px;
    background: rgba(31, 41, 55, 0.88);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.map-card-online-badge.hidden {
    display: none;
}

.map-card-online-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

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

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

.map-card-nickname {
    font-size: 17px;
    font-weight: 800;
    color: #111827;
    line-height: 1;
}

.map-card-name-row #mapCardAgeBadge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}

.map-card-name-row .match-age-badge {
    padding: 3px 8px;
    font-size: 12px;
    line-height: 1;
    align-items: center;
}

.map-card-name-row .match-age-badge .icon-age-gender {
    width: 10px;
    height: 10px;
    line-height: 0;
}

.map-card-name-row .match-age-num {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.map-card-meta {
    margin-top: 4px;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-card-match {
    flex-shrink: 0;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(243, 232, 255, 0.95), rgba(237, 233, 254, 0.95));
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.map-card-match.hidden {
    display: none;
}

.map-card-match-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.map-card-match-text {
    background: linear-gradient(135deg, #c65bff, #7c3aed, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.map-card-match-text strong {
    font-weight: 800;
    -webkit-text-fill-color: transparent;
}

.map-card-tags {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.map-card-tag {
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f3e8ff;
    color: #7e22ce;
    font-weight: 500;
}

.map-card-bio-wrap {
    position: relative;
    margin-top: 10px;
    padding: 0 16px;
}

.map-card-bio-wrap::before,
.map-card-bio-wrap::after {
    position: absolute;
    font-size: 22px;
    line-height: 1;
    color: #d1d5db;
    font-family: Georgia, 'Times New Roman', serif;
    pointer-events: none;
}

.map-card-bio-wrap::before {
    content: '\201C';
    left: 0;
    top: -2px;
}

.map-card-bio-wrap::after {
    content: '\201D';
    right: 0;
    bottom: 0;
}

.map-card-bio {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.map-card-actions {
    margin-top: 14px;
    display: flex;
    gap: 6px;
}

.map-card-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 42px;
    font-size: 12px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    white-space: nowrap;
    border-radius: 999px;
}

.map-card-like,
.map-card-detail {
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #374151;
}

.map-card-like {
    color: #ff4f93;
}

.map-card-contact {
    flex: 1.35 1 0;
}

.map-card-btn-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.map-card-btn-text {
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
}

/* ── 地图隐私设置 ── */
body.body-app.page-map-privacy .page.subpage-stack {
    min-height: 100dvh;
    background: linear-gradient(180deg, #fff5fa 0%, #f7f4ff 38%, #f3f4f8 100%);
}

body.body-app.page-map-privacy .map-privacy-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 16px calc(24px + env(safe-area-inset-bottom, 0px));
}

body.body-app.page-map-privacy .map-privacy-tip-card {
    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-map-privacy .map-privacy-tip-card .contact-privacy-tip-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    object-fit: contain;
}

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

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

body.body-app.page-map-privacy .map-privacy-card {
    margin: 0;
    padding: 4px 0;
    border-radius: 18px;
    overflow: hidden;
}

body.body-app.page-map-privacy .map-privacy-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
}

body.body-app.page-map-privacy .map-privacy-row:last-child {
    border-bottom: none;
}

body.body-app.page-map-privacy .map-privacy-row-text {
    flex: 1;
    min-width: 0;
}

body.body-app.page-map-privacy .map-privacy-row-text strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
}

body.body-app.page-map-privacy .map-privacy-row-text small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.4;
}

body.body-app.page-map-privacy .map-privacy-row .switch {
    flex-shrink: 0;
    cursor: pointer;
}

body.body-app.page-map-privacy .map-privacy-save {
    margin-top: 4px;
    min-height: 48px;
    border-radius: 999px;
}

/* 用户详情 · 新版布局 */
body.body-app.page-detail {
    background: #fff;
}

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

body.body-app.page-detail .detail-hero {
    position: relative;
    z-index: 2;
    height: clamp(430px, 56vh, 560px);
    min-height: 430px;
    overflow: hidden;
    background: #eee;
    margin-bottom: 0;
}

body.body-app.page-detail .detail-hero .carousel {
    position: relative;
    z-index: 0;
    height: 100%;
    border-radius: 0;
}

body.body-app.page-detail .detail-hero .carousel-track img {
    filter: saturate(1.04) contrast(1.02);
}

body.body-app.page-detail .detail-hero-gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38%;
    pointer-events: none;
    z-index: 1;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.04) 55%,
            rgba(0, 0, 0, 0.1) 100%
        ),
        radial-gradient(circle at 88% 92%, rgba(255, 160, 200, 0.12), transparent 40%),
        radial-gradient(circle at 12% 100%, rgba(180, 190, 255, 0.08), transparent 36%);
}

body.body-app.page-detail .detail-hero-back,
body.body-app.page-detail .detail-hero-report {
    position: absolute;
    top: calc(12px + env(safe-area-inset-top, 0px));
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.85);
    color: #1f2937;
    box-shadow: 0 8px 22px rgba(255, 87, 150, 0.1);
    transition: transform 0.15s;
}

body.body-app.page-detail .detail-hero-back:active,
body.body-app.page-detail .detail-hero-report:active {
    transform: scale(0.94);
}

body.body-app.page-detail .detail-hero-back {
    left: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

body.body-app.page-detail .detail-hero-back .icon {
    width: 20px;
    height: 20px;
}

body.body-app.page-detail .detail-hero-report {
    right: 16px;
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    color: #ef4444;
    font-size: 12px;
    font-weight: 600;
    gap: 3px;
    line-height: 1;
}

body.body-app.page-detail .detail-hero-report .icon {
    width: 16px;
    height: 16px;
}

body.body-app.page-detail .detail-hero .carousel-dots {
    bottom: 112px;
    z-index: 4;
}

body.body-app.page-detail .detail-profile-glass {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 26px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 0;
    padding: 10px 14px;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.1) 55%,
        rgba(255, 210, 225, 0.08) 100%
    );
    -webkit-backdrop-filter: blur(10px) saturate(1.12);
    backdrop-filter: blur(10px) saturate(1.12);
    border: 1px solid rgba(255, 255, 255, 0.32);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

body.body-app.page-detail .detail-profile-glass::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 55%);
}

body.body-app.page-detail .detail-profile-avatar,
body.body-app.page-detail .detail-profile-main,
body.body-app.page-detail .detail-profile-active {
    position: relative;
    z-index: 2;
}

body.body-app.page-detail .detail-profile-avatar {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.16),
        0 0 0 2px rgba(255, 88, 170, 0.4);
}

body.body-app.page-detail .detail-profile-main {
    flex: 1;
    min-width: 0;
    color: #fff;
}

body.body-app.page-detail .detail-profile-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}

body.body-app.page-detail .detail-profile-name {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.3px;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35), 0 0 1px rgba(0, 0, 0, 0.2);
}

body.body-app.page-detail .detail-gender-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

body.body-app.page-detail .detail-gender-badge.is-female {
    background: linear-gradient(135deg, #ff5fa2 0%, #ff3d8f 100%);
    color: #fff;
    box-shadow: 0 6px 14px rgba(255, 79, 163, 0.38);
}

body.body-app.page-detail .detail-gender-badge.is-male {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: #fff;
    box-shadow: 0 6px 14px rgba(59, 130, 246, 0.38);
}

body.body-app.page-detail .detail-gender-badge .icon {
    width: 12px;
    height: 12px;
}

body.body-app.page-detail .detail-verified-badge,
body.body-app.page-detail .detail-match-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
}

body.body-app.page-detail .detail-profile-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
}

body.body-app.page-detail .detail-profile-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

body.body-app.page-detail .detail-profile-meta .icon {
    width: 13px;
    height: 13px;
    color: rgba(255, 255, 255, 0.86);
}

body.body-app.page-detail .detail-profile-active {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
    background: rgba(20, 16, 28, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

body.body-app.page-detail .detail-profile-active.is-online {
    color: rgba(255, 255, 255, 0.88);
}

body.body-app.page-detail .detail-active-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #28e68b;
    box-shadow: 0 0 6px rgba(40, 230, 139, 0.55);
}

body.body-app.page-detail .detail-body {
    position: relative;
    z-index: 2;
    margin-top: -20px;
    padding: 24px 16px 16px;
    border-radius: 28px 28px 0 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
}

body.body-app.page-detail .detail-section {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

body.body-app.page-detail .detail-section-title {
    margin: 0 0 12px;
    padding-left: 10px;
    border-left: 4px solid #ff6b9d;
    font-size: 16px;
    font-weight: 800;
    color: #1a1d26;
    line-height: 1.2;
}

body.body-app.page-detail .detail-interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.body-app.page-detail .detail-interest-tag.interest-tag-chip,
body.body-app.page-detail .detail-interest-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    background: #fff;
    border: 1.5px solid #ffb8d4;
    color: #ff4f93;
}

body.body-app.page-detail .detail-interest-tag:nth-child(3n+2) {
    border-color: #c4b5fd;
    color: #7c3aed;
}

body.body-app.page-detail .detail-interest-tag:nth-child(3n) {
    border-color: #fda4af;
    color: #e11d48;
}

body.body-app.page-detail .detail-bio-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    color: #5c6170;
}

body.body-app.page-detail .detail-unlock-card {
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 240, 248, 0.95), rgba(245, 240, 255, 0.98));
    border: 1px solid rgba(255, 182, 212, 0.45);
    box-shadow: 0 8px 24px rgba(255, 91, 156, 0.08);
}

body.body-app.page-detail .detail-unlock-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(120px, 0.8fr);
    gap: 14px;
    align-items: center;
}

body.body-app.page-detail .detail-unlock-tips h4,
body.body-app.page-detail .detail-unlock-card-head h4 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 800;
    color: #1a1d26;
}

body.body-app.page-detail .detail-unlock-tips ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.body-app.page-detail .detail-unlock-tips li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
    line-height: 1.55;
    color: #6b7280;
}

body.body-app.page-detail .detail-unlock-check {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    color: #ff6b9d;
}

body.body-app.page-detail .detail-unlock-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 182, 212, 0.35);
}

body.body-app.page-detail .detail-unlock-price-label {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 600;
}

body.body-app.page-detail .detail-unlock-price-value {
    margin: 4px 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    color: #ff4f93;
}

body.body-app.page-detail .detail-unlock-price-note {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #f59e0b;
    font-weight: 600;
}

body.body-app.page-detail .detail-unlock-note-icon {
    width: 14px;
    height: 14px;
    color: #f59e0b;
}

body.body-app.page-detail .detail-contact-card {
    background: #fff;
    border-color: rgba(237, 233, 254, 0.95);
}

body.body-app.page-detail .detail-unlock-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

body.body-app.page-detail .detail-contact-badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #16a34a;
    background: rgba(34, 197, 94, 0.12);
}

body.body-app.page-detail .detail-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

body.body-app.page-detail .detail-contact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(237, 233, 254, 0.85);
}

body.body-app.page-detail .detail-contact-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

body.body-app.page-detail .detail-contact-label {
    font-size: 13px;
    color: #9ca3af;
}

body.body-app.page-detail .detail-contact-value {
    font-size: 15px;
    font-weight: 700;
    color: #1a1d26;
    word-break: break-all;
    text-align: right;
}

body.body-app.page-detail .detail-trust-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 2px;
    margin-bottom: 0;
}

body.body-app.page-detail .detail-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 12px 6px 10px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(237, 233, 254, 0.95);
    box-shadow: 0 4px 14px rgba(255, 91, 156, 0.05);
}

body.body-app.page-detail .detail-trust-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

body.body-app.page-detail .detail-trust-item strong {
    font-size: 12px;
    font-weight: 800;
    color: #1a1d26;
    line-height: 1.2;
}

body.body-app.page-detail .detail-trust-item small {
    font-size: 10px;
    color: #a0a6b3;
    line-height: 1.35;
}

body.body-app.page-detail .detail-fixed-bar {
    position: fixed;
    bottom: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 28px rgba(255, 91, 156, 0.1);
    border-radius: 20px 20px 0 0;
}

body.body-app.page-detail .detail-bar-actions {
    display: flex;
    gap: 12px;
    width: 100%;
}

body.body-app.page-detail .detail-bar-like {
    flex: 0 0 auto;
    min-width: 108px;
    height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 2px solid #ff6b9d;
    background: #fff;
    color: #ff4f93;
    font-size: 15px;
    font-weight: 700;
    box-shadow: none;
}

body.body-app.page-detail .detail-bar-like.is-liked {
    background: rgba(255, 107, 157, 0.08);
    color: #ff4f93;
}

body.body-app.page-detail .detail-bar-unlock {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 16px;
    border-radius: 999px;
    border: none;
    background: var(--gradient-brand);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--gradient-brand-shadow);
    white-space: nowrap;
}

body.body-app.page-detail .detail-bar-like .icon,
body.body-app.page-detail .detail-bar-unlock .icon {
    width: 18px;
    height: 18px;
}

@media (max-width: 380px) {
    body.body-app.page-detail .detail-unlock-card-grid {
        grid-template-columns: 1fr;
    }

    body.body-app.page-detail .detail-unlock-price {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        text-align: left;
    }

    body.body-app.page-detail .detail-unlock-price-value {
        font-size: 24px;
    }

    body.body-app.page-detail .detail-bar-like {
        min-width: 92px;
        padding: 0 14px;
        font-size: 14px;
    }

    body.body-app.page-detail .detail-bar-unlock {
        font-size: 14px;
        padding: 0 12px;
    }
}

/* ── 会员 ── */
body.body-app.page-membership {
    background: linear-gradient(180deg, #fdf2f8 0%, #f5ecff 38%, #fce7f3 100%);
    min-height: 100dvh;
}

body.body-app.page-membership .membership-page {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.membership-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.membership-body {
    padding: 0 14px calc(120px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.membership-glass-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: 22px;
    box-shadow: 0 10px 32px rgba(167, 112, 239, 0.08), 0 2px 8px rgba(255, 126, 179, 0.06);
}

.membership-loading-card,
.membership-empty {
    padding: 28px 16px;
    text-align: center;
    color: #9b8aa8;
    font-size: 14px;
}

.membership-status-card.membership-glass-card {
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    overflow: hidden;
}

.membership-status-visual {
    position: relative;
    width: 100%;
    line-height: 0;
}

.membership-status-bg {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    user-select: none;
}

.membership-status-content {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 42% 0 6%;
    box-sizing: border-box;
    line-height: normal;
}

.membership-status-inactive {
    box-shadow: 0 10px 32px rgba(167, 112, 239, 0.08), 0 2px 8px rgba(255, 126, 179, 0.06);
}

.membership-status-active {
    box-shadow: 0 10px 32px rgba(255, 126, 179, 0.12), 0 0 0 1px rgba(255, 182, 193, 0.35) inset;
}

.membership-status-main {
    width: 100%;
    min-width: 0;
    text-align: left;
}

.membership-status-tag {
    display: inline-block;
    margin-bottom: 8px;
    padding: 2px 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff7eb3, #a770ef);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.membership-status-main h3 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 800;
    color: #2d1b3d;
    line-height: 1.3;
}

.membership-status-main p {
    margin: 0;
    color: #8b7a96;
    font-size: 12px;
    line-height: 1.45;
}

.membership-status-extra-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.membership-status-extra-row .membership-status-extra {
    margin-top: 0 !important;
}

.membership-status-extra-sep {
    color: #d8b4fe;
    font-size: 11px;
    line-height: 1;
}

.membership-status-extra {
    color: #c084fc !important;
    font-weight: 500;
    font-size: 11px !important;
    line-height: 1.35 !important;
}

.membership-section-title {
    margin: 0 0 8px;
    padding: 0;
    font-size: 15px;
    font-weight: 800;
    color: #2d1b3d;
    text-align: left;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.membership-section-deco {
    color: #d8b4fe;
    font-size: 10px;
    margin: 0 4px;
}

.membership-section-deco:first-child {
    margin-left: 0;
}

.membership-benefits-card,
.membership-plans-card {
    padding: 10px 12px 12px;
}

.membership-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
}

.membership-benefit-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    padding: 2px 8px;
}

.membership-benefit-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 72%;
    background: linear-gradient(
        180deg,
        rgba(216, 180, 254, 0) 0%,
        rgba(216, 180, 254, 0.55) 18%,
        rgba(216, 180, 254, 0.55) 82%,
        rgba(216, 180, 254, 0) 100%
    );
    pointer-events: none;
}

.membership-benefit-icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(255, 126, 179, 0.16));
}

.membership-benefit-item p {
    margin: 0;
    font-size: 10px;
    line-height: 1.3;
    color: #6b5b76;
}

.membership-benefit-sub {
    display: block;
    margin-top: 1px;
    font-size: 9px;
    color: #a899b3;
    line-height: 1.2;
}

.membership-plan-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.membership-plan-card {
    position: relative;
    width: 100%;
    text-align: left;
    border: 1px solid rgba(230, 220, 240, 0.95);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 34px 10px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.membership-plan-card:active {
    transform: scale(0.99);
}

.membership-plan-card.active {
    border-color: transparent;
    background: linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #ff9ec5 0%, #c084fc 50%, #a770ef 100%) border-box;
    box-shadow: 0 4px 16px rgba(167, 112, 239, 0.14), 0 0 0 1px rgba(255, 158, 197, 0.2);
}

.membership-plan-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(255, 126, 179, 0.12));
}

.membership-plan-body {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    column-gap: 6px;
    row-gap: 3px;
    align-items: start;
}

.membership-plan-name {
    grid-column: 1;
    grid-row: 1;
    font-size: 14px;
    font-weight: 700;
    color: #2d1b3d;
    line-height: 1.25;
}

.membership-plan-tags-primary {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    justify-content: flex-start;
}

.membership-plan-tags-like {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    justify-content: flex-start;
}

.membership-plan-body:not(:has(.membership-plan-tags-like)) .membership-plan-tags-primary {
    grid-row: 1;
}

.membership-plan-tag {
    font-size: 11px;
    border-radius: 999px;
    padding: 2px 8px;
    white-space: nowrap;
    font-weight: 500;
    line-height: 1.35;
}

.membership-plan-tag-free {
    color: #db2777;
    background: rgba(255, 126, 179, 0.1);
}

.membership-plan-tag-discount {
    color: #ea580c;
    background: rgba(251, 146, 60, 0.1);
}

.membership-plan-price {
    grid-column: 1;
    grid-row: 2;
    margin-top: 0;
    font-size: 20px;
    font-weight: 800;
    color: #ec4899;
    line-height: 1.1;
    letter-spacing: -0.3px;
}

.membership-plan-meta {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 0;
    font-size: 11px;
    color: #a899b3;
    line-height: 1.3;
}

.membership-plan-check {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

.membership-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(253, 242, 248, 0) 0%, rgba(253, 242, 248, 0.92) 24%, rgba(245, 236, 255, 0.98) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.membership-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 52px;
    padding: 14px 20px;
    border: none;
    border-radius: 26px;
    background: linear-gradient(90deg, #ff7eb3 0%, #c084fc 55%, #a770ef 100%);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(167, 112, 239, 0.35), 0 4px 12px rgba(255, 126, 179, 0.25);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.membership-cta-btn:active {
    opacity: 0.92;
    transform: scale(0.985);
}

.membership-cta-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.membership-pay-hint {
    margin: 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: #9b8aa8;
    text-align: center;
    line-height: 1.4;
}

.membership-pay-hint-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.mine-membership-row {
    position: relative;
    min-height: 76px;
    padding: 0;
    margin: 0;
    background: transparent;
    border-top: none;
    overflow: hidden;
}

.mine-membership-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    min-height: 76px;
}

.mine-membership-link {
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.mine-membership-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background: rgba(255, 107, 157, 0.32);
    z-index: 2;
    pointer-events: none;
}

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

.mine-membership-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
}

.mine-membership-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.mine-membership-main strong {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.mine-membership-main span {
    font-size: 13px;
    line-height: 1.35;
    color: #999;
}

.mine-membership-btn {
    flex-shrink: 0;
}

.pay-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.pay-price-origin {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.pay-price-free {
    color: #fa8c16;
}

.pay-member-hint {
    margin: -4px 0 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff7e6;
    color: #ad6800;
    font-size: 12px;
}

/* 签到 */
body.body-app.page-check-in {
    background: linear-gradient(180deg, #f3e8ff 0%, #fce7f3 42%, #fdf2f8 100%);
    min-height: 100dvh;
}

body.body-app.page-check-in .check-in-page {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 0;
    --check-in-footer-height: 96px;
}

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

.check-in-header-main {
    text-align: center;
    min-width: 0;
}

.check-in-header-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #1f2433;
    line-height: 1.25;
}

.check-in-header-sub {
    margin: 4px 0 0;
    font-size: 11px;
    color: #9ca3af;
    line-height: 1.4;
}

.check-in-rules-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(255, 91, 156, 0.08);
    cursor: pointer;
}

.check-in-rules-btn-icon {
    display: inline-flex;
    color: #ec4899;
}

.check-in-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 14px calc(var(--check-in-footer-height, 96px) + env(safe-area-inset-bottom, 0px));
}

.check-in-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-in-glass-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(255, 91, 156, 0.08);
    padding: 14px;
}

.check-in-loading-card,
.check-in-empty-card {
    text-align: center;
    color: #666;
    padding: 24px 12px;
}

.check-in-hero-card {
    position: relative;
    width: 100%;
    height: 118px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(236, 72, 153, 0.12);
}

.check-in-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
    user-select: none;
}

.check-in-hero-inner {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.check-in-hero-left {
    position: absolute;
    left: 14px;
    top: 12px;
    bottom: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    width: 42%;
    max-width: 148px;
    min-width: 0;
    box-sizing: border-box;
    z-index: 2;
}

.check-in-hero-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    padding-left: 10px;
    padding-right: 2px;
    box-sizing: border-box;
}

.check-in-hero-status {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    flex-shrink: 0;
    transform: translateY(4px);
}

.check-in-hero-status.is-pending {
    background: rgba(255, 241, 242, 0.95);
    color: #f43f5e;
    border: 1px solid #fecdd3;
}

.check-in-hero-status.is-done {
    background: rgba(253, 242, 248, 0.95);
    color: #ec4899;
    border: 1px solid #fbcfe8;
}

.check-in-hero-label {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    transform: translateY(4px);
    flex-shrink: 0;
}

.check-in-hero-streak {
    display: flex;
    align-items: baseline;
    gap: 2px;
    line-height: 1;
    margin: 3px 0;
    padding-left: 10px;
}

.check-in-hero-streak strong {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(180deg, #ff6b9d 0%, #ec4899 55%, #db2777 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.check-in-hero-streak span {
    font-size: 15px;
    font-weight: 700;
    color: #f472b6;
}

.check-in-hero-reward-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px 3px 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    font-size: 10px;
    color: #6b7280;
    width: max-content;
    max-width: calc(100% + 8px);
    min-width: 0;
    align-self: flex-start;
    margin-top: auto;
}

.check-in-hero-reward-pill span:last-child {
    white-space: nowrap;
}

.check-in-hero-reward-pill .check-in-hero-reward-icon,
.check-in-hero-reward-pill .check-in-reward-badge {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.check-in-hero-reward-pill .check-in-reward-badge .icon {
    width: 11px;
    height: 11px;
}

.check-in-hero-coin {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.check-in-hero-divider {
    position: absolute;
    left: 43.5%;
    top: 20%;
    bottom: 20%;
    width: 1px;
    height: auto;
    margin: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(236, 72, 153, 0.16), rgba(255, 255, 255, 0));
}

.check-in-hero-right {
    position: absolute;
    left: 44.5%;
    top: 12px;
    bottom: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    width: auto;
    max-width: min(152px, calc(100% - 44.5% - 82px));
    min-width: 0;
    box-sizing: border-box;
}

.check-in-hero-round {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 26px 0 8px;
    font-size: 12px;
    font-weight: 600;
    color: #5f5578;
    line-height: 1.25;
    white-space: nowrap;
}

.check-in-hero-cycle {
    font-style: normal;
    font-weight: 800;
    color: #f97316;
}

.check-in-hero-total {
    font-style: normal;
    font-weight: 800;
    color: #9333ea;
}

.check-in-hero-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.14);
    color: #9333ea;
    cursor: pointer;
    flex-shrink: 0;
    pointer-events: auto;
    margin-left: 1px;
}

.check-in-hero-info-btn .icon {
    width: 11px;
    height: 11px;
}

.check-in-hero-next {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 500;
    color: #8a819c;
    line-height: 1.35;
}

.check-in-hero-next em {
    font-style: normal;
    font-weight: 800;
    color: #ec4899;
}

.check-in-hero-progress {
    width: 112px;
    max-width: 100%;
    height: 6px;
    margin-top: auto;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 2px rgba(147, 51, 234, 0.06);
    overflow: hidden;
}

.check-in-hero-progress-bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #fb7185 0%, #c084fc 52%, #a78bfa 100%);
    transition: width 0.25s ease;
}

.check-in-card-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.check-in-card-head-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.check-in-card-title {
    margin: 0;
    flex: 1;
    font-size: 14px;
    font-weight: 800;
    color: #2d1b3d;
    line-height: 1.2;
}

.check-in-card-link {
    border: none;
    background: none;
    padding: 0;
    font-size: 12px;
    color: #9ca3af;
    cursor: pointer;
}

.check-in-calendar-grid {
    display: grid;
    grid-template-columns: repeat(var(--cal-cols, 7), minmax(0, 1fr));
    gap: 1px;
    background: #ece4ef;
    border: 1px solid #ece4ef;
    border-radius: 12px;
    overflow: hidden;
}

.check-in-cal-cell {
    min-height: 62px;
    min-width: 0;
    overflow: hidden;
    border-radius: 0;
    background: #fff;
    border: none;
    padding: 4px 2px;
    display: grid;
    grid-template-rows: auto 24px auto;
    align-items: center;
    justify-items: center;
    gap: 2px;
    text-align: center;
    box-sizing: border-box;
    box-shadow: none;
}

.check-in-cal-cell.is-today {
    background: linear-gradient(180deg, #fff1f7, #fff);
}

.check-in-cal-cell.is-milestone {
    background: #fff;
}

.check-in-cal-cell.is-milestone-purple {
    background: linear-gradient(180deg, #faf5ff, #fff);
}

.check-in-cal-cell.is-milestone-warm {
    background: linear-gradient(180deg, #fff7ed, #fff);
}

.check-in-cal-cell.is-done {
    background: linear-gradient(180deg, #fdf2f8, #fff);
}

.check-in-cal-cell.is-today.is-milestone,
.check-in-cal-cell.is-today.is-milestone-purple,
.check-in-cal-cell.is-today.is-milestone-warm,
.check-in-cal-cell.is-today[class*="is-milestone--"] {
    background: linear-gradient(180deg, #fff1f7, #fff);
}

.check-in-cal-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 24px;
    min-height: 24px;
    overflow: visible;
}

.check-in-cal-center img,
.check-in-cal-center .check-in-cal-reward-icon,
.check-in-cal-center .check-in-cal-status-icon {
    max-width: 22px;
    max-height: 22px;
    width: auto;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.check-in-cal-center .check-in-cal-reward-icon.check-in-reward-badge {
    width: 22px;
    height: 22px;
    max-width: 22px;
    max-height: 22px;
}

.check-in-cal-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.check-in-cal-status-icon.is-pending .check-in-cal-check-img {
    opacity: 0.32;
    filter: grayscale(1);
}

.check-in-cal-status-icon.is-today .check-in-cal-check-img {
    filter: drop-shadow(0 2px 6px rgba(236, 72, 153, 0.28));
}

.check-in-cal-status-icon.is-done .check-in-cal-check-img {
    opacity: 1;
}

.check-in-cal-check-img {
    width: auto;
    height: auto;
    max-width: 22px;
    max-height: 22px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.check-in-cal-check {
    color: #f472b6;
    opacity: 0.9;
    line-height: 1;
    display: inline-flex;
    flex-shrink: 0;
}

.check-in-cal-check .icon {
    width: 12px;
    height: 12px;
}

.check-in-cal-check--muted {
    color: #d1d5db;
    opacity: 1;
}

.check-in-cal-num {
    font-size: 11px;
    font-weight: 800;
    color: #374151;
    line-height: 1.1;
    width: 100%;
}

.check-in-cal-label {
    font-size: 8px;
    color: #9ca3af;
    line-height: 1.15;
    width: 100%;
    max-width: 100%;
    padding: 0 1px;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.check-in-cal-label.is-empty {
    visibility: hidden;
}

.check-in-cal-cell.is-today.is-done {
    background: linear-gradient(180deg, #fff1f7, #fff);
}

.check-in-cal-label.is-today-label {
    color: #ec4899;
    font-weight: 700;
}

.check-in-cal-label.is-done-label {
    color: #9ca3af;
    font-weight: 500;
}

.check-in-cal-cell.is-milestone.is-done .check-in-cal-label.is-done-label {
    color: #d1a5b8;
}

.check-in-cal-reward {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 100%;
    min-width: 0;
    flex: 1;
}

.check-in-cal-reward-icon {
    width: auto;
    height: auto;
    max-width: 22px;
    max-height: 22px;
    flex-shrink: 0;
}

.check-in-cal-reward-icon.check-in-reward-img {
    width: auto;
    height: auto;
    max-width: 22px;
    max-height: 22px;
    object-fit: contain;
}

.check-in-cal-reward-icon.check-in-reward-badge {
    width: 22px;
    height: 22px;
    max-width: 22px;
    max-height: 22px;
    border-radius: 6px;
}

.check-in-cal-reward-icon.check-in-reward-badge .icon {
    width: 11px;
    height: 11px;
}

.check-in-cal-reward-icon.check-in-reward-badge--coupon,
.check-in-cal-reward-icon.check-in-reward-badge--unlock {
    font-size: 8px;
}

.check-in-cal-reward-text {
    font-size: 8px;
    line-height: 1.15;
    color: #ec4899;
    font-weight: 600;
    width: 100%;
    max-width: 100%;
    padding: 0 1px;
    box-sizing: border-box;
    white-space: normal;
    word-break: keep-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 19px;
}

.check-in-cal-cell.is-milestone-purple .check-in-cal-reward-text {
    color: #9333ea;
}

.check-in-cal-cell.is-milestone-warm .check-in-cal-reward-text {
    color: #f472b6;
}

.check-in-reward-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.check-in-reward-badge {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.check-in-reward-badge .icon {
    width: 14px;
    height: 14px;
}

.check-in-reward-badge--like {
    background: linear-gradient(180deg, #fce7f3, #fdf2f8);
    color: #ec4899;
}

.check-in-reward-badge--coupon,
.check-in-reward-badge--unlock {
    background: linear-gradient(180deg, #fce7f3, #fbcfe8);
    color: #db2777;
    font-size: 10px;
    font-weight: 800;
    border-radius: 6px;
}

.check-in-reward-badge--coupon {
    transform: rotate(-8deg);
}

.check-in-reward-badge--unlock {
    transform: none;
}

.check-in-reward-badge--gift {
    background: #fff7ed;
    color: #f59e0b;
}

.check-in-rewards-panel {
    padding-bottom: 4px;
}

.check-in-rewards-panel .check-in-card-head {
    margin-bottom: 4px;
}

.check-in-claimed-mask {
    position: fixed;
    inset: 0;
    z-index: 320;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(31, 36, 51, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.check-in-claimed-mask.show {
    display: flex;
    animation: check-in-claimed-mask-in 0.22s ease;
}

body.check-in-claimed-open {
    overflow: hidden;
}

.check-in-claimed-panel {
    width: min(420px, 100%);
    max-height: min(82vh, 680px);
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #fff 0%, #fff9fc 100%);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(236, 72, 153, 0.18);
    overflow: hidden;
    animation: check-in-claimed-panel-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.check-in-claimed-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid #fce7f3;
    flex-shrink: 0;
}

.check-in-claimed-panel-title-wrap {
    min-width: 0;
}

.check-in-claimed-panel-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #1f2433;
    line-height: 1.25;
}

.check-in-claimed-panel-sub {
    margin: 4px 0 0;
    font-size: 12px;
    color: #9ca3af;
}

.check-in-claimed-panel-close {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #fdf2f8;
    color: #9ca3af;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.check-in-claimed-panel-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 18px 12px;
}

.check-in-claimed-panel-foot {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 18px 16px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, #fff 100%);
}

.check-in-claimed-pager-status {
    margin: 0;
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
}

.check-in-claimed-load-more {
    min-width: 132px;
    height: 36px;
    padding: 0 18px;
    border: 1px solid rgba(236, 72, 153, 0.28);
    border-radius: 999px;
    background: #fff;
    color: #ec4899;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.check-in-claimed-load-more:hover:not(:disabled) {
    background: rgba(236, 72, 153, 0.06);
    border-color: rgba(236, 72, 153, 0.42);
}

.check-in-claimed-load-more:disabled {
    opacity: 0.7;
    cursor: default;
}

.check-in-claimed-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 220px;
    text-align: center;
    color: #9ca3af;
}

.check-in-claimed-empty-state p {
    margin: 4px 0 0;
    font-size: 15px;
    font-weight: 700;
    color: #6b7280;
}

.check-in-claimed-empty-state span {
    font-size: 12px;
}

.check-in-claimed-empty-icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
}

.check-in-claimed-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.check-in-claimed-timeline-item {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    padding-bottom: 18px;
    animation: check-in-claimed-item-in 0.4s ease backwards;
}

.check-in-claimed-timeline-item.is-last {
    padding-bottom: 0;
}

.check-in-claimed-timeline-axis {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
}

.check-in-claimed-timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(180deg, #fb7185, #ec4899);
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #fce7f3;
    flex-shrink: 0;
    z-index: 1;
}

.check-in-claimed-timeline-line {
    flex: 1;
    width: 2px;
    margin-top: 4px;
    min-height: 24px;
    background: linear-gradient(180deg, #fbcfe8, #f3f4f6);
    border-radius: 999px;
}

.check-in-claimed-timeline-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.check-in-claimed-timeline-meta time {
    font-size: 14px;
    font-weight: 800;
    color: #1f2937;
}

.check-in-claimed-timeline-day {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fdf2f8;
    color: #ec4899;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.check-in-claimed-waterfall {
    column-count: 2;
    column-gap: 10px;
}

.check-in-claimed-reward-card {
    break-inside: avoid;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
    padding: 10px 8px;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff1f7, #fff);
    border: 1px solid #fce7f3;
    box-shadow: 0 4px 14px rgba(236, 72, 153, 0.06);
    text-align: center;
}

.check-in-claimed-waterfall .check-in-claimed-reward-card:nth-child(2n) {
    margin-top: 8px;
}

.check-in-claimed-waterfall .check-in-claimed-reward-card:nth-child(3n) {
    margin-top: 4px;
}

.check-in-claimed-reward-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.check-in-claimed-reward-icon.check-in-reward-badge {
    width: 28px;
    height: 28px;
}

.check-in-claimed-reward-label {
    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
    color: #374151;
    word-break: break-all;
}

@keyframes check-in-claimed-mask-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes check-in-claimed-panel-in {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes check-in-claimed-item-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.check-in-today-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.check-in-today-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff1f7 0%, #fff5f9 100%);
    border: 1px solid #fce7f3;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.check-in-today-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
}

.check-in-today-icon.check-in-reward-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.check-in-today-icon.check-in-reward-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.check-in-today-icon.check-in-reward-badge .icon {
    width: 14px;
    height: 14px;
}

.check-in-today-icon.check-in-reward-badge--coupon,
.check-in-today-icon.check-in-reward-badge--unlock {
    font-size: 11px;
}

.check-in-today-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.check-in-today-main strong {
    font-size: 14px;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.25;
}

.check-in-today-value {
    font-style: normal;
    color: #ec4899;
    font-weight: 800;
}

.check-in-today-main span {
    font-size: 11px;
    color: #9ca3af;
    line-height: 1.2;
}

.check-in-today-status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #9ca3af;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.check-in-today-status-mark {
    font-size: 10px;
    line-height: 1;
}

.check-in-today-status.is-pending {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid #fed7aa;
}

.check-in-today-status.is-done {
    background: #ecfdf5;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.check-in-milestone-section {
    margin-top: 8px;
    padding-top: 0;
}

.check-in-milestone-title {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 800;
    color: #2d1b3d;
    line-height: 1.2;
}

.check-in-milestone-track {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: visible;
    padding: 0 0 2px;
    width: 100%;
}

.check-in-milestone-row-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    --row-cols: 1;
    --milestone-line-gap: 16px;
}

.check-in-milestone-row {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    width: 100%;
}

.check-in-milestone-joint {
    position: relative;
    width: 100%;
    height: 14px;
    margin: 1px 0 3px;
    flex-shrink: 0;
}

.check-in-milestone-joint-v {
    position: absolute;
    top: 0;
    right: calc(((100% - (var(--row-cols) - 1) * var(--milestone-line-gap)) / var(--row-cols)) / 2);
    width: 1px;
    height: 8px;
    background: repeating-linear-gradient(180deg, #e5e7eb 0, #e5e7eb 3px, transparent 3px, transparent 6px);
}

.check-in-milestone-joint-h {
    position: absolute;
    left: calc(((100% - (var(--row-cols) - 1) * var(--milestone-line-gap)) / var(--row-cols)) / 2);
    right: calc(((100% - (var(--row-cols) - 1) * var(--milestone-line-gap)) / var(--row-cols)) / 2);
    bottom: 0;
    height: 1px;
    background: repeating-linear-gradient(90deg, #e5e7eb 0, #e5e7eb 3px, transparent 3px, transparent 6px);
}

.check-in-milestone-card {
    position: relative;
    flex: 1 1 0;
    width: 0;
    min-width: 56px;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2px;
    padding: 5px 4px 4px;
    border-radius: 8px;
    text-align: center;
    box-sizing: border-box;
    background: linear-gradient(180deg, #fff1f7, #fff);
    border: 1px solid #fce7f3;
}

.check-in-milestone-card.is-done {
    background: linear-gradient(180deg, #fdf2f8, #fff);
    border-color: #fbcfe8;
}

.check-in-milestone-card.is-today {
    background: linear-gradient(180deg, #fff1f7, #fff);
    border-color: #f9a8d4;
    box-shadow: 0 0 0 1px rgba(236, 72, 153, 0.08);
}

.check-in-milestone-done-mark {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
    color: #16a34a;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
}

.check-in-milestone-card.is-done .check-in-milestone-icon {
    opacity: 0.72;
}

.check-in-milestone-card.is-milestone--like,
.check-in-milestone-card.is-milestone--wallet {
    background: linear-gradient(180deg, #fff1f7, #fff);
    border-color: #fce7f3;
}

.check-in-milestone-card.is-milestone-purple {
    background: linear-gradient(180deg, #faf5ff, #fff);
    border-color: #e9d5ff;
}

.check-in-milestone-card.is-milestone-warm {
    background: linear-gradient(180deg, #fff7ed, #fff);
    border-color: #fed7aa;
}

.check-in-milestone-card.is-milestone--coupon,
.check-in-milestone-card.is-milestone--unlock {
    background: linear-gradient(180deg, #faf5ff, #fff);
    border-color: #ede9fe;
}

.check-in-milestone-day {
    font-size: 10px;
    font-weight: 700;
    color: #f472b6;
    line-height: 1.1;
}

.check-in-milestone-card.is-milestone-purple .check-in-milestone-day,
.check-in-milestone-card.is-milestone--coupon .check-in-milestone-day,
.check-in-milestone-card.is-milestone--unlock .check-in-milestone-day {
    color: #a855f7;
}

.check-in-milestone-card.is-milestone-warm .check-in-milestone-day {
    color: #fb923c;
}

.check-in-milestone-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
}

.check-in-milestone-icon.check-in-reward-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.check-in-milestone-icon.check-in-reward-badge {
    width: 24px;
    height: 24px;
}

.check-in-milestone-icon.check-in-reward-badge .icon {
    width: 12px;
    height: 12px;
}

.check-in-milestone-name {
    font-size: 9px;
    line-height: 1.2;
    font-weight: 600;
    color: #f472b6;
    width: 100%;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: keep-all;
}

.check-in-milestone-card.is-milestone-purple .check-in-milestone-name,
.check-in-milestone-card.is-milestone--coupon .check-in-milestone-name,
.check-in-milestone-card.is-milestone--unlock .check-in-milestone-name {
    color: #a855f7;
}

.check-in-milestone-card.is-milestone-warm .check-in-milestone-name {
    color: #f472b6;
}

.check-in-milestone-line {
    flex: 0 0 var(--milestone-line-gap, 16px);
    width: 14px;
    height: 1px;
    margin: 0 1px;
    align-self: center;
    flex-shrink: 0;
    background: repeating-linear-gradient(90deg, #e5e7eb 0, #e5e7eb 3px, transparent 3px, transparent 6px);
}

.check-in-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(253, 242, 248, 0), rgba(253, 242, 248, 0.92) 24%, #fdf2f8 100%);
}

.check-in-main-btn {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(90deg, #fb7185, #c084fc);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 24px rgba(236, 72, 153, 0.28);
    cursor: pointer;
}

.check-in-main-btn:disabled,
.check-in-main-btn.is-done {
    opacity: 0.72;
    cursor: default;
}

.check-in-main-btn-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.check-in-footer-hint {
    margin: 8px 0 0;
    text-align: center;
    font-size: 11px;
    color: #9ca3af;
}

@media (max-width: 390px) {
    .check-in-scroll {
        padding-left: 10px;
        padding-right: 10px;
    }

    .check-in-cal-cell {
        min-height: 58px;
        padding: 3px 1px;
        grid-template-rows: auto 20px auto;
    }

    .check-in-cal-num {
        font-size: 10px;
    }

    .check-in-cal-label,
    .check-in-cal-reward-text {
        font-size: 7px;
        line-height: 1.1;
    }

    .check-in-cal-reward-text {
        max-height: 16px;
    }

    .check-in-cal-center {
        height: 20px;
        min-height: 20px;
    }

    .check-in-cal-center img,
    .check-in-cal-center .check-in-cal-reward-icon,
    .check-in-cal-center .check-in-cal-status-icon,
    .check-in-cal-check-img {
        max-width: 18px;
        max-height: 18px;
    }

    .check-in-cal-center .check-in-cal-reward-icon.check-in-reward-badge {
        width: 18px;
        height: 18px;
        max-width: 18px;
        max-height: 18px;
    }

    .check-in-cal-reward-icon.check-in-reward-badge .icon {
        width: 9px;
        height: 9px;
    }
}

.detail-price-origin {
    margin-left: 6px;
    font-size: 13px;
    font-weight: 400;
    color: #999;
    text-decoration: line-through;
}

/* ========== 动态广场 ========== */
.page-feed {
    --feed-accent: #ff6b9d;
    --feed-card-bg: rgba(255, 255, 255, 0.92);
}

.feed-page {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

body.has-float-tab .feed-page {
    padding-bottom: 0;
}

.feed-bg {
    position: fixed;
    inset: 0;
    background: center top / cover no-repeat;
    z-index: 0;
    pointer-events: none;
}

.feed-top-sticky {
    position: relative;
    z-index: 5;
    flex-shrink: 0;
    padding-bottom: 4px;
}

.feed-header--design {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: calc(env(safe-area-inset-top, 0px) + 10px) 14px 6px;
}

.feed-header-main {
    min-width: 0;
    flex: 1;
    position: relative;
    z-index: 2;
}

.feed-header-title {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 22px;
    font-weight: 800;
    color: #1f2937;
    text-shadow: none;
    line-height: 1.15;
}

.feed-title-spark {
    display: inline-flex;
    color: var(--feed-accent, #ff6b9d);
    transform: translateY(-1px);
}

.feed-title-spark .icon {
    width: 16px;
    height: 16px;
}

.feed-header-sub {
    margin: 4px 0 0;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feed-bell-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-top: 2px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #64748b;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(148, 163, 184, 0.18);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.feed-header-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    margin-top: 2px;
}

.feed-header-deco {
    position: absolute;
    right: 8px;
    top: calc(env(safe-area-inset-top, 0px) + 2px);
    width: 88px;
    height: 88px;
    pointer-events: none;
    background: radial-gradient(circle at 55% 45%, rgba(255, 143, 171, 0.55) 0%, rgba(255, 143, 171, 0) 68%);
    opacity: 0.85;
}

.feed-header-deco::after {
    content: '';
    position: absolute;
    inset: 18px 20px 24px 24px;
    border-radius: 50%;
    border: 3px solid rgba(255, 107, 157, 0.35);
    transform: rotate(-18deg);
}

.feed-inline-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 12px 8px;
    padding: 0 6px 0 12px;
    height: 40px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(148, 163, 184, 0.12);
}

.feed-inline-search-icon {
    display: inline-flex;
    color: #94a3b8;
    flex-shrink: 0;
}

.feed-inline-search-icon .icon {
    width: 16px;
    height: 16px;
}

.feed-inline-search-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font-size: 13px;
    color: #334155;
    outline: none;
}

.feed-inline-search-input::placeholder {
    color: #94a3b8;
}

.feed-inline-search-btn {
    border: none;
    background: transparent;
    color: var(--feed-accent, #ff6b9d);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 10px;
    flex-shrink: 0;
    cursor: pointer;
}

.feed-tabs-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px 8px;
}

.feed-tabs-viewport {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.feed-tabs-viewport--scrollable .feed-tabs {
    scroll-padding-inline: 12px;
}

.feed-tabs-viewport--fade-right::after,
.feed-tabs-viewport--fade-left::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 24px;
    pointer-events: none;
    z-index: 2;
}

.feed-tabs-viewport--fade-right::after {
    right: 0;
    background: linear-gradient(90deg, rgba(255, 240, 245, 0) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.feed-tabs-viewport--fade-left::before {
    left: 0;
    background: linear-gradient(270deg, rgba(255, 240, 245, 0) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.feed-tabs {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 8px;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

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

.feed-tab {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: none;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    background: #fff;
    color: #64748b;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(148, 163, 184, 0.1);
    cursor: pointer;
}

.feed-tab-icon .icon {
    width: 14px;
    height: 14px;
}

.feed-tab.active {
    background: linear-gradient(90deg, #ff6b9d 0%, #c084fc 100%);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(255, 107, 157, 0.32);
}

.feed-tab.active .feed-tab-icon {
    display: none;
}

.feed-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    color: #333;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

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

.feed-detail-header .feed-icon-btn {
    background: transparent;
    box-shadow: none;
}

.feed-publish-fab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feed-publish-fab-icon .icon {
    width: 24px;
    height: 24px;
}

.feed-hot-topics {
    position: relative;
    z-index: 2;
    padding: 0;
    margin-bottom: 8px;
}

.feed-hot-bar {
    padding: 8px 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 244, 249, 0.92));
    box-shadow: 0 2px 10px rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(255, 107, 157, 0.08);
}

.feed-hot-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.feed-hot-chip {
    flex: 0 0 auto;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--feed-accent);
    font-size: 12px;
    text-decoration: none;
}

.feed-scroll {
    position: relative;
    z-index: 2;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 4px 12px calc(var(--float-tab-space) + 16px);
}

.feed-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 4px;
}

.feed-card {
    background: var(--feed-card-bg);
    border-radius: 14px;
    padding: 10px 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    content-visibility: auto;
    contain-intrinsic-size: auto 280px;
    contain: layout style;
}

.feed-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.feed-author {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.feed-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.feed-author-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    line-height: 1.25;
}

.feed-author-meta {
    margin-top: 1px;
    font-size: 11px;
    color: #888;
    line-height: 1.3;
}

.feed-card-head-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
    max-width: 52%;
}

.feed-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
}

.feed-card-head-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.feed-follow-btn-head {
    flex-shrink: 0;
    padding: 2px 10px;
    border: 1px solid var(--feed-accent);
    border-radius: 999px;
    background: #fff;
    color: var(--feed-accent);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
}

.feed-follow-btn-head.is-following {
    border-color: #ddd;
    color: #999;
    background: #fafafa;
}

.feed-author-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
}

.feed-author-avatar-wrap .feed-author-avatar {
    width: 100%;
    height: 100%;
}

.feed-gender-badge {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.feed-gender-badge .icon {
    width: 9px;
    height: 9px;
}

.feed-gender-badge--male {
    background: #e8f3ff;
    color: #3b82f6;
}

.feed-gender-badge--female {
    background: #ffe8f3;
    color: #ec4899;
}

.feed-card-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.feed-card-topics .feed-topic-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: #f0ebff;
    color: #8b7ed8;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
}

.feed-card-topics .feed-topic-chip:active {
    opacity: 0.85;
}

.feed-content {
    font-size: 14px;
    line-height: 1.45;
    color: #333;
    word-break: break-word;
}

.feed-content .feed-mention-link {
    display: inline;
    white-space: nowrap;
}

.feed-top-badge,
.feed-status-badge {
    display: inline-block;
    margin-left: 4px;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

.feed-time {
    font-size: 11px;
    color: #aaa;
    flex-shrink: 0;
}

.feed-vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    vertical-align: middle;
    margin-left: 4px;
    padding: 1px 6px 1px 3px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff4d6, #ffe8b3);
    color: #b8860b;
}

.feed-vip-badge-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}
.feed-top-badge { background: #ffe0ec; color: var(--feed-accent); }
.feed-status-badge { background: #eee; color: #666; }

.feed-card-body {
    display: block;
    margin-top: 6px;
    text-decoration: none;
    color: inherit;
}

.feed-topic-link {
    color: var(--feed-accent);
    text-decoration: none;
}

.feed-mention-link {
    color: #4a90e2;
    text-decoration: none;
}

.feed-edited-tag {
    margin-left: 6px;
    font-size: 12px;
    color: #999;
}

.feed-campaigns {
    margin: 0 12px 10px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
}

.feed-campaign-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.feed-campaign-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.feed-campaign-card {
    flex: 0 0 140px;
    text-decoration: none;
    color: inherit;
}

.feed-campaign-banner {
    width: 140px;
    height: 78px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    background: #f3f3f3;
}

.feed-campaign-banner--placeholder,
.feed-campaign-banner--text {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 12px;
    background: linear-gradient(135deg, #ffd6e7, #ffeef5);
    color: var(--feed-accent, #ff6b9d);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.feed-campaign-title {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.35;
    color: #333;
}

.feed-mention-suggest {
    margin-top: 8px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fff;
    max-height: 180px;
    overflow-y: auto;
}

.feed-mention-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    background: transparent;
    text-align: left;
}

.feed-mention-item img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.feed-sheet--poster {
    width: min(100%, 360px);
    max-width: 92vw;
    margin: 0 auto;
    padding-bottom: 16px;
    border-radius: 16px;
    position: relative;
}

.feed-poster-sheet-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-bottom: 8px;
    padding: 0 56px;
}

.feed-sheet--poster .feed-sheet-title {
    margin-bottom: 0;
}

.feed-poster-close {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 32px;
    padding: 0 10px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #999;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

.feed-poster-close:active {
    color: #666;
    background: rgba(0, 0, 0, 0.04);
}

.feed-sheet-mask--poster {
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.feed-sheet-mask--poster .feed-sheet {
    border-radius: 16px;
}

.feed-poster-preview-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feed-poster-preview {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0;
    border-radius: 12px;
    display: block;
    box-shadow: 0 8px 24px rgba(255, 107, 157, 0.18);
}

.feed-poster-tip {
    margin: 10px 0 0;
    text-align: center;
    font-size: 13px;
    color: #666;
}

.feed-edit-textarea {
    width: 100%;
    min-height: 140px;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 10px;
    resize: vertical;
    box-sizing: border-box;
}

.feed-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

.feed-activity-page .feed-activity-banner img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    display: block;
}

.feed-activity-intro {
    padding: 0 12px 8px;
}

.feed-activity-desc {
    margin: 0;
    padding: 0 4px;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.feed-activity-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.feed-activity-join-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff8fab, var(--feed-accent, #ff6b9d));
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.feed-activity-topic-link,
.feed-activity-inline-link {
    color: var(--feed-accent, #ff6b9d);
    text-decoration: none;
    font-weight: 600;
}

.feed-activity-topic-link {
    font-size: 13px;
}

.feed-media-grid {
    display: grid;
    gap: 4px;
    margin-top: 6px;
}

.feed-media-grid--1 { grid-template-columns: 1fr; }
.feed-media-grid--2 { grid-template-columns: repeat(2, 1fr); }
.feed-media-grid--3,
.feed-media-grid--4 { grid-template-columns: repeat(3, 1fr); }

.feed-media-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f3f3;
    aspect-ratio: 1;
    cursor: pointer;
}

.feed-media-grid--1 .feed-media-item { aspect-ratio: 16 / 10; }

.feed-media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    decoding: async;
}

.feed-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.feed-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
    border: none;
    background: none;
    color: #888;
    font-size: 12px;
    text-decoration: none;
    padding: 2px 0;
}

.feed-action-btn.is-active {
    color: var(--feed-accent);
}

.feed-action-btn--greet {
    color: var(--feed-accent);
    font-weight: 600;
}

.feed-action-btn--greet .icon {
    color: var(--feed-accent);
}

.feed-card-actions--detail .feed-action-btn {
    font-size: 11px;
    gap: 2px;
}

.feed-card-actions--detail .feed-action-btn .icon-sm {
    width: 16px;
    height: 16px;
}

.feed-publish-fab {
    position: fixed;
    right: 18px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 108px);
    z-index: 10;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8fab, var(--feed-accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.45);
    text-decoration: none;
}

.feed-loading,
.feed-empty {
    padding: 40px 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
}

.feed-empty--card {
    background: rgba(255, 255, 255, 0.82);
    border-radius: 16px;
    color: #666;
    margin-top: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.page-feed-detail .feed-empty,
.page-feed-my .feed-empty,
.page-feed-search .feed-empty {
    color: #888;
}

.feed-detail-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: calc(env(safe-area-inset-top, 0px) + 8px) 12px 8px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.feed-detail-title {
    flex: 1;
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
}

.feed-detail-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 12px 12px calc(env(safe-area-inset-bottom, 0px) + 70px);
    background: #f7f7f8;
}

.feed-comment-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 8px;
    padding: 8px 12px calc(env(safe-area-inset-bottom, 0px) + 8px);
    background: #fff;
    border-top: 1px solid #eee;
    z-index: 20;
}

.feed-comment-input {
    flex: 1;
    height: 38px;
    border: 1px solid #eee;
    border-radius: 999px;
    padding: 0 14px;
    font-size: 14px;
}

.feed-comment-send {
    border: none;
    border-radius: 999px;
    padding: 0 16px;
    background: var(--feed-accent);
    color: #fff;
    font-size: 14px;
}

.feed-comments-section {
    margin-top: 12px;
    background: #fff;
    border-radius: 16px;
    padding: 14px;
}

.feed-comments-title {
    margin: 0 0 12px;
    font-size: 15px;
}

.feed-comment-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.feed-comment-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

.feed-comment-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.feed-comment-time {
    margin-left: 8px;
    font-size: 11px;
    color: #aaa;
}

.feed-comment-text {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.5;
    color: #444;
}

.feed-comment-reply {
    margin-top: 6px;
    border: none;
    background: none;
    color: var(--feed-accent);
    font-size: 12px;
    padding: 0;
}

.feed-publish-page,
.feed-detail-page,
.feed-my-page,
.feed-search-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f5f5f7;
}

.feed-publish-body {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feed-publish-card {
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.feed-publish-textarea {
    width: 100%;
    min-height: 120px;
    border: none;
    border-radius: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.55;
    resize: vertical;
    background: transparent;
    box-sizing: border-box;
}

.feed-publish-textarea:focus {
    outline: none;
}

.feed-publish-images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.feed-publish-img-item {
    position: relative;
    width: 88px;
    height: 88px;
}

.feed-publish-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.feed-publish-img-item button {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
}

.feed-publish-add {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
}

.feed-publish-add-btn {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: #fafafa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #ddd;
    flex-shrink: 0;
    color: #999;
}

.feed-publish-add-btn .icon {
    width: 28px;
    height: 28px;
}

.feed-publish-add-text {
    line-height: 1.4;
}

.feed-select {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 14px;
    background: #fafafa;
    color: #333;
    min-width: 120px;
}

.feed-delete-btn {
    border: none;
    background: none;
    color: #e85d6a;
    font-size: 12px;
    padding: 0;
    cursor: pointer;
}

.feed-tabs--light .feed-tab {
    background: #f0f0f2;
    color: #666;
}

.feed-tabs--light .feed-tab.active {
    background: #ffe8f0;
    color: var(--feed-accent);
}

.feed-comment-actions {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.feed-comment-report {
    border: none;
    background: none;
    color: #999;
    font-size: 12px;
    padding: 0;
}

.feed-comment-reply {
    margin-top: 0;
}

.feed-publish-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}

.feed-publish-option select {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 6px 10px;
}

.feed-publish-submit {
    border: none;
    background: none;
    color: var(--feed-accent);
    font-size: 15px;
    font-weight: 600;
}

.feed-search-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: calc(env(safe-area-inset-top, 0px) + 8px) 12px 8px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.feed-search-header .page-header-back {
    width: 36px;
    height: 36px;
    margin-top: 0;
    background: #f5f5f5;
    box-shadow: none;
    border: none;
}

.feed-search-header .page-header-back .icon {
    width: 18px;
    height: 18px;
}

.feed-search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    border-radius: 999px;
    padding: 0 12px;
    min-height: 38px;
}

.feed-search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #999;
}

.feed-search-icon .icon {
    width: 18px;
    height: 18px;
}

.feed-search-input {
    flex: 1;
    height: 38px;
    border: none;
    background: transparent;
    font-size: 14px;
    min-width: 0;
}

.feed-search-input:focus {
    outline: none;
}

.feed-search-tabs {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.page-feed-search .feed-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 12px 12px calc(env(safe-area-inset-bottom, 0px) + 16px);
}

.page-feed-search .feed-empty--plain,
.page-feed-search .feed-loading--plain {
    padding: 48px 16px;
    color: #999;
    font-size: 14px;
}

.page-feed-search .feed-search-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page-feed-search .feed-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.page-feed-search .feed-tab {
    background: #f5f5f5;
    color: #666;
}

.page-feed-search .feed-tab.active {
    background: #ffe8f0;
    color: var(--feed-accent);
}

.feed-search-section {
    margin-top: 12px;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
}

.feed-search-section h4 {
    margin: 0 0 8px;
    font-size: 14px;
    color: #666;
}

.feed-topic-row,
.feed-user-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    color: #333;
}

.feed-user-row img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.feed-user-row small {
    margin-left: auto;
    color: #999;
}

.feed-reject-reason {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff5f5;
    color: #c0392b;
    font-size: 13px;
    line-height: 1.45;
}

.feed-comments-more {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background: #f5f5f5;
    color: #666;
    font-size: 14px;
}

.feed-sheet-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
    display: flex;
    align-items: flex-end;
}

.feed-sheet {
    width: 100%;
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 16px 16px calc(env(safe-area-inset-bottom, 0px) + 16px);
}

.feed-sheet-title {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feed-sheet-item,
.feed-sheet-cancel {
    display: block;
    width: 100%;
    border: none;
    background: #fff;
    padding: 14px;
    font-size: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.feed-sheet-cancel {
    margin-top: 8px;
    color: #999;
}

.feed-compose-wrap {
    position: relative;
    z-index: 2;
    margin: 0 0 6px;
    flex-shrink: 0;
}

.feed-compose-wrap.hidden {
    display: none;
}

.feed-compose-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(148, 163, 184, 0.1);
    padding: 10px 10px 6px;
}

.feed-compose-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 2px 4px;
}

.feed-compose-bar {
    display: block;
    padding: 0 4px 2px;
    text-decoration: none;
    color: inherit;
    text-align: center;
}

.feed-compose-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
}

.feed-compose-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #f1f5f9;
}

.feed-compose-level {
    position: absolute;
    left: 50%;
    bottom: -3px;
    transform: translateX(-50%);
    padding: 0 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, #a855f7, #c084fc);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.45;
    white-space: nowrap;
    border: 1px solid #fff;
    box-shadow: 0 1px 4px rgba(168, 85, 247, 0.22);
}

.feed-compose-placeholder {
    display: block;
    font-size: 11px;
    color: #b8c0cc;
    line-height: 1.2;
    font-weight: 400;
}

.feed-compose-shortcuts {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
    border: 1px solid #eef2f7;
    border-radius: 999px;
    background: #fafbfc;
    overflow: hidden;
}

.feed-compose-shortcut {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 2px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    position: relative;
    min-width: 0;
}

.feed-compose-shortcut:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background: #e8edf3;
}

.feed-compose-shortcut-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    flex-shrink: 0;
}

.feed-compose-shortcut-icon .icon {
    width: 14px;
    height: 14px;
}

.feed-compose-shortcut--image {
    color: #ff6b9d;
}
.feed-compose-shortcut--image .feed-compose-shortcut-icon {
    background: rgba(255, 107, 157, 0.1);
}

.feed-compose-shortcut--video {
    color: #a855f7;
}
.feed-compose-shortcut--video .feed-compose-shortcut-icon {
    background: rgba(168, 85, 247, 0.1);
}

.feed-compose-shortcut--audio {
    color: #3b82f6;
}
.feed-compose-shortcut--audio .feed-compose-shortcut-icon {
    background: rgba(59, 130, 246, 0.1);
}

.feed-compose-shortcut--location {
    color: #f59e0b;
}
.feed-compose-shortcut--location .feed-compose-shortcut-icon {
    background: rgba(245, 158, 11, 0.12);
}

.feed-compose-shortcut.hidden {
    display: none;
}

.feed-comment-thread {
    border-bottom: 1px solid #f5f5f5;
}

.feed-comment-thread > .feed-comment-item {
    border-bottom: none;
}

.feed-comment-replies {
    margin-top: 4px;
    margin-left: 44px;
    padding: 8px 10px;
    background: #f8f8fa;
    border-radius: 10px;
}

.feed-comment-replies .feed-comment-item {
    padding: 8px 0;
    border-bottom: none;
}

.feed-comment-replies .feed-comment-item + .feed-comment-item {
    border-top: 1px solid #eee;
}

.feed-comment-item--reply .feed-comment-avatar {
    width: 28px;
    height: 28px;
}

.feed-comment-reply-to {
    color: var(--feed-accent);
    font-size: 13px;
}

.feed-preview-mask {
    position: fixed;
    inset: 0;
    z-index: 400;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.feed-preview-close {
    position: absolute;
    top: calc(env(safe-area-inset-top, 0px) + 12px);
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 24px;
    line-height: 1;
}

.feed-preview-img {
    max-width: 100%;
    max-height: calc(100vh - 80px);
    object-fit: contain;
    border-radius: 8px;
}

.feed-preview-counter {
    position: absolute;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
}

.feed-media-item {
    cursor: pointer;
}

.detail-feed-section.hidden {
    display: none;
}

.detail-feed-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-feed-list .feed-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.detail-feed-more {
    display: block;
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
    color: var(--feed-accent, #ff6b9d);
    text-decoration: none;
}

.page-feed-search .feed-action-btn,
.detail-feed-list .feed-action-btn {
    font-size: 12px;
}

/* Feed V2 · 视频/语音/发布类型/话题榜/附近筛选 */
.feed-nearby-km {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.feed-nearby-km.hidden {
    display: none;
}

.feed-nearby-km-select {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    border-radius: 999px;
    padding: 7px 22px 7px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #ff6b9d;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23ff6b9d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center;
    box-shadow: 0 2px 8px rgba(148, 163, 184, 0.12);
    cursor: pointer;
    line-height: 1.2;
}

.feed-nearby-km-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 157, 0.25);
}

.feed-hot-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0;
}

.feed-hot-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    flex-shrink: 0;
}

.feed-hot-label .icon {
    color: var(--feed-accent, #ff6b9d);
}

.feed-hot-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.feed-hot-more {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.feed-hot-more .icon {
    flex-shrink: 0;
}

.feed-hot-more--topics {
    background: rgba(168, 85, 247, 0.1);
    color: #9333ea;
}

.feed-hot-more--city {
    background: rgba(255, 107, 157, 0.1);
    color: var(--feed-accent, #ff6b9d);
}

.feed-video-block { display: block; position: relative; border-radius: 10px; overflow: hidden; background: #111; }
.feed-video-wrap { position: relative; aspect-ratio: 16/10; }
.feed-video-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.feed-video-play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 48px; height: 48px; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.feed-video-duration {
    position: absolute; right: 8px; bottom: 8px; padding: 2px 6px; border-radius: 4px;
    background: rgba(0,0,0,.55); color: #fff; font-size: 11px;
}
.feed-video-block--detail .feed-video-player { width: 100%; display: block; border-radius: 10px; background: #000; }
.feed-video-block--detail .feed-video-quality {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 2px 0;
}
.feed-video-quality-btn {
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #666;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    cursor: pointer;
    line-height: 1.3;
}
.feed-video-quality-btn.is-active {
    border-color: var(--feed-accent, #ff6b9d);
    color: var(--feed-accent, #ff6b9d);
    background: #fff5f8;
}

.feed-loading--card {
    background: rgba(255, 255, 255, 0.82);
    border-radius: 16px;
    color: #888;
    margin-top: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.feed-loading--card::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    vertical-align: -2px;
    border: 2px solid #ddd;
    border-top-color: var(--feed-accent, #ff6b9d);
    border-radius: 50%;
    animation: feed-spin 0.7s linear infinite;
}
@keyframes feed-spin {
    to { transform: rotate(360deg); }
}

.feed-audio-block {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px;
    border-radius: 10px; background: #f5f5f5;
}
.feed-audio-play {
    width: 36px; height: 36px; border: none; border-radius: 50%;
    background: var(--feed-accent, #ff6b9d); color: #fff; font-size: 14px; flex-shrink: 0;
}
.feed-audio-play.is-playing { background: #e05586; }
.feed-audio-meta { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.feed-audio-wave { flex: 1; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #ffb3cc 0%, #ff6b9d 100%); opacity: .7; }
.feed-audio-duration { font-size: 12px; color: #888; }

.feed-publish-types { display: flex; gap: 8px; padding: 12px 16px 0; }
.feed-publish-type {
    flex: 1; padding: 8px; border: 1px solid #eee; border-radius: 10px; background: #fff;
    font-size: 14px; color: #666;
}
.feed-publish-type.active { border-color: var(--feed-accent, #ff6b9d); color: var(--feed-accent, #ff6b9d); background: #fff5f8; }
.feed-publish-type.hidden { display: none; }
.feed-publish-actions-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.feed-publish-add--inline { flex-direction: row; gap: 8px; width: auto; }
.feed-publish-video-cover, .feed-publish-video-placeholder, .feed-publish-video-player {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 10px;
    background: #111;
    display: block;
}
.feed-publish-video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    background: #f0f0f0;
}
.feed-publish-video-name {
    margin-top: 8px;
    font-size: 12px;
    color: #888;
}
.feed-publish-record-btn {
    flex: 1; padding: 10px; border: none; border-radius: 10px; background: #ff6b9d; color: #fff; font-size: 14px;
}
.feed-publish-record-btn.is-recording { background: #e05586; }
.feed-publish-hint { margin: 8px 0 0; font-size: 12px; color: #999; }

.feed-topics-list { padding: 12px 16px 24px; }
.feed-topic-rank-item {
    display: flex; align-items: center; gap: 10px; padding: 14px 12px; margin-bottom: 8px;
    border-radius: 12px; background: #fff; text-decoration: none; color: inherit;
}
.feed-topic-rank-num { width: 28px; font-weight: 700; color: var(--feed-accent, #ff6b9d); }
.feed-topic-rank-name { flex: 1; font-size: 15px; }
.feed-topic-rank-meta { font-size: 12px; color: #999; }

.feed-sheet--tall { max-height: 70vh; overflow: auto; }
.feed-more-btn {
    border: none; background: transparent; padding: 4px; color: #999; line-height: 0;
}
.feed-heat-badge, .feed-paid-top-badge {
    display: inline-block; margin-right: 6px; padding: 2px 6px; border-radius: 4px;
    font-size: 10px; color: #fff; vertical-align: middle;
}
.feed-heat-badge { background: #ff9500; }
.feed-paid-top-badge { background: #7c5cff; }
.feed-media-item--locked { position: relative; overflow: hidden; cursor: pointer; }
.feed-media-item--locked .feed-media-blur { filter: blur(6px); transform: scale(1.02); }
.feed-media-lock-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 120px;
    background: linear-gradient(135deg, #ececf4, #e2e2ec);
}
.feed-video-block--locked {
    cursor: pointer;
    aspect-ratio: 16 / 10;
    min-height: 120px;
}
.feed-video-block--locked .feed-media-blur { filter: blur(6px); transform: scale(1.02); }
.feed-media-lock-label {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.35); color: #fff; font-size: 13px; font-weight: 600;
}
.feed-detail-tools {
    display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px;
}
.feed-detail-tool-btn {
    padding: 8px 12px; border-radius: 999px; border: 1px solid #eee; background: #fff;
    font-size: 13px; color: #444;
}
.feed-detail-author-bar {
    display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px;
}
.feed-detail-author-btn {
    flex: 1; min-width: 100px; padding: 10px; border-radius: 10px; border: none;
    background: #fff5f8; color: var(--feed-accent, #ff6b9d); font-size: 13px;
}
.feed-gift-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px 0; }
.feed-gift-item {
    border: 1px solid #eee; border-radius: 12px; padding: 10px 6px; background: #fff; text-align: center;
}
.feed-gift-item img { width: 40px; height: 40px; object-fit: contain; margin: 0 auto 6px; display: block; }
.feed-gift-item-name { font-size: 12px; color: #333; }
.feed-gift-item-price { font-size: 11px; color: #999; margin-top: 2px; }
.feed-user-list-item {
    display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f3f3f3;
    text-decoration: none; color: inherit;
}
.feed-user-list-item img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.feed-user-list-main { flex: 1; min-width: 0; }
.feed-user-list-name { font-size: 14px; font-weight: 600; }
.feed-user-list-meta { font-size: 12px; color: #999; margin-top: 2px; }
.feed-publish-paid-row { margin-top: 10px; }
.feed-publish-paid-row input {
    width: 100%; padding: 10px 12px; border: 1px solid #eee; border-radius: 10px; font-size: 14px;
}
