.announcements-container {
  margin-top: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.announcement-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.announcement-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 10px 12px;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

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

.announcement-item:hover {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.04) 0%, rgba(59, 130, 246, 0.02) 100%);
  padding-left: 16px;
}

.announcement-item::after {
  content: '\f054';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #cbd5e1;
  font-size: 10px;
  opacity: 0;
  transition: all 0.2s ease;
}

.announcement-item:hover::after {
  opacity: 1;
  right: 8px;
}

.announcement-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.announcement-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 32px;
}

.announcement-type.top {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
  color: white;
  box-shadow: 0 2px 4px rgba(255, 75, 87, 0.2);
}

.announcement-type.important {
  background: linear-gradient(135deg, #ffa94d 0%, #fd7e14 100%);
  color: white;
  box-shadow: 0 2px 4px rgba(253, 126, 20, 0.2);
}

.announcement-type.notice {
  background: linear-gradient(135deg, #4dabf7 0%, #339af0 100%);
  color: white;
  box-shadow: 0 2px 4px rgba(51, 154, 240, 0.2);
}

.announcement-type.update {
  background: linear-gradient(135deg, #69db7c 0%, #51cf66 100%);
  color: white;
  box-shadow: 0 2px 4px rgba(81, 207, 102, 0.2);
}

.announcement-title {
  font-weight: 500;
  font-size: 14px;
  margin: 0;
  flex: 1;
  color: #2d3748;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.announcement-date {
  color: #94a3b8;
  font-size: 11px;
  white-space: nowrap;
  margin-left: auto;
}

.announcement-pagination {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  padding-top: 10px;
}

.pinned-announcements-section {
  background: linear-gradient(135deg, #fffbf5 0%, #fff9f0 100%);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid rgba(251, 191, 36, 0.2);
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.08);
  position: relative;
  overflow: hidden;
}

.pinned-announcements-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 50%, #fbbf24 100%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.pinned-announcements-section .announcement-list {
  margin-bottom: 0;
}

.pinned-announcements-section .announcement-item {
  background: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
  border-radius: 6px;
  border: 1px solid rgba(251, 191, 36, 0.1);
}

.pinned-announcements-section .announcement-item:last-child {
  margin-bottom: 0;
}

.pinned-announcements-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(251, 191, 36, 0.2);
  gap: 6px;
}

.pinned-announcements-header i {
  color: #f59e0b;
  font-size: 14px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.pinned-announcements-header h3 {
  margin: 0;
  color: #d97706;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.normal-announcements-section {
  background: white;
  border-radius: 10px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.normal-announcements-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f3f4f6;
  gap: 6px;
}

.normal-announcements-header i {
  color: #6b7280;
  font-size: 14px;
}

.normal-announcements-header h3 {
  margin: 0;
  color: #4b5563;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.announcement-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.announcement-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.announcement-modal-content {
  background: white;
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  max-height: 75vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
  position: relative;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.announcement-modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 18px 20px;
  position: relative;
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.announcement-modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  flex: 1;
  padding-right: 10px;
}

.announcement-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.announcement-translate-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.announcement-translate-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.announcement-translate-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.announcement-translate-btn i {
  font-size: 14px;
}

.announcement-modal-close {
  color: white;
  font-size: 24px;
  font-weight: 300;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  opacity: 0.9;
}

.announcement-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
  transform: rotate(90deg);
}

.announcement-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.announcement-modal-body::-webkit-scrollbar {
  width: 6px;
}

.announcement-modal-body::-webkit-scrollbar-track {
  background: #f1f3f5;
  border-radius: 3px;
}

.announcement-modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.announcement-modal-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.html-content {
  line-height: 1.7;
  color: #334155;
  font-size: 14px;
}

.html-content h1,
.html-content h2,
.html-content h3 {
  color: #1e293b;
  margin-top: 16px;
  margin-bottom: 12px;
}

.html-content p {
  margin-bottom: 12px;
}

.html-content a {
  color: #667eea;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.html-content a:hover {
  color: #764ba2;
  border-bottom-color: #764ba2;
}

.html-content .announcement-emoji {
  max-width: 60px;
  max-height: 60px;
  vertical-align: middle;
  margin: 0 4px;
}

.html-content .announcement-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px 0;
  border-radius: 8px;
  cursor: pointer;
}

.translated-content {
  position: relative;
  padding: 12px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-left: 3px solid #3b82f6;
  border-radius: 6px;
  margin-top: 10px;
}

.translated-content::before {
  content: '翻译内容';
  position: absolute;
  top: -8px;
  left: 10px;
  background: white;
  padding: 0 6px;
  font-size: 11px;
  color: #3b82f6;
  font-weight: 600;
}

.translated-content p {
  margin: 8px 0;
  line-height: 1.7;
  color: #334155;
}

.announcement-modal-footer {
  padding: 12px 20px;
  text-align: right;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
}

.announcement-modal-ok {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 8px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.announcement-modal-ok:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.announcement-modal-ok:active {
  transform: translateY(0);
}

.pagination {
  display: flex;
  gap: 4px;
}

.page-item {
  display: inline-block;
}

.page-link {
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 12px;
  font-weight: 500;
  background: white;
}

.page-link:hover {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-color: #d1d5db;
  color: #4b5563;
}

.page-item.active .page-link {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
  color: white;
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.loading-announcements {
  text-align: center;
  padding: 1.5rem;
  color: #94a3b8;
  font-size: 13px;
}

.no-announcements {
  text-align: center;
  padding: 2rem 1rem;
  color: #94a3b8;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 10px;
  font-size: 13px;
  border: 1px dashed #e5e7eb;
  margin: 10px;
}

.announcement-admin-container {
  margin-top: 20px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.announcement-admin-actions {
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.announcement-admin-actions button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(102, 126, 234, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.announcement-admin-actions button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.announcement-admin-actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.announcement-admin-actions button i {
  font-size: 14px;
}

#batch-delete-btn {
  background: linear-gradient(135deg, #ff8787 0%, #ff6b6b 100%);
  box-shadow: 0 2px 12px rgba(255, 107, 107, 0.3);
}

#batch-delete-btn:hover:not(:disabled) {
  box-shadow: 0 4px 16px rgba(255, 107, 107, 0.4);
}

#admin-announcements-list {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.announcement-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.announcement-table-wrapper::-webkit-scrollbar {
  height: 8px;
}

.announcement-table-wrapper::-webkit-scrollbar-track {
  background: #f1f3f5;
  border-radius: 4px;
}

.announcement-table-wrapper::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.announcement-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.announcement-list-header {
  display: grid;
  grid-template-columns: 40px 80px 1fr 180px 60px 180px;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 600;
  font-size: 13px;
  align-items: center;
  min-width: 800px;
}

.announcement-list-header > div {
  display: flex;
  align-items: center;
}

.header-checkbox {
  justify-content: center;
}

.announcement-list-item {
  display: grid;
  grid-template-columns: 40px 80px 1fr 180px 60px 180px;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
  align-items: center;
  min-width: 800px;
}

.announcement-list-item:hover {
  background: #f8fafc;
}

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

.item-checkbox {
  display: flex;
  justify-content: center;
}

.announcement-checkbox,
.announcement-checkbox-header {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.item-type {
  display: flex;
  align-items: center;
}

.announcement-type-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.announcement-type-badge.top {
  background: rgba(255, 75, 87, 0.1);
  color: #ff4757;
}

.announcement-type-badge.important {
  background: rgba(253, 126, 20, 0.1);
  color: #fd7e14;
}

.announcement-type-badge.notice {
  background: rgba(51, 154, 240, 0.1);
  color: #339af0;
}

.announcement-type-badge.update {
  background: rgba(81, 207, 102, 0.1);
  color: #51cf66;
}

.item-title {
  font-weight: 500;
  font-size: 14px;
  color: #2d3748;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item-date {
  color: #64748b;
  font-size: 13px;
  white-space: nowrap;
}

.item-pinned {
  text-align: center;
  font-size: 16px;
}

.item-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.btn-edit,
.btn-delete {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.btn-edit {
  background: linear-gradient(135deg, #4dabf7 0%, #339af0 100%);
  color: white;
}

.btn-edit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(51, 154, 240, 0.3);
}

.btn-delete {
  background: linear-gradient(135deg, #ff8787 0%, #ff6b6b 100%);
  color: white;
}

.btn-delete:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
}

.announcement-editor-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  backdrop-filter: blur(4px);
}

.announcement-editor-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.announcement-editor {
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease;
  will-change: transform;
}

.announcement-editor-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.announcement-editor h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.announcement-editor-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

.announcement-editor-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.announcement-editor-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  overscroll-behavior: contain;
}

.announcement-editor-body::-webkit-scrollbar {
  width: 6px;
}

.announcement-editor-body::-webkit-scrollbar-track {
  background: #f1f3f5;
}

.announcement-editor-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

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

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group-checkbox input[type="checkbox"] {
  width: auto;
  cursor: pointer;
}

.forum-editor-container {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.forum-editor-container .editor-toolbar {
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.forum-editor-container .editor-toolbar button {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  color: #4b5563;
}

.forum-editor-container .editor-toolbar button:hover {
  background: #f3f4f6;
  border-color: #cbd5e1;
}

.forum-editor-container .editor-toolbar button.active {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

.forum-editor-container .editor-content {
  min-height: 300px;
  max-height: 500px;
  overflow-y: auto;
  padding: 16px;
  font-size: 14px;
  line-height: 1.6;
  background: white;
}

.forum-editor-container .editor-content:focus {
  outline: none;
}

.forum-editor-container .editor-content .editor-emoji-preview {
  max-width: 80px;
  max-height: 80px;
  vertical-align: middle;
  margin: 0 4px;
  border-radius: 6px;
  cursor: pointer;
}

.forum-editor-container .editor-content .editor-uploaded-image {
  max-width: 50%;
  height: auto;
  display: inline-block;
  margin: 4px;
  border-radius: 8px;
  cursor: pointer;
  vertical-align: middle;
}

.announcement-editor-footer {
  padding: 16px 24px;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: center;
}

.announcement-editor-footer button {
  padding: 10px 32px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

#save-announcement-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

#save-announcement-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

@media (max-width: 768px) {
  .announcements-container {
    padding: 0 10px;
  }
  
  .pinned-announcements-section,
  .normal-announcements-section {
    padding: 10px;
    border-radius: 8px;
  }
  
  .announcement-modal-content {
    width: 95%;
    max-height: 85vh;
    border-radius: 12px;
  }
  
  .announcement-item {
    padding: 8px 10px;
  }
  
  .announcement-header {
    flex-wrap: wrap;
    gap: 6px;
  }
  
  .announcement-title {
    font-size: 13px;
    width: 100%;
    order: 2;
  }
  
  .announcement-type {
    order: 1;
  }
  
  .announcement-date {
    order: 1;
    margin-left: auto;
    font-size: 10px;
  }
  
  .pinned-announcements-header h3,
  .normal-announcements-header h3 {
    font-size: 12px;
  }
  
  .announcement-modal-header {
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .announcement-modal-title {
    font-size: 14px;
    padding-right: 0;
    margin-bottom: 8px;
  }
  
  .announcement-modal-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .announcement-translate-btn {
    padding: 5px 10px;
    font-size: 12px;
  }
  
  .announcement-translate-btn i {
    font-size: 13px;
  }
  
  .announcement-modal-body {
    padding: 16px;
  }
  
  .announcement-modal-footer {
    padding: 10px 16px;
  }
  
  .translated-content {
    padding: 10px;
    margin-top: 8px;
  }
  
  .translated-content::before {
    font-size: 10px;
  }

  .announcement-admin-container {
    padding: 0 12px;
  }

  .announcement-admin-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .announcement-admin-actions button {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    justify-content: center;
  }

  #admin-announcements-list {
    border-radius: 8px;
    margin: 0;
  }
  
  .announcement-table-wrapper {
    position: relative;
  }
  
  .announcement-table-wrapper::after {
    content: '← 左右滑动查看更多 →';
    display: block;
    text-align: center;
    padding: 8px;
    font-size: 11px;
    color: #94a3b8;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
  }

  .announcement-list-header {
    font-size: 11px;
    padding: 12px 16px;
    gap: 8px;
    grid-template-columns: 35px 70px minmax(150px, 1fr) 150px 50px 150px;
    min-width: 700px;
  }

  .announcement-list-item {
    font-size: 12px;
    padding: 12px 16px;
    gap: 8px;
    grid-template-columns: 35px 70px minmax(150px, 1fr) 150px 50px 150px;
    min-width: 700px;
  }

  .announcement-checkbox,
  .announcement-checkbox-header {
    width: 16px;
    height: 16px;
  }

  .announcement-type-badge {
    font-size: 10px;
    padding: 3px 8px;
  }

  .item-title {
    font-size: 13px;
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
  }

  .item-date {
    font-size: 11px;
  }

  .item-actions {
    gap: 6px;
  }
  
  .btn-edit,
  .btn-delete {
    padding: 5px 10px;
    font-size: 11px;
  }
  
  .btn-edit i,
  .btn-delete i {
    font-size: 11px;
  }

  .announcement-editor {
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
  }
  
  .announcement-editor-modal.show {
    padding: 0;
  }
  
  .announcement-editor-header {
    padding: 16px 20px;
  }
  
  .announcement-editor-body {
    padding: 20px;
  }
  
  .forum-editor-container .editor-content {
    min-height: 200px;
    max-height: 300px;
  }
}

@media (max-width: 374px) {
  .announcement-list-header,
  .announcement-list-item {
    grid-template-columns: 30px 60px minmax(120px, 1fr) 130px 45px 130px;
    min-width: 600px;
    font-size: 10px;
    padding: 10px 12px;
  }
  
  .announcement-type-badge {
    font-size: 9px;
    padding: 2px 6px;
  }
  
  .btn-edit,
  .btn-delete {
    padding: 4px 8px;
    font-size: 10px;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .announcement-list-header,
  .announcement-list-item {
    grid-template-columns: 40px 70px 1fr 140px 50px 160px;
    gap: 10px;
    padding: 14px 18px;
  }
  
  .announcement-list-header {
    font-size: 12px;
  }
  
  .item-title {
    font-size: 13px;
  }
  
  .item-date {
    font-size: 12px;
  }
}