/* Лента анонсов: карточка-пост с просмотрами (слева) и лайком (справа) */
html body .ann-feed { display: flex; flex-direction: column; gap: 18px; max-width: 680px; margin: 18px auto 40px; }
html body .ann-post {
  background: var(--panel-solid, #141414); border: 1px solid var(--border, #242424); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow-card, none); transition: border-color .2s, box-shadow .2s;
}
html body .ann-post:hover { border-color: rgba(240,180,41,.35); }
html body .ann-top { display: flex; align-items: center; gap: 11px; padding: 14px 18px 0; }
html body .ann-ava { position: relative; width: 40px; height: 40px; border-radius: 9px; overflow: hidden; background: var(--gold, #f0b429); flex: none; }
html body .ann-ava span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; color: #111; }
html body .ann-ava img { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; background: #1b1b1b; }
html body .ann-who b { display: block; font-size: 14px; line-height: 1.2; }
html body .ann-who small { color: var(--text-dim, #8a8a8a); font-size: 12px; }
html body .ann-body { padding: 12px 18px 2px; }
html body .ann-body h2 { margin: 0 0 8px; font-size: 20px; line-height: 1.25; overflow-wrap: anywhere; }
html body .ann-text { color: #d6d6d6; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; word-break: break-word; }
html body .ann-text code { background: rgba(255,255,255,.08); padding: 1px 5px; border-radius: 5px; }
html body .ann-media { margin: 12px 18px 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--border, #242424); background: #000; }
html body .ann-media .announcement-image {
  display: block; width: 100%; height: auto; max-width: 100%; max-height: 560px; margin: 0; border: 0; border-radius: 0; object-fit: cover; cursor: zoom-in;
}
html body .ann-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px 14px; margin-top: 4px; }
html body .ann-views { display: flex; align-items: center; gap: 6px; color: var(--text-dim, #8a8a8a); font-size: 13px; }
html body .ann-views svg { width: 18px; height: 18px; }
html body .ann-like {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--border, #242424); color: var(--text-dim, #8a8a8a);
  font: 600 13px/1 inherit; font-family: inherit; box-shadow: none; transition: color .18s, border-color .18s, background .18s;
}
html body .ann-like svg { width: 18px; height: 18px; fill: none; stroke: currentColor; transition: transform .2s; }
html body .ann-like:hover { color: var(--text, #fff); border-color: var(--border-strong, #4a4a4a); }
html body .ann-like.on { color: #ff4d6d; border-color: rgba(255,77,109,.5); background: rgba(255,77,109,.09); }
html body .ann-like.on svg { fill: #ff4d6d; stroke: #ff4d6d; }
html body .ann-like.pop svg { animation: annPop .38s ease; }
html body .ann-like:disabled { opacity: .6; cursor: default; }
@keyframes annPop { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
html body .ann-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 9999;
  background: #1b1b1b; color: #eee; border: 1px solid var(--border-strong, #444); padding: 11px 16px; border-radius: 12px; font-size: 14px;
  transition: opacity .2s, transform .2s;
}
html body .ann-toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
html body .ann-toast a { color: var(--gold, #f0b429); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { html body .ann-like.pop svg { animation: none; } }
@media (max-width: 560px) { html body .ann-top, html body .ann-body, html body .ann-bar { padding-left: 14px; padding-right: 14px; } html body .ann-media { margin-left: 14px; margin-right: 14px; } }
