/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* 新增：个人签名样式 */
.profile-signature {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    line-height: 1.4;
}

/* 新增：行动按钮容器 */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 10px;
}

/* 新增：按钮行容器 */
.contact-buttons-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

/* 小型按钮样式 */
.contact-btn.small,
.follow-btn.small,
.subscribe-btn.small {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* 联系按钮样式 */
.contact-btn.small {
    background-color: #ff4444;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-btn.small:hover {
    background-color: #ff5555;
}

/* 关注按钮样式 */
.follow-btn.small {
    background-color: #fff;
    color: #ff4444;
    border: 1px solid #ff4444;
    cursor: pointer;
    transition: all 0.3s;
}

.follow-btn.small.unfollow {
    background-color: #ff4444;
    color: #fff;
}

.follow-btn.small:hover {
    background-color: #fff3f3;
}

.follow-btn.small.unfollow:hover {
    background-color: #ff5555;
}

/* 订阅按钮样式 */
.subscribe-btn.small {
    background-color: #28a745;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.subscribe-btn.small:hover {
    background-color: #218838;
}

/* 按钮图标和文本 */
.btn-icon {
    font-size: 14px;
}

.btn-text {
    font-size: 12px;
    font-weight: 500;
}

/* 新增：内容类型标签 */
.type-tag {
    color: #fff;
    background-color: #ff4444;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* 新增：全部类型标签 */
.type-tag.all {
    background-color: #ff4444;
}

/* 新增：排列五类型标签 */
.type-tag.plw {
    background-color: #ff6666;
}

/* 新增：福彩3D类型标签 */
.type-tag.fc3d {
    background-color: #ff8888;
}

/* 新增：排列三类型标签 */
.type-tag.pls {
    background-color: #ffaaaa;
}

/* 新增：阅读全文按钮 */
.read-more {
    display: inline-block;
    padding: 6px 16px;
    background-color: #ff4444;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.read-more:hover {
    background-color: #ff5555;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
    position: relative;
    padding-bottom: 80px; /* 为底部导航栏留出空间 */
    overflow-y: auto; /* 允许垂直滚动 */
}

/* 顶部搜索栏 */
.search-bar {
    display: flex;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 0;
}

.search-bar form {
    display: flex;
    flex: 1;
    width: 100%;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    min-width: 0;
    width: 100%;
}

.search-btn {
    margin-left: 10px;
    padding: 10px 20px;
    background-color: #ff4444;
    color: #fff;
    white-space: nowrap;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

/* 搜索结果提示 */
.search-result {
    padding: 10px 15px;
    background-color: #f8f9fa;
    color: #6c757d;
    border-radius: 4px;
    margin: 0 10px 10px 10px;
    font-size: 14px;
}

/* 提醒信息 */
.warning {
    padding: 10px 15px;
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    border-radius: 4px;
    margin: 10px;
    display: flex;
    align-items: center;
}

.warning-icon {
    margin-right: 8px;
}

/* 横幅广告 */
.banner {
    background: linear-gradient(135deg, #ff4444, #ff6666);
    color: #fff;
    padding: 20px;
    text-align: center;
    margin: 10px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.banner-text {
    position: relative;
    z-index: 1;
}

.banner-text h1 {
    font-size: 24px;
    margin: 10px 0;
}

.banner-content {
    margin: 15px 0;
    font-size: 16px;
}

.banner-content p {
    margin: 5px 0;
}

/* 导航菜单 */
.nav {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    background-color: #fff;
    margin: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 12px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.nav-item:hover {
    background-color: #fff3f3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 68, 68, 0.1);
}

.nav-icon {
    font-size: 28px;
    margin-bottom: 5px;
    color: #ff4444;
}

.nav-text {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

/* 彩种分类 */
.type-nav {
    display: flex;
    overflow-x: auto;
    padding: 10px;
    background-color: #fff;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #ff4444;
}

.type-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    padding: 10px;
    text-decoration: none;
    color: #333;
    border-radius: 8px;
    transition: all 0.3s;
}

.type-item.active {
    background-color: #ff4444;
    color: #fff;
}

.type-item:hover {
    background-color: #fff3f3;
}

.type-item.active:hover {
    background-color: #ff5555;
}

.type-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.type-text {
    font-size: 12px;
    font-weight: 500;
}

/* 内容列表 */
.content-list {
    padding: 10px;
    padding-bottom: 80px;
}

.content-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid #eee;
    transition: all 0.3s;
}

.content-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* 作者列表容器 */
.author-list {
    padding: 10px;
    padding-bottom: 80px;
}

/* 作者列表项样式 */
.author-item {
    background-color: #fff;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 12px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
    border-color: #ffeeee;
}

/* 作者信息 */
.author-info {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 15px;
}

/* 作者头像 */
.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4444, #ff6666);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    flex-shrink: 0;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* 作者详细信息 */
.author-details {
    flex: 1;
    min-width: 0;
}

/* 作者名称 */
.author-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 作者统计信息 */
.author-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

/* 统计项 */
.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 统计图标 */
.stat-icon {
    font-size: 16px;
    color: #ff4444;
}

/* 统计文本 */
.stat-text {
    font-size: 14px;
    color: #666;
}

/* 主页链接样式 */
.homepage-link {
    color: #ff4444;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.homepage-link:hover {
    color: #ff6666;
}

/* 作者操作区 */
.author-actions {
    margin-left: 15px;
    flex-shrink: 0;
}

/* 无数据提示 */
.no-data {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 16px;
    background-color: #fff;
    border-radius: 12px;
    margin: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* 页面标题 */
.page-title {
    /* 默认样式为卡片样式 */
    padding: 15px 20px;
    background-color: #fff;
    margin: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* 顶部导航栏中的标题样式 */
.top-nav-center .page-title {
    /* 只显示文本样式 */
    padding: 0;
    background-color: transparent;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    color: #fff;
}

.page-title h2 {
    font-size: 20px;
    color: #fff;
    margin: 0;
    font-weight: 600;
}

.top-tag {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 40px 40px 0 0;
    border-color: #ff4444 transparent transparent transparent;
    color: white;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    text-align: center;
    overflow: visible;
}

.top-tag span {
    position: absolute;
    top: -25px;
    left: -4px;
    width: 25px;
    height: 25px;
    display: inline-block;
    transform: rotate(-45deg);
    transform-origin: top left;
    line-height: 1;
    padding-top: 0;
    font-size: 10px;
}

/* 价格标签样式 */
.price-tag {
    background-color: #ff4444;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.free-tag {
    background-color: #28a745;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

/* 内容页脚样式 */
.content-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
    position: relative;
}

/* 文章标签印章容器 */
.tag-seal-container {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
}

/* 文章标签印章样式 */
.tag-seal {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-right: 8px;
    margin-bottom: 8px;
    transform: rotate(-15deg);
}

/* 红色标签 */
.tag-seal.red {
    background-color: #ff4444;
}

/* 黑色标签 */
.tag-seal.black {
    background-color: #333;
}

/* 走标签 */
.tag-seal.walk {
    background-color: #666;
}

/* 绝杀标签 */
.tag-seal.kill {
    background-color: #ff6600;
}

.content-header {
    margin-bottom: 10px;
}

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

.content-sales {
    font-size: 12px;
    color: #666;
}

.content-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 12px;
}

.content-time {
    color: #999;
}

.content-price {
    /* 移除背景色和文字颜色，让内部的price-tag和free-tag自己决定样式 */
    padding: 2px 8px;
    font-weight: 600;
}

.content-free {
    color: #fff;
    background-color: #28a745;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* 内容状态标记样式 */
.content-status {
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    margin-left: 8px;
}

/* 已发布状态 */
.content-status.published {
    color: #fff;
    background-color: #28a745;
}

/* 待审核状态 */
.content-status.pending {
    background-color: #ffc107;
    color: #333;
}

.content-preview {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.read-more {
    display: inline-block;
    padding: 8px 15px;
    background-color: #ff4444;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 10px;
}

.edit-btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: #4CAF50;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 10px;
    margin-left: 10px;
}

.delete-btn {
    display: inline-block !important;
    padding: 8px 15px !important;
    background-color: #ff4444 !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    margin-top: 10px !important;
    margin-left: 10px !important;
}

.article-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
}

/* 底部导航 */
.bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    background-color: #fff;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 600px;
    margin: 0 auto;
    z-index: 100;
}

.nav-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    padding: 10px;
    transition: all 0.3s;
}

.nav-bottom-item.active {
    color: #ff4444;
}

.nav-bottom-icon {
    font-size: 20px;
    margin-bottom: 5px;
}

.nav-bottom-text {
    font-size: 12px;
}

/* 用户主页 */
.user-header {
    background-color: #ff4444;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.user-info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fff;
    color: #ff4444;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.user-details {
    text-align: left;
}

.user-name {
    font-size: 20px;
    margin: 0;
    font-weight: 600;
}

.user-phone {
    font-size: 14px;
    margin: 5px 0 0 0;
    opacity: 0.9;
}

.stats {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background-color: #fff;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: #ff4444;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.user-contents {
    padding: 10px;
}

.section-title {
    font-size: 18px;
    margin: 0 0 15px 0;
    color: #333;
    padding: 0 10px;
}

.content-stats {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    background-color: #fff;
    border-radius: 8px;
    margin: 10px;
}

.user-menu {
    padding: 10px;
    margin-bottom: 80px;
}

.menu-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    background-color: #fff;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #333;
    transition: all 0.3s;
}

.menu-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.menu-icon {
    font-size: 20px;
    margin-right: 15px;
}

.menu-text {
    font-size: 16px;
}

/* 文章详情页 */
.content-header-detail {
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.content-title-detail {
    font-size: 20px;
    color: #333;
    line-height: 1.4;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.content-meta-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
    margin: 0;
}

.content-publish-time {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.content-author {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.meta-separator {
    color: #ccc;
    margin: 0 5px;
}

.author-link {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s;
}

.author-link:hover {
    color: #ff4444;
    text-decoration: underline;
}

.content-sales {
    color: #ff4444;
    font-weight: 500;
}

/* 免费内容区域 */
.free-content-section {
    padding: 15px 10px;
    background-color: #fff;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-title-free {
    font-size: 18px;
    color: #ff4444;
    margin: 0 0 15px 0;
    font-weight: 700;
    text-align: center;
    padding: 10px;
    background-color: #fff3f3;
    border-radius: 4px;
    border: 1px solid #ffdddd;
}

/* 用户中心页面样式 */

/* 顶部导航栏 */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #ff4444;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* 菜单区域样式 */
.menu-section {
    margin: 20px 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 菜单网格布局 */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 15px;
}

/* 菜单项目样式 */
.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
    color: #333;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.menu-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff3f3;
}

.menu-icon {
    font-size: 24px;
    margin-bottom: 5px;
    color: #ff4444;
}

.menu-text {
    font-size: 12px;
    text-align: center;
    color: #333;
}

.top-nav-left, .top-nav-right {
    flex: 1;
}

.top-nav-center {
    flex: 2;
    text-align: center;
}

.back-btn, .logout-btn {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
}

.back-icon, .logout-icon {
    font-size: 20px;
}

.page-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

/* 用户信息卡片 */
.user-card {
    background-color: #fff;
    padding: 20px;
    margin: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

/* 信息网格 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 15px;
    background-color: #fff;
    margin: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.info-item {
    text-align: center;
    padding: 10px;
}

.info-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.info-value {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #ff4444;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #ff4444;
    color: #fff;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3);
    transition: all 0.3s ease;
}

.user-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(255, 68, 68, 0.4);
}

/* 头像上传覆盖层 */
.user-avatar-container {
    position: relative;
}

.user-avatar {
    position: relative;
    cursor: pointer;
}

.avatar-upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 50%;
}

.user-avatar:hover .avatar-upload-overlay {
    opacity: 1;
}

.upload-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.upload-text {
    font-size: 12px;
    font-weight: 600;
}

/* 隐藏的文件输入框 */
.avatar-input {
    display: none;
}

.user-details {
    flex: 1;
}

.user-name {
    font-size: 18px;
    color: #333;
    margin: 0 0 10px 0;
}

.user-phone, .user-id {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

/* 信息部分 */
.info-section {
    background-color: #fff;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.section-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

/* 我的文章页面 */
.article-stats {
    display: flex;
    justify-content: space-around;
    padding: 15px;
    background-color: #fff;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.article-stats .stat-item {
    text-align: center;
}

.article-stats .stat-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.article-stats .stat-value {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #ff4444;
}

.my-articles-list {
    padding: 10px;
}

.empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    background-color: #fff;
    border-radius: 8px;
    margin: 10px;
}

.empty-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.empty-text {
    font-size: 16px;
    margin-bottom: 20px;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .container {
        max-width: 100%;
        margin: 0;
        padding: 0;
        padding-bottom: 80px; /* 为底部导航栏留出空间 */
    }
    
    .top-nav {
        padding: 12px 15px;
    }
    
    .page-title {
        font-size: 16px;
    }
    
    .search-bar {
        padding: 8px;
    }
    
    .search-input {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .search-btn {
        padding: 8px 16px;
        font-size: 13px;
        margin-left: 8px;
    }
    
    .warning {
        padding: 8px 12px;
        margin: 8px;
        font-size: 13px;
    }
    
    .banner {
        padding: 15px;
        margin: 8px;
    }
    
    .banner-text h1 {
        font-size: 20px;
    }
    
    .banner-content {
        font-size: 14px;
    }
    
    .user-card {
        padding: 15px;
        margin: 8px;
    }
    
    .user-avatar {
        width: 80px;
        height: 80px;
        font-size: 40px;
        margin-right: 15px;
    }
    
    .user-name {
        font-size: 16px;
    }
    
    .profile-signature {
        font-size: 13px;
    }
    
    .info-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 12px;
        margin: 8px;
    }
    
    .info-label {
        font-size: 12px;
    }
    
    .info-value {
        font-size: 18px;
    }
    
    .action-buttons {
        margin: 8px;
        gap: 10px;
    }
    
    .nav {
        padding: 12px 0;
        margin: 8px;
    }
    
    .nav-item {
        padding: 10px 8px;
    }
    
    .nav-icon {
        font-size: 24px;
    }
    
    .nav-text {
        font-size: 11px;
    }
    
    .type-nav {
        padding: 8px;
        margin: 8px;
    }
    
    .type-item {
        min-width: 70px;
        padding: 8px;
    }
    
    .type-icon {
        font-size: 20px;
    }
    
    .type-text {
        font-size: 11px;
    }
    
    .content-list {
        padding: 8px;
        padding-bottom: 70px;
    }
    
    .content-item {
        padding: 12px;
        margin-bottom: 8px;
    }
    
    .content-title {
        font-size: 15px;
    }
    
    .content-preview {
        font-size: 13px;
    }
    
    .content-meta {
        font-size: 11px;
    }
    
    .price-tag, .free-tag {
        padding: 3px 10px;
        font-size: 13px;
    }
    
    .read-more {
        padding: 5px 14px;
        font-size: 13px;
    }
    
    .bottom-nav {
        padding: 8px 0;
    }
    
    .nav-bottom-item {
        padding: 8px;
    }
    
    .nav-bottom-icon {
        font-size: 18px;
    }
    
    .nav-bottom-text {
        font-size: 11px;
    }
}

.publish-new-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff4444;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.my-articles-list .content-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #333;
}

.my-articles-list .content-info {
    flex: 1;
}

.my-articles-list .content-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.my-articles-list .content-meta {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.my-articles-list .content-type {
    margin-right: 10px;
}

.my-articles-list .content-price {
    color: #ff4444;
    font-weight: 600;
    margin-right: 10px;
}

.my-articles-list .content-sales {
    color: #999;
}

.my-articles-list .content-time {
    font-size: 12px;
    color: #999;
}

.my-articles-list .content-arrow {
    font-size: 18px;
    color: #ddd;
}

/* 推广邀请页面 */
.invite-stats {
    display: flex;
    justify-content: space-around;
    padding: 15px;
    background-color: #fff;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.invite-stats .stat-item {
    text-align: center;
}

.invite-stats .stat-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.invite-stats .stat-value {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #ff4444;
}

/* 头像上传样式 */
.user-avatar-container {
    position: relative;
    margin-bottom: 30px;
}

.user-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    margin: 0 auto;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.default-avatar {
    width: 100%;
    height: 100%;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 50%;
}

.user-avatar:hover .avatar-upload-overlay {
    opacity: 1;
}

.upload-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.upload-text {
    font-size: 16px;
    font-weight: 500;
}

/* 隐藏的文件输入框 */
.avatar-input {
    display: none;
}

.upload-message {
    padding: 10px;
    border-radius: 4px;
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
}

.upload-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.upload-message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.invite-code-section {
    background-color: #fff;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.invite-code-container {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: #f9f9f9;
}

.invite-code {
    flex: 1;
    font-size: 18px; 
    font-weight: 600;
}

/* 缓存页面样式 */
.cache-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cache-label {
    font-size: 14px;
    color: #666;
}

.cache-value {
    font-size: 24px;
    font-weight: 600;
    color: #ff4444;
}

.cache-types {
    margin-top: 15px;
}

.cache-type-item {
    margin-bottom: 15px;
}

.type-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.type-size {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.type-bar {
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.type-bar-fill {
    height: 100%;
    background-color: #ff4444;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.success-message {
    padding: 10px 15px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
}

.error-message {
    padding: 10px 15px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
}

.cache-form {
    margin-top: 15px;
}

.cache-options {
    margin-bottom: 20px;
}

.option-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}

.option-item input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    accent-color: #ff4444;
}

.copy-btn {
    padding: 10px 15px;
    background-color: #ff4444;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.share-section {
    background-color: #fff;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.share-link-container {
    padding: 15px 20px;
    background-color: #f9f9f9;
}

.share-link {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    background-color: #fff;
}

/* 收益统计页面 */
.earnings-overview {
    background-color: #fff;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.earnings-overview .section-content {
    padding: 15px 20px;
}

.total-earnings {
    font-size: 24px;
    font-weight: 600;
    color: #ff4444;
    text-align: center;
    margin-bottom: 10px;
}

.daily-earnings-chart {
    background-color: #fff;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.daily-earnings-chart .section-content {
    padding: 15px 20px;
}

.chart-container {
    height: 200px;
    background-color: #f9f9f9;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 支付页面样式 */
.pay-container {
    padding: 15px;
    margin-bottom: 80px;
}

.pay-info {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.pay-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.pay-label {
    font-size: 14px;
    color: #666;
}

.pay-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.pay-value.price {
    color: #ff4444;
    font-size: 16px;
}

.payment-method-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-method {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-method:hover {
    border-color: #ff4444;
    background-color: #fff3f3;
}

.payment-method.selected {
    border-color: #ff4444;
    background-color: #fff3f3;
}

.payment-method-icon {
    font-size: 24px;
    margin-right: 15px;
}

.payment-method-name {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    flex: 1;
}

.wallet-balance {
    font-size: 12px;
    color: #666;
}

.payment-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.pay-qr {
    text-align: center;
    margin-bottom: 20px;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-tip {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.pay-notice {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    margin-top: 15px;
}

.pay-notice p {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 14px;
}

.pay-notice ul {
    margin: 0;
    padding-left: 20px;
}

.pay-notice li {
    color: #666;
    font-size: 13px;
    margin-bottom: 5px;
}

.wechat-pay-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #ff4444;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.wechat-pay-btn:hover {
    background-color: #ff5555;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 68, 68, 0.3);
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 10px 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    padding: 10px 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

/* 顶部导航栏的用户按钮样式 */
.user-btn {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
}

.article-earnings-list {
    background-color: #fff;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.article-earnings-item {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.article-info {
    flex: 1;
}

.article-info .article-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.article-info .article-meta {
    font-size: 12px;
    color: #666;
}

.article-revenue {
    font-size: 18px;
    font-weight: 600;
    color: #ff4444;
}

.withdrawal-records {
    background-color: #fff;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 80px;
}

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

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

.withdrawal-info .withdrawal-amount {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.withdrawal-info .withdrawal-time {
    font-size: 12px;
    color: #666;
}

.withdrawal-status {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.withdrawal-status.success {
    background-color: #d4edda;
    color: #155724;
}

.withdrawal-status.processing {
    background-color: #fff3cd;
    color: #856404;
}

/* 顶部导航栏按钮 */
.top-nav-right .publish-btn {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
}

/* 弹窗样式 */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-container {
    background-color: #fff;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.popup-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.close-btn:hover {
    background-color: #f5f5f5;
}

.popup-content {
    padding: 20px;
    text-align: center;
}

/* 联系按钮样式 */
.contact-buttons {
    display: flex;
    gap: 15px;
    margin: 15px 0;
}

.contact-btn {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #ff4444;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.contact-btn:hover {
    background-color: #ff5555;
}

.btn-icon {
    margin-right: 8px;
}

/* 关注按钮样式 */
.follow-section {
    margin: 15px 0;
}

.follow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #2196F3;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.follow-btn:hover {
    background-color: #1976D2;
}

.follow-btn.unfollow {
    background-color: #ccc;
}

.follow-btn.unfollow:hover {
    background-color: #bbb;
}

/* 包月订阅按钮样式 */
.subscribe-section {
    margin: 15px 0;
}

.subscribe-btn {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.subscribe-btn:hover {
    background-color: #45a049;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 20px;
    gap: 15px;
}

.info-item {
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.info-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.info-value {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #ff4444;
}

/* 功能菜单 */
.menu-section {
    background-color: #fff;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 增加作者专区和功能菜单之间的空隙 */
.menu-section + .menu-section {
    margin-top: 20px;
}

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

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 15px 10px;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: all 0.3s;
}

.menu-item:hover {
    background-color: #ff4444;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.menu-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.menu-text {
    font-size: 12px;
    text-align: center;
}

/* 钱包页面样式 */

/* 钱包卡片 */
.wallet-card {
    background-color: #fff;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.balance-section {
    padding: 30px 20px;
    text-align: center;
    background-color: #ff4444;
    color: #fff;
}

.balance-label {
    font-size: 16px;
    margin: 0 0 10px 0;
    opacity: 0.9;
}

.balance-amount {
    font-size: 36px;
    font-weight: 600;
    margin: 0;
}

.wallet-actions {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background-color: #fff;
}

.action-btn {
    flex: 1;
    padding: 12px;
    margin: 0 10px;
    border: 1px solid #ff4444;
    border-radius: 4px;
    background-color: #fff;
    color: #ff4444;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.action-btn:hover {
    background-color: #ff4444;
    color: #fff;
}

.recharge-btn {
    background-color: #ff4444;
    color: #fff;
}

.recharge-btn:hover {
    background-color: #ff5555;
}

/* 交易记录筛选 */
.transaction-filter {
    background-color: #fff;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.filter-buttons {
    display: flex;
    justify-content: space-around;
}

.filter-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s;
}

.filter-btn.active {
    background-color: #ff4444;
    color: #fff;
}

/* 交易记录列表 */
.transaction-list {
    padding: 10px;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.transaction-info {
    display: flex;
    align-items: center;
}

.transaction-type-icon {
    font-size: 24px;
    margin-right: 15px;
}

.transaction-details {
    flex: 1;
}

.transaction-description {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.transaction-time {
    font-size: 12px;
    color: #999;
}

.transaction-amount {
    font-size: 18px;
    font-weight: 600;
}

.transaction-amount.income {
    color: #4CAF50;
}

.transaction-amount.expense {
    color: #FF5722;
}

.content-reminder {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #fff3f3;
    border-radius: 4px;
    border: 1px solid #ffdddd;
}

.content-divider {
    height: 2px;
    background-color: #ff4444;
    margin: 20px 0;
    position: relative;
    border-radius: 1px;
}

.free-content {
    color: #333;
    font-size: 15px;
    line-height: 1.8;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

/* 付费内容区域 */
.paid-content-section {
    padding: 15px 10px;
    background-color: #fff;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-title-paid {
    font-size: 18px;
    color: #ff4444;
    margin: 0 0 15px 0;
    font-weight: 700;
    text-align: center;
    padding: 10px;
    background-color: #fff3f3;
    border-radius: 4px;
    border: 1px solid #ffdddd;
}

.paid-content {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    border-left: 4px solid #ff4444;
}

.pay-lock-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff3f3;
    border: 2px dashed #ff4444;
    border-radius: 8px;
    margin: 10px 0;
}

.lock-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ff4444;
}

.lock-text {
    color: #ff4444;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.lock-subtext {
    color: #666;
    font-size: 14px;
}

/* 内容导航 */
.content-nav {
    display: flex;
    justify-content: space-between;
    padding: 15px 10px;
    background-color: #fff;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-prev,
.nav-next {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-prev:hover,
.nav-next:hover {
    color: #ff4444;
    background-color: #fff3f3;
}

.nav-arrow {
    margin: 0 5px;
    font-weight: 600;
}

/* 登录提示区域 */
.login-prompt-section {
    padding: 20px 10px;
    text-align: center;
    background-color: #fff;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-prompt-text {
    color: #ff4444;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.login-prompt-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.login-prompt-btn,
.register-prompt-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.login-prompt-btn {
    background-color: #ff4444;
    color: #fff;
}

.login-prompt-btn:hover {
    background-color: #ff3333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3);
}

.register-prompt-btn {
    background-color: #fff;
    color: #ff4444;
    border: 2px solid #ff4444;
}

.register-prompt-btn:hover {
    background-color: #fff3f3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.2);
}

/* 支付按钮区域 */
.pay-button-section {
    padding: 20px 10px;
    text-align: center;
    background-color: #fff;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wechat-pay-btn-large {
    display: block;
    width: 100%;
    padding: 20px 0;
    background-color: #ff4444;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3);
    position: relative;
    overflow: hidden;
}

.wechat-pay-btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.wechat-pay-btn-large:hover::before {
    left: 100%;
}

.wechat-pay-btn-large:hover {
    background-color: #ff5555;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 68, 68, 0.4);
}

.pay-btn-icon {
    margin-right: 10px;
    font-size: 22px;
}

.pay-note {
    color: #666;
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

/* 原有内容详情页样式保持不变 */
.content-title-full {
    font-size: 20px;
    margin: 20px 10px 10px 10px;
    color: #333;
    line-height: 1.4;
}

.content-meta-full {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 10px 15px 10px;
    font-size: 12px;
    color: #666;
}

.content-preview-full {
    background-color: #fff;
    padding: 15px;
    margin: 0 10px 10px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    line-height: 1.5;
}

.content-full {
    background-color: #fff;
    padding: 20px;
    margin: 0 10px 10px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.content-success {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    margin: 0 10px 20px 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}

.pay-section {
    background-color: #fff;
    padding: 20px;
    margin: 0 10px 20px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.pay-notice {
    margin-bottom: 20px;
}

.pay-notice h3 {
    color: #333;
    margin-bottom: 10px;
}

.pay-price {
    font-size: 24px;
    font-weight: 600;
    color: #ff4444;
    margin-bottom: 20px;
}

.pay-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #ff4444;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.pay-btn:hover {
    background-color: #ff6666;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.pay-tip {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

/* 支付页面 */
.pay-container {
    background-color: #fff;
    padding: 20px;
    margin: 20px 10px 80px 10px; /* 添加底部边距避免被底部导航遮挡 */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pay-title {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.pay-info {
    margin-bottom: 20px;
}

.pay-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

/* 我的文章页面样式 */
.article-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 15px;
    background-color: #fff;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.article-stats .stat-item {
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.article-stats .stat-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.article-stats .stat-value {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #ff4444;
}

.my-articles-list {
    padding: 10px;
}

.my-articles-list .content-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: all 0.3s;
}

.my-articles-list .content-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.my-articles-list .content-info {
    flex: 1;
}

.my-articles-list .content-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.my-articles-list .content-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.my-articles-list .content-time {
    font-size: 12px;
    color: #999;
}

.my-articles-list .content-arrow {
    color: #999;
    font-size: 18px;
    margin-left: 10px;
}

.publish-new-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff4444;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    margin-top: 10px;
    transition: all 0.3s;
}

.publish-new-btn:hover {
    background-color: #ff5555;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* 推广邀请页面样式 */
.invite-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 15px;
    background-color: #fff;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.invite-stats .stat-item {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.invite-stats .stat-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.invite-stats .stat-value {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: #ff4444;
}

.invite-code-section {
    background-color: #fff;
    padding: 15px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.invite-code-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-top: 10px;
}

.invite-code {
    font-size: 24px;
    font-weight: 600;
    color: #ff4444;
    letter-spacing: 2px;
}

.copy-btn {
    padding: 8px 16px;
    background-color: #ff4444;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.copy-btn:hover {
    background-color: #ff5555;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.share-section {
    background-color: #fff;
    padding: 15px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.share-link-container {
    display: flex;
    gap: 10px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-top: 10px;
}

.share-link {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.share-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.share-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #fff;
}

.wechat-share {
    background-color: #07C160;
}

.qq-share {
    background-color: #12B7F5;
}

.weibo-share {
    background-color: #E6162D;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.invite-records {
    background-color: #fff;
    padding: 15px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 80px;
}

.records-list {
    margin-top: 15px;
}

.record-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.record-info {
    flex: 1;
}

.record-username {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.user-icon {
    margin-right: 10px;
    font-size: 18px;
}

.record-time {
    font-size: 12px;
    color: #999;
}

.record-earning {
    font-size: 18px;
    font-weight: 600;
    color: #4CAF50;
}

/* 收益统计页面样式 */
.earnings-overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 15px;
    background-color: #fff;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.earnings-overview .overview-item {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.earnings-overview .overview-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.earnings-overview .overview-value {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: #ff4444;
}

.earnings-chart {
    background-color: #fff;
    padding: 15px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chart-container {
    margin-top: 20px;
}

/* 折线图样式 */
.line-chart-container {
    position: relative;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
}

#earningsChart {
    width: 100%;
    height: auto;
    display: block;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding: 0 30px;
}

.chart-label {
    font-size: 12px;
    color: #666;
    text-align: center;
    flex: 1;
}

.chart-values {
    display: flex;
    justify-content: space-between;
    padding: 10px 30px;
}

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

.chart-value {
    font-size: 14px;
    font-weight: 600;
    color: #ff4444;
}

/* 柱状图样式（保留但不再使用） */
.chart-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 200px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.chart-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    margin: 0 5px;
}

.chart-bar {
    width: 100%;
    background-color: #ff4444;
    border-radius: 4px 4px 0 0;
    transition: all 0.5s ease-out;
    min-height: 20px;
    transform-origin: bottom;
}

.chart-bar:hover {
    background-color: #ff5555;
    transform: scaleY(1.05);
}

.chart-date {
    font-size: 12px;
    color: #666;
    margin: 5px 0;
}

.article-earnings {
    background-color: #fff;
    padding: 15px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.earnings-list {
    margin-top: 15px;
}

.earnings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.earnings-info {
    flex: 1;
}

.earnings-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.earnings-title a {
    color: #333;
    text-decoration: none;
}

.earnings-title a:hover {
    color: #ff4444;
}

.earnings-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.earnings-amount {
    font-size: 18px;
    font-weight: 600;
    color: #ff4444;
}

.withdrawal-records {
    background-color: #fff;
    padding: 15px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 80px;
}

.withdrawal-records .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.withdraw-btn {
    padding: 8px 16px;
    background-color: #ff4444;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.withdraw-btn:hover {
    background-color: #ff5555;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.withdrawal-records .record-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.withdrawal-records .record-amount {
    font-size: 18px;
    font-weight: 600;
    color: #FF5722;
}

.withdrawal-records .record-status {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.withdrawal-records .record-status.success {
    background-color: #d4edda;
    color: #155724;
}

.withdrawal-records .record-status.processing {
    background-color: #fff3cd;
    color: #856404;
}

/* 用户作者状态样式 */
.user-author-status {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
    font-weight: 500;
}
    border-bottom: 1px solid #eee;
}

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

.pay-label {
    color: #666;
    font-size: 14px;
}

.pay-value {
    color: #333;
    font-size: 14px;
}

.pay-value.price {
    color: #ff4444;
    font-size: 18px;
}

.pay-qr {
    text-align: center;
    margin-bottom: 20px;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background-color: #f5f5f5;
    margin: 0 auto 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #999;
    font-size: 14px;
}

.qr-tip {
    font-size: 14px;
    color: #666;
}

.wechat-pay-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #07c160;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.wechat-pay-btn:hover {
    background-color: #06b355;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.wechat-icon {
    margin-right: 10px;
}

.pay-notice {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
}

.pay-notice ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.pay-notice li {
    margin-bottom: 5px;
    color: #666;
}

/* 发布页面 */
.page-title {
    text-align: center;
    margin: 20px 0;
    color: #333;
}

.publish-form {
    background-color: #fff;
    padding: 20px;
    margin: 0 10px 80px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #ff4444;
}

.form-textarea {
    resize: vertical;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.submit-btn {
    padding: 12px 30px;
    background-color: #ff4444;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background-color: #ff6666;
}

.cancel-btn {
    padding: 12px 30px;
    background-color: #f5f5f5;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s;
}

.cancel-btn:hover {
    background-color: #e0e0e0;
}

.message {
    padding: 10px 15px;
    border-radius: 4px;
    margin: 0 10px 20px 10px;
    font-size: 14px;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .container {
        max-width: 100%;
    }
    
    .nav {
        margin: 5px;
    }
    
    .type-nav {
        margin: 5px;
    }
    
    .content-item {
        margin: 5px;
    }
    
    .banner {
        margin: 5px;
    }
    
    .warning {
        margin: 5px;
    }
}

/* 往期记录样式 */
.past-records-section {
    margin: 20px 10px;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.section-title-past {
    color: #ff4444;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.past-records-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.past-record-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.past-record-item:hover {
    background-color: #f0f0f0;
    transform: translateX(5px);
}

.past-record-title {
    font-size: 14px;
    font-weight: 500;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.past-record-date {
    font-size: 12px;
    color: #666;
    margin-left: 10px;
}
