.notice-page {
  max-width: 760px;
  margin-inline: auto;
  color: var(--ink);
}
.notice-tabs {
  display: flex;
  gap: 4px;
  padding: 5px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: white;
  box-shadow: 0 2px 8px #172d4905;
}
.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: 99px;
  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: #e6edf5;
  color: var(--navy);
}
.notice-tabs > :is(button[aria-selected="true"],a[aria-current="page"]) {
  background: var(--navy);
  color: white;
  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: #ffffff24;
  color: white;
}
.notice-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.notice-section-heading h2 {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}
.notice-section-heading > button {
  min-height: 44px;
  padding: 10px 0 10px 12px;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.notice-section-heading > button:hover {
  color: var(--navy);
}
.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: white;
  color: var(--ink);
  text-align: left;
  box-shadow: none;
  transition:
    border-color 160ms ease,
    background-color 160ms ease;
}
.notice-item:hover {
  border-color: #bdccde;
  background: #fbfcfe;
}
.notice-item.unread {
  border-bottom-color: #ccd8e6;
}
.notice-symbol {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #edf3fb;
  color: #315a8a;
}
.notice-symbol .icon {
  width: 21px;
  height: 21px;
  stroke-width: 1.8;
}
.notice-item.unread .notice-symbol::after {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--navy);
  content: "";
}
.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: #526278;
  font-size: 13px;
  line-height: 1.6;
}
.notice-copy > time {
  margin-top: 2px;
  color: #65758b;
  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-list .empty {
  padding: 32px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
}
.notice-list .empty > .icon {
  color: #315a8a;
}
.notice-list .empty h3 {
  color: var(--navy);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
}
.notice-list .empty p {
  color: #58687c;
  font-size: 13px;
  line-height: 1.6;
}
.notice-service-empty {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 16px;
  min-height: clamp(380px, 58dvh, 540px);
  padding: 32px 12px;
  text-align: center;
}
.notice-empty-art {
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  width: min(280px, 100%);
  margin-bottom: 8px;
}
.notice-empty-art::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 22% 0 10%;
  border-radius: 28px;
  background: #d7eee8;
}
.notice-empty-art img {
  display: block;
  width: 196px;
  max-width: 85%;
  height: auto;
}
.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: 0; max-width: 360px; color: var(--muted); font-size: 14px; line-height: 1.7; }
@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;
  }
  .notice-symbol {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .notice-tabs > :is(button,a),
  .notice-section-heading > button,
  .notice-item {
    transition: none;
  }
}
