/* Kit v3 News (owner R76). Builds on calendar.css (filter panel, toolbar, inspector, forms), tokens from v3.css only.
   The ranked feed is the instrument: vote column, rank, title, area, place and age. */
.nf__bar { grid-template-columns: auto auto minmax(0, 1fr) auto; }
.nf__ord { min-width: 210px; }
.nf__type { min-width: 0; }
.nf__type button { padding-inline: 10px; white-space: nowrap; }
.nf__type button em { font-style: normal; color: var(--ink-3); margin-inline-start: 5px; font-variant-numeric: tabular-nums; }
.nf__q { display: flex; align-items: center; gap: 8px; height: 34px; padding-inline: 10px; border-radius: var(--r); border: 1px solid var(--line); color: var(--ink-3); min-width: 0; }
.nf__q input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13px; }
.nf__body { overflow: auto; scrollbar-width: thin; }
.nf__note { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 10px 16px; background: var(--bg-1); border-block-end: 1px solid var(--line); color: var(--ink-3); font-size: 12px; }
.nf__note b { color: var(--ink); font-weight: 600; }
.nf__note span { flex: 1; min-width: 0; }
.nf__note .btn { height: 28px; font-size: 12px; }
.nr { display: grid; grid-template-columns: 56px 40px minmax(0, 1fr) 148px 118px 76px; align-items: center; gap: 12px; padding: 0 16px 0 8px; min-height: 58px; border-block-end: 1px solid var(--line); cursor: pointer; }
.nr:hover { background: var(--bg-2); }
.nr[aria-selected="true"] { background: var(--red-soft); }
.vote { display: grid; justify-items: center; gap: 1px; width: 44px; padding: 5px 0; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-1); color: var(--ink-2); }
.vote:hover { border-color: var(--line-2); color: var(--ink); }
.vote b { font: 600 14px/1 var(--f); font-variant-numeric: tabular-nums; color: var(--ink); }
.nr__r { font: 500 13px/1 var(--m); color: var(--ink-3); text-align: end; font-variant-numeric: tabular-nums; }
.nr__t { min-width: 0; padding-block: 9px; }
.nr__t b { display: block; font-weight: 500; font-size: 13.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; unicode-bidi: plaintext; }
.nr__t small { display: block; margin-block-start: 3px; color: var(--ink-3); font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nr[aria-selected="true"] .nr__t b { color: var(--ink); }
.nr__a, .nr__p { color: var(--ink-2); font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nr__p .fl { margin-inline-end: 6px; vertical-align: -2px; }
.nr__a i { display: inline-block; width: 7px; height: 7px; border-radius: var(--r); background: var(--ink-2); margin-inline-end: 7px; vertical-align: 1px; }
.nr[data-t="event"] .nr__a i { background: transparent; border: 1px solid var(--ink-2); border-radius: 50%; }
.nr__g { text-align: end; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nr__g b { display: block; color: var(--ink); font-weight: 600; font-size: 13px; }
.nf__hd { display: grid; grid-template-columns: 56px 40px minmax(0, 1fr) 148px 118px 76px; gap: 12px; padding: 10px 16px 8px 8px; border-block-end: 1px solid var(--line); }
.nf__hd span:nth-child(2), .nf__hd span:last-child { text-align: end; }
.nf__hd span:first-child { text-align: center; }
.nf__empty { padding: 40px 16px; text-align: center; color: var(--ink-3); }
.nf__first { display: grid; grid-template-columns: 56px 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 16px 12px 8px; border-block-end: 1px solid var(--line); background: color-mix(in srgb, var(--bg-2) 50%, transparent); }
.nf__first .vote { border-style: dashed; opacity: .6; }
.nf__first b { font-weight: 600; }
.nf__first small { display: block; color: var(--ink-3); font-size: 12px; margin-block-start: 2px; }
.thread { display: grid; gap: 8px; }
.thread__c { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px; border-radius: var(--r); border: 1px dashed var(--line-2); color: var(--ink-3); font-size: 12.5px; }
.thread__c i { width: 28px; height: 28px; border-radius: 50%; background: var(--bg-3); }
.thread textarea { width: 100%; min-height: 64px; padding: 8px 10px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg-1); color: var(--ink-3); font: inherit; resize: none; }
.vbig { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.vbig .vote { width: 56px; padding: 8px 0; }
.vbig .vote b { font-size: 20px; }
.vbig p { margin: 0; color: var(--ink-2); font-size: 12.5px; }
.mod { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; }
.mod div { background: var(--bg-1); padding: 9px 10px; }
.mod div[data-on] { background: var(--bg-2); box-shadow: inset 0 -2px 0 var(--red); }
.mod small { display: block; color: var(--ink-3); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; }
.mod b { display: block; margin-block-start: 4px; font-size: 12.5px; font-weight: 600; }
@media (max-width: 1560px) {
  .has-rail-end .nf__q { display: none; }
  .has-rail-end .nf__bar .cv__acts { grid-column: 4; }
}
@media (max-width: 1180px) {
  .nr, .nf__hd { grid-template-columns: 56px 32px minmax(0, 1fr) 110px 64px; }
  .nr__p, .nf__hd span:nth-child(5) { display: none; }
  .nf__q { display: none; }
}
@media (max-width: 760px) {
  .nf__bar { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "ord acts" "type type"; }
  .nf__ord { grid-area: ord; min-width: 0; } .nf__type { grid-area: type; overflow-x: auto; } .nf__bar .cv__acts { grid-area: acts; }
  .nr, .nf__hd { grid-template-columns: 48px minmax(0, 1fr) 54px; gap: 10px; padding-inline: 6px 10px; }
  .nr__r, .nr__a, .nr__p, .nf__hd span:nth-child(2), .nf__hd span:nth-child(4), .nf__hd span:nth-child(5) { display: none; }
  .nf__first { grid-template-columns: 48px minmax(0, 1fr); }
  .nf__first .nr__r, .nf__first .btn { display: none; }
}
.nf__ttl { font-size: 18px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; unicode-bidi: plaintext; }
.nf__type button em { unicode-bidi: isolate; }
.gate div, .nf__note span, .nr__t small, .vbig p, .thread__c span, .mod b, .fx__note, .nr__a, .nr__p { unicode-bidi: plaintext; }
