.news-page { max-width: 1200px; }
.news-page [hidden] { display: none !important; }
.nl-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 26px; align-items: start; }
.nl-sidebar { position: sticky; top: 20px; padding: 20px 14px 16px; border: 1px solid #333; border-radius: 10px; background: #202020; }
.nl-inbox-title { display: flex; align-items: center; gap: 10px; padding: 0 6px 20px; font-size: 19px; }
.nl-inbox-title svg { width: 23px; height: 23px; color: #ff6b6b; }
.nl-inbox-title > .nl-count { margin-left: auto; }
.nl-nav { display: grid; gap: 6px; }
.nl-tab { display: flex; align-items: center; justify-content: space-between; gap: 7px; border: 1px solid transparent; border-radius: 7px; padding: 12px 10px; background: transparent; color: #bcbcbc; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.nl-tab:hover { background: #2c2c2c; color: white; }
.nl-tab.active { background: #382323; border-color: #714141; color: #ffb1b1; }
.nl-count { display: inline-flex; justify-content: center; align-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; color: #ffb0b0; background: #4a2929; font-size: 11px; font-weight: bold; }
.nl-count.is-zero { color: #888; background: #2c2c2c; }
.nl-hint, .nl-footnote { color: #909090; font-size: 12px; line-height: 1.6; }
.nl-sidebar > .nl-hint { padding: 10px 6px; margin-bottom: 14px; }
.nl-sidebar-footer { border-top: 1px solid #383838; padding: 16px 6px 0; overflow-wrap: anywhere; font-size: 13px; }
.nl-sidebar-footer small { display: block; color: #888; font-size: 11px; margin-top: 6px; }
.nl-main { min-width: 0; }
.nl-heading-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 20px; }
.nl-eyebrow { color: #a0a0a0; font-size: 10px; font-weight: bold; letter-spacing: .12em; }
.nl-heading-row h2 { margin: 7px 0 0; font-size: 28px; }
.nl-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid #333; margin-bottom: 20px; }
.nl-unread-toggle { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #ccc; cursor: pointer; }
.nl-unread-toggle input { accent-color: #ff3b3b; width: 16px; height: 16px; margin: 0; }
.nl-button { display: inline-block; padding: 9px 12px; border: 1px solid #454545; border-radius: 6px; background: #292929; color: white; font: inherit; font-size: 12px; cursor: pointer; text-decoration: none; }
.nl-button:hover { background: #383838; }
.nl-button.primary { background: #ff3b3b; border-color: #ff3b3b; }
.nl-button.primary:hover { background: #e93030; }
.nl-text-button { padding: 4px 0; color: #ffa0a0; background: transparent; border: 0; font: inherit; font-size: 12px; cursor: pointer; }
#nl-mark-all { margin-right: auto; }
.nl-text-button:hover { text-decoration: underline; }
.nl-button:disabled, .nl-text-button:disabled { opacity: .45; cursor: default; }
.nl-feed { display: grid; gap: 9px; }
.nl-card { min-width: 0; border: 1px solid #383838; border-radius: 8px; background: #202020; overflow: hidden; overflow-wrap: anywhere; transition: border-color .2s; }
.nl-card:hover { border-color: #666; }
.nl-card.is-expanded { border-color: #aa3434; }
.nl-row-toggle { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto auto 16px; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 12px 18px; border: 0; background: #222; color: white; text-align: left; font: inherit; cursor: pointer; }
.nl-row-toggle:hover { background: #272727; }
.nl-row-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid #454545; border-radius: 5px; background: #2c2c2c; color: #aaa; font-size: 20px; }
.is-unread .nl-row-icon { border-color: #754141; color: #ff9b9b; background: #382626; }
.nl-dot { position: absolute; top: -3px; right: -3px; width: 6px; height: 6px; border: 2px solid #222; box-sizing: content-box; border-radius: 50%; background: #ff3b3b; }
.nl-row-text { min-width: 0; }
.nl-row-category { display: block; color: #999; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 5px; }
.nl-row-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: bold; }
.nl-row-time { color: #999; font-size: 11px; white-space: nowrap; }
.nl-chevron { display: block; font-size: 20px; color: #ccc; transition: transform .25s; }
.is-expanded .nl-chevron { transform: rotate(180deg); }
.nl-expand { display: grid; grid-template-rows: 0fr; visibility: hidden; opacity: 0; transition: grid-template-rows .28s ease, opacity .22s ease, visibility .28s; }
.is-expanded .nl-expand { grid-template-rows: 1fr; visibility: visible; opacity: 1; }
.nl-expand-inner { min-height: 0; overflow: hidden; }
.nl-details { padding: 20px; border-top: 1px solid #333; }
.nl-card h3 { font-size: 18px; line-height: 1.4; margin: 0 0 8px; color: #eee; }
.nl-body { color: #b8b8b8; font-size: 13px; line-height: 1.7; white-space: pre-wrap; margin: 0; }
.nl-note { padding: 13px 15px; border: 1px solid #3d3737; border-radius: 6px; background: #181818; margin: 16px 0 0; }
.nl-note strong { display: block; color: #adadad; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.nl-note p { color: #ddd; margin: 0; font-size: 13px; line-height: 1.6; white-space: pre-wrap; }
.nl-card-footer { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; padding: 12px 20px; border-top: 1px solid #303030; background: #191919; }
.nl-card-footer > .nl-text-button { margin-left: auto; padding: 7px 10px; border: 1px solid #414141; border-radius: 5px; background: #252525; color: #ccc; text-decoration: none; }
.nl-card-footer > .nl-text-button:hover { background: #333; color: white; }
.nl-pill { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: #bcbcbc; font-size: 12px; line-height: 1.4; }
.nl-pill::before { content: ""; flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: #777; }
.nl-pill.approved::before { background: #83b88b; }
.nl-pill.rejected::before { background: #ef7777; }
.nl-pill.awaiting_admin_ranking::before, .nl-pill.awaiting_approval::before { background: #c4a76b; }
.nl-author { color: #929292; font-size: 11px; }
.nl-card a { padding: 7px 10px; border: 1px solid #5a3b3b; border-radius: 5px; background: #2c2020; color: #ffb0b0; font-size: 12px; text-decoration: none; }
.nl-card a:hover { background: #3c2828; border-color: #805252; }
.nl-empty { padding: 45px 20px; text-align: center; border: 1px dashed #3c3c3c; border-radius: 8px; color: #aaa; font-size: 14px; line-height: 1.7; }
.nl-status { font-size: 13px; color: #ffa3a3; line-height: 1.5; }
.nl-status:empty { display: none; }
.nl-signin { color: #aaa; font-size: 13px; line-height: 1.6; padding: 12px 14px; border: 1px solid #383838; border-radius: 6px; background: #1c1c1c; }
.nl-signin a { color: #ffaaaa; }
.nl-unread-toggle:has(input:disabled) { opacity: .45; cursor: default; }
.nl-footnote { margin-top: 20px; }
.nl-compose { padding: 22px; margin-bottom: 20px; border: 1px solid #4e3c3c; border-radius: 8px; background: #212121; }
.nl-compose h3 { font-size: 17px; margin: 0 0 15px; }
.nl-compose label { display: block; color: #bbb; font-size: 12px; margin: 15px 0 8px; }
.nl-input { box-sizing: border-box; width: 100%; padding: 11px 12px; color: #eee; background: #161616; border: 1px solid #444; border-radius: 6px; font: inherit; font-size: 13px; }
textarea.nl-input { resize: vertical; line-height: 1.6; }
.nl-compose-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 15px; }
.nl-compose-footer small { color: #aaa; line-height: 1.5; font-size: 11px; }
.news-page button:focus-visible, .news-page a:focus-visible, .nl-input:focus-visible, .nl-unread-toggle input:focus-visible { outline: 2px solid #ff6666; outline-offset: 3px; }
@media (max-width: 800px) {
    .nl-layout { grid-template-columns: 180px minmax(0,1fr); gap: 18px; }
    .nl-row-toggle { gap: 9px; padding: 12px; }
    .nl-row-title { font-size: 15px; }
    .nl-row-time { display: none; }
    .nl-details, .nl-card-footer { padding: 16px; }
}
@media (max-width: 620px) {
    .nl-layout { grid-template-columns: 1fr; }
    .nl-sidebar { position: static; padding: 14px; }
    .nl-inbox-title { padding-bottom: 12px; }
    .nl-nav { grid-template-columns: 1fr 1fr; }
    .nl-tab { font-size: 12px; }
    .nl-sidebar > .nl-hint, .nl-sidebar-footer { display: none; }
    .nl-heading-row h2 { font-size: 24px; }
    .nl-toolbar { gap: 14px; }
    .nl-compose-footer { align-items: flex-start; flex-direction: column; }
    .nl-card h3 { font-size: 16px; }
    .nl-row-toggle { grid-template-columns: 28px minmax(0, 1fr) auto 12px; gap: 8px; }
    .nl-row-icon { width: 26px; height: 26px; font-size: 18px; }
    .nl-row-toggle .nl-pill { max-width: 85px; font-size: 10px; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .nl-card, .nl-expand, .nl-chevron { transition: none; } }
