body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 20px;
    overflow-x: hidden;
}

.container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.calendar-container {
    flex: 3;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.details-container {
    flex: 1;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.details-container h3 {
    margin-bottom: 15px;
}

.event-item {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 6px;
    background-color: #f9f9f9;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.event-item strong {
    color: #333;
}

.news-board {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.board-title {
    margin: 0 0 20px 0;
    padding: 0;
    font-size: 20px;
    color: #333;
}

.news-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.page-info {
    color: #666;
    font-size: 14px;
}

.page-buttons {
    display: flex;
    gap: 10px;
}

.page-btn {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
}

.page-btn:hover {
    background: #f5f5f5;
}

.page-btn:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.news-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.is_shuoshi{background-color:#fff;color:#000 !important}

.news-meta {
    font-size: 0.875rem;
    color: #64748b;
}

.news-tags {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}

.tag {
    padding: 2px 8px;
    font-size: 0.75rem;
    border-radius: 12px;
    color: #fff;
    font-weight: 500;
}

.tag-internal {
    background-color: #e74c3c;
}

.tag-accuracy {
    background-color: #2ecc71;
}

.tag-public {
    background-color: #3498db;
}

.tag-important {
    background-color: #f39c12;
}

.tag-default {
    background-color: #95a5a6;
}

.news-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.875rem;
    color: #64748b;
}

.stats-item {
    margin: 2px 0;
    display: flex;
    align-items: center;
}

.stats-icon {
    margin-right: 5px;
    color: #475569;
}

.login-area {
    position: static;
    z-index: 1000;
}

.login-btn {
    padding: 8px 16px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.login-btn:hover {
    background-color: #2980b9;
}

.login-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    width: 360px;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.login-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.login-form input:focus {
    border-color: #3498db;
    outline: none;
}

.login-form .input-group {
    position: relative;
    margin-bottom: 20px;
}

.login-form .verify-group {
    display: flex;
    gap: 10px;
}

.login-form .verify-group input {
    flex: 1;
}

.login-form .verify-btn {
    padding: 12px 20px;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s;
}

.login-form .verify-btn:disabled {
    background: #95a5a6;
}

.login-form .submit-btn {
    width: 100%;
    padding: 12px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.login-form .submit-btn:hover {
    background: #2980b9;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
}

.login-tips {
    font-size: 12px;
    color: #666;
    margin-top: 15px;
    text-align: center;
}
 /* 更新筛选组件样式 */
.calendar-filter-container {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    vertical-align: middle;
}

.calendar-filter-input {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 3px 0 0 3px;
    font-size: 14px;
    width: 150px;
    height: 32px; /* 匹配 FullCalendar 按钮高度 */
    box-sizing: border-box;
}

.calendar-filter-input:focus {
    outline: none;
    border-color: #2196f3;
}

.calendar-filter-button {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 0 3px 3px 0;
    background: #f8f9fa;
    cursor: pointer;
    height: 32px; /* 匹配输入框高度 */
    box-sizing: border-box;
    vertical-align: top;
}

.calendar-filter-button:hover {
    background: #e9ecef;
}
.news-detail-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    width: 700px;
    max-height: 80vh;
    overflow-y: auto;
}

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

.news-detail-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.news-detail-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.news-detail-content {
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all; /* 强制长单词换行 */
}

.news-detail-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.action-buttons {
    display: flex;
    gap: 15px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.action-btn.liked {
    color: #e74c3c;
    border-color: #e74c3c;
}

.related-news {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.related-news h4 {
    margin-bottom: 15px;
    color: #333;
}

.related-news-item {
    padding: 10px 0;
    cursor: pointer;
}

.related-news-item:hover {
    color: #3498db;
}

.login-mask {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.login-mask-text {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.login-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1001;
    animation: slideInRight 0.3s ease;
    max-width: 400px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

.login-alert-icon {
    font-size: 24px;
}

.login-alert-content {
    flex: 1;
}

.login-alert-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.login-alert-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.login-alert-btn {
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    border: none;
}

.login-alert-btn.primary {
    background: #3498db;
    color: white;
}

.login-alert-btn.secondary {
    background: #eee;
    color: #666;
}

.site-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    padding: 15px 30px;
    margin: -20px -20px 20px -20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-title h1 {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
}

.site-title span {
    font-size: 16px;
    opacity: 0.8;
}

@media screen and (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        flex-direction: column;
    }

    .calendar-container{  width: 100%; margin-bottom: 20px;}
    .details-container {
        width: calc(100% - 40px);
        margin-bottom: 20px;
    }

    .site-header {
        padding: 10px 15px;
        margin: -10px -10px 15px -10px;
    }

    .site-title h1 {
        font-size: 24px;
    }

    .site-title span {
        font-size: 14px;
    }

    .ad-content {
        flex-direction: column;
        padding: 15px;
    }

    .news-item {
        flex-direction: column;
    }

    .news-stats {
        flex-direction: row;
        justify-content: flex-start;
        gap: 20px;
        margin-top: 10px;
    }
}

.fc-event {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    border: none;
}

.fc-event:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.fc-day:hover {
    background-color: #f8f9fa;
}

.fc-day-today {
    background-color: rgba(52, 152, 219, 0.1) !important;
}

.ad-section { 
    padding: 40px 0px;
    background: linear-gradient(135deg, #f6f8fa, #e9ecef);
    margin: 30px 0;
}

.ad-content {
    max-width: none;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

.ad-text {
    flex: 3;
    min-width: 0;
}

.ad-title {
    font-size: 32px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 10px 0;
    letter-spacing: 0.5px;
}

.ad-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.4;
}

.ad-description {
    color: #444;
    line-height: 1.8;
    margin: 25px 0;
}

.ad-description p {
    margin: 15px 0;
}

.ad-description strong {
    color: #2c3e50;
    font-size: 18px;
}

.ad-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 35px;
    padding-top: 35px;
    border-top: 1px solid #eee;
}

.contact-container {
    flex: 1;
    min-width: 300px;
    max-width: 340px;
    align-self: center;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
}

/* 响应式布局优化 */
@media screen and (max-width: 1024px) {
    .ad-content {
        padding: 30px;
        gap: 30px;
    }

    .ad-title {
        font-size: 28px;
    }

    .ad-subtitle {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    
   
    .ad-content {
        flex-direction: column;
        padding: 25px;
    }

    .contact-container {
        max-width: none;
        width: 100%;
        margin-top: 20px;
    }

    .ad-features {
        grid-template-columns: 1fr;
    }
}

.search-section {
    width: calc(100% - 40px);
    padding: 35px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.search-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.search-subtitle {
    color: #666;
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.5;
    font-weight: 400;
    opacity: 0.8;
}

.search-input-group {
    display: flex;
    align-items: center;
    width: calc(100% - 30px);
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    padding: 5px 15px;
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    border-color: #3498db;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.1);
}

.search-input {
    flex: 1;
    border: none;
    padding: 12px 0;
    font-size: 16px;
    background: transparent;
}

.search-input:focus {
    outline: none;
}

.search-button {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 15px;
    transition: background-color 0.3s;
}

.search-button:hover {
    background: #2980b9;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 10px;
    display: none;
}

@media (max-width: 768px) {
    .search-container {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .search-container {
        width: 95%;
    }
}

.news-list-page {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 1002;
    overflow-y: auto;
    padding: 20px;
}

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

.news-list-title {
    font-size: 24px;
    font-weight: bold;
}

.news-list-close {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.news-filter {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.filter-btn {
    padding: 6px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-container {
    position: relative;
}

.search-results {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    display: none;
    z-index: 1000;
}

.search-results-section {
    padding: 15px;
}

.search-results-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.search-result-item {
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
}

.search-result-item:hover {
    background: #f5f5f5;
}

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

.news-header h3 {
    margin: 0;
}

/* 居中搜索框样式 */
.search-container-center {
    position: relative;
    margin: 20px auto;
    width: 80%;
    max-width: 600px;
    text-align: center;
}

.search-container-center .search-input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-container-center .search-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.2);
}

.search-container-center .search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #666;
    pointer-events: none;
}

.search-section {
    width: calc(100% - 40px);
    background: #f8f9fa;
    padding: 30px 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.message-board {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 30px;
    margin-top: 40px;
}

.message-board-title {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 600;
}

.message-form {
    margin-bottom: 30px;
}

.message-form textarea {
    width: calc(100% - 40px);
    height: 100px;
    padding: 20px;
    border: none;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    resize: vertical;
    font-size: 15px;
    transition: all 0.3s ease;
}

.message-form textarea:focus {
    outline: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.submit-message-btn {
    margin-top: 15px;
    padding: 12px 25px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-message-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.message-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 10px;
}

.message-item {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: rotate(-1deg);
    transition: all 0.3s ease;
    position: relative;
}

.message-item:nth-child(2n) {
    transform: rotate(1deg);
    background: #fff9c4;
}

.message-item:nth-child(3n) {
    transform: rotate(-0.5deg);
    background: #e1f5fe;
}

.message-item:nth-child(4n) {
    transform: rotate(0.7deg);
    background: #f3e5f5;
}

.message-item:hover {
    transform: rotate(0) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.message-content {
    font-size: 15px;
    line-height: 1.6;
    color: #2c3e50;
    margin-bottom: 15px;
}

.message-meta {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 13px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.message-reply {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    font-size: 14px;
    position: relative;
}

.message-reply::before {
    content: '↳';
    position: absolute;
    left: 5px;
    color: #3498db;
    font-weight: bold;
}

.message-reply-label {
    color: #3498db;
    font-weight: 600;
    margin-left: 15px;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .message-board {
        padding: 20px;
    }

    .message-list {
        grid-template-columns: 1fr;
    }

    .message-item {
        transform: none !important;
    }
}

/* 添加便利贴的装饰效果 */
.message-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0 0 4px 4px;
}

.contact-container {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 16px;
    min-width: 280px;
    text-align: center;
}

.qr-codes {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.qr-code-item {
    flex: 1;
}

.qr-code {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.qr-code:hover {
    transform: scale(1.05);
}

.qr-code-text {
    color: #2c3e50;
    font-size: 14px;
    font-weight: 500;
}

.contact-info {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.consult-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.consult-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52,152,219,0.3);
}

@media screen and (max-width: 768px) {
    .qr-codes {
        flex-direction: column;
        align-items: center;
    }
    
    .qr-code-item {
        width: 100%;
    }
    
    .qr-code {
        width: 150px;
        height: 150px;
    }
}

.comments-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.comments-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

.comment-form {
    margin-bottom: 25px;
}

.comment-input {
    width: 100%;
    height: 80px;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    resize: none;
    margin-bottom: 10px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.comment-input:focus {
    outline: none;
    border-color: #3498db;
}

.comment-submit {
    padding: 8px 20px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.comment-submit:hover {
    background: #2980b9;
}

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

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.comment-user {
    font-weight: 500;
    color: #333;
}

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

.comment-content {
    color: #444;
    line-height: 1.5;
    margin-bottom: 8px;
}

.comment-actions {
    display: flex;
    gap: 15px;
}

.comment-action {
    color: #666;
    font-size: 12px;
    cursor: pointer;
}

.comment-action:hover {
    color: #3498db;
}

.comment-replies {
    margin-left: 20px;
    padding-left: 20px;
    border-left: 2px solid #eee;
}

.message-board {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 30px;
    margin-top: 40px;
}

.message-board-title {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 600;
}

.message-section {
    margin-top: 40px;
}

.section-title {
    font-size: 18px;
    color: #34495e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e6ed;
}

#eventDetails{max-height: 980px; overflow: auto;}

.message-form {
    margin-bottom: 30px;
}

.message-form textarea {
    width: calc(100% - 40px);
    height: 100px;
    padding: 20px;
    border: none;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    resize: vertical;
    font-size: 15px;
    transition: all 0.3s ease;
}

.message-form textarea:focus {
    outline: none;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.submit-message-btn {
    margin-top: 15px;
    padding: 12px 25px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-message-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.message-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 10px;
}

/* 待回复留言样式 */
#pendingMessages .message-item {
    background: #fff9c4;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: rotate(2deg);
    transition: all 0.3s ease;
    position: relative;
    animation: floatIn 0.5s ease-out;
}

/* 已回复留言样式 */
#answeredMessages .message-item {
    background: #e1f5fe;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: rotate(-2deg);
    transition: all 0.3s ease;
    position: relative;
    animation: floatIn 0.5s ease-out;
}

/* 随机旋转角度和颜色 */
.message-item:nth-child(2n) {
    transform: rotate(-3deg);
}

.message-item:nth-child(3n) {
    transform: rotate(3deg);
}

.message-item:nth-child(4n) {
    transform: rotate(-1deg);
}

/* 悬停效果 */
.message-item:hover {
    transform: rotate(0) scale(1.05) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 1;
}

/* 便利贴装饰效果 */
.message-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 8px;
    background: rgba(0,0,0,0.1);
    border-radius: 0 0 4px 4px;
}

/* 添加动画效果 */
@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(20px) rotate(0deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(var(--rotation, 2deg));
    }
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .message-board {
        padding: 20px;
    }

    .message-list {
        grid-template-columns: 1fr;
    }

    .message-item {
        transform: none !important;
    }
    
    .message-item:hover {
        transform: scale(1.05) !important;
    }
}