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

.intro-section {
  margin-bottom: 2rem;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.intro-image {
  max-width: 100%;
  height: auto;
  max-height: 250px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  object-fit: contain;
}

.intro-text p {
  line-height: 1.6;
  margin: 0;
  font-size: 1.1rem;
}

@media (min-width: 992px) {
  .intro-section {
    flex-direction: row;
    text-align: left;
    padding: 2.5rem;
    gap: 3rem;
  }

  .intro-image-wrapper {
    flex: 0 0 240px;
  }

  .intro-image {
    max-height: 240px;
    width: 100%;
  }

  .intro-text p {
    font-size: 1.25rem;
  }
}

.card {
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.controls-card {
  margin-bottom: 2rem;
  padding: 1.5rem;
}

.controls-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.update-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-color);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  border: 1px solid var(--border-color);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-color);
  padding: 0.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  flex-grow: 1;
  max-width: 400px;
}

.form-select, .search-input {
  flex-grow: 1;
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  background-color: var(--card-bg);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}

.form-select:focus, .search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.notice-card {
  display: flex;
  flex-direction: column;
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  height: 100%;
}

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

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  padding: 0.25rem 0.6rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--bg-color);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-icon {
  width: 16px;
  text-align: center;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .controls-header {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-group {
    max-width: 100%;
  }
  .notice-grid {
    grid-template-columns: 1fr;
  }
}



.operation-row-cell:hover { background-color: rgba(59, 130, 246, 0.05); color: var(--primary-color) !important; font-weight: 500; }
.operation-row-cell { transition: all 0.2s ease; }
