 /* 保留原主页所有样式 */
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f5f5f5;
        }
        .header {
            background-color: #2c3e50;
            color: white;
            padding: 1rem;
            text-align: center;
        }
        .nav {
            background-color: #3498db;
            padding: 0.5rem;
            text-align: center;
        }
        .nav a {
            color: white;
            text-decoration: none;
            margin: 0 1rem;
        }
        .nav a.active {
            color: #e8f4f8;
            font-weight: 600;
            border-bottom: 2px solid #e8f4f8;
        }
        .container {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 1rem;
        }
        .category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }
        .category-card {
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            padding: 1.5rem;
            text-align: center;
            transition: transform 0.2s;
            cursor: pointer;
        }
        .category-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        }
        .category-card img {
            width: 100%;
            height: 150px;
            object-fit: cover;
            border-radius: 4px;
            margin-bottom: 1rem;
        }
        .category-card h3 {
            margin: 0 0 0.5rem 0;
            color: #2c3e50;
        }
        .category-card p {
            color: #7f8c8d;
            font-size: 0.9rem;
        }
        .btn {
            display: inline-block;
            background-color: #3498db;
            color: white;
            padding: 0.75rem 1.5rem;
            text-decoration: none;
            border-radius: 4px;
            margin: 0.5rem;
            transition: background-color 0.2s;
            border: none;
            cursor: pointer;
            font-size: 0.95rem;
        }
        .btn:hover {
            background-color: #2980b9;
        }
        .footer {
            background-color: #ecf0f1;
            padding: 2rem;
            text-align: center;
            margin-top: 2rem;
        }
        
        /* 个人主页特有样式 */
        .profile-header {
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            padding: 2rem;
            margin-bottom: 2rem;
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            align-items: center;
        }
        .profile-avatar {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid #f5f5f5;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            flex-shrink: 0;
        }
        .profile-info {
            flex-grow: 1;
        }
        .profile-info h2 {
            color: #2c3e50;
            margin-top: 0;
            margin-bottom: 0.5rem;
            font-size: 2rem;
        }
        .user-level {
            display: inline-block;
            background-color: #3498db;
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.85rem;
            margin-bottom: 1rem;
        }
        .profile-stats {
            display: flex;
            gap: 2rem;
            margin: 1.5rem 0;
        }
        .stat-item {
            text-align: center;
        }
        .stat-value {
            font-size: 1.5rem;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 0.25rem;
        }
        .stat-label {
            color: #7f8c8d;
            font-size: 0.85rem;
        }
        
        /* 内容发布区域 */
        .post-section {
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            padding: 2rem;
            margin-bottom: 2rem;
        }
        .post-section .section-title {
            color: #2c3e50;
            margin-top: 0;
            margin-bottom: 1.5rem;
            border-bottom: 1px solid #ecf0f1;
            padding-bottom: 0.5rem;
        }
        .post-form .form-group {
            margin-bottom: 1.5rem;
        }
        .post-form label {
            display: block;
            color: #2c3e50;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }
        .post-form select,
        .post-form textarea {
            width: 100%;
            padding: 1rem;
            border: 1px solid #ecf0f1;
            border-radius: 4px;
            font-family: inherit;
            font-size: 0.95rem;
            color: #2c3e50;
            box-sizing: border-box;
        }
        .post-form textarea {
            resize: vertical;
            min-height: 150px;
        }
        .screenshot-upload {
            margin-bottom: 1rem;
            padding: 1.5rem;
            border: 2px dashed #ecf0f1;
            border-radius: 4px;
            text-align: center;
            cursor: pointer;
            transition: border-color 0.2s;
        }
        .screenshot-upload:hover {
            border-color: #3498db;
        }
        .screenshot-upload input {
            display: none;
        }
        .screenshot-upload .upload-icon {
            font-size: 2rem;
            color: #bdc3c7;
            margin-bottom: 0.5rem;
        }
        .screenshot-upload p {
            margin: 0;
            color: #7f8c8d;
            font-size: 0.9rem;
        }
        .upload-preview {
            margin-top: 1rem;
            max-width: 100%;
            display: none;
        }
        .upload-preview img {
            max-width: 100%;
            border-radius: 4px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        .upload-preview.active {
            display: block;
        }
        
        /* 段位分组样式 */
        .rank-group {
            display: flex;
            gap: 0.5rem;
            margin-top: 0.5rem;
            flex-wrap: wrap;
        }
        .rank-option {
            flex: 1;
            min-width: 100px;
            padding: 0.75rem;
            border: 1px solid #ecf0f1;
            border-radius: 4px;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s;
            font-weight: 500;
        }
        .rank-option:hover {
            border-color: #3498db;
        }
        .rank-option.selected {
            border-color: #3498db;
            background-color: #f0f7ff;
        }
        .rank-topaz { color: #e6b800; }
        .rank-topaz.selected { border-color: #e6b800; background-color: #fffbf0; }
        .rank-ruby { color: #e74c3c; }
        .rank-ruby.selected { border-color: #e74c3c; background-color: #fff5f5; }
        .rank-sapphire { color: #3498db; }
        .rank-sapphire.selected { border-color: #3498db; background-color: #f0f7ff; }
        .rank-diamond { color: #9b59b6; }
        .rank-diamond.selected { border-color: #9b59b6; background-color: #fcf4ff; }
        
        /* 我的发布区域 */
        .my-posts {
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            padding: 2rem;
            margin-bottom: 2rem;
        }
        .my-posts .section-title {
            color: #2c3e50;
            margin-top: 0;
            margin-bottom: 1.5rem;
            border-bottom: 1px solid #ecf0f1;
            padding-bottom: 0.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .post-filters {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }
        .filter-btn {
            background-color: #f5f5f5;
            color: #7f8c8d;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .filter-btn.active {
            background-color: #3498db;
            color: white;
        }
        .post-list {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        .post-item {
            border-bottom: 1px solid #ecf0f1;
            padding-bottom: 1.5rem;
        }
        .post-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }
        .post-header {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 0.75rem;
        }
        .post-category {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 500;
        }
        .category-elf {
            background-color: #e8f4f8;
            color: #2980b9;
        }
        .category-royal {
            background-color: #fef3c7;
            color: #d97706;
        }
        .category-witch {
            background-color: #fce7f3;
            color: #be185d;
        }
        .post-rank {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 500;
        }
        .post-time {
            color: #bdc3c7;
            font-size: 0.85rem;
            margin-left: auto;
        }
        .post-content {
            color: #7f8c8d;
            line-height: 1.6;
            margin-bottom: 1rem;
        }
        .post-image {
            max-width: 600px;
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: 1rem;
        }
        .post-image img {
            width: 100%;
            height: auto;
            display: block;
        }
        .post-actions {
            display: flex;
            gap: 1.5rem;
        }
        .post-action {
            color: #7f8c8d;
            background: none;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.25rem;
            transition: color 0.2s;
        }
        .post-action:hover {
            color: #3498db;
        }
        .no-posts {
            text-align: center;
            padding: 3rem 1rem;
            color: #bdc3c7;
        }
        .no-posts i {
            font-size: 3rem;
            margin-bottom: 1rem;
            display: block;
        }