/* ReyaMon Showdown – News-Board (js/news.js) */
.news-wrap { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.news-post.pinned { border-left: 4px solid var(--accent); }
.news-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.news-head h2 { margin: 6px 0 2px; font-size: 1.35rem; }
.news-head p { margin: 0; }
.news-meta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.news-tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); }
.news-tag-patch { color: #3b82f6; border-color: #3b82f655; }
.news-tag-announcement { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.news-tag-event { color: #d4a017; border-color: #d4a01755; }
.news-tag-maintenance { color: #e08a00; border-color: #e08a0055; }
.news-new { font-size: .68rem; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: var(--accent); color: #fff; letter-spacing: .04em; }
.news-body { line-height: 1.55; margin-top: 10px; }
.news-body h4 { margin: 16px 0 6px; font-size: 1.02rem; }
.news-body h4:first-child { margin-top: 0; }
.news-body ul { margin: 4px 0 10px; padding-left: 20px; }
.news-body li { margin: 3px 0; }
.news-body p { margin: 6px 0; }
.news-body code { background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; font-size: .88em; }
.news-body hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.news-editor { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.news-editor textarea { width: 100%; font-family: ui-monospace, Consolas, monospace; font-size: .85rem; }
.news-preview { border: 1px dashed var(--line); border-radius: 8px; padding: 10px 12px; max-height: 420px; overflow-y: auto; margin-top: 4px; }
@media (max-width: 800px) { .news-editor { grid-template-columns: 1fr; } }
/* Startseite */
.news-card { display: flex; flex-direction: column; gap: 4px; color: inherit; text-decoration: none; border-left: 4px solid var(--line); }
.news-card.new { border-left-color: var(--accent); }
.news-card:hover { text-decoration: none; border-color: var(--accent); }
/* Reiter-Punkt */
#tabs a[data-tab="news"] { position: relative; }
.news-dot { position: absolute; top: 2px; right: -2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: #fff; color: var(--accent); font-size: .66rem; font-weight: 800; line-height: 16px; text-align: center; }
