/* 跟单公告：深色目录列表，点标题再读正文 */
.notice-count {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted, var(--mist, #8a93a8));
}
.notice-count b {
  color: var(--text, var(--ink, #eef2fa));
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.notice-board {
  border: 1px solid var(--border, var(--line, rgba(255,255,255,.09)));
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  overflow: hidden;
}
.notice-item {
  border-bottom: 1px solid var(--border, var(--line, rgba(255,255,255,.09)));
  animation: notice-in .28s ease both;
}
.notice-item:last-child { border-bottom: 0; }
.notice-item:nth-child(2) { animation-delay: .03s; }
.notice-item:nth-child(3) { animation-delay: .06s; }
.notice-item:nth-child(4) { animation-delay: .09s; }
.notice-item:nth-child(5) { animation-delay: .12s; }
.notice-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  gap: 8px 16px;
  align-items: center;
  width: 100%;
  min-height: 68px;
  padding: 14px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.notice-fold {
  padding: 0 18px 18px;
  max-width: 72ch;
}
.notice-item.is-open .notice-chev { transform: rotate(90deg); }
.notice-row:hover { background: var(--accent-soft, rgba(74,163,240,.12)); }
.notice-row:focus-visible {
  outline: 2px solid var(--accent, #4aa3f0);
  outline-offset: -2px;
}
.notice-kicker {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .06em;
  line-height: 1.3;
  color: var(--accent, #4aa3f0);
}
.kind-start .notice-kicker { color: #4ade80; }
.kind-password .notice-kicker { color: #fbbf24; }
.kind-stop .notice-kicker { color: #f87171; }
.kind-take .notice-kicker { color: #7dd3fc; }
.notice-row b {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.35;
  color: var(--text, var(--ink, #eef2fa));
}
.notice-row:not(.is-unread) b {
  color: var(--text-muted, var(--mist, #8a93a8));
  font-weight: 500;
}
.notice-when {
  font-size: 13px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted, var(--mist, #8a93a8));
  white-space: nowrap;
}
.notice-mark {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: #e11d48;
  vertical-align: 1px;
}
.notice-chev {
  width: 18px;
  height: 18px;
  color: var(--text-dim, var(--mist, #6b7280));
  transition: transform .18s ease;
}
.notice-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin: 0 0 8px;
  padding: 0 2px;
  border: 0;
  background: none;
  color: var(--text-muted, var(--mist, #8a93a8));
  cursor: pointer;
  font-size: 14px;
}
.notice-back svg { width: 18px; height: 18px; }
.notice-back:hover { color: var(--text, var(--ink, #eef2fa)); }
.notice-back:focus-visible {
  outline: 2px solid var(--accent, #4aa3f0);
  outline-offset: 3px;
  border-radius: 8px;
}
.notice-article {
  max-width: 68ch;
  padding: 8px 2px 28px;
}
.notice-article h2 {
  margin: 4px 0 8px;
  font-size: 1.65rem;
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.25;
  text-wrap: balance;
  color: var(--text, var(--ink, #eef2fa));
}
.notice-article .notice-time {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--text-muted, var(--mist, #8a93a8));
  font-variant-numeric: tabular-nums;
}
.notice-body,
.notice-p {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text, var(--ink, #eef2fa));
}
.notice-h {
  margin: 18px 0 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text, var(--ink, #eef2fa));
}
.notice-gap { height: 6px; }
.notice-cred {
  margin: 16px 0;
  padding: 14px 16px 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--border, var(--line, rgba(255,255,255,.09)));
  border-left: 3px solid var(--accent, #4aa3f0);
  background: rgba(0,0,0,.28);
  font-family: ui-monospace, SFMono-Regular, Consolas, var(--mono, monospace);
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text, var(--ink, #eef2fa));
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@keyframes notice-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  .notice-row {
    min-height: 64px;
    padding: 12px 14px;
  }
  .notice-fold { padding: 0 14px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .notice-item { animation: none; }
  .notice-chev { transition: none; }
}
