body:has(.news-page) { min-height: 100vh; display: flex; flex-direction: column; }
body:has(.news-page) .news-page { flex: 1 0 auto; }
.news-page { width: min(820px, 100%); margin: 0 auto; padding: 112px 24px 72px; }
.news-form[hidden], .news-mine[hidden], .news-page [hidden] { display: none; }
.news-page h1 { position: static; font-family: var(--display); font-weight: 500; font-size: clamp(32px, 4vw, 48px); line-height: 1.15; color: var(--gold); letter-spacing: 0.04em; text-align: center; }
.news-page .lede { text-align: center; margin: 16px auto 0; max-width: 640px; }
.news-empty { margin: 36px auto 0; text-align: center; color: var(--muted); }
.news-back { display: inline-block; margin-bottom: 18px; font: 14px "Segoe UI", system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: #b89d62; }
.news-forum { display: block; width: fit-content; margin: 22px 0 0 auto; }
.news-sep { margin: 28px auto 4px; }
.news-list { display: flex; flex-direction: column; gap: 36px; margin-top: 36px; overflow: visible; }
.news-card, .news-sheet, .news-form { position: relative; background: linear-gradient(180deg, rgba(30, 20, 10, 0.5), rgba(11, 8, 6, 0.4)); }
.news-card { display: block; text-decoration: none; color: inherit; padding: 22px 28px 26px; }
.news-card:hover h2 { color: var(--gold-hi); }
.news-frame { position: absolute; inset: 0; z-index: 1; pointer-events: none; background-repeat: no-repeat; background-size: 100% 100%; }
.ncorn { position: absolute; z-index: 3; width: 72px; height: 72px; pointer-events: none; }
.ncorn svg { display: block; width: 72px; height: 72px; }
.ncorn.tl { top: -21px; left: -21px; }
.ncorn.br { right: -21px; bottom: -21px; transform: rotate(180deg); }
.news-sheet { margin-top: 8px; padding: 32px 36px 36px; }
.news-card h2 { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; color: var(--gold); letter-spacing: 0.03em; }
.news-card h2::after, .news-sheet h1::after { content: ''; display: block; width: 34px; height: 1px; margin-top: 12px; background: var(--gold-dim); }
.news-sheet h1::after { margin-left: auto; margin-right: auto; }
.news-card .when, .news-meta { color: var(--muted); font-size: 16px; margin-top: 6px; }
.news-card .when { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.news-sheet .news-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px; text-align: center; }
.news-updated { flex-basis: 100%; }
.news-card { cursor: pointer; }
.news-card h2 a { color: inherit; text-decoration: none; }
.news-card-go::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.news-by { position: relative; z-index: 4; display: inline-flex; align-items: center; gap: 8px; color: #f0d58c; font: 600 16px/1.2 "Segoe UI", system-ui, sans-serif; letter-spacing: 0; text-transform: none; text-decoration: none; }
.news-by:hover { text-decoration: none; }
.news-by:hover .news-name { filter: brightness(1.12); }
.news-av { position: relative; width: 28px; height: 28px; flex: none; }
.news-av .news-face { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.news-av .news-ring { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.news-name { color: #f0d58c; }
.news-name.ancient { color: #f2bf47; }
.news-mark { display: inline-block; width: 16px; height: 16px; flex: none; background: linear-gradient(180deg, color-mix(in srgb, var(--rmc) 55%, #fff) 0%, var(--rmc) 48%, color-mix(in srgb, var(--rmc) 70%, #000) 100%); -webkit-mask: var(--rmi) center / contain no-repeat; mask: var(--rmi) center / contain no-repeat; }
img.news-mark.rm-ancient { width: auto; height: 0.72em; align-self: center; object-fit: contain; background: none; -webkit-mask: none; mask: none; }
.news-mark.rm-moderator { transform: scaleX(-1); }
.news-bot { flex: none; padding: 2px 5px; background: #c27c0e; color: #fff8ec; font: 700 10px/1 "Segoe UI", system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
.news-card p { margin-top: 10px; }
.news-more { display: block; width: fit-content; margin: 16px 0 0 auto; font: 14px "Segoe UI", system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #b89d62; }
.news-body { margin-top: 22px; }
.news-body p, .wys-ed p { margin: 0.7em 0; }
.news-body h2, .wys-ed h2 { font-family: var(--display); font-weight: 500; font-size: 28px; line-height: 1.25; color: var(--gold); margin: 0.8em 0 0.3em; text-align: left; }
.news-body h3, .wys-ed h3 { font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.3; color: var(--gold-hi); margin: 0.7em 0 0.25em; text-align: left; }
.news-body ul, .news-body ol, .wys-ed ul, .wys-ed ol { margin: 0.4em 0 0.4em 1.4em; }
.news-body li, .wys-ed li { margin: 0.2em 0; }
.news-body blockquote, .wys-ed blockquote { margin: 0.7em 0; padding-left: 14px; border-left: 2px solid var(--gold-dim); color: var(--muted); }
.news-body img, .wys-ed img { max-width: 100%; height: auto; margin: 12px 0; }
.news-body a { color: var(--gold); }
.news-tools { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.news-form { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; padding: 26px 28px 28px; }
.news-form label { display: flex; flex-direction: column; gap: 6px; font-family: var(--display); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dim); }
.news-form input, .news-form textarea { font: 17px/1.4 var(--body); color: #f0e2c0; background: rgba(10, 7, 4, 0.75); border: 1px solid var(--line-hi); border-radius: 2px; padding: 12px 14px; outline: none; text-transform: none; letter-spacing: 0; }
.news-form input:focus, .news-form textarea:focus, .wys-ed:focus { border-color: var(--gold); }
.news-form textarea { min-height: 72px; resize: vertical; }
.news-note { color: var(--muted); font-size: 16px; }
.news-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.news-err { min-height: 1.3em; color: #e7b2a4; }
.news-mine { margin-top: 36px; }
.news-mine h2 { font-family: var(--display); font-weight: 500; font-size: 22px; color: var(--gold); margin-bottom: 10px; }
.news-mine a { display: block; padding: 8px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.wys { border: 1px solid var(--line); background: rgba(20, 14, 9, 0.72); }
.wys-bar, .wys-link { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 8px; border-bottom: 1px solid var(--line); }
.wys-link[hidden] { display: none; }
.wys-btn, .wys-size, .wys-link input { font: 600 13px/1 "Segoe UI", system-ui, sans-serif; color: var(--text); background: #1a140e; border: 1px solid var(--line); border-radius: 2px; padding: 7px 8px; cursor: pointer; letter-spacing: 0; text-transform: none; }
.wys-link input { flex: 1 1 180px; cursor: text; color: #f0e2c0; }
.wys-b { font-weight: 800; }
.wys-i { font-style: italic; }
.wys-u { text-decoration: underline; }
.wys-s { text-decoration: line-through; }
.wys-ed { min-height: 320px; padding: 16px 18px; outline: none; }
.wys-ed.is-empty:before { content: attr(data-placeholder); color: var(--muted); pointer-events: none; }
.wys-ed b, .wys-ed strong, .news-body b, .news-body strong { font-weight: 700; }
.wys-ed i, .wys-ed em, .news-body i, .news-body em { font-style: italic; }
.wys-ed u, .news-body u { text-decoration: underline; }
.wys-ed s, .news-body s { text-decoration: line-through; }
.wys-ed font[size="1"] { font-size: 12px; }
.wys-ed font[size="2"] { font-size: 14px; }
.wys-ed font[size="3"] { font-size: 16px; }
.wys-ed font[size="4"] { font-size: 18px; }
.wys-ed font[size="5"] { font-size: 24px; }
.wys-ed font[size="6"] { font-size: 32px; }
.wys-ed font[size="7"] { font-size: 40px; }
.wys-status { min-height: 1.2em; margin: 0; padding: 6px 10px; color: #e7b2a4; font-size: 15px; }
@media (max-width: 560px) { .news-page { padding-top: 84px; } }
.news-by:focus-visible, .news-card-go:focus-visible { outline: 2px solid #f0d58c; outline-offset: 3px; }