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

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

.circle-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.logo a {
    color: #fff;
    text-decoration: none;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background-color: rgba(255,255,255,0.2);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.circle-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.circle-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.circle-header-section {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.circle-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.circle-avatar.small {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.circle-avatar.large {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

.circle-info h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.circle-info h3 a {
    color: #333;
    text-decoration: none;
}

.circle-info h3 a:hover {
    color: #667eea;
}

.circle-meta {
    font-size: 0.85rem;
    color: #999;
}

.circle-meta span {
    margin-right: 0.5rem;
}

.circle-content {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.circle-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 0.5rem 0;
}

.circle-content video {
    max-width: 100%;
    border-radius: 8px;
}

.circle-actions {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.action-btn {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background-color: #f5f7fa;
    color: #667eea;
}

.action-btn i {
    margin-right: 0.3rem;
}

.circle-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.circle-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.circle-item:hover {
    transform: translateY(-3px);
}

.circle-item-header {
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.circle-item-header .circle-icon {
    font-size: 3rem;
    color: rgba(255,255,255,0.8);
}

.circle-item-header .circle-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255,255,255,0.9);
    color: #667eea;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
}

.circle-item-body {
    padding: 1rem;
}

.circle-item-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.circle-item-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.circle-item-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

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

.stat-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: #667eea;
}

.stat-label {
    font-size: 0.75rem;
    color: #999;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: #fff;
}

.btn-secondary {
    background: #f5f7fa;
    color: #333;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #eee;
    color: #333;
}

.btn-block {
    display: block;
    width: 100%;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.circle-footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-section h4 i {
    margin-right: 0.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #34495e;
}

.footer-bottom p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .circle-header-section {
        flex-direction: column;
        text-align: center;
    }
    
    .circle-avatar {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .circle-actions {
        flex-direction: column;
    }
    
    .action-btn {
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .circle-list {
        grid-template-columns: 1fr;
    }
    
    .main-content {
        padding-bottom: 80px;
    }
    
    .circle-footer {
        display: none;
    }
    
    .circle-card {
        margin-bottom: 1rem;
        padding: 1rem;
        border-radius: 8px;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .circle-header {
        padding: 0.75rem 0;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
    
    .circle-item-header {
        height: 100px;
    }
    
    .circle-item-title {
        font-size: 1rem;
    }
    
    .circle-item-desc {
        font-size: 0.85rem;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .rank-list li {
        padding: 0.75rem 0;
    }
    
    .rank-num {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
    
    .rank-name {
        font-size: 0.9rem;
    }
    
    .rank-count {
        font-size: 0.8rem;
    }
    
    .post-item {
        padding-bottom: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .circle-info h3 {
        font-size: 1rem;
    }
    
    .circle-meta {
        font-size: 0.8rem;
    }
    
    .circle-content {
        font-size: 0.9rem;
    }
    
    .action-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .btn-primary {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .form-control {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    textarea.form-control {
        min-height: 100px;
    }
    
    .upload-area {
        padding: 1.5rem;
    }
    
    .comment-content {
        padding-left: 50px;
    }
    
    .comment-actions {
        padding-left: 50px;
    }
}

.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 0.5rem 0;
    padding-bottom: env(safe-area-inset-bottom, 0.5rem);
}

.bottom-nav ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bottom-nav li {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 0.7rem;
    padding: 0.25rem;
    transition: color 0.3s ease;
}

.bottom-nav a i {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.bottom-nav a span {
    font-size: 0.65rem;
}

.bottom-nav a.active {
    color: #667eea;
}

.bottom-nav a:hover {
    color: #667eea;
}

.bottom-nav .publish-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-nav .publish-btn a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bottom-nav .publish-btn a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    color: #fff;
}

.bottom-nav .publish-btn a i {
    font-size: 1.5rem;
    margin: 0;
}

@media (max-width: 768px) {
    .bottom-nav {
        display: block;
    }
    
    .desktop-layout {
        display: none;
    }
    
    .mobile-layout {
        display: block;
    }
    
    .mobile-header {
        background: #fff;
        padding: 0.75rem;
        position: sticky;
        top: 0;
        z-index: 100;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .search-bar {
        display: flex;
        align-items: center;
        background: #f5f7fa;
        border-radius: 25px;
        padding: 0.5rem 1rem;
    }
    
    .search-bar i {
        color: #999;
        margin-right: 0.5rem;
    }
    
    .search-input {
        flex: 1;
        border: none;
        background: transparent;
        outline: none;
        font-size: 0.9rem;
    }
    
    .mobile-content {
        padding: 1rem 0.75rem;
    }
    
    .quick-actions {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 0.75rem;
        margin-bottom: 1.5rem;
        padding: 1rem;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .quick-action-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        cursor: pointer;
    }
    
    .quick-action-icon {
        width: 45px;
        height: 45px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .quick-action-item span {
        font-size: 0.75rem;
        color: #666;
    }
    
    .section-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }
    
    .section-title h3 {
        font-size: 1.1rem;
        margin: 0;
        color: #333;
    }
    
    .section-title h3 i {
        margin-right: 0.5rem;
        color: #667eea;
    }
    
    .view-more {
        font-size: 0.85rem;
        color: #999;
        text-decoration: none;
    }
    
    .mobile-post-item {
        background: #fff;
        border-radius: 12px;
        padding: 1rem;
        margin-bottom: 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .mobile-post-header {
        display: flex;
        align-items: center;
        margin-bottom: 0.75rem;
    }
    
    .mobile-post-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        margin-right: 0.75rem;
    }
    
    .mobile-post-info {
        flex: 1;
    }
    
    .mobile-post-author {
        font-size: 0.9rem;
        font-weight: 500;
        color: #333;
    }
    
    .mobile-post-time {
        font-size: 0.75rem;
        color: #999;
    }
    
    .mobile-post-content {
        margin-bottom: 0.75rem;
    }
    
    .mobile-post-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .mobile-post-title a {
        color: #333;
        text-decoration: none;
    }
    
    .mobile-post-desc {
        font-size: 0.85rem;
        color: #666;
        line-height: 1.6;
        margin: 0;
    }
    
    .mobile-post-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 0.75rem;
        border-top: 1px solid #f0f0f0;
    }
    
    .mobile-post-stats {
        display: flex;
        gap: 1rem;
        font-size: 0.8rem;
        color: #999;
    }
    
    .mobile-post-stats i {
        margin-right: 0.25rem;
    }
    
    .mobile-post-actions {
        display: flex;
        gap: 0.5rem;
    }
    
    .mobile-action-btn {
        background: none;
        border: none;
        color: #999;
        font-size: 1rem;
        padding: 0.25rem 0.5rem;
        cursor: pointer;
        transition: color 0.3s ease;
    }
    
    .mobile-action-btn:hover {
        color: #667eea;
    }
    
    .mobile-circles-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .mobile-circle-card {
        background: #fff;
        border-radius: 12px;
        padding: 1rem;
        display: flex;
        align-items: center;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    
    .mobile-circle-card:hover {
        transform: translateY(-2px);
    }
    
    .mobile-circle-icon {
        width: 45px;
        height: 45px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        margin-right: 0.75rem;
        flex-shrink: 0;
    }
    
    .mobile-circle-info {
        flex: 1;
        min-width: 0;
    }
    
    .mobile-circle-name {
        font-size: 0.9rem;
        font-weight: 500;
        color: #333;
        margin-bottom: 0.25rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .mobile-circle-stats {
        display: flex;
        gap: 0.5rem;
        font-size: 0.75rem;
        color: #999;
    }
    
    .mobile-rank-list {
        background: #fff;
        border-radius: 12px;
        padding: 0.75rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .mobile-rank-item {
        display: flex;
        align-items: center;
        padding: 0.75rem 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-rank-item:last-child {
        border-bottom: none;
    }
    
    .mobile-rank-num {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #f5f7fa;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 0.75rem;
        font-size: 0.85rem;
        font-weight: bold;
        color: #666;
    }
    
    .mobile-rank-num.top {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: #fff;
    }
    
    .mobile-rank-name {
        flex: 1;
        font-size: 0.9rem;
        color: #333;
    }
    
    .mobile-rank-count {
        font-size: 0.8rem;
        color: #999;
    }
    
    .mobile-pagination {
        margin: 1rem 0;
        text-align: center;
    }
    
    .mobile-detail-layout {
        padding-bottom: 60px;
    }
    
    .mobile-detail-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #fff;
        padding: 0.75rem 1rem;
        position: sticky;
        top: 0;
        z-index: 100;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .mobile-detail-back {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #333;
        font-size: 1.1rem;
    }
    
    .mobile-detail-title {
        font-size: 1rem;
        font-weight: 500;
        color: #333;
    }
    
    .mobile-detail-actions {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-detail-content {
        background: #fff;
        padding: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .mobile-post-author-bar {
        display: flex;
        align-items: center;
        margin-bottom: 1rem;
    }
    
    .mobile-detail-post-title {
        font-size: 1.2rem;
        font-weight: 600;
        color: #333;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .mobile-detail-post-content {
        font-size: 0.95rem;
        line-height: 1.8;
        color: #333;
        margin-bottom: 1rem;
    }
    
    .mobile-detail-post-content img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 0.5rem 0;
    }
    
    .mobile-detail-post-content video {
        max-width: 100%;
        border-radius: 8px;
    }
    
    .mobile-detail-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .mobile-detail-stats {
        display: flex;
        justify-content: space-around;
        padding: 0.75rem 0;
        border-top: 1px solid #f0f0f0;
        border-bottom: 1px solid #f0f0f0;
        font-size: 0.85rem;
        color: #999;
        margin-bottom: 1rem;
    }
    
    .mobile-detail-stats i {
        margin-right: 0.25rem;
    }
    
    .mobile-detail-action-bar {
        display: flex;
        justify-content: space-around;
    }
    
    .mobile-detail-action-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: none;
        border: none;
        color: #666;
        font-size: 0.75rem;
        cursor: pointer;
        padding: 0.5rem;
    }
    
    .mobile-detail-action-btn i {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
    }
    
    .mobile-detail-action-btn:hover {
        color: #667eea;
    }
    
    .mobile-comments-section {
        background: #fff;
        margin-bottom: 0.75rem;
    }
    
    .mobile-comments-header {
        padding: 1rem;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-comments-header h3 {
        font-size: 1rem;
        margin: 0;
        color: #333;
    }
    
    .mobile-comments-header h3 i {
        margin-right: 0.5rem;
        color: #667eea;
    }
    
    .mobile-comments-list {
        padding: 0 1rem;
    }
    
    .mobile-comment-item {
        display: flex;
        padding: 1rem 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-comment-item:last-child {
        border-bottom: none;
    }
    
    .mobile-comment-avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        margin-right: 0.75rem;
        flex-shrink: 0;
    }
    
    .mobile-comment-body {
        flex: 1;
        min-width: 0;
    }
    
    .mobile-comment-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.5rem;
    }
    
    .mobile-comment-name {
        font-size: 0.85rem;
        font-weight: 500;
        color: #333;
    }
    
    .mobile-comment-time {
        font-size: 0.75rem;
        color: #999;
    }
    
    .mobile-comment-content {
        font-size: 0.9rem;
        color: #666;
        line-height: 1.6;
        margin-bottom: 0.5rem;
    }
    
    .mobile-comment-actions {
        display: flex;
        gap: 1rem;
    }
    
    .mobile-comment-action-btn {
        background: none;
        border: none;
        color: #999;
        font-size: 0.8rem;
        cursor: pointer;
        padding: 0;
    }
    
    .mobile-comment-action-btn i {
        margin-right: 0.25rem;
    }
    
    .mobile-comment-action-btn:hover {
        color: #667eea;
    }
    
    .mobile-comment-input-bar {
        position: fixed;
        bottom: 60px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 0.75rem;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .mobile-comment-input-wrapper {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .mobile-comment-input {
        flex: 1;
        border: 1px solid #ddd;
        border-radius: 20px;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        outline: none;
    }
    
    .mobile-comment-input:focus {
        border-color: #667eea;
    }
    
    .mobile-comment-submit {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: #fff;
        border: none;
        border-radius: 20px;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        cursor: pointer;
    }
    
    .mobile-publish-layout {
        padding-bottom: 80px;
    }
    
    .mobile-publish-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #fff;
        padding: 0.75rem 1rem;
        position: sticky;
        top: 0;
        z-index: 100;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .mobile-publish-back {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #333;
        font-size: 1.1rem;
    }
    
    .mobile-publish-title {
        font-size: 1rem;
        font-weight: 500;
        color: #333;
    }
    
    .btn-publish-submit {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: #fff;
        border: none;
        border-radius: 20px;
        padding: 0.4rem 1.2rem;
        font-size: 0.85rem;
        cursor: pointer;
    }
    
    .mobile-publish-content {
        padding: 1rem;
    }
    
    .publish-form-group {
        margin-bottom: 1.25rem;
    }
    
    .publish-form-group label {
        display: block;
        font-size: 0.9rem;
        font-weight: 500;
        color: #333;
        margin-bottom: 0.5rem;
    }
    
    .publish-select-wrapper {
        position: relative;
    }
    
    .publish-select {
        width: 100%;
        padding: 0.75rem 2.5rem 0.75rem 1rem;
        border: 1px solid #ddd;
        border-radius: 12px;
        font-size: 0.9rem;
        background: #fff;
        appearance: none;
        outline: none;
    }
    
    .publish-select-wrapper i {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
        pointer-events: none;
    }
    
    .publish-input {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 1px solid #ddd;
        border-radius: 12px;
        font-size: 0.9rem;
        outline: none;
        transition: border-color 0.3s ease;
    }
    
    .publish-input:focus {
        border-color: #667eea;
    }
    
    .publish-textarea {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 1px solid #ddd;
        border-radius: 12px;
        font-size: 0.9rem;
        outline: none;
        resize: vertical;
        transition: border-color 0.3s ease;
    }
    
    .publish-textarea:focus {
        border-color: #667eea;
    }
    
    .publish-upload-area {
        border: 2px dashed #ddd;
        border-radius: 12px;
        padding: 2rem 1rem;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        background: #fafafa;
    }
    
    .publish-upload-area:hover {
        border-color: #667eea;
        background: #f0f2ff;
    }
    
    .upload-icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
        color: #fff;
        font-size: 1.5rem;
    }
    
    .publish-upload-area p {
        margin: 0.25rem 0;
        color: #666;
        font-size: 0.9rem;
    }
    
    .upload-hint {
        font-size: 0.8rem !important;
        color: #999 !important;
    }
    
    .upload-preview {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .upload-preview-item {
        width: 80px;
        height: 80px;
        border-radius: 8px;
        overflow: hidden;
        position: relative;
    }
    
    .upload-preview-item img,
    .upload-preview-item video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .upload-preview-remove {
        position: absolute;
        top: 2px;
        right: 2px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: rgba(0,0,0,0.5);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.7rem;
        cursor: pointer;
    }
    
    .publish-radio-group {
        display: flex;
        gap: 1rem;
    }
    
    .publish-radio {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        cursor: pointer;
        font-size: 0.9rem;
        color: #666;
    }
    
    .publish-radio input[type="radio"] {
        width: 18px;
        height: 18px;
        accent-color: #667eea;
    }
    
    .mobile-circles-layout {
        padding-bottom: 80px;
    }
    
    .mobile-circles-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #fff;
        padding: 0.75rem 1rem;
        position: sticky;
        top: 0;
        z-index: 100;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .mobile-circles-back {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #333;
        font-size: 1.1rem;
    }
    
    .mobile-circles-title {
        font-size: 1rem;
        font-weight: 500;
        color: #333;
    }
    
    .mobile-circles-search {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #666;
        font-size: 1.1rem;
    }
    
    .mobile-circles-content {
        padding: 1rem;
    }
    
    .circles-categories {
        display: flex;
        gap: 0.5rem;
        overflow-x: auto;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    
    .circle-category {
        padding: 0.4rem 1rem;
        border-radius: 20px;
        background: #f5f7fa;
        color: #666;
        font-size: 0.85rem;
        white-space: nowrap;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .circle-category.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: #fff;
    }
    
    .mobile-circles-list {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .mobile-circle-item {
        display: flex;
        align-items: center;
        background: #fff;
        border-radius: 12px;
        padding: 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    
    .mobile-circle-item:hover {
        transform: translateY(-2px);
    }
    
    .mobile-circle-item-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 1.2rem;
        margin-right: 1rem;
        flex-shrink: 0;
    }
    
    .mobile-circle-item-info {
        flex: 1;
        min-width: 0;
    }
    
    .mobile-circle-item-name {
        font-size: 0.95rem;
        font-weight: 500;
        color: #333;
        margin-bottom: 0.25rem;
    }
    
    .mobile-circle-item-desc {
        font-size: 0.8rem;
        color: #999;
        margin-bottom: 0.5rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .mobile-circle-item-stats {
        display: flex;
        gap: 1rem;
        font-size: 0.75rem;
        color: #999;
    }
    
    .mobile-circle-item-stats i {
        margin-right: 0.25rem;
    }
    
    .mobile-circle-join-btn {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: #fff;
        border: none;
        border-radius: 20px;
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
        cursor: pointer;
        flex-shrink: 0;
    }
    
    .mobile-apply-circle {
        margin-top: 1.5rem;
        text-align: center;
    }
    
    .btn-apply-circle {
        background: #fff;
        color: #667eea;
        border: 2px solid #667eea;
        border-radius: 25px;
        padding: 0.75rem 2rem;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .btn-apply-circle:hover {
        background: #667eea;
        color: #fff;
    }
    
    .btn-apply-circle i {
        margin-right: 0.5rem;
    }
}

@media (min-width: 769px) {
    .mobile-layout {
        display: none;
    }
    
    .desktop-layout {
        display: block;
    }
}

.upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #667eea;
    background-color: #f9fafc;
}

.upload-area.dragover {
    border-color: #667eea;
    background-color: #f0f2ff;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    position: relative;
}

.modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close:hover {
    color: #000;
}

.tag {
    display: inline-block;
    background-color: #f0f2ff;
    color: #667eea;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.tag:hover {
    background-color: #667eea;
    color: #fff;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-primary {
    background-color: #667eea;
    color: #fff;
}

.badge-success {
    background-color: #28a745;
    color: #fff;
}

.badge-warning {
    background-color: #ffc107;
    color: #333;
}

.post-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

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

.comment-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

/* 移动端菜单全局样式 - 添加到文件末尾 */
.mobile-menu {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 99999 !important;
}

.mobile-menu.active {
    display: block !important;
}

.mobile-menu ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    width: 250px !important;
    height: 100% !important;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1) !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    overflow-y: auto !important;
}

.mobile-menu li {
    border-bottom: 1px solid #eee !important;
    display: block !important;
}

.mobile-menu li a {
    display: flex !important;
    align-items: center !important;
    padding: 15px 20px !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 16px !important;
}

.mobile-menu li a:hover {
    background: #f5f5f5 !important;
}

.mobile-menu li a i {
    margin-right: 10px !important;
    color: #667eea !important;
    width: 20px !important;
    display: inline-block !important;
}

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

.comment-content {
    margin: 0.5rem 0;
    padding-left: 60px;
}

.comment-actions {
    display: flex;
    gap: 1rem;
    padding-left: 60px;
}

.author-info {
    text-align: center;
}

.author-info h4 {
    margin: 1rem 0 0.5rem;
}

.author-stats {
    margin: 1rem 0;
    color: #666;
}

.related-posts {
    list-style: none;
    padding: 0;
}

.related-posts li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.related-posts li:last-child {
    border-bottom: none;
}

.related-posts a {
    color: #333;
    text-decoration: none;
}

.related-posts a:hover {
    color: #667eea;
}

.rank-list {
    list-style: none;
    padding: 0;
}

.rank-list li {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.rank-list li:last-child {
    border-bottom: none;
}

.rank-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: bold;
}

.rank-num.top {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.rank-name {
    flex: 1;
}

.rank-count {
    color: #999;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: #999;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.error-icon {
    padding: 3rem 0;
}

.error-icon i {
    font-size: 4rem;
    color: #ffc107;
    margin-bottom: 1rem;
}

.error-icon h1 {
    font-size: 4rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form input {
    flex: 1;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.category-list a:hover {
    color: #667eea;
}

.category-list i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.event-list {
    list-style: none;
    padding: 0;
}

.event-list li {
    display: flex;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.event-list li:last-child {
    border-bottom: none;
}

.event-date {
    width: 50px;
    text-align: center;
    font-weight: bold;
    color: #667eea;
}

.event-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.event-info p {
    font-size: 0.8rem;
    color: #999;
}

.quick-links {
    list-style: none;
    padding: 0;
}

.quick-links li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.quick-links li:last-child {
    border-bottom: none;
}

.quick-links a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.quick-links a:hover {
    color: #667eea;
}

.quick-links i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.table th {
    background-color: #f5f7fa;
    font-weight: 600;
}

.text-gray {
    color: #999;
}

.text-sm {
    font-size: 0.85rem;
}

.small {
    font-size: 0.85rem;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
}

a {
    color: #667eea;
    text-decoration: none;
}

a:hover {
    color: #764ba2;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    padding: 0 15px;
}

.col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
}

.col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

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

@media (max-width: 992px) {
    .col-lg-8,
    .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}