/* News access ranking (D-115, chunk C7): [nuruma_news_ranking] / Nuruma_News_Ranking::html(). CSS-only tabs (one radio per list, all three lists pre-rendered), no script.
 * Visuals follow the approved sample (_runs/20261110-news/v8): big thin numerals, 4:3 thumbnails, titles; pill tabs on a phone, underlined tabs from 1100px. No view counts anywhere.
 * Everything is scoped under .nrk so the theme and the other plugin cards stay untouched. No dark mode. */
.nrk, .nrk *, .nrk *::before, .nrk *::after { box-sizing: border-box; }
.nrk { --nrk-blue: #3a6f8f; --nrk-ink: #1a1a1a; --nrk-line: #e6e9ea; background: #f7f8f8; border: 1px solid var(--nrk-line); border-radius: 8px; padding: 12px 12px 6px; margin: 14px 0; color: var(--nrk-ink); font-size: 16px; line-height: 1.5; }
.nrk__r { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nrk__h { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 6px; }
.nrk .nrk__t { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; background: none; font-size: 15px; line-height: 1.5; font-weight: 700; color: var(--nrk-ink); }
.nrk .nrk__t::before { content: ""; width: 5px; height: 16px; background: var(--nrk-blue); border-radius: 2px; }
.nrk__tabs { display: flex; gap: 6px; }
.nrk__tab { font-size: 13px; font-weight: 700; line-height: 1; padding: 7px 14px; border-radius: 999px; background: #e9eef1; color: #516772; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.nrk__r--24h:checked ~ .nrk__h .nrk__tab--24h, .nrk__r--7d:checked ~ .nrk__h .nrk__tab--7d, .nrk__r--30d:checked ~ .nrk__h .nrk__tab--30d { background: var(--nrk-blue); color: #fff; }
.nrk__r--24h:focus-visible ~ .nrk__h .nrk__tab--24h, .nrk__r--7d:focus-visible ~ .nrk__h .nrk__tab--7d, .nrk__r--30d:focus-visible ~ .nrk__h .nrk__tab--30d { outline: 2px solid #1a5a8a; outline-offset: 2px; }

.nrk__p { display: none; }
.nrk__r--24h:checked ~ .nrk__p--24h, .nrk__r--7d:checked ~ .nrk__p--7d, .nrk__r--30d:checked ~ .nrk__p--30d { display: block; }
.nrk .nrk__l { list-style: none; margin: 0; padding: 0; }
.nrk .nrk__i { margin: 0; padding: 0; border-top: 1px solid var(--nrk-line); }
.nrk .nrk__i:first-child { border-top: 0; }
.nrk .nrk__i a { display: flex; align-items: center; gap: 8px; padding: 9px 0; text-decoration: none; color: var(--nrk-ink); }
.nrk .nrk__no { flex: 0 0 34px; text-align: center; font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-weight: 200; font-size: 36px; line-height: 1; color: #b9c4cb; font-variant-numeric: tabular-nums; }
.nrk .nrk__i:nth-child(-n+3) .nrk__no { color: var(--nrk-blue); font-weight: 300; }
.nrk .nrk__tx { flex: 1; min-width: 0; font-size: 13px; line-height: 1.5; font-weight: 700; overflow-wrap: anywhere; }
.nrk .nrk__tt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nrk .nrk__k { display: block; font-size: 11px; font-weight: 400; color: #777; margin: 0 0 1px; }
.nrk .nrk__im { position: relative; flex: 0 0 72px; width: 72px; height: 54px; border-radius: 4px; overflow: hidden; background: #e4e8ea; }
.nrk .nrk__im img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; object-position: top center; }
.nrk .nrk__i a:hover .nrk__tx { color: #1a5a8a; }
.nrk .nrk__fb { margin: 2px 0 8px; font-size: 11px; line-height: 1.6; color: #777; }

@media (min-width: 1100px) {
	.nrk__tab { border-radius: 0; background: none; padding: 7px 4px; margin-left: 8px; border-bottom: 3px solid transparent; color: #667c88; }
	.nrk__tab:first-child { margin-left: 0; }
	.nrk__r--24h:checked ~ .nrk__h .nrk__tab--24h, .nrk__r--7d:checked ~ .nrk__h .nrk__tab--7d, .nrk__r--30d:checked ~ .nrk__h .nrk__tab--30d { background: none; color: var(--nrk-blue); border-bottom-color: var(--nrk-blue); }
}
@media (prefers-reduced-motion: no-preference) { .nrk__tab { transition: background-color .15s, color .15s; } }

/* ---- private preview mark (a valid token: the module may list unpublished articles) */
.nrk__pv { display: inline-block; margin: 0 0 8px; padding: 2px 10px; border: 1px solid #c9a227; border-radius: 999px; background: #fff8dc; color: #6b5300; font-size: 12px; font-weight: 700; line-height: 1.6; letter-spacing: .02em; }
