:root {
  --bg: #f4f3ee;
  --paper: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #555;
  --ink-faint: #8a8a8a;
  --line: #e2e0d7;
  --line-strong: #c9c6b9;
  --accent: #b3261e;
  --accent-soft: #fbeae8;
  --closed: #8a8a8a;
  --resolved: #4a6b8a;
  --info: #6b5b3a;
  --open: #b3261e;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Malgun Gothic", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 20px 80px;
}

.page-header {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 18px;
  margin-bottom: 0;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.page-meta {
  font-size: 13px;
  color: var(--ink-faint);
}

.meta-sep {
  margin: 0 6px;
}

.status-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 22px 0 26px;
  padding: 16px 22px;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 2px 0 #6f180f, 0 6px 14px rgba(179, 38, 30, 0.28);
  transition: background 0.15s ease, transform 0.08s ease, box-shadow 0.15s ease;
}

.status-banner:hover {
  background: #c52a22;
  box-shadow: 0 2px 0 #6f180f, 0 8px 18px rgba(179, 38, 30, 0.34);
}

.status-banner:active {
  transform: translateY(2px);
  box-shadow: 0 0 0 #6f180f, 0 2px 6px rgba(179, 38, 30, 0.25);
}

.status-banner:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.status-banner-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.85);
  animation: bannerPulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes bannerPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.85);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }
}

.status-banner-arrow {
  display: inline-block;
  margin-left: 4px;
  font-size: 14px;
  transition: transform 0.15s ease;
}

.status-banner:hover .status-banner-arrow {
  transform: translateX(3px);
}

.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid var(--line-strong);
}

.notice {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.notice:last-child {
  border-bottom: none;
}

.notice.is-open .notice-header {
  background: #fafaf6;
}

.notice-header {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 18px 16px;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: background 0.15s ease;
}

.notice-header:hover {
  background: #f7f6f0;
}

.notice-header:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}

.notice-date {
  font-size: 13px;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.notice-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.notice-title-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.new-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse 1.8s ease-in-out infinite;
}

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

.status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1px solid currentColor;
}

.status.closed {
  color: var(--closed);
}

.status.resolved {
  color: var(--resolved);
}

.status.info {
  color: var(--info);
}

.status.open {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.notice-body {
  display: none;
  padding: 8px 16px 28px;
  border-top: 1px dashed var(--line);
  background: #fdfdfa;
}

.notice.is-open .notice-body {
  display: block;
  animation: slideDown 0.22s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.notice-content {
  white-space: pre-wrap;
  font-size: 14.5px;
  line-height: 1.85;
  color: #222;
  margin: 16px 0 0;
  padding: 0;
}

.notice-content strong {
  font-weight: 600;
}

.notice-content .emph-warn {
  color: var(--accent);
  font-weight: 700;
}

.notice-divider {
  text-align: center;
  color: var(--ink-faint);
  font-size: 13px;
  letter-spacing: 0.3em;
  margin: 18px 0 0;
  user-select: none;
}

.signup-block {
  margin: 22px 0 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--ink);
}

.signup-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  margin: 0 0 6px;
}

.signup-quota {
  font-size: 14.5px;
  margin: 0;
  color: var(--ink);
}

.signup-quota span {
  color: var(--ink-faint);
  font-size: 13px;
}

.countdown-block {
  margin: 22px 0 18px;
  padding: 22px 20px;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.countdown-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #c0c0c0;
  margin: 0 0 12px;
  font-weight: 500;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-variant-numeric: tabular-nums;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
}

.countdown-num {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.countdown-text {
  font-size: 11px;
  color: #b0b0b0;
  margin-top: 6px;
  letter-spacing: 0.05em;
}

.countdown-close {
  font-size: 12px;
  color: #a0a0a0;
  margin: 14px 0 0;
}

.signup-cta {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  margin-top: 0;
  transition: background 0.15s ease;
}

.signup-cta:hover {
  background: #8f1f18;
}

.signup-cta:active {
  background: #6f180f;
}

.warn-list {
  margin: 18px 0 0;
  padding: 14px 18px;
  background: #fbeae8;
  border-left: 3px solid var(--accent);
  font-size: 13.5px;
  color: #5a1812;
}

.warn-list p {
  margin: 4px 0;
  font-weight: 500;
}

.filter-guide {
  margin: 16px 0 0;
  padding: 16px 18px;
  background: #f0eee5;
  border-left: 3px solid var(--ink-soft);
  font-size: 14px;
}

.filter-guide p {
  margin: 4px 0;
}

.filter-guide .filter-path {
  font-family: "SF Mono", "Consolas", "Menlo", monospace;
  font-size: 13px;
  color: var(--ink);
  background: #fff;
  padding: 1px 6px;
  border: 1px solid var(--line);
}

.page-footer {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.8;
}

.page-footer p {
  margin: 2px 0;
}

@media (max-width: 600px) {
  .container {
    padding: 36px 16px 60px;
  }
  .page-title {
    font-size: 24px;
  }
  .notice-header {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "title status"
      "date  date";
    gap: 6px 12px;
    padding: 16px 14px;
  }
  .notice-date { grid-area: date; }
  .notice-title { grid-area: title; }
  .status { grid-area: status; }
  .notice-body { padding: 6px 14px 24px; }
  .countdown-num { font-size: 24px; }
  .countdown-unit { min-width: 48px; }
}
