/* ===== 공지사항 공통 ===== */
.notice-page,
.notice-detail {
  width: 100%;
  padding: 20px 20px 80px;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== 목록 ===== */
.notice-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: oklch(1 0 0 / 0.08);
  border: 1px solid oklch(1 0 0 / 0.1);
  border-radius: 16px;
  overflow: hidden;
}

.notice-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: oklch(1 0 0 / 0.03);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.notice-item:hover { background: oklch(1 0 0 / 0.07); }

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

.notice-item__title {
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice-item__date {
  font-size: 11px;
  color: var(--ink-dim);
  font-family: var(--font-mono);
  margin-top: 4px;
}

.notice-item__arrow {
  flex-shrink: 0;
  color: var(--ink-dim);
}

/* ===== 빈 상태 ===== */
.notice-empty {
  text-align: center;
  padding: 60px 0;
  font-size: 14px;
  color: var(--ink-dim);
}

/* ===== 상세 ===== */
.notice-detail__header {
  padding: 20px 0 0;
  margin-bottom: 20px;
}

.notice-detail__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 8px;
}

.notice-detail__date {
  font-size: 12px;
  color: var(--ink-dim);
  font-family: var(--font-mono);
}

.notice-detail__divider {
  border: none;
  border-top: 1px solid oklch(1 0 0 / 0.1);
  margin: 0 0 20px;
}

.notice-detail__content {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ===== 반응형 ===== */
@media (max-width: 480px) {
  .notice-page,
  .notice-detail { padding: 20px 16px 80px; }
}
