.notices-wrap {
  --n-border: #e5e7eb;
  --n-text: #111827;
  --n-muted: #6b7280;
  --n-bg: #ffffff;
  --n-soft: #f9fafb;
  --n-accent: #111827;

  color: var(--n-text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

.notices-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px 0;
}

.notices-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.notices-subtitle {
  margin: 18px 0 10px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--n-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.notices-card {
  background: var(--n-bg);
  border: 1px solid var(--n-border);
  border-radius: 16px;
  padding: 16px 16px;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.notices-card--latest {
  background: linear-gradient(180deg, var(--n-soft), var(--n-bg));
}

.notices-card + .notices-card {
  margin-top: 12px;
}

.notices-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.notices-card-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.notices-meta {
  font-size: 13px;
  color: var(--n-muted);
  white-space: nowrap;
  padding-top: 2px;
}

.notices-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--n-text);
  background: #fff;
  border: 1px solid var(--n-border);
  border-radius: 999px;
  padding: 6px 10px;
  white-space: nowrap;
}

.notices-card-content {
  color: var(--n-text);
}

.notices-card-content p {
  margin: 0 0 10px 0;
}

.notices-card-content p:last-child {
  margin-bottom: 0;
}

.notices-attachments {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--n-border);
}

.notices-attachments-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--n-muted);
  margin-bottom: 8px;
}

.notices-attachments-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.notices-attachments-item {
  display: flex;
}

.notices-attachment-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  color: var(--n-accent);
  border: 1px solid var(--n-border);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  width: fit-content;
  max-width: 100%;
}

.notices-attachment-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(17,24,39,0.08);
}

.notices-empty {
  padding: 14px 16px;
  border: 1px dashed var(--n-border);
  border-radius: 14px;
  color: var(--n-muted);
  background: var(--n-soft);
}

.notices-pagination {
  margin-top: 14px;
}

.notices-pagination-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.notices-page-btn,
.notices-page-num {
  text-decoration: none;
  border: 1px solid var(--n-border);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 800;
  color: var(--n-text);
  font-size: 13px;
}

.notices-page-btn--disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.notices-page-num--active {
  background: var(--n-text);
  color: #fff;
  border-color: var(--n-text);
}

.notices-ellipsis {
  color: var(--n-muted);
  padding: 0 4px;
  font-weight: 900;
}