/* Published story notice: scoped to the pinned card and its announcement detail. */
article.aid-pinned-notice,
article.announcement-paper.aid-recovery-paper,
nav.aid-announcement-index {
  --aid-notice-ink: #282724;
  --aid-notice-muted: #80756b;
  --aid-notice-orange: #e7640c;
  --aid-notice-line: #eee2d7;
  box-sizing: border-box;
  min-width: 0;
  color: var(--aid-notice-ink);
  font-family: Inter, "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

:is(.aid-pinned-notice, .aid-recovery-paper, .aid-announcement-index) *,
:is(.aid-pinned-notice, .aid-recovery-paper, .aid-announcement-index) *::before,
:is(.aid-pinned-notice, .aid-recovery-paper, .aid-announcement-index) *::after { box-sizing: border-box; }

article.aid-pinned-notice {
  position: relative;
  margin: 0 0 22px;
  padding: 0 26px 20px;
  overflow: hidden;
  border: 1px solid #e9d9ca;
  border-top: 3px solid #f16a13;
  border-radius: 15px;
  background: #fffdfa;
  box-shadow: 0 3px 16px #6f421608;
}

.aid-pinned-notice .aid-pin-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  min-height: 43px;
  margin: 0 -26px 22px;
  padding: 10px 26px;
  border-bottom: 1px solid #f1e4d7;
  background: #fff4e8;
  color: #ad571d;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.6;
  letter-spacing: .02em;
}

.aid-pinned-notice .aid-pin-strip > span { display: inline-flex; align-items: center; gap: 8px; }
.aid-pinned-notice .aid-pin-strip > span > svg { display: block; flex: 0 0 auto; width: 13px; height: 13px; min-width: 13px; margin: 0; color: #d16a22; }
.aid-pinned-notice .aid-pin-strip time { margin-left: auto; color: #a28b76; font-size: 10px; font-weight: 400; font-variant-numeric: tabular-nums; letter-spacing: .035em; white-space: nowrap; }

:is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-author { display: flex; align-items: center; gap: 12px; min-width: 0; margin: 0 0 18px; padding: 0; }
:is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-author > img { display: block; flex: 0 0 44px; width: 44px; height: 44px; margin: 0; border: 1px solid #f1d5bc; border-radius: 12px; object-fit: cover; background: #fff0de; }
:is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-author > div { min-width: 0; }
:is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-author strong { display: block; color: #2d2a27; font-size: 15px; font-weight: 750; line-height: 1.4; letter-spacing: -.02em; }
:is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-author small { display: block; margin-top: 4px; color: #a1846c; font-size: 11px; font-weight: 400; line-height: 1.5; }

article.aid-pinned-notice > h2 { display: block; margin: 0 0 12px; padding: 0; border: 0; color: #282522; font-size: clamp(20px, 2vw, 24px); font-weight: 750; line-height: 1.5; letter-spacing: -.035em; overflow-wrap: anywhere; }
article.aid-pinned-notice > h2::before,
:is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-status h3::before { content: none; display: none; }

:is(.aid-pinned-notice, .aid-recovery-paper) p.aid-notice-lead { margin: 0; padding: 0; color: #71665d; font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; }
:is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-lead strong { color: #4b4037; font-weight: 650; }

:is(.aid-pinned-notice, .aid-recovery-paper) ul.aid-notice-status {
  display: block;
  margin: 23px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #eee2d6;
  border-radius: 10px;
  background: #fffaf4;
  list-style: none;
}

:is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-status > li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: start;
  gap: 17px;
  min-width: 0;
  margin: 0;
  padding: 18px 18px;
  border: 0;
  border-bottom: 1px solid #f0e7de;
  color: #574e46;
  font-size: 14px;
  line-height: 1.8;
  list-style: none;
}

:is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-status > li:last-child { border-bottom: 0; }
:is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-status > li::before,
:is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-status > li::marker { content: none; }
:is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-status > li > div { min-width: 0; }

:is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-status > li > :is(span, strong) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  align-self: start;
  width: fit-content;
  min-width: 57px;
  min-height: 25px;
  margin: 0;
  padding: 3px 9px;
  border: 1px solid #e5e0d9;
  border-radius: 5px;
  background: #f2efea;
  color: #847b70;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.7;
  letter-spacing: .025em;
  white-space: nowrap;
}

:is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-status > li > span strong { color: inherit; font: inherit; }
:is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-status > li:first-child > :is(span, strong),
:is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-status > li[data-status="done"] > :is(span, strong) { border-color: #dfe7d9; background: #eff4e9; color: #67814e; }
:is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-status > li:nth-child(2) > :is(span, strong),
:is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-status > li[data-status="pending"] > :is(span, strong) { border-color: #f1d7bd; background: #fff0df; color: #b16a2a; }
:is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-status h3 { display: block; margin: 0 0 5px; padding: 0; border: 0; color: #443a32; font-size: 14px; font-weight: 700; line-height: 1.75; letter-spacing: -.01em; overflow-wrap: anywhere; }
:is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-status p { margin: 0; padding: 0; color: #8a7b6e; font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }

.aid-pinned-notice .aid-notice-footer { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: 19px 0 0; padding: 0; }
.aid-pinned-notice .aid-notice-footer > a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 7px 10px; border: 1px solid transparent; border-radius: 6px; color: #b65b1c; background: transparent; font-size: 12px; font-weight: 650; line-height: 1.6; text-decoration: none; transition: color .16s ease, background .16s ease, border-color .16s ease; }
.aid-pinned-notice .aid-notice-footer > a:hover { border-color: #f3ddc9; background: #fff0e0; color: #944412; }
.aid-pinned-notice .aid-notice-footer > a svg { display: block; flex: 0 0 auto; width: 15px; height: 15px; min-width: 15px; margin: 0; }
:is(.aid-pinned-notice, .aid-recovery-paper) p.aid-story-caption { margin: 13px 0 0; padding: 12px 0 0; border-top: 1px solid #f0e8df; color: #a2978d; font-size: 11px; font-weight: 400; line-height: 1.8; overflow-wrap: anywhere; }

article.announcement-paper.aid-recovery-paper { padding: 42px 46px; border-color: #e9ddd0; border-top: 4px solid #ed6c17; background: #fffefa; box-shadow: 0 8px 32px #46230006; }
article.announcement-paper.aid-recovery-paper > section > :is(h1, h2) { margin: 0 0 20px; padding: 0; color: #282522; font-size: clamp(25px, 3vw, 33px); font-weight: 750; line-height: 1.5; letter-spacing: -.035em; }
article.announcement-paper.aid-recovery-paper > section > :is(h1, h2)::before { content: none; display: none; }
article.announcement-paper.aid-recovery-paper .aid-notice-status { margin-top: 28px; }
article.announcement-paper.aid-recovery-paper .aid-notice-status > li { grid-template-columns: 80px minmax(0, 1fr); gap: 20px; padding: 22px; }
article.announcement-paper.aid-recovery-paper .aid-notice-status h3 { font-size: 16px; }
article.announcement-paper.aid-recovery-paper .aid-notice-status p { font-size: 15px; }
article.announcement-paper.aid-recovery-paper p.aid-story-caption { margin-top: 28px; padding-top: 18px; font-size: 12px; }

nav.aid-announcement-index { display: flex; flex-wrap: wrap; align-items: stretch; gap: 9px; margin: 0 0 24px; padding: 0; }
nav.aid-announcement-index > a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 43px; padding: 10px 16px; border: 1px solid #e9ded3; border-radius: 8px; background: #fffdf9; color: #8b7969; font-size: 12px; font-weight: 550; line-height: 1.7; text-align: center; text-decoration: none; overflow-wrap: anywhere; transition: background .16s ease, border-color .16s ease, color .16s ease; }
nav.aid-announcement-index > a:hover { border-color: #eab890; background: #fff1e1; color: #a7561f; }
nav.aid-announcement-index > a[aria-current="page"],
nav.aid-announcement-index > a.is-current { border-color: #efc29e; background: #fff0df; color: #a7531b; font-weight: 650; }
nav.aid-announcement-index > a svg { display: block; flex: 0 0 auto; width: 15px; height: 15px; }
:is(.aid-pinned-notice, .aid-recovery-paper, .aid-announcement-index) a:focus-visible { outline: 3px solid #e87a2c; outline-offset: 4px; }

@media (max-width: 600px) {
  article.aid-pinned-notice { margin-bottom: 17px; padding: 0 18px 17px; border-radius: 12px; }
  .aid-pinned-notice .aid-pin-strip { gap: 5px 7px; margin: 0 -18px 19px; padding: 10px 18px; font-size: 10px; }
  .aid-pinned-notice .aid-pin-strip time { font-size: 9px; letter-spacing: 0; }
  :is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-author { gap: 11px; margin-bottom: 17px; }
  :is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-author > img { width: 40px; height: 40px; flex-basis: 40px; border-radius: 11px; }
  :is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-author strong { font-size: 14px; }
  article.aid-pinned-notice > h2 { font-size: 21px; line-height: 1.5; }
  :is(.aid-pinned-notice, .aid-recovery-paper) p.aid-notice-lead { font-size: 14px; }
  :is(.aid-pinned-notice, .aid-recovery-paper) ul.aid-notice-status { margin-top: 20px; border-radius: 8px; }
  :is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-status > li,
  article.announcement-paper.aid-recovery-paper .aid-notice-status > li { grid-template-columns: minmax(0, 1fr); gap: 9px; padding: 16px; }
  :is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-status > li > :is(span, strong) { min-height: 23px; min-width: 52px; padding: 2px 8px; font-size: 10px; }
  :is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-status h3 { margin-bottom: 4px; font-size: 14px; }
  :is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-status p { font-size: 14px; line-height: 1.8; }
  .aid-pinned-notice .aid-notice-footer { margin-top: 12px; }
  .aid-pinned-notice .aid-notice-footer > a { min-height: 40px; padding-right: 5px; }
  :is(.aid-pinned-notice, .aid-recovery-paper) p.aid-story-caption { margin-top: 9px; font-size: 10px; line-height: 1.8; }
  article.announcement-paper.aid-recovery-paper { padding: 27px 21px; border-radius: 13px; }
  article.announcement-paper.aid-recovery-paper > section > :is(h1, h2) { margin-bottom: 17px; font-size: 25px; line-height: 1.5; }
  article.announcement-paper.aid-recovery-paper .aid-notice-status { margin-top: 23px; }
  article.announcement-paper.aid-recovery-paper .aid-notice-status h3 { font-size: 15px; }
  article.announcement-paper.aid-recovery-paper .aid-notice-status p { font-size: 14px; }
  article.announcement-paper.aid-recovery-paper p.aid-story-caption { margin-top: 23px; padding-top: 15px; font-size: 11px; }
  nav.aid-announcement-index { gap: 8px; margin-bottom: 19px; }
  nav.aid-announcement-index > a { flex: 1 1 130px; min-height: 43px; padding: 9px 11px; font-size: 11px; }
}

@media (max-width: 380px) {
  article.aid-pinned-notice { padding-right: 16px; padding-left: 16px; }
  .aid-pinned-notice .aid-pin-strip { margin-right: -16px; margin-left: -16px; padding-right: 16px; padding-left: 16px; }
  article.aid-pinned-notice > h2 { font-size: 20px; }
  :is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-status > li,
  article.announcement-paper.aid-recovery-paper .aid-notice-status > li { padding: 14px; }
  article.announcement-paper.aid-recovery-paper { padding-right: 19px; padding-left: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .aid-pinned-notice .aid-notice-footer > a,
  nav.aid-announcement-index > a { transition: none; }
}

@media print {
  article.announcement-paper.aid-recovery-paper { padding: 16px 0; border: 0; background: #fff; box-shadow: none; }
  nav.aid-announcement-index { display: none; }
  :is(.aid-pinned-notice, .aid-recovery-paper) .aid-notice-status > li { break-inside: avoid; }
}
