/* Latest news deck (public/news.js + swipe.js). Warm paper cards, one at a time, big photos and buttons. */
.news .label { display: flex; align-items: center; gap: 8px; }
.news-count { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--linen); color: var(--charcoal); font: 700 12px/1.6 var(--f-body); letter-spacing: 0.04em; }
.news .deck { margin-top: 4px; }
.news-card { background: var(--cream); border: 1px solid rgba(185, 168, 155, 0.5); border-radius: 20px; padding: 20px 18px 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.news-title { margin: 0; font: 700 24px/1.25 var(--f-body); color: var(--charcoal); overflow-wrap: anywhere; }
.news-when { margin: -6px 0 0; font-size: 14px; color: var(--muted); }
.news-photos { display: grid; gap: 10px; }
.news-photos img { width: 100%; max-height: 360px; object-fit: cover; border-radius: 16px; display: block; background: var(--linen); }
.app-card .news-body, .news-body { margin: 0; font-size: 18px; line-height: 1.6; color: var(--charcoal); white-space: pre-line; overflow-wrap: anywhere; }
.news-actions { margin: 6px 0 0; }
.news-actions:has(> :only-child) { grid-template-columns: 1fr; }
.news-hint { margin: 14px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.news-done { text-align: center; padding: 12px 0 4px; }
.news-done-title { margin: 0 0 8px; font: 700 21px/1.3 var(--f-body); color: var(--charcoal); }
.news-done .btn-quiet, .news-back { width: auto; margin: 0 auto; }
.news-past .news-title { font-size: 20px; margin: 4px 0 10px; }
.news-past .news-photos { margin-bottom: 12px; }
.news-back { display: inline-flex; margin: 0 0 4px; padding: 0; }
@media (prefers-reduced-motion: reduce) { .news-card { transition: none; } }

/* Update rows (step page + All news): compact tappable rows, open in place. Owner 2026-11-17. */
.upd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.search-box + .upd-list { margin-top: 24px; }
.upd { background: var(--cream); border: 1px solid rgba(185, 168, 155, 0.5); border-radius: 20px; overflow: hidden; }
.upd[hidden] { display: none; }
.upd-sum { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; min-height: 80px; padding: 8px 16px 8px 8px; -webkit-tap-highlight-color: transparent; transition: background-color var(--t-change) var(--ease); }
.upd-sum:focus-visible { outline: 3px solid var(--script); outline-offset: -3px; border-radius: 20px; }
.upd-sum::-webkit-details-marker { display: none; }
.upd-sum:active { background: var(--linen); }
.upd-thumb { flex: none; width: 64px; height: 64px; border-radius: 14px; object-fit: cover; background: var(--linen); display: block; }
.upd-thumb-none { border: 1px solid rgba(185, 168, 155, 0.5); }
.upd-text { flex: 1; min-width: 0; display: grid; gap: 4px; }
.upd .news-title { font-size: 18px; line-height: 1.3; margin: 0; }
.upd-line { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.upd-open { padding: 4px 16px 18px; display: grid; gap: 14px; }
.upd-strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.upd-strip::-webkit-scrollbar { display: none; }
.upd-strip img { flex: none; width: 72%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; scroll-snap-align: start; background: var(--linen); display: block; }
.upd-strip-one img { width: 100%; }
.upd details.just-opened > .upd-open { animation: unfold var(--t-appear) var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .upd-sum { transition: none; } .upd details.just-opened > .upd-open { animation: none; } }

/* the update a search result points at: open, with a soft green edge so the eye lands on it */
.upd.is-target { box-shadow: 0 0 0 2px var(--green-edge), 0 10px 24px -14px rgba(33, 31, 32, 0.35); }
.upd { scroll-margin-top: 84px; }
