* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #fce4ec 0%, #f8bbd9 100%);
    min-height: 100vh;
    color: #333;
}

.hidden {
    display: none !important;
}

/* ==================== 启动封面 ==================== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fad0c4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
}

.splash-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.3)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.2)"/><circle cx="40" cy="80" r="2" fill="rgba(255,255,255,0.3)"/></svg>');
}

.splash-content {
    text-align: center;
    z-index: 1;
}

.splash-title {
    font-size: 56px;
    color: #ff69b4;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.2), 0 0 30px rgba(255,105,180,0.5);
    font-weight: bold;
    letter-spacing: 5px;
}

.splash-subtitle {
    font-size: 48px;
    color: #ff1493;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    margin-top: 10px;
    font-weight: bold;
}

.loading {
    margin-top: 60px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.loading-dots {
    display: flex;
    gap: 5px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: #ff69b4;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* ==================== 主应用 ==================== */
.app {
    padding-bottom: 70px;
    min-height: 100vh;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

/* ==================== 顶部滚动公告 ==================== */
.marquee-bar {
    background: linear-gradient(90deg, #fff5f8 0%, #ffe4ec 100%);
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.marquee-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.marquee-text {
    flex: 1;
    overflow: hidden;
}

.marquee-text span {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 8s linear infinite;
    font-size: 15px;
    color: #e91e63;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ==================== 广告轮播图 ==================== */
.ad-carousel-container {
    margin: 10px 15px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 160px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.ad-carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.ad-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-slide.active {
    opacity: 1;
    z-index: 1;
}

/* 默认占位样式 */
.ad-placeholder {
    padding: 20px;
    color: white;
    text-align: left;
    width: 100%;
}

.banner-logo {
    font-size: 20px;
    font-weight: bold;
    color: #ffd700;
}

.banner-sub {
    font-size: 10px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 2px;
}

.ad-placeholder h2 {
    font-size: 22px;
    margin-top: 10px;
}

.ad-placeholder h3 {
    font-size: 26px;
    color: #ffd700;
}

.banner-tags {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.banner-tags span {
    background: rgba(0,0,0,0.2);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
}

/* 轮播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #fff;
    width: 16px;
    height: 6px;
    border-radius: 3px;
}

.indicator:hover {
    background: rgba(255,255,255,0.8);
}

/* ==================== 功能入口 ==================== */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 10px;
}

.feature-card {
    border-radius: 15px;
    padding: 18px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.2s;
}

.feature-card:active {
    transform: scale(0.98);
}

.feature-card.green {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.feature-card.pink {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.feature-icon {
    font-size: 35px;
}

.feature-info h4 {
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.feature-info p {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

/* ==================== 分类导航 ==================== */
.category-nav {
    display: flex;
    gap: 30px;
    margin: 15px 15px;
    overflow-x: auto;
    padding: 8px 0;
    align-items: center;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-item {
    padding: 8px 0;
    background: transparent;
    border-radius: 0;
    white-space: nowrap;
    font-size: 17px;
    color: #333;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
}

.category-item.active {
    background: transparent;
    color: #ff6b9d;
}

.category-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: #ff6b9d;
    border-radius: 1.5px;
}

.category-item.filter-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    color: white;
    border-radius: 18px;
    margin-left: auto;
    font-size: 14px;
}

.category-item.filter-btn::after {
    display: none;
}

/* ==================== 内容列表 ==================== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 10px;
}

.content-card {
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-info {
    padding: 6px 10px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.card-info .location,
.card-info .date {
    display: flex;
    align-items: center;
    gap: 3px;
}

.card-info .info-icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

/* ==================== 圈子页面 ==================== */
.circle-header {
    position: relative;
    height: 160px;
    background: url('../images/qzfm.png') center/cover no-repeat;
    margin: 10px;
    border-radius: 15px;
    overflow: hidden;
}

.circle-banner-bg {
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"><text x="50%" y="50%" text-anchor="middle" fill="rgba(255,255,255,0.1)" font-size="20">PIPI</text></svg>');
    background-size: cover;
}

.publish-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
}

/* 滚动轮播公告 */
.scroll-announcement {
    background: linear-gradient(180deg, #fff8fa 0%, #ffeff4 100%);
    border-radius: 15px;
    padding: 12px 15px;
    margin: 10px;
    height: 110px;
    overflow: hidden;
    position: relative;
}

.scroll-ann-list {
    transition: transform 0.5s ease-out;
}

.scroll-ann-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

.scroll-ann-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    object-fit: contain;
}

.scroll-ann-item p {
    margin: 0;
    flex: 1;
}

/* 帖子样式已移至底部统一定义 */

/* ==================== 发现页面 ==================== */
.user-profile {
    background: linear-gradient(180deg, #fce4ec 0%, #f8bbd9 100%);
    border-radius: 0 0 25px 25px;
    padding: 30px 20px 20px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.5)"/><circle cx="90" cy="30" r="2" fill="rgba(255,255,255,0.3)"/></svg>');
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ff87 0%, #60efff 100%);
    margin: 0 auto 8px;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    font-size: 17px;
    color: #333;
    margin-bottom: 2px;
    position: relative;
    line-height: 1.3;
}

.user-id {
    color: #c840a0;
    font-size: 13px;
    position: relative;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.copy-btn {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    color: white;
    border: none;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
    margin-left: 0;
    cursor: pointer;
}

.vip-hint {
    font-size: 12px;
    margin-top: 2px;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    position: relative;
    background: linear-gradient(90deg, #f5b812d0 0%, #eea5089f 100%);
    color: #000000;
    font-weight: 500;
    line-height: 1.4;
}

/* 钱包卡片 */
.wallet-card {
    background: white;
    border-radius: 25px;
    padding: 8px 15px;
    margin: 10px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.wallet-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wallet-icon-new {
    width: 40px;
    height: 40px;
}

.wallet-icon-new svg {
    width: 100%;
    height: 100%;
}

.wallet-icon-bag {
    width: 45px;
    height: 45px;
}

.wallet-icon-bag svg {
    width: 100%;
    height: 100%;
}

.wallet-icon-img {
    width: 32px;
    height: 32px;
}

.wallet-icon-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.wallet-info {
    display: flex;
    flex-direction: column;
}

.wallet-label {
    color: #333;
    font-size: 12px;
    font-weight: 500;
}

.wallet-balance {
    font-size: 14px;
    color: #ff6b9d;
    font-weight: bold;
}

.wallet-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-detail {
    padding: 0;
    border: none;
    background: transparent;
    color: #666;
    font-size: 12px;
    cursor: pointer;
}

.btn-recharge {
    padding: 6px 16px;
    border-radius: 15px;
    border: none;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    color: white;
    font-size: 12px;
    cursor: pointer;
}

/* 福利中心 */
.welfare-section {
    margin: 0 10px 15px;
}

.section-title {
    font-size: 14px;
    margin-bottom: 10px;
    color: #333;
    font-weight: bold;
}

.welfare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.welfare-item {
    background: white;
    border-radius: 18px;
    padding: 18px 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.welfare-icon {
    font-size: 45px;
    margin-bottom: 8px;
}

.welfare-item h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.welfare-item p {
    font-size: 11px;
    color: #999;
    margin-bottom: 12px;
    line-height: 1.4;
}

.welfare-btn {
    border: none;
    padding: 8px 20px;
    border-radius: 18px;
    font-size: 12px;
    cursor: pointer;
    color: white;
    font-weight: 500;
}

.welfare-btn.pink {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
}

.welfare-btn.purple {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
}

.welfare-btn.blue {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

/* 新福利中心卡片 */
.welfare-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 32px;
}

.welfare-card {
    border-radius: 12px;
    padding: 30px 8px 12px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.welfare-card.pink-gradient {
    background: linear-gradient(180deg, #fce4ec 0%, #f8bbd9 100%);
}

.welfare-card.purple-gradient {
    background: linear-gradient(180deg, #e8d5f9 0%, #d1b3f0 100%);
}

.welfare-card.blue-gradient {
    background: linear-gradient(180deg, #e3f2fd 0%, #bbdefb 100%);
}

.welfare-card-icon {
    width: 65px;
    height: 65px;
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
}

.welfare-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.welfare-card-content {
    margin-top: 5px;
}

.welfare-card-content h4 {
    font-size: 13px;
    color: #333;
    font-weight: bold;
    margin-bottom: 4px;
}

.welfare-card-content p {
    font-size: 12px;
    color: #666;
    line-height: 1.3;
    margin-bottom: 8px;
}

.welfare-card-btn {
    border: none;
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 11px;
    cursor: pointer;
    color: white;
}

.welfare-card-btn.pink {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
}

.welfare-card-btn.purple {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
}

.welfare-card-btn.blue {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

/* 邀请好友 + 奖励说明合并卡片 */
.invite-reward-card {
    background: linear-gradient(180deg, #fff5f8 0%, #ffebf0 100%);
    border-radius: 12px;
    padding: 10px 12px;
    margin: 10px 10px;
}

.invite-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.invite-header h3 {
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

.invite-link {
    color: #999;
    font-size: 11px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.invite-link:hover {
    color: #ff6b9d;
    background-color: rgba(255, 107, 157, 0.1);
}

.invite-link:active {
    transform: scale(0.95);
}

.invite-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.invite-avatar {
    width: 36px;
    height: 36px;
    background: #e8e8e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.invite-avatar svg {
    width: 22px;
    height: 22px;
}

.invite-buttons {
    display: flex;
    gap: 8px;
}

.invite-btn {
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 11px;
    cursor: pointer;
}

.invite-btn.outline {
    background: white;
    border: 1px solid #ff6b9d;
    color: #ff6b9d;
}

.invite-btn.solid {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    border: none;
    color: white;
}

/* 奖励说明（在合并卡片内） */
.reward-content {
    padding-top: 8px;
    border-top: 1px dashed rgba(255, 107, 157, 0.3);
}

.reward-title {
    font-size: 12px;
    color: #333;
    font-weight: bold;
    margin-bottom: 4px;
}

.reward-text {
    font-size: 10px;
    color: #666;
    margin-bottom: 3px;
}

/* 其他列表 */
.other-section {
    background: white;
    border-radius: 12px;
    padding: 10px 12px;
    margin: 0 10px 10px;
}

.other-list {
    display: flex;
    flex-direction: column;
}

.other-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.other-item:last-child {
    border-bottom: none;
}

.other-icon {
    font-size: 14px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.other-icon svg {
    width: 18px;
    height: 18px;
}

.other-text {
    flex: 1;
    font-size: 12px;
    color: #333;
}

.other-arrow {
    color: #ccc;
    font-size: 14px;
}

/* 底部支持 */
.support-footer {
    text-align: center;
    padding: 10px 0;
}

.support-footer p {
    font-size: 10px;
    color: #999;
}

/* ==================== 底部导航 ==================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.08);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.nav-item.active {
    color: #ff6b9d;
}

.nav-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-icon-wrap {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    position: relative;
}

.nav-icon-wrap.active-wrap {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.4);
}

.nav-icon {
    width: 22px;
    height: 22px;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #999;
}

.nav-item.active .nav-icon {
    stroke: #ff6b9d;
}

.nav-icon-wrap.active-wrap .nav-icon {
    stroke: white;
    width: 18px;
    height: 18px;
}

.nav-text {
    font-size: 11px;
    font-weight: 400;
    margin-top: 2px;
    color: #999;
}

.nav-item.active .nav-text {
    color: #ff6b9d;
    font-weight: 500;
}

/* ==================== 欢迎弹窗 ==================== */
.welcome-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.popup-card {
    position: relative;
    width: 80%;
    max-width: 320px;
    background: transparent;
    padding: 0;
    text-align: center;
    animation: popupSlideIn 0.4s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.popup-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.popup-content {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 15px 12px;
    margin: 0 10px;
}

.popup-content p {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    margin: 0;
}

.popup-content p:first-child {
    font-weight: bold;
}

.popup-btn {
    width: 60%;
    padding: 12px 0;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4081 100%);
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 64, 129, 0.4);
    transition: all 0.3s ease;
}

.popup-btn:active {
    transform: scale(0.95);
}

.popup-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    cursor: pointer;
}

.popup-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #ff6b9d;
    cursor: pointer;
}

.popup-checkbox span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ========== 好友明细页面样式 ========== */
.friend-details-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, #fce4ec 0%, #f8bbd9 100%);
    z-index: 1000;
    overflow-y: auto;
}

.friend-details-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.friend-details-header h2 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.friend-details-header .back-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 5px;
}

.friend-details-header .header-right {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.friend-details-content {
    padding: 20px;
}

/* 统计卡片 */
.stats-cards {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.stats-card {
    flex: 1;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    min-height: 80px;
}

.stats-card.purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.stats-card.pink {
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    color: white;
}

/* 背景装饰元素 */
.stats-card::before {
    content: '';
    position: absolute;
    right: -20px;
    top: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    opacity: 0.2;
}

.stats-card.purple::before {
    background: rgba(255, 255, 255, 0.15);
}

.stats-card.pink::before {
    background: rgba(255, 255, 255, 0.15);
}

/* 小装饰点 */
.stats-card::after {
    content: '◊';
    position: absolute;
    right: 15px;
    bottom: 10px;
    font-size: 24px;
    opacity: 0.3;
    transform: rotate(45deg);
}

.stats-info {
    flex: 1;
}

.stats-info h3 {
    font-size: 11px;
    font-weight: 400;
    margin-bottom: 5px;
    opacity: 0.85;
    letter-spacing: 0.5px;
}

.stats-number {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.stats-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.stats-icon img {
    width: 48px;
    height: 48px;
    opacity: 1;
    filter: brightness(1.1);
}

/* 选项卡 */
.details-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.tab-item {
    flex: 1;
    padding: 12px 20px;
    text-align: center;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-item.active {
    color: #e91e63;
    border-bottom-color: #e91e63;
}

/* 明细内容 */
.details-content {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.details-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.details-list {
    min-height: 200px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-time {
    color: #666;
}

.detail-id {
    color: #333;
    font-weight: 500;
}

.empty-state {
    text-align: center;
    color: #999;
    padding: 60px 20px;
    font-size: 14px;
}

/* ========== VIP会员页面样式 - 扁平化极简设计 ========== */
.vip-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('../images/cjbj.png') center center / cover no-repeat;
    z-index: 1000;
    overflow-y: auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* VIP页面头部 - 扁平化设计 */
.vip-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: transparent;
    position: relative;
}

.vip-header h2 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.vip-back-btn {
    position: absolute;
    left: 20px;
    background: none;
    border: 2px solid #333;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.vip-back-btn:hover {
    background: rgba(51, 51, 51, 0.1);
}

/* VIP页面内容容器 */
.vip-content {
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* 用户信息区域 - 扁平化设计，无边框 */
.vip-user-info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 15px 20px;
    backdrop-filter: none;
}

.vip-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    overflow: hidden;
    margin-right: 12px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.vip-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vip-user-avatar .avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.vip-user-details {
    flex: 1;
}

.vip-username {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    text-shadow: none;
}

.vip-status {
    font-size: 13px;
    color: #666;
    padding: 0;
    background: transparent;
    border-radius: 0;
    display: inline-block;
    border: none;
}

/* 主VIP横幅广告位 - 左玫瑰红到右浅粉色渐变 */
.vip-main-card {
    background: linear-gradient(90deg, #c0546a 0%, #cc3a35e5 50%, #f7bbd8 100%);
    border: none;
    border-radius: 15px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    min-height: 40px;
    box-shadow: 0 4px 20px rgba(220, 20, 60, 0.4);
}

.vip-main-info {
    flex: 1;
}

.vip-main-info h3 {
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
    line-height: 1.0;
}

.vip-main-info p {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    line-height: 1.1;
}

.vip-activate-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #ff1493;
    border: none;
    border-radius: 15px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.vip-activate-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.vip-main-icon {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    left: -35px;
}

.vip-main-icon img {
    width: 185px;
    height: 185px;
    object-fit: contain;
}

/* VIP功能卡片网格 - 斜坡顶部设计 (2行3列) */
.vip-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.vip-feature-card {
    border: none;
    border-radius: 0;
    padding: 25px 10px 8px 10px;
    text-align: center;
    position: relative;
    min-height: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    transition: all 0.3s ease;
    margin-top: 25px;
    overflow: visible;
    background: transparent;
}

/* 用伪元素创建斜坡背景，左上右上圆角 */
.vip-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(220, 80, 120, 0.85) 0%, rgba(255, 180, 200, 0.5) 50%, rgba(255, 240, 245, 0) 100%);
    clip-path: polygon(
        0 calc(15% + 12px),
        2px calc(15% + 8px),
        6px calc(15% + 4px),
        12px 15%,
        calc(100% - 12px) 0,
        calc(100% - 6px) 2px,
        calc(100% - 2px) 6px,
        100% 12px,
        100% 100%,
        0 100%
    );
    z-index: -1;
}

.vip-feature-card:hover {
    transform: translateY(-2px);
}

/* 验证视频卡片特殊效果 */
.yzsp-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yzsp-card:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 8px 25px rgba(233, 58, 108, 0.4);
    z-index: 10;
}

.yzsp-card:active {
    transform: scale(1.1);
}

/* 所有卡片统一样式 */
.vip-feature-card.pink::before,
.vip-feature-card.purple::before {
    background: linear-gradient(180deg, rgba(233, 58, 108, 0.85) 0%, rgba(241, 137, 165, 0.5) 50%, rgba(255, 240, 245, 0) 100%);
}

.vip-feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0;
    background: transparent;
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.vip-feature-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    opacity: 1;
}

/* 移除伪元素 */
.vip-feature-icon::before {
    display: none;
}

.vip-feature-card h4 {
    font-size: 30px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    text-shadow: none;
    letter-spacing: 0.3px;
}

.vip-feature-card p {
    font-size: 10px;
    color: #e91e63;
    line-height: 1.3;
    font-weight: 500;
    text-shadow: none;
}

/* 成为VIP区域 - 粉色渐变背景，无边框 */
.become-vip-section {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    border: none;
    border-radius: 12px;
    padding: 15px 18px;
    margin-bottom: 25px;
    backdrop-filter: none;
}

/* 无背景样式 */
.become-vip-section.no-bg {
    background: transparent;
    border-radius: 0;
    padding: 10px 0;
}

.balance-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}

.balance-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.balance-label {
    font-size: 16px;
    font-weight: 600;
    color: #e91e63;
    text-shadow: none;
}

.balance-details-text {
    font-size: 13px;
    color: #333;
    font-weight: 400;
}

/* 黑色和粉色文字样式 */
.text-black {
    color: #333 !important;
}

.text-pink {
    color: #ff69b4 !important;
    font-weight: 700;
}

/* 福利卡片文字颜色 */
.color-pink {
    color: #ff69b4 !important;
}

.color-purple {
    color: #9c27b0 !important;
}

.color-blue {
    color: #2196f3 !important;
}

/* 福利卡片可点击样式 */
.welfare-card {
    cursor: pointer;
}

/* 发现按钮签到提示徽章 */
.nav-checkin-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    font-size: 10px;
    color: #1c8fd1;
    font-weight: 600;
    white-space: nowrap;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.8), 0 0 16px rgba(0, 212, 255, 0.5);
    animation: glow-pulse 1.5s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        text-shadow: 0 0 8px rgba(211, 90, 185, 0.8), 0 0 16px rgba(190, 66, 159, 0.5);
    }
    50% {
        text-shadow: 0 0 12px rgb(214, 70, 178)0 24px rgba(214, 60, 176, 0.7), 0 0 32px rgba(223, 55, 167, 0.4);
    }
}

.nav-checkin-badge.hidden {
    display: none;
}

/* 签到按钮禁用状态 */
#checkin-btn.disabled {
    background: linear-gradient(135deg, #ccc 0%, #999 100%) !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.balance-details {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #333;
    font-weight: 400;
    text-shadow: none;
}

.recharge-btn {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.recharge-btn:hover {
    background: linear-gradient(135deg, #ff5a8a 0%, #ff7ea0 100%);
    transform: translateY(-1px);
}

/* 底部按钮 - 扁平化极简设计 */
.vip-bottom-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.vip-btn-exchange {
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    color: #333;
    border: none;
    border-radius: 25px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 280px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.vip-btn-exchange::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.vip-btn-exchange:hover {
    background: rgba(255, 215, 0, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.vip-btn-exchange:hover::before {
    transform: translateX(0);
}

/* 手机端适配 - 优化竖版显示 */
@media (max-width: 480px) {
    .vip-content {
        padding: 0 15px 15px;
        gap: 20px;
    }
    
    .vip-features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .vip-feature-card {
        padding: 25px 10px 8px 10px;
        min-height: 60px;
    }
    
    .vip-feature-card h4 {
        font-size: 14px;
    }
    
    .vip-feature-card p {
        font-size: 11px;
    }
    
    .vip-main-card {
        padding: 25px 20px;
        min-height: 100px;
    }
    
    .vip-main-info h3 {
        font-size: 20px;
    }
    
    .vip-main-info p {
        font-size: 14px;
    }
}

/* 清晰的图层结构和界面框架 */
.vip-page * {
    box-sizing: border-box;
}

/* 极简轮廓线稿效果 */
.vip-page .outline-only {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: none !important;
}

/* ==================== 幸运轮盘页面 ==================== */
.lottery-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/cjbj.png') center center / cover no-repeat;
    z-index: 1000;
    overflow-y: auto;
}

.lottery-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    position: relative;
    background: white;
}

.lottery-back-btn {
    position: absolute;
    left: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    padding: 5px 10px;
}

.lottery-header h2 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.lottery-content {
    padding: 20px 15px;
    text-align: center;
}

.lottery-subtitle {
    font-size: 13px;
    color: #ddab69;
    margin-bottom: 8px;
    letter-spacing: 3px;
    font-weight: 300;
}

.lottery-title {
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: 1px;
    background: linear-gradient(180deg, #c9a063 0%, #b8894d 50%, #a67840 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 6px rgba(255, 200, 210, 0.5));
    -webkit-text-stroke: 0.5px #f0c8d0;
}

.lottery-chances-btn {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 25px;
    color: #666;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lottery-chances-btn .chances-num {
    color: #ff6b9d;
    font-weight: bold;
    font-size: 18px;
}

/* 轮盘容器 */
.wheel-container {
    position: relative;
    width: 340px;
    height: 340px;
    margin: 30px auto;
}

/* 外圈转盘背景图 */
.wheel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

/* 奖项文字层 */
.wheel-prizes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.prize {
    position: absolute;
    font-size: 13px;
    font-weight: bold;
    color: #e91e63;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.prize-1 { top: 26%; left: 38%; }
.prize-2 { top: 26%; right: 38%; }
.prize-3 { top: 38%; right: 23%; }
.prize-4 { bottom: 38%; right: 23%; }
.prize-5 { bottom: 25%; right: 38%; }
.prize-6 { bottom: 25%; left: 36%; }
.prize-7 { bottom: 38%; left: 20%; }
.prize-8 { top: 38%; left: 20%; }
.wheel-pointer-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

/* 指针箭头（底层旋转，紧贴zjlp.png边缘） */
.pointer-arrow {
    position: absolute;
    width: 68px;
    height: 68px;
    border: 3px solid #6366f1;
    border-radius: 50%;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.pointer-arrow::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 22px solid #6366f1;
}

/* 中间抽奖按钮（固定在上层） */
.wheel-center-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
    display: flex;
    flex-direction: column;
    z-index: 2;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.5);
    border: 4px solid #fef3c7;
}

.wheel-center-btn img {
    display: none;
}

.wheel-center-btn span {
    font-size: 14px;
    color: #92400e;
    font-weight: bold;
}

/* 规则说明 */
.lottery-rules {
    background: rgba(255,255,255,0.6);
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
    text-align: left;
}

.lottery-rules h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

.lottery-rules p {
    font-size: 12px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* 无抽奖机会弹窗 */
.no-chance-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-chance-popup .popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.no-chance-card {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    width: 80%;
    max-width: 300px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.no-chance-card h3 {
    font-size: 20px;
    color: #ff6b9d;
    margin-bottom: 15px;
}

.no-chance-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.no-chance-btn {
    padding: 12px 50px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4081 100%);
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 64, 129, 0.3);
}

/* ==================== Toast 提示样式 ==================== */
.toast-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 99999;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.toast-message.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ==================== 充值页面 ==================== */
.recharge-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 1000;
    overflow-y: auto;
}

.recharge-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    position: relative;
    background: white;
    border-bottom: 1px solid #f5f5f5;
}

.recharge-back-btn {
    position: absolute;
    left: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    padding: 5px 10px;
}

.recharge-header h2 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.recharge-content {
    padding: 20px 15px;
}

.recharge-label {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
}

.recharge-input-wrap {
    display: flex;
    align-items: center;
    background: #f8f8f8;
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 15px;
}

.recharge-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #333;
    outline: none;
}

.recharge-input::placeholder {
    color: #999;
}

.recharge-unit {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.recharge-quick-btns {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.quick-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: white;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-btn:hover,
.quick-btn.active {
    border-color: #ff6b9d;
    color: #ff6b9d;
}

.recharge-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 20px;
}

.recharge-notice {
    font-size: 12px;
    color: #ff4757;
    line-height: 1.6;
}

/* ==================== 支付确认页面 ==================== */
.payment-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    z-index: 1000;
    overflow-y: auto;
}

.payment-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    position: relative;
    background: transparent;
}

.payment-back-btn {
    position: absolute;
    left: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    padding: 5px 10px;
}

.payment-header h2 {
    font-size: 18px;
    color: white;
    font-weight: 600;
}

.payment-content {
    padding: 20px 15px;
}

/* 倒计时移到右边 */
.payment-coin-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.payment-countdown-mini {
    text-align: right;
}

.countdown-label-mini {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 2px;
}

.countdown-time-mini {
    font-size: 20px;
    font-weight: bold;
    color: #00d4aa;
    font-family: 'Courier New', monospace;
}

.payment-info-card {
    background: linear-gradient(135deg, #2d3561 0%, #1e2243 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.payment-coin-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.coin-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.coin-details {
    display: flex;
    flex-direction: column;
}

.coin-name {
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.coin-network {
    font-size: 12px;
    color: #00d4aa;
    background: rgba(0,212,170,0.2);
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 4px;
    display: inline-block;
}

.payment-amount-section {
    text-align: center;
    margin-bottom: 15px;
}

.amount-label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}

.amount-value {
    font-size: 26px;
    font-weight: bold;
    color: #ffd700;
    margin-right: 5px;
}

.amount-unit {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
}

.amount-warning {
    text-align: center;
    font-size: 13px;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.payment-address-section {
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 15px;
}

.address-label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 10px;
}

.address-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
}

.address-text {
    flex: 1;
    font-size: 12px;
    color: white;
    word-break: break-all;
    font-family: 'Courier New', monospace;
}

.copy-address-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.address-suffix {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* 支付二维码 */
.payment-qrcode {
    margin-top: 15px;
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 12px;
}

.payment-qrcode canvas {
    width: 150px !important;
    height: 150px !important;
}

.qrcode-tip {
    margin-top: 8px;
    font-size: 12px;
    color: #666;
}

/* 二维码弹窗 */
.qrcode-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.qrcode-modal-content {
    background: white;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    max-width: 90%;
    width: 300px;
}

.qrcode-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.qrcode-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
}

.qrcode-modal-img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
}

.qrcode-modal-address {
    font-size: 10px;
    color: #666;
    word-break: break-all;
    margin: 10px 0;
    padding: 8px;
    background: #f5f5f5;
    border-radius: 6px;
}

.qrcode-modal-btns {
    margin-top: 15px;
}

.qrcode-save-btn {
    display: inline-block;
    padding: 10px 30px;
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
}

/* 充值明细按钮 */
.recharge-history-btn {
    position: absolute;
    right: 15px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
}

/* 充值明细页面 */
.recharge-history-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    z-index: 1000;
}

.recharge-history-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: rgba(0,0,0,0.3);
    position: relative;
}

.history-back-btn {
    position: absolute;
    left: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

.recharge-history-header h2 {
    font-size: 18px;
    color: white;
    font-weight: 600;
}

.recharge-history-content {
    padding: 15px;
    height: calc(100% - 60px);
    overflow-y: auto;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.history-item {
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-item-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.history-type {
    font-size: 14px;
    color: white;
    font-weight: 500;
}

.history-time {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}

.history-item-right {
    text-align: right;
}

.history-amount {
    font-size: 16px;
    font-weight: bold;
    color: #00d4aa;
}

.history-status {
    font-size: 11px;
    margin-top: 3px;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
}

.history-status.pending {
    background: rgba(255,193,7,0.2);
    color: #ffc107;
}

.history-status.success {
    background: rgba(0,212,170,0.2);
    color: #00d4aa;
}

.history-status.timeout {
    background: rgba(255,107,107,0.2);
    color: #ff6b6b;
}

.history-status.cancelled {
    background: rgba(150,150,150,0.2);
    color: #999;
}

.history-empty {
    text-align: center;
    padding: 50px 20px;
    color: rgba(255,255,255,0.5);
}

.history-item.clickable {
    cursor: pointer;
    transition: background 0.2s;
}

.history-item.clickable:hover,
.history-item.clickable:active {
    background: rgba(255,255,255,0.15);
}

.history-item.clickable::after {
    content: '›';
    position: absolute;
    right: 15px;
    color: rgba(255,255,255,0.5);
    font-size: 18px;
}

.history-item {
    position: relative;
}

.payment-notice {
    background: rgba(255,107,107,0.1);
    border: 1px solid rgba(255,107,107,0.3);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
}

.payment-notice h4 {
    font-size: 14px;
    color: #ff6b6b;
    margin-bottom: 10px;
}

.payment-notice ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.payment-notice li {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    padding: 5px 0;
    padding-left: 15px;
    position: relative;
}

.payment-notice li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ff6b6b;
}

.cancel-payment-btn {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 25px;
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.cancel-payment-btn:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

/* ========== 发布圈子页面 ========== */
.publish-post-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f5f5f5;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.publish-header {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.publish-back-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

.publish-header h2 {
    flex: 1;
    text-align: center;
    font-size: 18px;
    color: #333;
    margin-right: 30px;
}

.publish-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.publish-section {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
}

.publish-label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.label-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.label-count {
    font-size: 14px;
    color: #999;
    margin-left: 5px;
}

.publish-textarea {
    width: 100%;
    min-height: 100px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
    resize: none;
    background: transparent;
}

.publish-textarea::placeholder {
    color: #ccc;
}

.textarea-counter {
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.publish-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.upload-btn {
    width: 80px;
    height: 80px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #999;
    font-size: 12px;
}

.upload-btn:hover {
    border-color: #E91E63;
    color: #E91E63;
}

.preview-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-image .remove-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
}

.publish-footer {
    padding: 15px;
    background: #fff;
    border-top: 1px solid #eee;
}

.confirm-publish-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #E91E63, #FF5722);
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.confirm-publish-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* ========== 帖子列表样式更新 ========== */
.post-list {
    padding: 10px 15px;
}

.post-item {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.post-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E91E63, #FF5722);
    margin-right: 10px;
    overflow: hidden;
}

.post-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-avatar .avatar-text {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.post-info {
    flex: 1;
}

.post-user-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-tag {
    background: linear-gradient(135deg, #E91E63, #FF5722);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
}

.post-user {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.post-time {
    font-size: 12px;
    color: #999;
    margin-left: auto;
}

.post-content {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
}

.post-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.post-img {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.post-img:hover {
    transform: scale(1.05);
}

.post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.post-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #999;
    cursor: pointer;
}

.post-stat.liked {
    color: #E91E63;
}

.post-stat svg {
    width: 18px;
    height: 18px;
}

.post-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

/* ========== 签到弹窗样式 ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.checkin-modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 30px 40px;
    text-align: center;
    max-width: 300px;
}

.checkin-modal-content p {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.checkin-go-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #E91E63, #FF5722);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
}

.checkin-success-content {
    background: linear-gradient(180deg, #FFF8E1 0%, #FFE082 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 280px;
}

.success-icon {
    font-size: 60px;
    margin-bottom: 10px;
}

.success-title {
    font-size: 20px;
    color: #FF6B00;
    margin-bottom: 15px;
}

.success-amount {
    font-size: 48px;
    font-weight: bold;
    color: #FF6B00;
    margin-bottom: 25px;
}

.success-amount span {
    font-size: 48px;
}

.success-confirm-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #FF8C00, #FF6B00);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    cursor: pointer;
}

/* 提示弹窗 */
.toast-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 9999;
    animation: toastFade 2s ease-in-out;
}

@keyframes toastFade {
    0%, 80% { opacity: 1; }
    100% { opacity: 0; }
}

/* ========== 图片查看器样式 ========== */
.image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-viewer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

.image-viewer-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-viewer-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.image-viewer-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.image-viewer-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#viewer-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.image-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 24px;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.image-nav-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.image-prev {
    left: 20px;
}

.image-next {
    right: 20px;
}

.image-viewer-info {
    margin-top: 20px;
    color: #fff;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .image-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .image-prev {
        left: 15px;
    }
    
    .image-next {
        right: 15px;
    }
    
    .image-viewer-close {
        top: -40px;
        font-size: 24px;
        width: 35px;
        height: 35px;
    }
}

/* ========== VIP兑换结果模态框 ========== */
.vip-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vip-modal.hidden {
    display: none;
}

.vip-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.vip-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 30px 25px;
    width: 280px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.vip-modal-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.vip-modal-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.vip-modal-btn {
    width: 100%;
    padding: 14px 0;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8a80 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vip-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.4);
}

/* 成功状态样式 */
.vip-modal-content.success h3 {
    color: #4caf50;
}

.vip-modal-content.success .vip-modal-btn {
    background: linear-gradient(135deg, #4caf50 0%, #81c784 100%);
}

/* ==================== 搜索匹配弹窗 ==================== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.search-overlay.hidden {
    display: none !important;
}

.search-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 92%;
    max-width: 400px;
    max-height: 75vh;
    background: #fff;
    border-radius: 12px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.search-modal.hidden {
    display: none !important;
}

.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: none;
}

.search-modal-header h3 {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.search-modal-close {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    font-size: 18px;
    color: #ff6b9d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 16px;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    background: #fff5f8;
    border: 1px solid #ffccd5;
    border-radius: 20px;
    padding: 8px 12px;
    margin-bottom: 12px;
}

.search-input-wrap .search-icon {
    margin-right: 10px;
    font-size: 16px;
}

.search-icon-img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.section-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

.search-input-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #333;
    outline: none;
}

.search-input-wrap input::placeholder {
    color: #ff9eb5;
}

.search-section {
    margin-bottom: 12px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.search-section:first-child {
    border-top: none;
    padding-top: 0;
}

.search-section h4 {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.hot-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}

.hot-tag {
    padding: 5px 12px;
    background: #f5f5f5;
    border-radius: 15px;
    font-size: 12px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.hot-tag.hot {
    background: linear-gradient(135deg, #fff0f5 0%, #fae6ec 100%);
    color: #e91e63;
}

.hot-tag.active {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    color: #fff;
}

.hot-tag:hover {
    background: #ffe0e8;
}

.hot-icon {
    width: 12px;
    height: 12px;
    margin-right: 3px;
}

/* 双滑块范围选择器 */
.range-slider-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.range-value {
    font-size: 14px;
    color: #ff6b9d;
    min-width: 50px;
    text-align: center;
    font-weight: 600;
}

.range-slider-container {
    flex: 1;
    position: relative;
    height: 6px;
}

.range-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    transform: translateY(-50%);
}

.range-track-fill {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, #ff6b9d 0%, #ff8fab 100%);
    border-radius: 2px;
}

.range-input {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    z-index: 2;
}

.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: #fff;
    border: 2px solid #ff6b9d;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(255, 107, 157, 0.3);
}

.range-input::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: #fff;
    border: 2px solid #ff6b9d;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(255, 107, 157, 0.3);
}

/* 罩杯选择 */
.cup-options {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
}

.cup-option {
    cursor: pointer;
}

.cup-option input {
    display: none;
}

.cup-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    font-size: 13px;
    color: #666;
    transition: all 0.2s;
}

.cup-option input:checked + span {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    border-color: #ff6b9d;
    color: #fff;
}

/* 其他选项 */
.other-options {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
}

.other-option {
    cursor: pointer;
}

.other-option input {
    display: none;
}

.other-option span {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 18px;
    font-size: 12px;
    color: #666;
    transition: all 0.2s;
}

.other-option input:checked + span {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    border-color: #ff6b9d;
    color: #fff;
}

/* 底部按钮 */
.search-modal-footer {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
}

.search-reset-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 25px;
    background: #fff;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.search-reset-btn:hover {
    background: #f5f5f5;
}

.search-confirm-btn {
    flex: 2;
    padding: 12px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.search-confirm-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

/* ==================== 妹子卡片增强样式 ==================== */
.content-card {
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.content-card:active {
    transform: scale(0.98);
}

.card-image {
    height: 180px;
    background-size: cover;
    background-position: center top;
    position: relative;
}

.card-collect-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #ff6b9d;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-collect-btn.collected {
    background: #ff6b9d;
    color: #fff;
}

.detail-collect-btn.collected,
.detail-collect-star.collected {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    color: #fff;
}

.card-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: linear-gradient(to right, #ffcdd2 0%, #fff5f7 100%);
    font-size: 12px;
    margin-top: 0;
    border-top: none;
}

.stat-left {
    display: flex;
    align-items: center;
    color: #333;
    font-weight: 500;
}

.stat-icon {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

.stat-right {
    color: #333;
    font-weight: 500;
}

.card-tags {
    display: flex;
    gap: 5px;
    padding: 6px 10px 10px;
}

.girl-tag {
    background: #ffcdd2;
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
}

/* ==================== 妹子详情页 ==================== */
.girl-detail-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 10000;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.detail-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    z-index: 10;
}

.detail-back-btn {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-page-num {
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
}

.detail-carousel {
    position: relative;
    height: 400px;
    background: #f0f0f0;
}

.detail-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.detail-slide.active {
    opacity: 1;
}

.detail-thumbnails {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s;
}

.thumb.active {
    border-color: #ff6b9d;
    opacity: 1;
}

.detail-content {
    padding: 20px 15px;
    padding-bottom: 100px;
    background: linear-gradient(180deg, #fff 0%, #fff5f8 100%);
    border-radius: 25px 25px 0 0;
    margin-top: -20px;
    position: relative;
}

.detail-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.detail-code {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.detail-status {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    color: white;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 10px;
}

.detail-collect-star {
    margin-left: auto;
    font-size: 24px;
    color: #ff6b9d;
    cursor: pointer;
}

.detail-region {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    padding: 8px 12px;
    border-radius: 20px;
    width: fit-content;
}

.region-icon-img {
    width: 16px;
    height: 16px;
}

.region-province {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

.region-city {
    background: #ffd54f;
    color: #333;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 10px;
    font-weight: 500;
}

.region-tag {
    background: #fff;
    color: #ff6b9d;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 10px;
    font-weight: 500;
}

.detail-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.stat-box {
    background: white;
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-label {
    font-size: 11px;
    color: #999;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.detail-expand-section {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.expand-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    font-weight: 500;
}

.expand-arrow {
    color: #999;
}

.expand-content {
    padding: 0 15px 15px;
    border-top: 1px solid #f0f0f0;
}

.expand-content pre {
    white-space: pre-wrap;
    word-break: break-all;
    font-family: inherit;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 10px 0 0;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.detail-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 15px;
}

.detail-gallery {
    margin-top: 20px;
}

.gallery-title {
    font-size: 16px;
    color: #ff6b9d;
    margin-bottom: 12px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0;
}

.gallery-item {
    width: 100%;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    cursor: pointer;
}

.detail-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 12px;
    padding: 15px;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 10;
}

.detail-collect-btn {
    flex: 1;
    padding: 14px;
    border: 2px solid #ff6b9d;
    border-radius: 25px;
    background: white;
    color: #ff6b9d;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.detail-order-btn {
    flex: 2;
    padding: 14px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

/* 图片预览 */
.image-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview-overlay img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}

/* 详细信息列表样式 */
.detail-info-list {
    padding: 5px 15px;
    background: linear-gradient(135deg, #fff5f8 0%, #fef0f5 100%);
    border-radius: 8px;
}

.detail-info-row {
    display: block;
    padding: 4px 0;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
}

.info-label {
    color: #333;
}

.info-value {
    color: #333;
}

.detail-info-empty {
    text-align: center;
    color: #999;
    padding: 20px;
}

.collapse-btn {
    text-align: center;
    color: #ff6b9d;
    padding: 15px;
    cursor: pointer;
    font-size: 14px;
    border-top: 1px solid #f0f0f0;
    margin-top: 10px;
}

/* 验证视频区域 */
.detail-video-section {
    margin-top: 20px;
}

.video-locked-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.video-cover {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #222;
    filter: blur(8px);
    transform: scale(1.1);
}

.video-cover-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px);
    transform: scale(1.1);
}

.video-cover-black {
    width: 100%;
    height: 100%;
    background-color: #000;
}

.gallery-video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.video-preview-container {
    position: relative;
    width: 100%;
    max-width: 100vw;
    max-height: 100vh;
}

.video-preview-player {
    width: 100%;
    max-height: 80vh;
    background: #000;
}

.video-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.lock-icon {
    font-size: 48px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.video-locked-container:hover .lock-icon {
    transform: scale(1.2);
}

.vip-btn-icon {
    width: 120px;
    height: auto;
    transition: transform 0.3s ease;
}

.video-locked-container:hover .vip-btn-icon {
    transform: scale(1.15);
}

.vip-btn-text {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #333;
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
}

/* 美眉风采视频项 */
.gallery-video-item {
    position: relative;
    overflow: hidden;
}

.gallery-video-cover {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(3px);
}

.gallery-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon {
    font-size: 32px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
