.notice-page {
  max-width: 860px;
  margin-inline: auto;
  color: var(--ink);
}
.notice-description {
  margin: -8px 0 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.notice-tabs {
  display: flex;
  gap: 4px;
  padding: 5px;
  margin-bottom: 18px;
  border: 0;
  border-radius: 18px;
  background: #d6e5f2;
  box-shadow: none;
}
.notice-tabs > :is(button,a) {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 46px;
  padding: 12px 10px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}
.notice-tabs > :is(button,a):hover {
  background: var(--primary-soft);
  color: var(--navy);
}
.notice-tabs > :is(button[aria-selected="true"],a[aria-current="page"]) {
  background: #f3f8fd;
  color: #0758af;
  box-shadow: 0 2px 5px #001d390c;
  font-weight: 600;
}
.notice-count {
  display: inline-grid;
  place-items: center;
  flex: none;
  min-width: 22px;
  height: 22px;
  padding-inline: 5px;
  border-radius: 99px;
  background: var(--primary-soft);
  color: var(--navy);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.notice-tabs > :is(button[aria-selected="true"],a[aria-current="page"]) .notice-count {
  background: #0758af12;
  color: #0758af;
}
.notice-list {
  display: grid;
  gap: 0;
}
.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  box-shadow: none;
  transition:
    border-color 160ms ease,
    background-color 160ms ease;
}
.notice-item:hover {
  border-color: var(--muted);
  background: var(--primary-soft);
}
.notice-item.unread {
  border-bottom-color: var(--border);
}
.notice-copy {
  display: grid;
  flex: 1;
  gap: 5px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.notice-copy > strong {
  color: var(--navy);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
}
.notice-item.unread .notice-copy > strong {
  font-weight: 700;
}
.notice-copy > span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.notice-copy > time {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.notice-unread-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.notice-service-empty {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0;
  padding: 36px 24px;
  text-align: center;
}
.notice-service-empty > img {
  display: block;
  width: 200px;
  max-width: 75%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 22px;
}
.notice-service-empty h2 { color: var(--navy); font-size: 20px; line-height: 1.4; font-weight: 650; letter-spacing: -.3px; }
.notice-service-empty p { margin: 14px auto 23px; max-width: 340px; color: var(--muted); font-size: 14px; line-height: 1.7; }
html[data-theme="dark"] .notice-tabs { background: #0e253c; }
html[data-theme="dark"] .notice-tabs > a { color: #a9c4de; }
html[data-theme="dark"] .notice-tabs > a[aria-current="page"] { background: #2b4b69; color: #e0f0ff; box-shadow: inset 0 1px 1px #91bbdf30; }
html[data-theme="dark"] .notice-tabs > a[aria-current="page"] .notice-count { background: #9ecbfa12; color: #e0f0ff; }
@media (max-width: 900px) {
  .notice-tabs {
    margin-bottom: 14px;
  }
  .notice-item {
    gap: 11px;
    padding: 14px 0;
  }
  .notice-copy > strong {
    font-size: 14px;
  }
}
@media (max-width: 359px) {
  .notice-tabs > :is(button,a) {
    padding-inline: 8px;
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .notice-tabs > :is(button,a),
  .notice-item {
    transition: none;
  }
}
