.news-shell { padding-block: clamp(34px, 5vw, 60px) clamp(50px, 7vw, 90px); }
.news-list { display: grid; gap: 18px; max-width: 760px; margin-inline: auto; }

.news-search {
  max-width: 760px; margin: 0 auto clamp(18px, 2.5vw, 26px);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.news-search-field {
  flex: 1 1 260px; min-width: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  background: var(--card); border: 2px solid var(--line);
  border-radius: var(--radius-pill);
  transition: border-color 0.18s ease;
}
.news-search-field:focus-within { border-color: var(--petal); }
.news-search-field > svg { width: 18px; height: 18px; flex: none; color: var(--petal-deep); }
.news-search input {
  flex: 1; min-width: 0;
  font: inherit; font-size: 15.5px; color: var(--ink);
  background: none; border: 0; outline: none; padding: 0;
}
.news-search input::placeholder { color: var(--ink-soft); }
.news-search input::-webkit-search-cancel-button { display: none; }
.news-search-clear {
  flex: none; display: grid; place-items: center;
  width: 26px; height: 26px; padding: 0;
  color: var(--plum); background: var(--petal-light);
  border: 0; border-radius: 999px;
  transition: filter 0.18s ease;
}
.news-search-clear:hover { filter: brightness(1.06); }
.news-search-clear svg { width: 13px; height: 13px; }
.news-count {
  margin: 0; flex: none;
  font-family: var(--font-mono); font-size: 12.5px;
  letter-spacing: 0.04em; color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
mark.news-hit {
  background: var(--petal-light); color: var(--plum);
  border-radius: 5px; padding: 0 3px;
}
.news-empty { max-width: 760px; margin: 0 auto; text-align: center; padding: 30px 20px; }
.news-empty p { margin: 0; color: var(--ink-soft); }
.news-empty a { color: var(--petal-deep); font-weight: 600; }
.news-more { display: flex; justify-content: center; margin-top: 26px; }

@media (max-width: 560px) {
  .news-search { gap: 10px; }
  .news-count { width: 100%; text-align: center; }
}

.news-post { padding: clamp(20px, 3vw, 28px); }
.news-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.news-avatar { width: 40px; height: 40px; border-radius: 999px; flex: none; background: var(--card-warm); }
.news-avatar-blank { display: block; background: linear-gradient(180deg, #ffb9c7, #ef7793); }
.news-head strong { display: block; font-family: var(--font-display); font-size: 15.5px; color: var(--ink); }
.news-head time { font-size: 13px; color: var(--ink-soft); }
.news-pin {
  margin-left: auto; flex: none;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--plum); background: var(--petal-light);
  border-radius: 999px; padding: 4px 11px;
}

.news-body, .news-embed-body, .news-files { overflow-wrap: anywhere; }

.news-body { font-size: 15.5px; color: var(--ink-soft); }
.news-body p { margin: 0 0 0.85em; }
.news-body p:last-child { margin-bottom: 0; }
.news-body strong { color: var(--ink); }
.news-body a { color: var(--petal-deep); font-weight: 600; }
.news-body code {
  font-family: var(--font-mono); font-size: 13.5px; color: var(--moss-deep);
  background: rgba(158, 170, 75, 0.16); border-radius: 6px; padding: 1px 6px;
}
.news-body pre {
  margin: 0 0 0.85em; padding: 14px 16px; overflow-x: auto;
  background: var(--card-warm); border: 1px solid var(--line); border-radius: 12px;
}
.news-body pre code { background: none; padding: 0; color: var(--ink); }
.news-body blockquote {
  margin: 0 0 0.85em; padding: 4px 0 4px 14px;
  border-left: 3px solid var(--petal); color: var(--ink);
}
.news-body h3, .news-body h4, .news-body h5,
.news-embed-body h3, .news-embed-body h4, .news-embed-body h5 {
  font-family: var(--font-display); color: var(--ink);
  letter-spacing: -0.012em; line-height: 1.25;
  margin: 0 0 0.5em;
}
.news-body h3 { font-size: 20.5px; }
.news-body h4 { font-size: 18px; }
.news-body h5 { font-size: 16.5px; }
.news-body p + h3, .news-body p + h4, .news-body p + h5 { margin-top: 1.1em; }

.news-emoji {
  display: inline-block; width: 1.32em; height: 1.32em;
  vertical-align: -0.28em; margin: 0 1px; object-fit: contain;
}

.news-mention {
  color: var(--petal-deep); background: rgba(246, 147, 167, 0.22);
  border-radius: 6px; padding: 1px 6px; font-weight: 600;
}

.news-time {
  background: rgba(107, 75, 85, 0.1);
  border-radius: 6px; padding: 1px 6px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.news-body h3 .news-time, .news-body h4 .news-time, .news-body h5 .news-time {
  font-weight: inherit; padding: 0 5px;
}

.news-shots { margin-top: 14px; display: grid; gap: 10px; }
.news-shots.is-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.news-shots img { width: 100%; height: auto; border-radius: 14px; border: 2px solid var(--line); display: block; }
.news-files { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.news-files a { color: var(--petal-deep); font-weight: 600; font-size: 14.5px; }

.news-embed {
  margin-top: 14px; padding: 14px 16px;
  background: var(--card-warm); border-left: 3px solid var(--petal); border-radius: 12px;
}
.news-embed h3 { font-size: 16px; color: var(--petal-deep); margin-bottom: 6px; }
.news-embed-body { font-size: 14.5px; color: var(--ink-soft); }
.news-embed img { width: 100%; height: auto; border-radius: 10px; margin-top: 10px; }

.news-state { max-width: 620px; margin: 0 auto; text-align: center; padding: clamp(34px, 6vw, 64px) 20px; }
.news-state h2 { font-size: clamp(20px, 2.4vw, 26px); color: var(--petal-deep); margin-bottom: 10px; }
.news-state p { color: var(--ink-soft); margin: 0; }
.news-state a { color: var(--petal-deep); font-weight: 600; }
