:root {
    --primary: #ff6f0f;
    --primary-dark: #e65f00;
    --primary-light: #ff8f4f;
    --primary-glass: rgba(255, 111, 15, 0.15);
    --secondary-gold: #ffd700;
    --secondary-gold-glass: rgba(255, 215, 0, 0.15);
    --text-dark: #111111;
    --text-gray: #666666;
    --text-light: #999999;
    --border: rgba(0, 0, 0, 0.06);
    --bg-white: #ffffff;
    --bg-gray: #f9f9f9;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(255, 111, 15, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-heading: 'Pretendard', sans-serif;
    --font-body: 'Pretendard', sans-serif;
}

body {
    background-color: #f8f9fa;
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 111, 15, 0.03) 0%, transparent 20%), radial-gradient(circle at 90% 80%, rgba(0, 123, 255, 0.03) 0%, transparent 20%);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    color: var(--text-dark);
}

.main-content {
    padding-top: 0;
    padding-bottom: 60px;
    min-height: 100vh;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 0;
}

.community-hero {
    position: relative;
    padding: 80px 24px 40px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, rgba(255, 111, 15, 0.05) 0%, rgba(255, 111, 15, 0.02) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.community-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    margin-bottom: 32px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 900;
    color: var(--text-dark);
    margin: 0 0 16px 0;
    letter-spacing: -0.03em;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--text-gray);
    font-weight: 500;
    margin: 0;
    line-height: 1.7;
    letter-spacing: -0.01em;
}

.community-header {
    position: relative;
    padding: 60px 0 30px;
    text-align: left;
    overflow: hidden;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--border);
}

.community-header::before {
    display: none;
}

.community-header h1 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.community-header h1::before {
    content: '';
    width: 4px;
    height: 32px;
    background: var(--primary);
    border-radius: 2px;
    display: block;
}

.community-header p {
    font-size: 15px;
    color: var(--text-gray);
    font-weight: 400;
    margin: 0;
    line-height: 1.6;
}

.pc-only {
    display: block;
}

.mobile-only {
    display: none;
}

.category-tabs-wrapper {
    background: transparent;
    border-bottom: none;
    margin: 24px 0;
    padding: 0;
}

.category-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.category-tabs-scroll {
    display: flex;
    gap: 8px;
    padding: 0;
    white-space: nowrap;
    justify-content: flex-start;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .pc-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .community-header-mobile {
        position: -webkit-sticky;
        position: sticky;
        top: 56px;
        z-index: 99;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .category-tabs-wrapper-mobile {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        border-bottom: 1px solid var(--border);
    }

    .category-tabs-wrapper-mobile::-webkit-scrollbar {
        display: none;
    }

    .category-tabs-wrapper-mobile .category-tabs-scroll {
        padding: 10px 16px;
        gap: 8px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        min-width: max-content;
    }
}

.category-tab {
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: white;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-tab:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(255, 111, 15, 0.05);
}

.category-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(255, 111, 15, 0.2);
    transform: none;
}

.category-tab.active:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.category-tab i {
    font-size: 16px;
}

.community-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    animation: fadeUp 0.8s ease-out 0.3s backwards;
}

.search-filter-group {
    display: flex;
    gap: 16px;
    flex: 1;
    background: white;
    padding: 8px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    max-width: 800px;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--text-light);
    font-size: 18px;
}

.search-input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 12px 12px 12px 48px;
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-light);
}

.sort-dropdown-wrapper {
    position: relative;
}

.btn-filter {
    background: var(--bg-gray);
    border: none;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    color: var(--text-gray);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-filter:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

.btn-filter i:last-child {
    font-size: 12px;
    transition: transform 0.2s;
}

.sort-dropdown-wrapper:has(.sort-dropdown:not([style*="display: none"])) .btn-filter i:last-child {
    transform: rotate(180deg);
}

.sort-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    z-index: 100;
    display: none;
    overflow: hidden;
}

.sort-dropdown.show {
    display: block;
}

.sort-option {
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-option:hover {
    background: var(--bg-gray);
    color: var(--primary);
}

.sort-option i {
    font-size: 16px;
    color: var(--text-light);
    width: 18px;
}

.sort-option:hover i {
    color: var(--primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 111, 15, 0.25);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-glass);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--primary-glass);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-info h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
}

.stat-info p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 4px 0 0;
    font-weight: 500;
}

.notice-section {
    margin-bottom: 40px;
}

.notice-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notice-item {
    background: linear-gradient(135deg, #fff8f3, #ffffff);
    border: 1px solid rgba(255, 111, 15, 0.15);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 16px;
}

.notice-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary);
}

.notice-badge {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}

.notice-content {
    flex: 1;
    min-width: 0;
}

.notice-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notice-meta {
    font-size: 12px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-section {
    margin-bottom: 48px;
}

.posts-section {
    margin-bottom: 48px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    width: 6px;
    height: 24px;
    background: var(--primary);
    border-radius: 4px;
    display: block;
}

.section-title i {
    color: var(--primary);
    font-size: 20px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.post-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 0;
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 111, 15, 0.3);
}

.post-card.notice,
.post-card.notice-card {
    background: #fff8f3;
    border: 1px solid rgba(255, 111, 15, 0.1);
}

.post-card.notice::after {
    content: 'NOTICE';
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 10px;
    font-weight: 800;
    color: var(--primary);
    background: rgba(255, 111, 15, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 1px;
}

.post-card.best {
    background: #fffff0;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.post-card.best::after {
    content: 'BEST';
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 10px;
    font-weight: 800;
    color: #b8860b;
    background: rgba(255, 215, 0, 0.2);
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 1px;
}

.post-image-wrapper {
    width: 100%;
    height: 180px;
    background: #f0f0f0;
    overflow: hidden;
    position: relative;
}

.post-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-image-wrapper img {
    transform: scale(1.08);
}

.post-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-category-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(255, 111, 15, 0.08);
    margin-bottom: 12px;
    align-self: flex-start;
}

.post-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.post-card:hover .post-title {
    color: var(--primary);
}

.post-preview {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 13px;
    color: var(--text-gray);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.user-avatar-sm {
    width: 28px;
    height: 28px;
    background: var(--bg-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 12px;
}

.post-stats {
    display: flex;
    gap: 12px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-item i {
    font-size: 14px;
    color: var(--text-light);
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    animation: fadeUp 0.8s ease-out;
}

.detail-main {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.detail-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.detail-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 20px;
}

.detail-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.detail-author-large {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-large {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-gray);
}

.author-text h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 2px;
    color: var(--text-dark);
}

.author-text span {
    font-size: 13px;
    color: var(--text-gray);
}

.detail-actions {
    display: flex;
    gap: 12px;
}

.btn-action {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: all 0.2s;
    cursor: pointer;
}

.btn-action:hover {
    background: var(--bg-gray);
    color: var(--primary);
    border-color: var(--primary);
}

.detail-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 40px;
    min-height: 300px;
}

.detail-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 24px 0;
}

.reaction-container {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 60px 0;
}

.btn-reaction {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 24px;
    background: var(--bg-gray);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-reaction i {
    font-size: 32px;
    color: var(--text-light);
    transition: color 0.3s;
}

.btn-reaction span {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-gray);
}

.btn-reaction.active {
    background: rgba(255, 111, 15, 0.1);
    transform: scale(1.1);
}

.btn-reaction.active i {
    color: var(--primary);
}

.btn-reaction.active span {
    color: var(--primary);
}

.btn-reaction:hover {
    background: rgba(255, 111, 15, 0.05);
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-item {
    display: flex;
    gap: 12px;
    cursor: pointer;
}

.sidebar-item-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: #f0f0f0;
    flex-shrink: 0;
}

.sidebar-item-info h5 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-item-info span {
    font-size: 12px;
    color: var(--text-gray);
}

.comments-wrapper {
    background: var(--bg-gray);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-top: 40px;
}

.comment-form-large {
    background: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
}

.comment-form-large textarea {
    width: 100%;
    border: none;
    resize: vertical;
    min-height: 80px;
    font-size: 15px;
    margin-bottom: 12px;
    outline: none;
    font-family: var(--font-body);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.comment-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    animation: fadeUp 0.5s ease-out;
}

.comment-bubble {
    flex: 1;
    background: white;
    padding: 16px 20px;
    border-radius: 0 16px 16px 16px;
    box-shadow: var(--shadow-sm);
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.author-name {
    font-weight: 700;
    color: var(--text-dark);
}

.comment-time {
    color: var(--text-gray);
}

.comment-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
}

.admin-controls-wrapper {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    gap: 24px;
    align-items: center;
}

.admin-control-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-control-label {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.toggle-slider {
    background-color: var(--primary);
}

input:checked+.toggle-slider:before {
    transform: translateX(24px);
}

.toggle-slider.gold {
    background-color: #ccc;
}

input:checked+.toggle-slider.gold {
    background-color: #ffd700;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-premium {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 111, 15, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 0.8s ease-in-out infinite;
}

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

.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-height: 200px;
}

.empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-gray);
}

.empty-state i {
    font-size: 48px;
    color: var(--text-light);
    margin-bottom: 16px;
    display: block;
}

.empty-state p {
    font-size: 16px;
    margin: 0 0 16px;
    color: var(--text-gray);
}

.empty-state .btn-text {
    background: transparent;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.empty-state .btn-text:hover {
    background: var(--primary-glass);
}

.error-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-gray);
}

.error-state i {
    font-size: 48px;
    color: #dc3545;
    margin-bottom: 16px;
    display: block;
}

.error-state p {
    font-size: 16px;
    margin: 0;
    color: var(--text-gray);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-link {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border);
    background: white;
    border-radius: var(--radius-md);
    color: var(--text-gray);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-link:hover {
    background: var(--bg-gray);
    border-color: var(--primary);
    color: var(--primary);
}

.page-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.page-link.prev,
.page-link.next {
    padding: 0 16px;
}

.page-link i {
    font-size: 18px;
}

.section-title i {
    color: var(--primary);
    font-size: 20px;
}

.community-description {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
}

.community-description p {
    font-size: 16px;
    color: var(--text-gray);
    font-weight: 500;
    line-height: 1.6;
}

.table-sections {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.table-section {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.table-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
    border-bottom: 2px solid var(--primary);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.table-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.table-title i {
    color: var(--primary);
    font-size: 20px;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 0 auto;
    display: table;
}

.community-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    font-size: 14px;
    margin: 0 auto;
}

.community-table tbody:empty {
    display: block;
    min-height: 300px;
}

.community-table tbody:empty::after {
    content: '';
    display: block;
    height: 300px;
}

.community-table thead {
    background: var(--bg-gray);
}

.community-table th {
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 13px;
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.community-table th.col-author,
.community-table th.col-date,
.community-table th.col-views,
.community-table th.col-likes {
    text-align: center;
}

.community-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text-dark);
    line-height: 1.5;
}

.community-table tbody tr {
    transition: background-color 0.2s;
    height: 44px;
}

.community-table tbody tr:hover {
    background: var(--bg-gray);
}

.community-table tbody tr:last-child td {
    border-bottom: none;
}

.col-number {
    width: 60px;
    text-align: center;
    font-weight: 600;
    color: var(--text-gray);
}

.notice-badge-number {
    display: inline-block;
    padding: 3px 8px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.col-title {
    width: auto;
    min-width: 200px;
}

.col-title a {
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s;
}

.col-title a:hover {
    color: var(--primary);
}

.comment-count-badge {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 400;
    margin-left: 2px;
}

.col-author {
    width: 100px;
    text-align: center;
    color: var(--text-gray);
    font-size: 13px;
}

.col-date {
    width: 100px;
    text-align: center;
    color: var(--text-gray);
    font-size: 13px;
}

.col-views {
    width: 70px;
    text-align: center;
    color: var(--text-gray);
    font-size: 13px;
}

.col-likes {
    width: 70px;
    text-align: center;
    color: var(--text-gray);
    font-size: 13px;
}

.col-likes i {
    color: var(--primary);
    font-size: 14px;
    margin-right: 4px;
}

.community-table tbody tr.notice-row {
    background: #fff8f3;
    font-weight: 600;
}

.community-table tbody tr.notice-row:hover {
    background: #fff0e6;
}

.notice-badge {
    display: inline-block;
    padding: 2px 6px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    margin-right: 6px;
    vertical-align: middle;
}

.community-table tbody tr.popular-row {
    background: linear-gradient(90deg, #fff8f3 0%, #fff 100%);
    border-left: 3px solid var(--primary);
    font-weight: 600;
}

.community-table tbody tr.popular-row:hover {
    background: linear-gradient(90deg, #fff0e6 0%, #f9f9f9 100%);
    box-shadow: 0 2px 8px rgba(255, 111, 15, 0.1);
}

.community-table tbody tr.popular-row .col-title a {
    font-weight: 600;
    color: var(--text-dark);
}

.community-table tbody tr.popular-row .col-likes {
    color: var(--primary);
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-state p {
    font-size: 16px;
    margin: 0;
}