:root { color-scheme: light; --ink: #263647; --muted: #64768a; --accent: #32689a; --accent-fill: #32689a; --accent-strong: #285780; --paper: #f5f8fc; --surface: #fff; --surface-alt: #f2f6fb; --line: #a9bfd5; --cool: #e8f0f8; --source: #858b87; --on-accent: #fff; --on-accent-muted: #eaf4ff; --highlight: #ffdf78; --rank: #e45c50; --ad-line: #e7bd55; --ad-bg: #fff6d9; --ad-ink: #67521c; --ad-label: #ad642c; --ad-placeholder: #78683e; --text-ad: #345f91; --error: #b3261e; --error-line: #e6a5a0; --error-bg: #fdf1f0; --label-green: #3d7560; --stripe: #263647; --shadow: rgba(38, 54, 71, .3); }
:root[data-theme="dark"] { color-scheme: dark; --ink: #dbe4ee; --muted: #98a8b9; --accent: #82b3e2; --accent-fill: #2d5a85; --accent-strong: #21435f; --paper: #11171e; --surface: #19212a; --surface-alt: #1e2833; --line: #34465a; --cool: #232f3c; --source: #97a29e; --on-accent: #fff; --on-accent-muted: #d6e6f7; --highlight: #ffdf78; --rank: #ff7f73; --ad-line: #6b5a2a; --ad-bg: #29231a; --ad-ink: #e6d6a8; --ad-label: #e3a874; --ad-placeholder: #c9b886; --text-ad: #8fbbe9; --error: #ff8a80; --error-line: #7a3a35; --error-bg: #2d1b1a; --label-green: #7cc4a4; --stripe: #2d5a85; --shadow: rgba(0, 0, 0, .5); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; --ink: #dbe4ee; --muted: #98a8b9; --accent: #82b3e2; --accent-fill: #2d5a85; --accent-strong: #21435f; --paper: #11171e; --surface: #19212a; --surface-alt: #1e2833; --line: #34465a; --cool: #232f3c; --source: #97a29e; --on-accent: #fff; --on-accent-muted: #d6e6f7; --highlight: #ffdf78; --rank: #ff7f73; --ad-line: #6b5a2a; --ad-bg: #29231a; --ad-ink: #e6d6a8; --ad-label: #e3a874; --ad-placeholder: #c9b886; --text-ad: #8fbbe9; --error: #ff8a80; --error-line: #7a3a35; --error-bg: #2d1b1a; --label-green: #7cc4a4; --stripe: #2d5a85; --shadow: rgba(0, 0, 0, .5); } }
.view-nav { background: var(--accent-fill); border-block: 1px solid var(--accent-strong); color: var(--on-accent); }
.view-nav .container { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-block: 10px; font-size: 12px; }
.view-nav a:hover { color: var(--highlight); }
.home-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 20px; margin-top: 16px; }
.home-content { min-width: 0; }
.home-popular { margin-top: 20px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 10px; border: 1px solid var(--accent-strong); background: var(--accent-fill); color: var(--on-accent); }
.section-heading h2 { display: flex; align-items: center; gap: 6px; font-size: 15px; margin: 0; overflow-wrap: anywhere; }
.heading-icon { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.section-heading h2 a { color: inherit; font-size: inherit; }
.section-heading a, .section-heading span { font-size: 11px; white-space: nowrap; color: var(--on-accent-muted); }
.compact-article { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 10px; padding: 5px 8px; background: var(--surface); border-inline: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compact-article time { font-size: 11px; color: var(--muted); }
.article-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 1ch; }
.article-meta .source-info { color: var(--source); font-size: 11px; overflow-wrap: anywhere; }
.compact-article .article-meta .source-info { margin: 0; }
.compact-article h3 { font-size: 14px; line-height: 1.4; margin: 0; overflow-wrap: anywhere; }
.compact-article p { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.compact-article .source-info, .row-body .source-info { color: var(--source); font-size: 11px; line-height: 1.4; margin: 0 0 3px; overflow-wrap: anywhere; }
.rank-list .source-info { color: var(--source); font-size: 11px; line-height: 1.5; margin: 3px 0 0; overflow-wrap: anywhere; }
.rank-list { margin: 0; padding: 0; list-style-position: inside; font-size: 13px; }
.home-popular .rank-list { list-style: none; }
.rank-list.latest-fallback-list { list-style: none; }
.rank-list li { border-inline: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding: 8px 9px; line-height: 1.55; overflow-wrap: anywhere; }
.rank-list li:nth-child(even) { background: var(--surface-alt); }
.rank-list li span { color: var(--muted); margin-left: 10px; }
.rank-list .popular-article-meta { display: flex; justify-content: space-between; align-items: baseline; }
.rank-list .popular-article-meta .source-info { margin: 0; }
.rank-list .popular-article h3 { font-size: inherit; font-weight: bold; line-height: 1.4; margin: 2px 0 0; }
.rank-list .popular-article-meta .rank-score { margin-left: 10px; }
.no-rank { list-style: none; color: var(--muted); }
.section-more { display: flex; align-items: center; gap: 6px; width: fit-content; margin: 0 0 0 auto; padding: 6px 8px 6px 12px; text-align: right; font-size: 13px; font-weight: bold; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-top: 0; }
.section-more:hover { background: var(--cool); }
.section-more-icon { flex: none; fill: var(--accent); }
.topic-list { list-style: none; padding: 0; margin: 0; font-size: 13px; }
.topic-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px; border-inline: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.topic-list li:nth-child(even) { background: var(--surface-alt); }
.topic-list a { overflow-wrap: anywhere; min-width: 0; }
.topic-list span { white-space: nowrap; color: var(--muted); font-size: 11px; }
.source-directory-list { list-style: none; padding: 0; margin: 0; }
.source-directory-list li { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr); gap: 16px; padding: 10px 12px; border: 1px solid var(--line); border-top: 0; background: var(--surface); }
.source-directory-list li:nth-child(even) { background: var(--surface-alt); }
.source-directory-list a { overflow-wrap: anywhere; }
.source-directory-name { font-weight: bold; }
.source-directory-list .source-directory-url { color: var(--muted); font-size: 11px; }
.muted { color: var(--muted); }
.asof { font-size: 11px; }
.ranking-articles { padding: 0; margin: 0; list-style: none; }
.infinite-scroll { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; min-height: 48px; padding: 12px 0; font-size: 12px; }
.infinite-scroll [role=status] { color: var(--muted); }
[data-infinite-continuation] { margin-top: 20px; }
.ad-slot--infinite { margin: 20px 0; }
.ranking-articles > .infinite-ad { margin: 0; padding: 0; border: 0; }
.ranking-articles li { display: block; }
.ranking-articles .popular-article { display: block; }
.ranking-articles .popular-article-meta { display: flex; justify-content: space-between; align-items: baseline; }
.ranking-articles .popular-article-meta .source-info { margin: 0; }
.rank-position { font: 24px Georgia, serif; color: var(--rank); }
.rank-score { font-size: 14px; text-align: right; }
.trends-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.admin-header { background: var(--surface); border-top: 5px solid var(--stripe); padding: 24px 0; }
.admin-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-header .brand { font-size: 23px; }
.admin-header .brand span { font-size: 12px; color: var(--muted); }
.admin-main { padding-bottom: 60px; }
.admin-banner-current { margin: 0 0 12px; }
.admin-banner-current img { display: block; max-width: min(100%, 320px); max-height: 320px; width: auto; height: auto; border: 1px solid var(--line); }
.admin-preview-notice { padding: 10px 0; background: var(--accent-fill); color: var(--on-accent); font-size: 12px; }
.admin-preview-notice a { margin-left: 12px; color: inherit; text-decoration: underline; }
.admin-preview-filler { min-height: 240px; padding: 12px; border: 1px solid var(--line); border-top: 0; background: var(--surface); color: var(--muted); font-size: 12px; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 26px 0; }
table { width: 100%; border-collapse: collapse; font-size: 12px; text-align: left; }
th { color: var(--muted); background: var(--cool); font-weight: normal; }
td, th { padding: 14px 12px; border-bottom: 1px solid var(--line); }
.edit-form { max-width: 800px; padding: 26px 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.edit-form label:not(.check-label) { display: flex; flex-direction: column; gap: 10px; font-size: 13px; min-width: 0; }
.edit-form input:not([type=checkbox]):not([type=radio]), .edit-form select, .edit-form textarea { width: 100%; }
.edit-form fieldset { border: 0; border-top: 1px solid var(--line); margin: 26px 0; padding: 20px 0; }
.edit-form legend { padding-right: 16px; font-size: 14px; }
.check-label { display: flex; gap: 10px; align-items: center; margin: 18px 0; font-size: 13px; }
.form-subheading { font-size: 15px; margin: 24px 0; }
.save-button { background: var(--ink); color: var(--on-accent); min-width: 100px; }
.login-panel { max-width: 460px; padding-block: 80px; }
.ad-slot { min-height: 90px; padding: 12px 16px; border: 1px solid var(--ad-line); background: var(--ad-bg); color: var(--ad-ink); display: flex; flex-direction: column; justify-content: center; gap: 5px; font-size: 11px; }
.ad-slot-label { color: var(--ad-label); font-size: 10px; font-weight: bold; }
/* Image banners show only the creative, with the ad disclosure overlaid on its bottom-right corner. */
.ad-slot.amazon-banner { min-height: 0; padding: 0; border: 0; background: none; }
.amazon-banner a { position: relative; display: block; width: fit-content; max-width: 100%; }
.amazon-banner img { display: block; max-width: 100%; height: auto; }
.amazon-banner .ad-slot-label { position: absolute; right: 0; bottom: 0; padding: 1px 6px; background: rgba(255, 255, 255, .85); color: #6b6b6b; line-height: 1.5; }
/* Keep square or tall creatives from stretching the header; the ratio is preserved. */
.masthead-inner > .amazon-banner img { width: auto; max-height: 120px; }
.ad-slot-placeholder { color: var(--ad-placeholder); }
.ad-slot--infeed { min-height: 72px; margin: 10px 0; }
.text-ad { color: var(--text-ad); font-size: 13px; font-weight: bold; overflow-wrap: anywhere; }
.ad-slot--sidebar { margin-top: 24px; }
.rank-sidebar > .ad-slot--sidebar { margin: 0 0 16px; }
.ad-slot--sidebar-bottom { margin-top: 20px; }
.ad-slot--footer-banner { margin-top: 20px; }
@media (max-width: 700px) { .home-layout, .trends-layout, .form-grid { grid-template-columns: 1fr; gap: 20px; } .ranking-articles .popular-article h3 { font-size: 13px; } }
* { box-sizing: border-box; }
html { color: var(--ink); background: var(--paper); font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; letter-spacing: 0; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button, input, select { font: inherit; }
button { cursor: pointer; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 3px; padding: 8px 12px; white-space: nowrap; }
input, select, textarea { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 3px; padding: 9px 12px; min-width: 0; }
.container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.masthead { background: var(--surface); border-top: 5px solid var(--stripe); }
.masthead-inner { width: min(1120px, calc(100% - 64px)); margin: auto; min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.masthead-inner > .ad-slot { flex: 0 1 468px; width: 468px; max-width: 100%; min-width: 0; min-height: 60px; }
.ad-slot.ad-slot--admax { padding: 0; border: 0; background: none; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; color-scheme: light; }
.masthead-inner > .ad-slot--admax { flex: none; width: 100%; }
/* From 1124px the logo and the banner share the header half and half; below that both stack at full width. */
@media (min-width: 1124px) { .masthead-inner:has(> .ad-slot--admax) > .brand, .masthead-inner > .ad-slot--admax { flex: 1 1 0; width: auto; } }
@media (max-width: 1123px) { .masthead-inner:has(> .ad-slot--admax) { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 0; } .masthead-inner:has(> .ad-slot--admax) > .brand { flex: none; width: 100%; } }
.brand { display: flex; align-items: center; gap: 13px; font-size: 30px; font-weight: 800; overflow-wrap: anywhere; min-width: 0; }
.brand img { flex: 0 0 36px; }
.masthead .brand { display: block; flex: 1 1 620px; }
.masthead .brand img { display: block; width: 100%; height: auto; aspect-ratio: 2172 / 312; object-fit: contain; }
.category-nav { border-block: 1px solid var(--line); background: var(--surface); }
.category-nav .container { display: flex; flex-wrap: wrap; gap: 0 28px; }
.category-nav a { padding: 16px 0; font-size: 13px; border-bottom: 2px solid transparent; }
.category-nav a[aria-current] { border-color: var(--accent); font-weight: bold; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 14px; border: 1px solid var(--accent-strong); background: var(--accent-fill); color: var(--on-accent); }
.list-heading { margin-top: 16px; }
.page-heading .eyebrow { font-size: 10px; font-weight: bold; color: var(--highlight); margin: 0 0 3px; }
.page-heading h1 { color: inherit; font-size: 22px; line-height: 1.4; }
.page-heading .count { color: var(--on-accent-muted); }
.page-heading .list-tools { flex: 0 1 auto; min-width: 0; gap: 10px; }
.page-heading .list-tools form { flex-wrap: wrap; justify-content: flex-end; }
.page-heading .list-tools select, .page-heading .list-tools button { min-height: 34px; }
.ranking-heading { align-items: flex-end; }
.ranking-heading .ranking-asof { color: var(--on-accent); font-size: 11px; margin: 0; align-self: flex-end; }
h1 { font-size: 28px; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.list-tools, .list-tools form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.list-tools { gap: 22px; flex-shrink: 0; font-size: 12px; }
.count { color: var(--muted); white-space: nowrap; }
.query-label { margin: 12px 0 0; overflow-wrap: anywhere; }
.article-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 10px 12px; border-inline: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.article-row:nth-of-type(even), .news-stream > .article-even { background: var(--surface-alt); }
.row-date { font-size: 11px; color: var(--muted); padding-top: 0; display: flex; flex-direction: column; gap: 6px; }
.all-articles-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
.all-articles-row .row-good, .compact-article .row-good { grid-column: 2; grid-row: 1 / span 2; }
/* Ads have no Good column, so their title must not flow into it. */
.all-articles-row.affiliate-article > *, .compact-article.affiliate-article > * { grid-column: 1 / -1; }
.all-articles-row .article-meta { flex-direction: row; justify-content: flex-start; gap: 4px 1ch; }
.category-articles > .article-row { padding: 5px 8px; }
.source-label { font-size: 11px; color: var(--label-green); }
.row-body { min-width: 0; }
.row-body h2 { font-size: 15px; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.row-body p { font-size: 12px; line-height: 1.5; color: var(--muted); margin: 0; overflow-wrap: anywhere; }
.empty-state, .ranking-articles .empty-state { display: block; padding: 40px 16px; text-align: center; border: 1px solid var(--accent); background: var(--cool); color: var(--ink); overflow-wrap: anywhere; }
.empty-rule { display: block; width: 30px; height: 3px; background: var(--accent); margin: 0 auto 20px; }
.empty-state h2 { font-size: 18px; font-weight: normal; }
.source-profile { border: 1px solid var(--line); background: var(--surface); padding: 12px 16px; margin: 0 0 14px; font-size: 13px; }
.source-profile dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 0; }
.source-profile dt { color: var(--muted); }
.source-profile dd { margin: 0; overflow-wrap: anywhere; }
.source-profile dd a { color: var(--accent); }
.source-category { display: inline-block; margin-right: 8px; padding: 0 8px; background: var(--cool); border-radius: 3px; }
.frequency-meter { display: inline-flex; gap: 3px; vertical-align: -1px; margin-right: 4px; }
.frequency-step { width: 14px; height: 10px; border-radius: 2px; background: var(--cool); border: 1px solid var(--line); }
.frequency-step.is-on { background: var(--accent); border-color: var(--accent); }
.frequency-note { color: var(--muted); font-size: 12px; margin-left: 4px; }
.back-to-top { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 20; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: 0 2px 8px var(--shadow); cursor: pointer; opacity: .92; }
.back-to-top[hidden] { display: none; }
.back-to-top svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.row-thumb { display: none; }
.view-switch { display: inline-flex; flex: none; align-self: center; border: 1px solid var(--on-accent-muted); border-radius: 4px; overflow: hidden; }
.view-switch[hidden] { display: none; }
.view-switch button { border: 0; border-radius: 0; background: transparent; color: var(--on-accent); padding: 4px 12px; font-size: 12px; }
.view-switch button + button { border-left: 1px solid var(--on-accent-muted); }
.view-switch button[aria-pressed="true"] { background: var(--surface); color: var(--ink); font-weight: bold; }
:root[data-view="card"] .article-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
:root[data-view="card"] .article-list > :not(.article-row) { grid-column: 1 / -1; margin: 0; }
:root[data-view="card"] .article-list > .article-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "thumb thumb" "body body" "date good"; align-content: start; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 1px 3px var(--shadow); }
:root[data-view="card"] .article-row .row-thumb { grid-area: thumb; position: relative; display: block; aspect-ratio: 2 / 1; overflow: hidden; background: var(--cool); }
:root[data-view="card"] .row-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
:root[data-view="card"] .row-thumb-source { display: none; }
:root[data-view="card"] .row-thumb.is-empty img { display: none; }
:root[data-view="card"] .row-thumb.is-empty .row-thumb-source { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 12px; color: var(--muted); font-size: 13px; font-weight: bold; text-align: center; overflow-wrap: anywhere; }
:root[data-view="card"] .article-row .row-body { grid-area: body; }
:root[data-view="card"] .article-row .row-body h2 { font-size: 17px; line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
:root[data-view="card"] .article-row .row-body h2 a { color: var(--accent); }
:root[data-view="card"] .article-row .row-date { grid-area: date; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12px; }
:root[data-view="card"] .article-row .row-good { grid-area: good; }
.view-nav .container { align-items: center; }
.theme-toggle { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 2px 10px; border: 1px solid var(--on-accent-muted); border-radius: 999px; background: transparent; color: var(--on-accent); font-size: 12px; line-height: 1.6; }
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { color: var(--highlight); border-color: var(--highlight); }
.theme-toggle svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .theme-icon-sun, :root[data-theme="dark"] .theme-toggle .theme-icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .theme-icon-sun { display: block; }
:root[data-theme="dark"] .masthead .brand img { border-radius: 4px; }
.good-button { display: inline-flex; align-items: center; gap: 4px; min-width: 44px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font: inherit; font-size: 12px; line-height: 1.6; cursor: pointer; }
.good-button svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.good-button:hover { border-color: var(--accent); color: var(--accent); }
.good-button[aria-pressed="true"] { border-color: var(--accent-fill); background: var(--accent-fill); color: var(--on-accent); }
.good-button[aria-pressed="true"] svg { fill: currentColor; fill-opacity: .25; }
.good-button:disabled { opacity: .6; cursor: wait; }
.good-total { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; }
.good-total svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.footer { border-top: 1px solid var(--line); margin-top: 50px; padding: 26px 0; background: var(--cool); font-size: 12px; }
.footer .container { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer p { color: var(--muted); }
.error-state { padding: 70px 0; }
.error-state a { display: inline-block; margin-top: 24px; font-size: 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; background: var(--surface); padding: 12px; z-index: 10; }
.skip-link:focus { top: 0; }
@media (max-width: 700px) {
  .container, .masthead-inner { width: calc(100% - 24px); }
  .masthead-inner { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 0; }
  .masthead-inner > .ad-slot { flex: none; width: 100%; }
  .masthead .brand { flex: none; width: 100%; }
  .brand { font-size: 26px; }
  .view-nav .container { gap: 8px 14px; padding-block: 8px; }
  .category-nav .container { gap: 0 16px; }
  .page-heading { align-items: stretch; flex-direction: column; gap: 10px; padding: 10px 12px; }
  .page-heading h1 { font-size: 20px; }
  .page-heading .list-tools { width: 100%; justify-content: flex-start; }
  .page-heading .list-tools form { justify-content: flex-start; }
  .page-heading .list-tools select { max-width: 100%; }
  h1 { font-size: 24px; }
  .article-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; padding: 9px; }
  .row-date { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; gap: 10px; }
  .all-articles-row .row-date { grid-column: 1; }
  .row-body h2 { font-size: 14px; }
  .compact-article h3 { font-size: 13px; }
  .compact-article { padding: 5px 7px; }
  .category-articles > .article-row { padding: 5px 7px; }
  .rank-list li { padding: 8px; }
  .source-directory-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ad-slot { min-height: 64px; padding: 9px 12px; }
  .footer .container { flex-direction: column; align-items: start; gap: 0; }
  .source-profile { padding: 10px 12px; }
  :root[data-view="card"] .article-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  :root[data-view="card"] .article-list > .article-row { padding: 10px; }
  :root[data-view="card"] .article-row .row-body h2 { font-size: 16px; }
  .page-heading .view-switch { align-self: flex-start; }
}
.static-page { max-width: 800px; padding: 10px 0 0; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.static-page h2 { font-size: 16px; margin: 26px 0 8px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.static-page ul { padding-left: 1.4em; }
.static-page a { color: var(--accent); text-decoration: underline; }
.contact-form { padding-top: 6px; display: flex; flex-direction: column; gap: 16px; }
.contact-form .contact-kind { margin: 0; padding: 0; border: 0; }
.contact-form .contact-kind .check-label { margin: 8px 0; }
.contact-form textarea { font: inherit; resize: vertical; }
.contact-form button { align-self: flex-start; }
.contact-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field-error { color: var(--error); font-size: 12px; margin: -8px 0 0; }
.form-alert { color: var(--error); border: 1px solid var(--error-line); background: var(--error-bg); padding: 10px 12px; }
.form-notice { border: 1px solid var(--line); background: var(--cool); padding: 10px 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.contact-filter { padding-bottom: 0; }
.contact-table .contact-body { white-space: pre-wrap; min-width: 240px; }
.contact-table .contact-unread td { font-weight: bold; }
.contact-table form + form { margin-top: 6px; }
/* Text logo for sites whose profile has no header images yet. */
.masthead .brand.brand-text { display: flex; align-items: center; color: var(--ink); font-size: clamp(26px, 4vw, 40px); letter-spacing: .02em; line-height: 1.2; }
.masthead .brand.brand-text::before { content: ""; flex: none; width: 8px; align-self: stretch; margin-right: 14px; border-radius: 2px; background: var(--accent-fill); }
/* Age confirmation for adult site profiles; the page stays in the markup for crawlers. */
body:has(.age-gate) { overflow: hidden; }
.age-gate { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: var(--paper); overflow-y: auto; }
.age-gate-panel { width: min(480px, 100%); padding: 28px 24px; border: 1px solid var(--line); border-top: 5px solid var(--accent-fill); border-radius: 6px; background: var(--surface); color: var(--ink); text-align: center; box-shadow: 0 8px 28px var(--shadow); }
.age-gate-mark { display: inline-grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 8px; border: 3px solid var(--accent); border-radius: 50%; color: var(--accent); font-size: 20px; font-weight: 800; }
.age-gate h2 { margin: 0 0 12px; font-size: 20px; }
.age-gate p { margin: 0 0 12px; font-size: 14px; line-height: 1.7; text-align: left; }
.age-gate .age-gate-question { font-weight: 700; text-align: center; }
.age-gate-actions { display: grid; gap: 10px; margin-top: 18px; }
.age-gate-actions a { display: block; padding: 12px; border-radius: 4px; font-weight: 700; text-decoration: none; }
.age-gate-yes { background: var(--accent-fill); color: var(--on-accent); }
.age-gate-yes:hover { background: var(--accent-strong); color: var(--on-accent); }
.age-gate-no { border: 1px solid var(--line); color: var(--muted); }
.admin-site-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.admin-site-tabs a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; }
.admin-site-tabs a[aria-current="page"] { background: var(--accent-fill); border-color: var(--accent-strong); color: var(--on-accent); }
.admin-site-bar { background: var(--surface-alt); border-top: 1px solid var(--line); }
.admin-site-bar .container { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-block: 10px; }
.admin-site-bar .admin-site-tabs { margin: 0; }
.admin-site-bar-label { font-size: 12px; color: var(--muted); }
.admin-site-name { margin-left: 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
