:root {
  --color-gray-1000: #000000;
  --color-gray-800: #474747;
  --color-gray-500: #8c8c8c;
  --color-gray-300: #e5e5e5;
  --color-white-200: #f8f4f4;
  --color-white-100: #f9f9f9;
  --color-white-000: #ffffff;
  --color-dark-blue: #162e93;
  --color-dark-blue-soft: #7c93ff;
  --color-dark-red: #d92243;
  --color-dark-red-soft: #ff6b83;
  --color-dark-green: #2b5748;
  --color-dark-green-soft: #5fb39b;
  --color-dark-green-2: #2fa084;
  --color-dark-green-2-soft: #4fd3b0;
  --color-dark-purple: #6b3f69;
  --color-dark-purple-soft: #b587b2;
  --color-dark-yellow: #eea727;
  --color-dark-yellow-soft: #f3be5c;
  --surface-page: var(--color-white-100);
  --surface-sunken: var(--color-white-200);
  --surface-feed: var(--color-white-100);
  --surface-card: transparent;
  --surface-overlay: var(--color-white-100);
  --surface-inset: var(--color-white-200);
  --browser-chrome: var(--surface-sunken);
  --text-primary: var(--color-gray-1000);
  --text-secondary: var(--color-gray-800);
  --text-muted: var(--color-gray-500);
  --text-inverse: var(--color-white-100);
  --text-on-accent: var(--color-white-000);
  --border-divider: var(--color-gray-300);
  --border-input: var(--color-gray-300);
  --border-strong: var(--color-gray-1000);
  --border-thread: var(--color-gray-300);
  --icon-default: var(--color-gray-500);
  --icon-hover: var(--color-gray-800);
  --icon-active: var(--color-gray-1000);
  --accent: var(--color-dark-blue);
  --accent-strong: var(--color-dark-blue);
  --accent-quiet: rgba(22, 46, 147, 0.1);
  --tag-neutral: var(--color-gray-800);
  --tag-blue: var(--color-dark-blue);
  --tag-red: var(--color-dark-red);
  --tag-green: var(--color-dark-green);
  --tag-teal: var(--color-dark-green-2);
  --tag-purple: var(--color-dark-purple);
  --tag-yellow: var(--color-dark-yellow);
  --btn-fill: var(--color-gray-1000);
  --btn-fill-hover: var(--color-gray-800);
  --btn-text: var(--color-white-100);
  --btn-disabled: var(--color-gray-300);
  --btn-disabled-text: var(--color-gray-500);
  --focus-ring: var(--color-gray-1000);
  --scrim: rgba(0, 0, 0, 0.32);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-flip: var(--font-sans);
  --font-flip-label: var(--font-sans);
  --font-mono: ui-monospace, "SF Mono", "Menlo", "Consolas", monospace;
  --text-heading: 23px;
  --text-heading-lh: 1.09;
  --text-heading-wt: 700;
  --text-subheading: 20px;
  --text-subheading-lh: 1.2;
  --text-subheading-wt: 700;
  --text-body: 15px;
  --text-body-lh: 1.33;
  --text-body-wt: 400;
  --text-count: 13px;
  --text-count-lh: 1.3;
  --text-read: 17px;
  --text-read-lh: 1.6;
  --text-caption: 12px;
  --text-caption-lh: 1.22;
  --text-caption-wt: 400;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --tracking-tight: -0.01em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --spacing-4: 4px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-20: 20px;
  --spacing-24: 24px;
  --radius-pill: 1000px;
  --radius-feed: 18px;
  --radius-card: 8px;
  --radius-small: 4px;
  --border-hairline: 1px;
  --shadow-md: 0 0 12px rgba(0, 0, 0, 0.04);
  --shadow-surface-halo: 0 0 0 48px var(--surface-page);
  --shadow-modal: 0 24px 60px -12px rgba(0, 0, 0, 0.3);
  --rail-width: 80px;
  --rail-target: 48px;
  --feed-max: 640px;
  --read-max: 680px;
  --header-height: 53px;
  --bottombar-height: 56px;
  --mobile-bottom-nav-height: var(--bottombar-height);
  --mobile-bottom-safe-area: var(--safe-area-bottom);
  --ease-standard: cubic-bezier(0.2, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 120ms;
  --dur-base: 180ms;
  --dur-slow: 240ms;
  --resize-dur: 300ms;
  --resize-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-rail: 50;
  --z-header: 60;
  --z-bottom: 60;
  --z-modal: 100;
  --safe-area-top: 0px;
  --safe-area-right: 0px;
  --safe-area-bottom: 0px;
  --safe-area-left: 0px;
  color-scheme: light;
}

@supports (top: env(safe-area-inset-top)) {
  :root {
    --safe-area-top: env(safe-area-inset-top);
    --safe-area-right: env(safe-area-inset-right);
    --safe-area-bottom: env(safe-area-inset-bottom);
    --safe-area-left: env(safe-area-inset-left);
  }
}

:root[data-theme="dark"],
:root.dark,
.dark {
  --color-gray-1000: #f4f4f4;
  --color-gray-800: #b5b5b5;
  --color-gray-500: #7e7e7e;
  --color-gray-300: #2a2a2a;
  --color-white-200: #161616;
  --color-white-100: #1c1c1c;
  --color-white-000: #000000;
  --surface-page: #101010;
  --surface-sunken: #161616;
  --surface-feed: #1c1c1c;
  --surface-overlay: #1e1e1e;
  --surface-inset: #242424;
  --browser-chrome: #161616;
  --text-primary: #f4f4f4;
  --text-secondary: #b5b5b5;
  --text-muted: #7e7e7e;
  --text-inverse: #101010;
  --text-on-accent: #0e0e0e;
  --border-divider: #2a2a2a;
  --border-input: #2e2e2e;
  --border-strong: #f4f4f4;
  --border-thread: #2e2e2e;
  --icon-default: #7e7e7e;
  --icon-hover: #b5b5b5;
  --icon-active: #f4f4f4;
  --accent: var(--color-dark-blue-soft);
  --accent-strong: var(--color-dark-blue-soft);
  --accent-quiet: rgba(124, 147, 255, 0.14);
  --tag-neutral: var(--color-gray-500);
  --tag-blue: var(--color-dark-blue-soft);
  --tag-red: var(--color-dark-red-soft);
  --tag-green: var(--color-dark-green-soft);
  --tag-teal: var(--color-dark-green-2-soft);
  --tag-purple: var(--color-dark-purple-soft);
  --tag-yellow: var(--color-dark-yellow-soft);
  --btn-fill: #f4f4f4;
  --btn-fill-hover: #d2d2d2;
  --btn-text: #101010;
  --btn-disabled: #2a2a2a;
  --btn-disabled-text: #6a6a6a;
  --focus-ring: #f4f4f4;
  --scrim: rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

:root[data-accent="red"] {
  --accent: var(--color-dark-red);
  --accent-strong: var(--color-dark-red);
  --accent-quiet: rgba(217, 34, 67, 0.1);
}

:root[data-accent="green"] {
  --accent: var(--color-dark-green);
  --accent-strong: var(--color-dark-green);
  --accent-quiet: rgba(43, 87, 72, 0.12);
}

:root[data-accent="teal"] {
  --accent: var(--color-dark-green-2);
  --accent-strong: var(--color-dark-green-2);
  --accent-quiet: rgba(47, 160, 132, 0.12);
}

:root[data-accent="purple"] {
  --accent: var(--color-dark-purple);
  --accent-strong: var(--color-dark-purple);
  --accent-quiet: rgba(107, 63, 105, 0.12);
}

:root[data-accent="yellow"] {
  --accent: var(--color-dark-yellow);
  --accent-strong: var(--color-dark-yellow);
  --accent-quiet: rgba(238, 167, 39, 0.14);
}

:root[data-theme="dark"][data-accent="red"],
.dark[data-accent="red"] {
  --accent: var(--color-dark-red-soft);
  --accent-strong: var(--color-dark-red-soft);
}

:root[data-theme="dark"][data-accent="green"],
.dark[data-accent="green"] {
  --accent: var(--color-dark-green-soft);
  --accent-strong: var(--color-dark-green-soft);
}

:root[data-theme="dark"][data-accent="teal"],
.dark[data-accent="teal"] {
  --accent: var(--color-dark-green-2-soft);
  --accent-strong: var(--color-dark-green-2-soft);
}

:root[data-theme="dark"][data-accent="purple"],
.dark[data-accent="purple"] {
  --accent: var(--color-dark-purple-soft);
  --accent-strong: var(--color-dark-purple-soft);
}

:root[data-theme="dark"][data-accent="yellow"],
.dark[data-accent="yellow"] {
  --accent: var(--color-dark-yellow-soft);
  --accent-strong: var(--color-dark-yellow-soft);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--browser-chrome);
  font-size: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--browser-chrome);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: var(--text-body-wt);
  line-height: var(--text-body-lh);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--border-divider) transparent;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-thumb {
  background: var(--border-divider);
  background-clip: content-box;
  border: 3px solid transparent;
  border-radius: var(--radius-pill);
}

a {
  color: var(--accent);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:hover {
  text-decoration: underline;
}

button,
input,
textarea,
select {
  font: inherit;
}

a,
button,
summary,
[role="button"],
[role="menuitem"] {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button,
summary,
.wordfeed-rail__button,
.wordfeed-bottom-nav__link,
.wordfeed-mobile-menu__item,
.wordfeed-feed-header__menus a,
.wordfeed-filter-chip,
.wordfeed-filter-chip__option,
.wordfeed-header-icon-button,
.wordfeed-filter-button {
  -webkit-user-select: none;
  user-select: none;
}

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 2px;
}

html [data-wordfeed-silent-focus]:focus,
html [data-wordfeed-silent-focus]:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
}

.screen-reader-text {
  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:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 8px 12px;
  clip: auto;
  background: var(--surface-overlay);
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-pill);
}

.wordfeed-app {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--safe-area-top);
  padding-right: var(--safe-area-right);
  padding-left: var(--safe-area-left);
  background: var(--browser-chrome);
}

.wordfeed-column-shell {
  width: 100%;
  min-height: 100vh;
  min-height: calc(100dvh - var(--safe-area-top));
  padding: 16px 16px 32px;
  background: var(--browser-chrome);
}

body.wordfeed-virtual-page,
body.wordfeed-virtual-page .wordfeed-app,
body.wordfeed-virtual-page .wordfeed-column-shell {
  background: var(--browser-chrome);
}

.wordfeed-feed {
  width: min(100%, var(--feed-max));
  min-height: calc(100vh - 32px);
  min-height: calc(100dvh - var(--safe-area-top) - 32px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--surface-feed);
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-feed);
  box-shadow: var(--shadow-md);
}

.wordfeed-feed--article {
  overflow: visible;
}

.wordfeed-feed--standalone-article {
  width: min(100%, var(--read-max));
  background: var(--surface-overlay);
  border: 0;
  box-shadow: none;
}

@media (min-width: 782px) {
  body.single-post,
  body.single-card,
  body.single-post .wordfeed-app,
  body.single-card .wordfeed-app,
  body.single-post .wordfeed-column-shell,
  body.single-card .wordfeed-column-shell,
  body.single-post .wordfeed-feed--standalone-article,
  body.single-card .wordfeed-feed--standalone-article {
    background: #f9f9f9;
  }

  :root[data-theme="dark"] body.single-post,
  :root[data-theme="dark"] body.single-card,
  :root[data-theme="dark"] body.single-post .wordfeed-app,
  :root[data-theme="dark"] body.single-card .wordfeed-app,
  :root[data-theme="dark"] body.single-post .wordfeed-column-shell,
  :root[data-theme="dark"] body.single-card .wordfeed-column-shell,
  :root[data-theme="dark"] body.single-post .wordfeed-feed--standalone-article,
  :root[data-theme="dark"] body.single-card .wordfeed-feed--standalone-article,
  :root.dark body.single-post,
  :root.dark body.single-card,
  :root.dark body.single-post .wordfeed-app,
  :root.dark body.single-card .wordfeed-app,
  :root.dark body.single-post .wordfeed-column-shell,
  :root.dark body.single-card .wordfeed-column-shell,
  :root.dark body.single-post .wordfeed-feed--standalone-article,
  :root.dark body.single-card .wordfeed-feed--standalone-article,
  body.dark.single-post,
  body.dark.single-card,
  body.dark.single-post .wordfeed-app,
  body.dark.single-card .wordfeed-app,
  body.dark.single-post .wordfeed-column-shell,
  body.dark.single-card .wordfeed-column-shell,
  body.dark.single-post .wordfeed-feed--standalone-article,
  body.dark.single-card .wordfeed-feed--standalone-article {
    background: #1c1c1c;
  }

  body.single-post .wordfeed-feed--standalone-article,
  body.single-card .wordfeed-feed--standalone-article {
    border: 0;
    box-shadow: none;
  }

  body.single-post .wordfeed-feed--standalone-article .wordfeed-engagement--article,
  body.single-card .wordfeed-feed--standalone-article .wordfeed-engagement--article,
  body.single-post .wordfeed-feed--standalone-article .wordfeed-linked-references,
  body.single-card .wordfeed-feed--standalone-article .wordfeed-linked-references,
  body.single-post .wordfeed-feed--standalone-article .wordfeed-related-posts,
  body.single-card .wordfeed-feed--standalone-article .wordfeed-related-posts,
  body.single-post .wordfeed-feed--standalone-article .post-navigation,
  body.single-card .wordfeed-feed--standalone-article .post-navigation,
  body.single-post .wordfeed-feed--standalone-article .wordfeed-comments,
  body.single-card .wordfeed-feed--standalone-article .wordfeed-comments {
    border: 0;
    box-shadow: none;
  }
}

.wordfeed-feed-header {
  position: sticky;
  top: var(--safe-area-top);
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  gap: var(--spacing-12);
  min-height: var(--header-height);
  padding: 0 var(--spacing-16);
  background: color-mix(in srgb, var(--surface-feed) 82%, transparent);
  border-bottom: 1px solid var(--border-divider);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px);
}

.wordfeed-feed-header__identity {
  min-width: 0;
  flex: 1 1 auto;
}

.wordfeed-feed-header__identity h1,
.wordfeed-feed-header__identity span {
  display: block;
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wordfeed-feed-header__identity h1 {
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: var(--text-subheading);
  font-weight: 700;
  letter-spacing: 0;
  line-height: var(--text-subheading-lh);
}

.wordfeed-feed-header__identity span {
  margin-top: 1px;
  color: var(--text-muted);
  font-size: var(--text-caption);
}

.wordfeed-feed-header__mobile-title {
  display: none;
}

.wordfeed-feed-header__menus {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.wordfeed-feed-header--menu .wordfeed-feed-header__menus {
  flex: 1 1 auto;
}

.wordfeed-feed-header__menus::-webkit-scrollbar {
  display: none;
}

.wordfeed-feed-header__menus a {
  position: relative;
  flex: none;
  height: var(--header-height);
  padding: 0 10px;
  color: var(--text-muted);
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: var(--header-height);
  transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}

.wordfeed-feed-header__menus a:hover {
  color: var(--text-primary);
  background: transparent;
  text-decoration: none;
}

.wordfeed-feed-header__menus a[aria-current="page"] {
  color: var(--text-primary);
  background: transparent;
  font-weight: 600;
  text-decoration: none;
}

.wordfeed-feed-header__menus a[aria-current="page"]::after {
  position: absolute;
  right: 10px;
  bottom: 0;
  left: 10px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--text-primary);
  content: "";
}

.wordfeed-feed-header__actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 6px;
}

.wordfeed-feed-header__action-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: var(--text-muted);
  font-size: var(--text-caption);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.wordfeed-header-icon-button {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  color: var(--icon-default);
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}

.wordfeed-header-icon-button:hover,
.wordfeed-header-icon-button[aria-expanded="true"] {
  color: var(--icon-hover);
  background: var(--surface-inset);
}

.wordfeed-search-trigger {
  display: inline-grid;
}

.wordfeed-search {
  display: flex;
  align-items: center;
  width: clamp(180px, 22vw, 240px);
  height: 34px;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-pill);
  background: transparent;
}

.wordfeed-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 0 0 12px;
  color: var(--text-primary);
  border: 0;
  background: transparent;
  outline: 0;
}

.wordfeed-search input::placeholder {
  color: var(--text-muted);
}

.wordfeed-search button {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  padding: 0;
  color: var(--icon-default);
  border: 0;
  background: transparent;
  cursor: pointer;
}

.wordfeed-jetpack-search-proxy {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
  pointer-events: none;
}

.wordfeed-jetpack-search-proxy[hidden] {
  display: none !important;
}

.wordfeed-search.wordfeed-search--icon {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--radius-pill);
}

.wordfeed-search--icon .wordfeed-header-icon-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
}

.wordfeed-search-panel {
  display: flex;
  justify-content: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-divider);
}

.wordfeed-search-panel .wordfeed-search {
  width: 100%;
  height: 42px;
  background: var(--surface-feed);
}

.wordfeed-search-panel .wordfeed-search button {
  width: 42px;
  height: 42px;
}

.wordfeed-search-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.wordfeed-search-page--with-filters .wordfeed-search-page__layout {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
}

.wordfeed-search-page__results {
  min-width: 0;
}

.wordfeed-search-page__filters {
  position: sticky;
  top: var(--header-height);
  align-self: start;
  max-height: calc(100vh - var(--header-height));
  overflow: auto;
  padding: 16px;
  border-left: 1px solid var(--border-divider);
  background: var(--surface-feed);
}

.wordfeed-search-widget + .wordfeed-search-widget {
  margin-top: 18px;
}

.wordfeed-search-widget__title,
.wordfeed-search-page__filters .wp-block-heading {
  margin: 0 0 10px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
}

.wordfeed-search-page__filters :where(ul, ol) {
  margin: 0;
  padding-left: 18px;
}

.wordfeed-search-page__filters :where(label, a, button, select) {
  font-size: 13px;
}

.wordfeed-search-summary {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-divider);
  font-size: var(--text-caption);
  font-weight: 600;
}

.wordfeed-enhanced-search__content {
  padding: 16px;
}

.wordfeed-enhanced-search__content > * {
  max-width: 100%;
}

.wordfeed-enhanced-search__content > :where(.wp-block-columns, .wp-block-group, [class*="wp-block-jetpack-search"]) {
  margin-top: 0;
}

.wordfeed-enhanced-search [class*="wp-block-jetpack-search"] {
  color: var(--text-primary);
}

.wordfeed-enhanced-search :where(input[type="search"], input[type="text"], select) {
  min-height: 38px;
  color: var(--text-primary);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-card);
  background: var(--surface-feed);
}

.wordfeed-enhanced-search :where(button, input[type="submit"], .wp-block-button__link),
.wordfeed-enhanced-search [class*="load-more"] :where(button, a) {
  min-height: 34px;
  color: var(--text-inverse);
  border: 1px solid var(--text-primary);
  border-radius: var(--radius-pill);
  background: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
}

.wordfeed-enhanced-search :where([class*="filter"], [class*="sort"]) :where(button, select, label) {
  font-size: 13px;
}

.wordfeed-enhanced-search :where([class*="filter"], [class*="result"], [class*="sort"]) {
  min-width: 0;
}

.wordfeed-enhanced-search [class*="results-list"] {
  overflow: hidden;
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-card);
}

.wordfeed-enhanced-search [class*="result"] :where(img) {
  border-radius: var(--radius-card);
}

.wordfeed-feed-header--no-menu .wordfeed-feed-header__identity {
  width: auto;
  flex: 1 1 auto;
}

.wordfeed-feed-header--no-menu .wordfeed-feed-header__actions {
  margin-left: auto;
}

.wordfeed-taxonomy-header {
  display: grid;
  min-height: 64px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--spacing-16);
  padding: 0 var(--spacing-16);
  background: var(--surface-feed);
  border-bottom: 1px solid var(--border-divider);
}

.wordfeed-taxonomy-header--with-description {
  border-bottom: 0;
}

.wordfeed-taxonomy-header__identity {
  min-width: 0;
}

.wordfeed-taxonomy-header h1 {
  margin: 0;
  overflow: hidden;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wordfeed-taxonomy-description {
  padding: 0 var(--spacing-16) var(--spacing-16);
  color: var(--text-secondary);
  background: var(--surface-feed);
  border-bottom: 1px solid var(--border-divider);
  font-size: var(--text-count);
  letter-spacing: 0;
  line-height: 1.45;
}

.wordfeed-taxonomy-description > :first-child {
  margin-top: 0;
}

.wordfeed-taxonomy-description > :last-child {
  margin-bottom: 0;
}

.wordfeed-taxonomy-description p {
  max-width: 48rem;
  margin: 0;
}

.wordfeed-taxonomy-description p + p {
  margin-top: var(--spacing-8);
}

.wordfeed-taxonomy-description a {
  color: var(--accent);
  text-decoration: none;
}

.wordfeed-taxonomy-description a:hover {
  text-decoration: underline;
}

.wordfeed-taxonomy-header__actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
}

.wordfeed-taxonomy-header__count {
  color: var(--text-muted);
  font-size: var(--text-body);
  line-height: 1;
  white-space: nowrap;
}

.wordfeed-taxonomy-header__back {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 12px;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: var(--text-body);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}

.wordfeed-taxonomy-header__back:hover {
  color: var(--surface-feed);
  background: var(--text-primary);
  text-decoration: none;
}

.wordfeed-taxonomy-header__back .wordfeed-icon {
  width: 18px;
  height: 18px;
}

.wordfeed-taxonomy-header__back .screen-reader-text {
  display: none;
}

.wordfeed-filter-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  color: var(--icon-default);
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}

.wordfeed-filter-button:hover {
  color: var(--icon-hover);
  background: var(--surface-inset);
}

.wordfeed-filter-button[aria-pressed="true"] {
  color: var(--accent);
}

.wordfeed-filter-button[aria-pressed="true"] .wordfeed-icon svg {
  fill: currentColor;
}

.wordfeed-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-divider);
  scrollbar-width: none;
}

.wordfeed-filter-row::-webkit-scrollbar {
  display: none;
}

.wordfeed-filter-row[hidden] {
  display: none;
}

.wordfeed-filter-chip {
  position: relative;
  display: inline-flex;
  height: 32px;
  flex: none;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  color: var(--text-secondary);
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard);
}

.wordfeed-filter-chip:hover,
.wordfeed-filter-chip:focus-visible,
.wordfeed-filter-chip[open] {
  color: var(--text-primary);
  border-color: var(--border-divider);
  background: var(--surface-inset);
}

.wordfeed-filter-chip.is-active {
  color: var(--text-inverse);
  border-color: transparent;
  background: var(--text-primary);
}

.wordfeed-filter-chip.is-active:hover,
.wordfeed-filter-chip.is-active:focus-visible,
.wordfeed-filter-chip.is-active[open] {
  color: var(--text-inverse);
  background: var(--text-primary);
}

.wordfeed-filter-chip > summary {
  display: inline-flex;
  height: 32px;
  align-items: center;
  gap: 6px;
  margin: 0 -12px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: transparent;
  list-style: none;
}

.wordfeed-filter-chip > summary:focus {
  outline: 0;
}

.wordfeed-filter-chip > summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.wordfeed-filter-chip > summary::-webkit-details-marker {
  display: none;
}

.wordfeed-filter-chip .wordfeed-icon {
  width: 14px;
  height: 14px;
}

.wordfeed-filter-chip__chevron {
  display: inline-flex;
  opacity: 0.72;
}

.wordfeed-filter-chip__chevron .wordfeed-icon {
  transform: rotate(90deg);
}

.wordfeed-filter-chip__clear {
  display: inline-flex;
  margin-right: -2px;
  color: inherit;
  opacity: 0.82;
}

.wordfeed-filter-chip__clear:hover {
  opacity: 1;
}

.wordfeed-filter-chip__menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  display: grid;
  min-width: 168px;
  max-height: min(320px, 60vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 4px 0;
  border: 1px solid var(--border-divider);
  border-radius: 8px;
  background: var(--surface-feed);
  box-shadow: 0 8px 24px rgb(0 0 0 / 12%), 0 2px 6px rgb(0 0 0 / 6%);
}

.wordfeed-filter-chip__menu[data-wordfeed-filter-options] {
  grid-template-rows: auto minmax(0, 1fr);
  width: min(360px, calc(100vw - 24px));
  max-height: min(480px, 72vh);
  overflow: hidden;
  padding: 8px;
}

.wordfeed-filter-chip__tools {
  z-index: 1;
  display: grid;
  gap: 8px;
  padding-bottom: 8px;
  background: var(--surface-feed);
}

.wordfeed-filter-chip__search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border-divider);
  border-radius: 8px;
  background: var(--surface-inset);
}

.wordfeed-filter-chip__search .wordfeed-icon {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}

.wordfeed-filter-chip__search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text-primary);
  background: transparent;
  font: inherit;
  font-size: 13px;
}

.wordfeed-filter-chip__sorts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
}

.wordfeed-filter-chip__sorts button {
  min-width: 0;
  height: 28px;
  padding: 0 6px;
  color: var(--text-muted);
  border: 1px solid var(--border-divider);
  border-radius: 7px;
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.wordfeed-filter-chip__sorts button[aria-pressed="true"],
.wordfeed-filter-chip__sorts button:hover {
  color: var(--text-primary);
  background: var(--surface-inset);
}

.wordfeed-filter-chip__options {
  display: grid;
  gap: 1px;
}

.wordfeed-filter-chip__list {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.wordfeed-filter-chip__option {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 32px;
  width: 100%;
  padding: 7px 12px;
  color: var(--text-primary);
  border: 0;
  border-radius: 6px;
  background: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
}

.wordfeed-filter-chip__option--label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 8px;
  padding-right: 10px;
  padding-left: 8px;
}

.wordfeed-filter-chip__option:hover,
.wordfeed-filter-chip__option:focus-visible {
  outline: 0;
  background: var(--surface-inset);
}

.wordfeed-filter-chip__option.is-selected {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.wordfeed-filter-chip__option .wordfeed-icon,
.wordfeed-filter-chip__spacer {
  width: 14px;
  height: 14px;
  flex: none;
}

.wordfeed-filter-chip__tag {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--label-text-light, var(--text-primary));
  border-radius: 999px;
  background: var(--label-bg-light, color-mix(in srgb, var(--wordfeed-term-color, var(--accent)) 18%, transparent));
  font-size: 13px;
  font-weight: 800;
}

:root[data-theme="dark"] .wordfeed-filter-chip__tag,
.dark .wordfeed-filter-chip__tag {
  color: var(--label-text-dark, var(--text-primary));
  background: var(--label-bg-dark, color-mix(in srgb, var(--wordfeed-term-color, var(--accent)) 30%, transparent));
}

.wordfeed-filter-chip__option-text {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wordfeed-filter-chip__count {
  justify-self: end;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}

.wordfeed-filter-chip__option--clear {
  color: var(--text-muted);
  font-size: 12px;
}

.wordfeed-filter-chip__divider {
  height: 1px;
  margin: 2px 0;
  background: var(--border-divider);
}

.wordfeed-filter-chip--reset {
  color: var(--text-muted);
}

.wordfeed-filter-chip--reset:hover {
  color: var(--text-primary);
}

.wordfeed-filter-chip__load {
  min-height: 32px;
  margin-top: 4px;
  color: var(--text-secondary);
  border: 1px solid var(--border-divider);
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.wordfeed-filter-chip__load:hover {
  color: var(--text-primary);
  background: var(--surface-inset);
}

.wordfeed-filter-chip__empty {
  padding: 16px 12px;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

.wordfeed-feed.is-filter-loading .wordfeed-feed__items,
.wordfeed-feed.is-filter-loading .navigation.pagination {
  opacity: 0.58;
  pointer-events: none;
}

.wordfeed-tabs {
  display: flex;
  gap: var(--spacing-8);
  overflow-x: auto;
  padding: 10px var(--spacing-16);
  border-bottom: 1px solid var(--border-divider);
}

.wordfeed-tabs a {
  flex: none;
  padding: 5px 10px;
  color: var(--text-secondary);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-pill);
  font-size: var(--text-caption);
  font-weight: 600;
}

.wordfeed-tabs a[aria-current="page"] {
  color: var(--surface-feed);
  background: var(--text-primary);
  border-color: var(--text-primary);
}

.wordfeed-feed__items {
  display: block;
}

.wordfeed-search-result {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--border-divider);
  background: transparent;
  transition: background var(--dur-fast) var(--ease-standard);
}

.wordfeed-search-result:hover {
  background: color-mix(in srgb, var(--surface-inset) 45%, transparent);
}

.wordfeed-search-result__thumb {
  display: grid;
  width: 104px;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  color: var(--icon-default);
  border-radius: var(--radius-card);
  background: var(--surface-sunken);
}

.wordfeed-search-result__thumb:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent);
}

.wordfeed-search-result__thumb--placeholder .wordfeed-icon {
  width: 24px;
  height: 24px;
}

.wordfeed-search-result__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wordfeed-search-result__body {
  min-width: 0;
}

.wordfeed-search-result__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: var(--text-caption);
  line-height: var(--text-caption-lh);
}

.wordfeed-search-result__meta span:not(:last-child)::after {
  content: "/";
  margin-left: 5px;
  color: color-mix(in srgb, var(--text-muted) 62%, transparent);
}

.wordfeed-search-result__title {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.22;
}

.wordfeed-search-result__title a {
  color: inherit;
}

.wordfeed-search-result__price {
  margin-top: 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.wordfeed-search-result__price del {
  color: var(--text-muted);
  font-weight: 500;
}

.wordfeed-search-result__excerpt {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: var(--text-body-lh);
}

.wordfeed-search-result__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 12px;
  margin-left: -4px;
}

.wordfeed-item,
.wpcards-feed__item {
  position: relative;
  padding: 16px;
  background: transparent;
  border-bottom: 1px solid var(--border-divider);
  transition: background var(--dur-fast) var(--ease-standard);
}

.wordfeed-item__hitbox {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.wordfeed-item__hitbox:focus-visible {
  outline: 0;
}

.wordfeed-item:has(.wordfeed-item__hitbox:focus-visible) {
  background: color-mix(in srgb, var(--surface-inset) 52%, transparent);
}

.wordfeed-item > *:not(.wordfeed-item__hitbox) {
  position: relative;
  z-index: 2;
}

.wordfeed-item:hover,
.wpcards-feed__item:hover {
  background: color-mix(in srgb, var(--surface-inset) 45%, transparent);
}

.wordfeed-item--pinned,
.wpcards-feed__item--pinned {
  background: transparent;
}

.wordfeed-item--collapsed {
  padding: 11px 16px;
}

.wordfeed-item--timeline {
  padding: 20px 16px 16px;
}

.wordfeed-item__meta,
.wpcards-feed__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: var(--text-caption);
  line-height: var(--text-caption-lh);
}

.wpcards-feed__event-date {
  display: inline-block;
  color: var(--text-muted);
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.wordfeed-item__event {
  display: inline-flex;
  flex: none;
  align-items: baseline;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: var(--text-caption);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  line-height: var(--text-caption-lh);
  white-space: nowrap;
}

.wordfeed-item__heading {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.wordfeed-item--timeline .wordfeed-item__heading {
  align-items: baseline;
  gap: 10px;
}

.wordfeed-item--collapsed .wordfeed-item__heading {
  align-items: center;
  gap: 10px;
}

.wordfeed-item__title,
.wpcards-feed__title {
  margin: 0;
  min-width: 0;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.22;
}

.wordfeed-item__title a,
.wpcards-feed__title a {
  display: inline-flex;
  min-width: 0;
  align-items: flex-start;
  gap: 6px;
  color: inherit;
}

.wordfeed-item__title-text {
  min-width: 0;
}

.wordfeed-item--collapsed .wordfeed-item__title {
  flex: 1;
}

.wordfeed-item--collapsed .wordfeed-item__title a {
  max-width: 100%;
}

.wordfeed-item--collapsed .wordfeed-item__title-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wordfeed-item__title a:hover {
  text-decoration: none;
}

.wordfeed-item__pin {
  display: inline-flex;
  height: 1lh;
  flex: none;
  align-items: center;
  color: var(--accent);
}

.wordfeed-item__pin .wordfeed-icon {
  width: 14px;
  height: 14px;
}

.wordfeed-item__chevron {
  display: inline-flex;
  flex: none;
  color: var(--icon-default);
  transition: color var(--dur-fast) var(--ease-standard);
}

.wordfeed-item__chevron .wordfeed-icon {
  width: 14px;
  height: 14px;
}

.wordfeed-item--collapsed:hover .wordfeed-item__chevron {
  color: var(--accent);
}

.wordfeed-item__excerpt,
.wpcards-feed__excerpt {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: var(--text-body-lh);
}

.wordfeed-item__excerpt p {
  margin: 0;
}

.wordfeed-item__cover,
.wpcards-feed__cover,
.wordfeed-item__cover-placeholder,
.wpcards-feed__cover-placeholder {
  display: block;
  margin-top: 12px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--surface-sunken);
}

.wordfeed-item__cover:focus-visible,
.wpcards-feed__cover:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent);
}

.wordfeed-item--blog .wordfeed-item__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.wordfeed-item--card .wordfeed-item__cover,
.wordfeed-item--timeline .wordfeed-item__cover {
  width: min(100%, 240px);
  aspect-ratio: 1 / 1;
}

.wordfeed-item__cover img,
.wpcards-feed__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wpcards-feed__item--table {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
}

.wpcards-feed__item--table .wpcards-feed__cover,
.wpcards-feed__item--table .wpcards-feed__cover-placeholder {
  width: 96px;
  aspect-ratio: 1;
  margin-top: 0;
}

.wordfeed-item__tags,
.wordfeed-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 12px;
  margin-left: -4px;
}

.wordfeed-tag,
.wordfeed-collection,
.wpcards-label,
.wpcards-label-list a,
.wpcards-feed__meta a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px 2px 7px;
  color: var(--label-text-light, var(--wordfeed-term-color, var(--text-secondary)));
  border-radius: var(--radius-pill);
  background: var(--label-bg-light, color-mix(in srgb, var(--wordfeed-term-color, var(--tag-neutral)) 8%, transparent));
  font-size: var(--text-caption);
  font-weight: 500;
  line-height: 1.3;
  box-shadow: inset 0 0 0 1px transparent;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}

.wordfeed-tag:hover,
.wordfeed-collection:hover,
.wpcards-label:hover,
.wpcards-label-list a:hover,
.wpcards-feed__meta a:hover,
.wordfeed-tag:focus-visible,
.wordfeed-collection:focus-visible,
.wpcards-label:focus-visible,
.wpcards-label-list a:focus-visible,
.wpcards-feed__meta a:focus-visible {
  color: var(--label-text-light, var(--wordfeed-term-color, var(--text-primary)));
  background: color-mix(in srgb, var(--label-bg-light, color-mix(in srgb, var(--wordfeed-term-color, var(--tag-neutral)) 13%, transparent)) 86%, var(--label-text-light, var(--wordfeed-term-color, var(--text-primary))) 14%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--label-text-light, var(--wordfeed-term-color, var(--text-primary))) 28%, transparent), 0 1px 4px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

.wordfeed-tag:focus-visible,
.wordfeed-collection:focus-visible,
.wpcards-label:focus-visible,
.wpcards-label-list a:focus-visible,
.wpcards-feed__meta a:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--label-text-light, var(--wordfeed-term-color, var(--focus-ring))) 42%, transparent);
  outline-offset: 2px;
}

.wordfeed-collection {
  padding-left: 7px;
}

.wordfeed-collection .wordfeed-icon {
  width: 12px;
  height: 12px;
  color: var(--tag-neutral);
  opacity: 0.9;
}

.wordfeed-tag span[aria-hidden="true"] {
  color: currentColor;
  font-weight: 600;
}

:root[data-theme="dark"] .wordfeed-tag,
:root[data-theme="dark"] .wpcards-label,
:root[data-theme="dark"] .wpcards-label-list a,
:root[data-theme="dark"] .wpcards-feed__meta a,
.dark .wordfeed-tag,
.dark .wpcards-label,
.dark .wpcards-label-list a,
.dark .wpcards-feed__meta a {
  color: var(--label-text-dark, var(--label-text-light, var(--wordfeed-term-color, var(--text-secondary))));
  background: var(--label-bg-dark, var(--label-bg-light, color-mix(in srgb, var(--wordfeed-term-color, var(--tag-neutral)) 10%, transparent)));
}

:root[data-theme="dark"] .wordfeed-tag:hover,
:root[data-theme="dark"] .wpcards-label:hover,
:root[data-theme="dark"] .wpcards-label-list a:hover,
:root[data-theme="dark"] .wpcards-feed__meta a:hover,
:root[data-theme="dark"] .wordfeed-tag:focus-visible,
:root[data-theme="dark"] .wpcards-label:focus-visible,
:root[data-theme="dark"] .wpcards-label-list a:focus-visible,
:root[data-theme="dark"] .wpcards-feed__meta a:focus-visible,
.dark .wordfeed-tag:hover,
.dark .wpcards-label:hover,
.dark .wpcards-label-list a:hover,
.dark .wpcards-feed__meta a:hover,
.dark .wordfeed-tag:focus-visible,
.dark .wpcards-label:focus-visible,
.dark .wpcards-label-list a:focus-visible,
.dark .wpcards-feed__meta a:focus-visible {
  color: var(--label-text-dark, var(--label-text-light, var(--wordfeed-term-color, var(--text-primary))));
  background: color-mix(in srgb, var(--label-bg-dark, var(--label-bg-light, color-mix(in srgb, var(--wordfeed-term-color, var(--tag-neutral)) 14%, transparent))) 82%, var(--label-text-dark, var(--label-text-light, var(--wordfeed-term-color, var(--text-primary)))) 18%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--label-text-dark, var(--label-text-light, var(--wordfeed-term-color, var(--text-primary)))) 32%, transparent), 0 1px 4px rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] .wordfeed-tag:focus-visible,
:root[data-theme="dark"] .wpcards-label:focus-visible,
:root[data-theme="dark"] .wpcards-label-list a:focus-visible,
:root[data-theme="dark"] .wpcards-feed__meta a:focus-visible,
.dark .wordfeed-tag:focus-visible,
.dark .wpcards-label:focus-visible,
.dark .wpcards-label-list a:focus-visible,
.dark .wpcards-feed__meta a:focus-visible {
  outline-color: color-mix(in srgb, var(--label-text-dark, var(--label-text-light, var(--focus-ring))) 48%, transparent);
}

.wordfeed-item__collections {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
}

.wordfeed-engagement {
  display: flex;
  gap: var(--spacing-16);
  align-items: center;
  margin-top: 12px;
  color: var(--icon-default);
  font-size: var(--text-caption);
}

.wordfeed-engagement a,
.wordfeed-engagement button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
  color: var(--icon-default);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: var(--text-count);
  line-height: var(--text-count-lh);
  transition: color var(--dur-fast) var(--ease-standard);
}

.wordfeed-engagement a:hover,
.wordfeed-engagement button:hover {
  color: var(--icon-active);
  text-decoration: none;
}

.wordfeed-engagement a.is-active,
.wordfeed-engagement button.is-active {
  color: var(--accent);
}

.wordfeed-engagement button.is-active .wordfeed-icon svg {
  fill: currentColor;
}

.wordfeed-engagement button.is-busy {
  opacity: 0.55;
  pointer-events: none;
}

.wordfeed-engagement button.has-error {
  color: #d92243;
}

.wordfeed-engagement__reading {
  color: var(--text-muted);
  font-size: var(--text-caption);
  margin-left: auto;
}

.wordfeed-engagement__save {
  margin-left: auto;
}

.wordfeed-engagement--article {
  max-width: var(--read-max);
  margin-top: 20px;
  padding-top: 4px;
}

.wordfeed-feed--standalone-article .wordfeed-engagement--article {
  margin: 20px 0 0;
  padding: 10px 0;
  border-top: 1px solid var(--border-divider);
}

.wordfeed-linked-references {
  margin: 0 0 20px;
  border-top: 1px solid var(--border-divider);
  border-bottom: 1px solid var(--border-divider);
}

.wordfeed-article > .wordfeed-linked-references {
  max-width: var(--read-max);
  margin-top: 0;
}

.wordfeed-linked-references summary {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: var(--text-body);
  font-weight: 600;
  list-style: none;
}

.wordfeed-linked-references summary::-webkit-details-marker {
  display: none;
}

.wordfeed-linked-references[open] summary {
  color: var(--text-primary);
}

.wordfeed-linked-references summary .wordfeed-icon {
  width: 14px;
  height: 14px;
  color: var(--icon-default);
}

.wordfeed-linked-references[open] > summary > .wordfeed-icon:first-child {
  color: var(--accent);
}

.wordfeed-linked-references__summary-chevron {
  display: grid;
  width: 18px;
  height: 18px;
  flex: none;
  place-items: center;
  margin-left: auto;
  color: var(--icon-default);
  transition: transform var(--dur-fast) var(--ease-standard);
}

.wordfeed-linked-references__summary-chevron .wordfeed-icon {
  width: 14px;
  height: 14px;
}

.wordfeed-linked-references:not([open]) .wordfeed-linked-references__summary-chevron {
  transform: rotate(-90deg);
}

.wordfeed-linked-references__body {
  padding-bottom: 12px;
}

.wordfeed-linked-references__body > p {
  margin: 0 0 4px;
  color: var(--text-muted);
  font-size: var(--text-body);
  line-height: var(--text-body-lh);
}

.wordfeed-linked-references__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.wordfeed-linked-references__sort {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.wordfeed-linked-references__sort > span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
}

.wordfeed-linked-references__sort-menu {
  position: relative;
}

.wordfeed-linked-references__sort-menu > summary {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  color: var(--text-muted);
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  list-style: none;
  white-space: nowrap;
}

.wordfeed-linked-references__sort-menu > summary::-webkit-details-marker {
  display: none;
}

.wordfeed-linked-references__sort-menu > summary .wordfeed-icon {
  width: 11px;
  height: 11px;
}

.wordfeed-linked-references__sort-menu[open] > summary,
.wordfeed-linked-references__sort-menu > summary:hover {
  color: var(--text-primary);
  background: var(--surface-inset);
}

.wordfeed-linked-references__sort-chevron {
  display: grid;
  width: 10px;
  height: 10px;
  place-items: center;
  opacity: 0.64;
  transition: transform var(--dur-fast) var(--ease-standard);
}

.wordfeed-linked-references__sort-chevron .wordfeed-icon {
  width: 10px;
  height: 10px;
}

.wordfeed-linked-references__sort-menu[open] .wordfeed-linked-references__sort-chevron {
  transform: rotate(90deg);
}

.wordfeed-linked-references__sort-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 40;
  display: grid;
  min-width: 176px;
  padding: 4px 0;
  background: var(--surface-feed);
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-card);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
}

.wordfeed-linked-references__sort-options button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--text-primary);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
}

.wordfeed-linked-references__sort-options button:hover,
.wordfeed-linked-references__sort-options button[aria-pressed="true"] {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.wordfeed-linked-references__sort-options button[aria-pressed="true"] {
  font-weight: 500;
}

.wordfeed-linked-references__sort-check {
  display: inline-grid;
  width: 13px;
  height: 13px;
  flex: none;
  place-items: center;
  opacity: 0;
}

.wordfeed-linked-references__sort-check .wordfeed-icon {
  width: 13px;
  height: 13px;
}

.wordfeed-linked-references__sort-options button[aria-pressed="true"] .wordfeed-linked-references__sort-check {
  opacity: 1;
}

.wordfeed-linked-references__collapse {
  display: inline-flex;
  min-height: 24px;
  flex: none;
  align-items: center;
  gap: 4px;
  padding: 3px 4px;
  color: var(--text-muted);
  border: 0;
  border-radius: var(--radius-small);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
}

.wordfeed-linked-references__collapse:hover {
  color: var(--text-primary);
  background: var(--surface-inset);
}

.wordfeed-linked-references__controls button[aria-pressed="true"] {
  color: var(--accent);
}

.wpcards-linked-references {
  margin: 0;
}

.wpcards-linked-references h2 {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
}

.wpcards-linked-references ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wpcards-linked-references__item {
  padding-top: 0;
  border-top: 1px solid var(--border-divider);
}

.wordfeed-linked-reference__source-title {
  display: inline-flex;
  min-width: 0;
}

.wordfeed-linked-reference__heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0 8px;
}

.wordfeed-linked-reference__title-link {
  min-width: 0;
  flex: 1;
  color: var(--accent);
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: anywhere;
}

.wordfeed-linked-reference__title-link:hover {
  text-decoration: underline;
}

.wordfeed-linked-reference__group-toggle {
  display: inline-flex;
  width: auto;
  min-width: 72px;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 2px 0 2px 8px;
  color: var(--text-muted);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: var(--text-caption);
  text-align: right;
}

.wordfeed-linked-reference__group-toggle span {
  display: block;
  min-width: 0;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.wordfeed-linked-reference__group-toggle b {
  width: 7px;
  height: 7px;
  flex: none;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: var(--icon-default);
  transform: rotate(45deg);
  transition: transform var(--dur-fast) var(--ease-standard);
}

.wordfeed-linked-reference__group-toggle[aria-expanded="false"] b {
  transform: rotate(-45deg);
}

.wordfeed-linked-reference-group.is-collapsed > :not(.wordfeed-linked-reference__heading) {
  display: none;
}

.wordfeed-linked-reference-group.is-collapsed > .wordfeed-linked-reference__heading {
  display: flex;
}

.wpcards-linked-references__item > a {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
}

.wpcards-linked-references__time[hidden],
.wpcards-linked-references__count[hidden] {
  display: none;
}

.wpcards-linked-references__context {
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 2px solid color-mix(in srgb, var(--accent) 36%, transparent);
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: var(--text-body-lh);
  overflow-wrap: anywhere;
}

.wpcards-linked-references__count {
  display: inline-flex;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 11px;
}

.wordfeed-related-posts {
  max-width: var(--read-max);
  margin: 0 0 20px;
  padding: 14px 0 4px;
  border-bottom: 1px solid var(--border-divider);
}

.wordfeed-related-posts__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  margin-bottom: 2px;
}

.wordfeed-related-posts__title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 600;
  letter-spacing: 0;
  line-height: var(--text-body-lh);
}

.wordfeed-related-posts__title .wordfeed-icon {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.wordfeed-related-posts__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wordfeed-related-posts__item {
  border-top: 1px solid var(--border-divider);
}

.wordfeed-related-posts__link {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-standard), background var(--dur-fast) var(--ease-standard);
}

.wordfeed-related-posts__link.has-thumbnail {
  grid-template-columns: 56px minmax(0, 1fr) auto;
}

.wordfeed-related-posts__link:hover {
  color: var(--accent);
  text-decoration: none;
}

.wordfeed-related-posts__media {
  display: block;
  width: 56px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--surface-inset);
}

.wordfeed-related-posts__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wordfeed-related-posts__body {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.wordfeed-related-posts__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  color: var(--text-muted);
  font-size: var(--text-caption);
  line-height: var(--text-caption-lh);
}

.wordfeed-related-posts__meta span:first-child {
  font-weight: 600;
}

.wordfeed-related-posts__item-title {
  min-width: 0;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
  transition: color var(--dur-fast) var(--ease-standard);
}

.wordfeed-related-posts__link:hover .wordfeed-related-posts__item-title {
  color: var(--accent);
}

.wordfeed-related-posts__chevron {
  display: inline-grid;
  width: 20px;
  height: 20px;
  flex: none;
  place-items: center;
  color: var(--icon-default);
  transition: color var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
}

.wordfeed-related-posts__chevron .wordfeed-icon {
  width: 14px;
  height: 14px;
}

.wordfeed-related-posts__link:hover .wordfeed-related-posts__chevron {
  color: var(--accent);
  transform: translateX(2px);
}

.wordfeed-linked-reference__highlight {
  padding: 1px 3px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border-radius: 4px;
  font-weight: 600;
}

.wordfeed-plugin-feed .wpcards-feed {
  background: transparent;
}

.wpcards-feed__items {
  display: block;
}

.wpcards-feed__pagination,
.navigation.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 16px;
  border-top: 1px solid var(--border-divider);
}

.wpcards-feed__pagination a,
.nav-links a,
.nav-links span {
  display: inline-flex;
  min-width: 34px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  color: var(--text-secondary);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-pill);
  font-size: var(--text-caption);
  font-weight: 600;
}

.nav-links .current {
  color: var(--surface-feed);
  background: var(--text-primary);
  border-color: var(--text-primary);
}

.wordfeed-article {
  padding: 0 24px 28px;
}

.wordfeed-feed--standalone-article .wordfeed-article {
  padding: var(--spacing-24) var(--spacing-24) var(--spacing-16);
}

.wordfeed-article__header {
  padding: 28px 0 22px;
  border-bottom: 1px solid var(--border-divider);
}

.wordfeed-feed--standalone-article .wordfeed-article__header {
  padding: 0;
  border-bottom: 0;
}

.wordfeed-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: var(--text-caption);
}

.wordfeed-article__title {
  max-width: var(--read-max);
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
}

:where(.wordfeed-article, .wordfeed-feed--article, .wordfeed-modal) :where(.wordfeed-article__title, .entry-title, .wp-block-post-title) {
  color: var(--text-primary);
}

.wordfeed-feed--standalone-article .wordfeed-article__title {
  font-size: 30px;
  letter-spacing: 0;
  line-height: 1.16;
}

.wordfeed-article__author {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-12);
  margin: 16px 0 0 -8px;
  padding: 6px 10px 6px 8px;
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-standard);
}

.wordfeed-article__author:hover {
  background: var(--surface-inset);
  text-decoration: none;
}

.wordfeed-article__author-avatar {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
}

.wordfeed-article__author-avatar img {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--surface-inset);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  object-fit: cover;
}

.wordfeed-article__author-verified {
  --wordfeed-verified-bottom: -3px;
  --wordfeed-verified-icon-size: 14px;
  --wordfeed-verified-right: -4px;
  --wordfeed-verified-size: 16px;
}

.wordfeed-article__author > span:not(:first-child) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.wordfeed-article__author strong {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  transition: color var(--dur-fast) var(--ease-standard);
}

.wordfeed-article__author em {
  overflow: hidden;
  max-width: min(360px, 62vw);
  color: var(--text-muted);
  font-size: var(--text-caption);
  font-style: normal;
  line-height: var(--text-caption-lh);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wordfeed-article__author > .wordfeed-icon {
  width: 14px;
  height: 14px;
  color: var(--icon-default);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}

.wordfeed-article__author:hover strong,
.wordfeed-article__author:hover > .wordfeed-icon {
  color: var(--accent);
}

.wordfeed-article__author:hover > .wordfeed-icon {
  opacity: 1;
}

.wordfeed-event-date {
  display: inline-flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 14px 12px 12px;
  border: 0;
  border-radius: var(--radius-card);
  background: transparent;
  box-shadow: none;
}

.wordfeed-event-date__rail {
  position: relative;
  width: 16px;
  flex: none;
}

.wordfeed-event-date__rail::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 7px;
  width: 1px;
  background: var(--border-divider);
  content: "";
}

.wordfeed-event-date__rail span {
  position: absolute;
  top: 17px;
  left: 3px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--text-muted);
  border-radius: 50%;
  background: var(--surface-feed);
  box-shadow: 0 0 0 4px var(--surface-inset);
}

.wordfeed-event-date__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wordfeed-event-date__label {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wordfeed-event-date__value {
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.12;
}

.wordfeed-event-date--flip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 28px 0 24px;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
  container-type: inline-size;
}

.wordfeed-flip-date__eyebrow {
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.wordfeed-flip-date__reel {
  display: flex;
  align-items: flex-start;
  gap: 0.26em;
  font-size: clamp(34px, 12cqw, 66px);
}

.wordfeed-flip-date__reel--month {
  font-size: clamp(40px, 16cqw, 80px);
}

.wordfeed-flip-date__reel--year {
  font-size: clamp(48px, 30cqw, 96px);
}

.wordfeed-flip-date__group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.14em;
}

.wordfeed-flip-date__flap {
  position: relative;
  display: inline-flex;
  min-width: 0.62em;
  height: 1.36em;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 0.26em;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 30%),
    linear-gradient(to top, rgba(176, 180, 190, 0.16), rgba(176, 180, 190, 0) 34%),
    linear-gradient(to bottom, #fff 0 49.4%, #eef0f4 50.6% 100%);
  border-radius: 0.15em;
  box-shadow:
    0 0 0 0.01em rgba(255, 255, 255, 0.9) inset,
    0.03em 0.05em 0.12em rgba(176, 180, 190, 0.5),
    -0.02em -0.03em 0.1em rgba(255, 255, 255, 0.9);
}

.wordfeed-flip-date__num {
  position: relative;
  z-index: 2;
  color: #2c2d30;
  font-family: var(--font-flip);
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1;
  text-shadow: 0 0.01em 0.02em rgba(120, 124, 132, 0.18);
  transform: translateY(-0.05em);
}

.wordfeed-flip-date__seam {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  z-index: 3;
  height: 0.055em;
  background: #d6d8de;
  box-shadow: 0 0.012em 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-50%);
}

.wordfeed-flip-date__axle {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 0.14em;
  height: 0.26em;
  background: linear-gradient(to bottom, #fff 0%, #d4d6db 46%, #aeb0b6 54%, #d4d6db 100%);
  border-radius: 0.025em;
  box-shadow: 0 0 0 0.01em #c4c6cc, 0 0.015em 0.03em rgba(176, 180, 190, 0.45);
  transform: translateY(-50%);
}

.wordfeed-flip-date__axle--left {
  left: -0.05em;
}

.wordfeed-flip-date__axle--right {
  right: -0.05em;
}

.wordfeed-flip-date__label {
  color: #9a9ca3;
  font-family: var(--font-flip-label);
  font-size: 0.13em;
  font-weight: 600;
  letter-spacing: 0.34em;
  line-height: 1;
  text-indent: 0.34em;
}

:root[data-theme="dark"] .wordfeed-flip-date__flap,
.dark .wordfeed-flip-date__flap {
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 30%),
    linear-gradient(to top, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0) 34%),
    linear-gradient(to bottom, #3a3b40 0 49.4%, #2e2f33 50.6% 100%);
  box-shadow:
    0 0 0 0.012em #45464b inset,
    0 0.03em 0.06em rgba(0, 0, 0, 0.32),
    0 0.008em 0 rgba(255, 255, 255, 0.12) inset;
}

:root[data-theme="dark"] .wordfeed-flip-date__num,
.dark .wordfeed-flip-date__num {
  color: #f5f5f2;
  text-shadow: 0 0.01em 0.02em rgba(0, 0, 0, 0.45);
}

:root[data-theme="dark"] .wordfeed-flip-date__seam,
.dark .wordfeed-flip-date__seam {
  background: #0a0b0c;
  box-shadow: 0 0.012em 0 rgba(255, 255, 255, 0.07);
}

:root[data-theme="dark"] .wordfeed-flip-date__axle,
.dark .wordfeed-flip-date__axle {
  background: linear-gradient(to bottom, #f1f2f4 0%, #a9aaae 46%, #6a6b6f 54%, #a9aaae 100%);
  box-shadow: 0 0 0 0.01em #1b1c1e, 0 0.015em 0.03em rgba(0, 0, 0, 0.4);
}

:root[data-theme="dark"] .wordfeed-flip-date__label,
.dark .wordfeed-flip-date__label {
  color: #84858a;
}

.wordfeed-article__featured {
  margin: 24px 0 0;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.wordfeed-article__featured img {
  display: block;
  width: 100%;
}

.wordfeed-article__image-zoom {
  cursor: zoom-in;
}

.wordfeed-article__image-zoom:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent);
}

.post-navigation {
  padding: 16px 24px;
  border-top: 1px solid var(--border-divider);
}

.post-navigation .nav-links {
  display: grid;
  gap: 8px;
}

.wordfeed-comments {
  padding: 20px 24px 28px;
  color: var(--text-primary);
  background: var(--surface-feed);
  border-top: 1px solid var(--border-divider);
  color-scheme: light;
}

.wordfeed-feed--author {
  position: relative;
  background: var(--surface-feed);
}

.wordfeed-modal-is-open {
  overflow: hidden;
}

.wordfeed-modal {
  --wordfeed-modal-shell-height: max(420px, calc(100dvh - 48px));
  --wordfeed-modal-drag-x: 0px;
  --wordfeed-modal-drag-opacity: 1;
  position: fixed;
  inset: 0;
  z-index: 260;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 16px 16px 32px;
  background: var(--surface-sunken);
  animation: wordfeed-modal-fade 100ms var(--ease-standard);
}

.wordfeed-modal[hidden] {
  display: none;
}

.wordfeed-modal.is-closing {
  pointer-events: none;
  animation: wordfeed-modal-fade-out 180ms var(--ease-standard) forwards;
}

.wordfeed-modal__panel {
  width: 100%;
  max-width: var(--read-max);
  min-height: var(--wordfeed-modal-shell-height);
  overflow: hidden;
  background: var(--surface-overlay);
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-feed);
  box-shadow: var(--shadow-modal);
  animation: wordfeed-modal-rise 140ms var(--ease-standard);
}

.t-resize {
  transition:
    width var(--resize-dur) var(--resize-ease),
    height var(--resize-dur) var(--resize-ease),
    max-width var(--resize-dur) var(--resize-ease),
    min-height var(--resize-dur) var(--resize-ease);
  will-change: width, height;
}

.wordfeed-modal__panel:focus {
  outline: none;
}

.wordfeed-modal__bar {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  gap: 4px;
  height: var(--header-height);
  padding: 0 8px 0 16px;
  background: color-mix(in srgb, var(--surface-overlay) 86%, transparent);
  border-bottom: 1px solid var(--border-divider);
  backdrop-filter: blur(12px);
}

.wordfeed-modal__meta {
  display: inline-flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  color: var(--text-muted);
  font-size: var(--text-caption);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wordfeed-modal__meta .wordfeed-icon {
  width: 13px;
  height: 13px;
  flex: none;
  color: var(--icon-default);
}

.wordfeed-modal__meta a {
  color: var(--text-muted);
}

.wordfeed-modal__meta .wordfeed-collection {
  padding: 2px 6px 2px 4px;
  color: var(--text-muted);
  background: transparent;
  font-weight: 500;
}

.wordfeed-modal__meta .wordfeed-collection:hover {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.wordfeed-modal__meta .wordfeed-collection .wordfeed-icon {
  width: 13px;
  height: 13px;
  color: currentColor;
}

.wordfeed-modal__icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  color: var(--icon-default);
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}

.wordfeed-modal__icon .wordfeed-icon {
  width: 18px;
  height: 18px;
}

.wordfeed-modal__icon:hover {
  color: var(--icon-active);
  background: var(--surface-inset);
  text-decoration: none;
}

.wordfeed-modal__body {
  position: relative;
  z-index: 0;
  min-height: calc(var(--wordfeed-modal-shell-height) - var(--header-height));
  opacity: 1;
  transition: opacity var(--dur-base) var(--ease-standard);
}

.wordfeed-modal__loading {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: var(--spacing-24);
  opacity: 0;
  animation: wordfeed-loading-appear 120ms var(--ease-standard) 120ms forwards;
}

.wordfeed-modal__loading-title,
.wordfeed-modal__loading-author,
.wordfeed-modal__loading-chip,
.wordfeed-modal__loading-meta,
.wordfeed-modal__loading-line {
  display: block;
  overflow: hidden;
  background: color-mix(in srgb, var(--text-primary) 7%, transparent);
  border-radius: var(--radius-small);
}

.wordfeed-modal__loading-title {
  width: min(62%, 390px);
  height: 36px;
  margin-bottom: 16px;
}

.wordfeed-modal__loading-author {
  width: 180px;
  height: 44px;
  margin-bottom: 18px;
}

.wordfeed-modal__loading-chip {
  width: 104px;
  height: 24px;
  border-radius: var(--radius-pill);
}

.wordfeed-modal__loading-meta {
  width: min(46%, 300px);
  height: 20px;
  margin: 12px 0 20px;
}

.wordfeed-modal__loading-line {
  width: 74%;
  height: 22px;
}

.wordfeed-modal__loading-line--wide {
  width: 92%;
}

.wordfeed-modal__loading-line--short {
  width: 44%;
}

.wordfeed-modal__loading-divider {
  display: block;
  height: 1px;
  margin: 18px 0 4px;
  background: var(--border-divider);
}

.wordfeed-modal__panel.is-loading .wordfeed-modal__body {
  opacity: 0.9;
}

.wordfeed-modal .wordfeed-feed--article {
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.wordfeed-modal .wordfeed-article {
  padding: var(--spacing-24) var(--spacing-24) var(--spacing-16);
}

.wordfeed-modal .wordfeed-article__header {
  padding: 0;
  border-bottom: 0;
}

.wordfeed-modal .wordfeed-article__title {
  font-size: 30px;
  letter-spacing: 0;
  line-height: 1.16;
}

.wordfeed-modal .wordfeed-article__meta {
  gap: 8px;
  margin-top: var(--spacing-20);
  font-size: 14px;
  line-height: 1.35;
}

.wordfeed-modal .wordfeed-engagement--article {
  margin: 20px 0 0;
  padding: 10px 0;
  border-top: 1px solid var(--border-divider);
}

.wordfeed-modal .wpcards-card-times__edited,
.wordfeed-modal .wpcards-edited-time {
  display: none;
}

.wordfeed-lightbox-is-open {
  overflow: hidden;
}

.wordfeed-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  animation: wordfeed-modal-fade 120ms var(--ease-standard);
  cursor: zoom-out;
}

.wordfeed-lightbox[hidden] {
  display: none;
}

.wordfeed-lightbox__close {
  position: fixed;
  top: 16px;
  right: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.wordfeed-lightbox__close:hover,
.wordfeed-lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.wordfeed-lightbox__close .wordfeed-icon {
  width: 18px;
  height: 18px;
}

.wordfeed-lightbox__figure {
  max-width: min(90vw, 1120px);
  max-height: 90vh;
  margin: 0;
  cursor: default;
}

.wordfeed-lightbox__figure img {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 44px);
  margin: 0 auto;
  border-radius: var(--radius-card);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.wordfeed-lightbox__figure figcaption {
  max-width: 720px;
  margin: 10px auto 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.wordfeed-sheet-is-open {
  overflow: hidden;
}

.wordfeed-sheet {
  position: fixed;
  inset: 0;
  z-index: 420;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: var(--scrim);
  animation: wordfeed-modal-fade 120ms var(--ease-standard);
}

.wordfeed-sheet[hidden] {
  display: none;
}

.wordfeed-sheet__panel {
  width: min(100%, 420px);
  max-height: min(720px, calc(100dvh - 36px));
  overflow: auto;
  background: var(--surface-feed);
  border: 1px solid var(--border-divider);
  border-radius: 16px;
  box-shadow: var(--shadow-modal);
  animation: wordfeed-sheet-rise 180ms var(--ease-standard);
}

.wordfeed-sheet__panel:focus {
  outline: none;
}

.wordfeed-sheet__handle {
  display: none;
}

.wordfeed-sheet__header {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px 12px;
}

.wordfeed-sheet__header strong {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
}

.wordfeed-sheet__header button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  color: var(--icon-default);
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--surface-inset);
  cursor: pointer;
}

.wordfeed-share-preview {
  margin: 0 12px 8px;
  padding: 10px 12px;
  background: var(--surface-inset);
  border-left: 3px solid var(--border-divider);
  border-radius: var(--radius-card);
}

.wordfeed-share-preview p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.wordfeed-share-preview span {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 12px;
}

.wordfeed-share-status {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 10px 24px 28px;
  color: var(--text-primary);
  text-align: center;
}

.wordfeed-share-status > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--accent);
  border-radius: var(--radius-pill);
  background: var(--accent-quiet);
}

.wordfeed-share-status strong {
  font-size: 16px;
  line-height: 1.25;
}

.wordfeed-share-options {
  display: grid;
  gap: 2px;
  padding: 4px 6px 20px;
}

.wordfeed-share-options button,
.wordfeed-share-options a {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 14px;
  padding: 12px 10px;
  color: var(--text-primary);
  border: 0;
  border-radius: var(--radius-card);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background var(--dur-fast) var(--ease-standard);
}

.wordfeed-share-options button:hover,
.wordfeed-share-options a:hover {
  background: var(--surface-inset);
  text-decoration: none;
}

.wordfeed-share-options button > span:first-child,
.wordfeed-share-options a > span:first-child {
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  color: var(--icon-hover);
  border-radius: var(--radius-pill);
  background: var(--surface-inset);
}

.wordfeed-share-options button.is-copied > span:first-child {
  color: var(--accent);
  background: var(--accent-quiet);
}

.wordfeed-share-options strong,
.wordfeed-share-options em {
  display: block;
}

.wordfeed-share-options strong {
  color: var(--text-primary);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.wordfeed-share-options em {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 12px;
  font-style: normal;
}

.wordfeed-sheet__auth {
  max-width: 360px;
  margin: 0 auto;
  padding: 8px 24px 28px;
  text-align: center;
}

.wordfeed-sheet__auth-icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 14px;
  color: var(--icon-default);
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-pill);
  background: var(--surface-inset);
}

.wordfeed-sheet__auth h2 {
  margin: 0 0 6px;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.15;
}

.wordfeed-sheet__auth p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.wordfeed-sheet__auth .wordfeed-pill-button {
  display: flex;
  width: max-content;
  min-height: 38px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 14px;
}

.wordfeed-sheet__auth-secondary {
  display: inline-flex;
  width: max-content;
  justify-content: center;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.wordfeed-sheet__auth-secondary:hover {
  color: var(--text-primary);
  text-decoration: none;
}

.wordfeed-toc {
  position: fixed;
  z-index: 270;
  width: 28px;
  max-height: calc(100vh - 104px);
  overflow: hidden;
  transition: width var(--dur-base) var(--ease-standard);
}

.wordfeed-toc:hover,
.wordfeed-toc:focus-within {
  width: 240px;
  overflow-y: auto;
  scrollbar-width: none;
}

.wordfeed-toc::-webkit-scrollbar {
  display: none;
}

.wordfeed-toc__panel {
  width: 240px;
  box-sizing: border-box;
  padding: 10px 14px 12px;
  background: var(--surface-overlay);
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  opacity: 0;
  pointer-events: none;
  transform: translateX(4px);
  transition: opacity var(--dur-fast) var(--ease-standard), transform var(--dur-base) var(--ease-standard);
}

.wordfeed-toc:hover .wordfeed-toc__panel,
.wordfeed-toc:focus-within .wordfeed-toc__panel {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.wordfeed-toc__panel p {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.wordfeed-toc__items {
  display: grid;
  gap: 1px;
}

.wordfeed-toc__items button {
  display: block;
  width: calc(100% + 8px);
  min-height: 24px;
  margin-left: -4px;
  overflow: hidden;
  padding: 4px 4px 4px var(--toc-indent);
  color: var(--text-muted);
  border: 0;
  border-radius: var(--radius-small);
  background: transparent;
  cursor: pointer;
  font-size: var(--text-caption);
  line-height: 1.4;
  text-align: left;
  text-overflow: ellipsis;
  transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
  white-space: nowrap;
}

.wordfeed-toc__item--h2 {
  font-weight: 600;
}

.wordfeed-toc__item--h3 {
  font-size: 12px;
}

.wordfeed-toc__item--h4,
.wordfeed-toc__item--h5 {
  color: color-mix(in srgb, var(--text-muted) 78%, transparent);
  font-size: 11px;
}

.wordfeed-toc__items button:hover,
.wordfeed-toc__items button.is-active {
  color: var(--text-primary);
  background: color-mix(in srgb, var(--surface-inset) 55%, transparent);
}

.wordfeed-toc__items button.is-active {
  font-weight: 600;
}

.wordfeed-toc__ticks {
  position: absolute;
  inset: 0 auto auto 0;
  display: flex;
  width: 28px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  opacity: 0.7;
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-standard);
}

.wordfeed-toc:hover .wordfeed-toc__ticks,
.wordfeed-toc:focus-within .wordfeed-toc__ticks {
  opacity: 0;
}

.wordfeed-toc__tick {
  display: block;
  width: var(--tick-width);
  height: 2px;
  padding: 0;
  border: 0;
  border-radius: 1px;
  background: var(--border-divider);
}

.wordfeed-toc__tick--h2 {
  opacity: 0.95;
}

.wordfeed-toc__tick--h3 {
  opacity: 0.75;
}

.wordfeed-toc__tick--h4,
.wordfeed-toc__tick--h5 {
  opacity: 0.55;
}

.wordfeed-toc__tick.is-active {
  width: 14px;
  background: var(--text-primary);
  opacity: 1;
}

@keyframes wordfeed-modal-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes wordfeed-modal-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes wordfeed-modal-rise {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes wordfeed-modal-cover-in {
  from {
    transform: translateX(18px);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes wordfeed-loading-appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes wordfeed-sheet-rise {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .t-resize,
  .wordfeed-modal,
  .wordfeed-modal__panel,
  .wordfeed-modal__body,
  .wordfeed-modal__loading,
  .wordfeed-sheet,
  .wordfeed-sheet__panel {
    transition: none !important;
    animation: none !important;
  }

  .wordfeed-modal__loading {
    opacity: 1;
  }
}

.wordfeed-author {
  padding: 0;
}

.wordfeed-author-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  height: var(--header-height);
  align-items: center;
  gap: 4px;
  padding: 0 8px 0 12px;
  background: color-mix(in srgb, var(--surface-feed) 88%, transparent);
  border-bottom: 1px solid var(--border-divider);
  border-top-left-radius: calc(var(--radius-feed) - 1px);
  border-top-right-radius: calc(var(--radius-feed) - 1px);
  backdrop-filter: blur(12px);
}

.wordfeed-author-header > span {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}

.wordfeed-author__hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 24px 16px;
  border-bottom: 0;
}

.wordfeed-author__hero > div {
  min-width: 0;
  flex: 1;
}

.wordfeed-author__avatar-frame {
  position: relative;
  display: inline-grid;
  width: 72px;
  height: 72px;
  flex: none;
  place-items: center;
}

.wordfeed-author-verified-badge {
  position: absolute;
  right: var(--wordfeed-verified-right, -2px);
  bottom: var(--wordfeed-verified-bottom, -2px);
  z-index: 2;
  display: grid;
  width: var(--wordfeed-verified-size, 16px);
  height: var(--wordfeed-verified-size, 16px);
  place-items: center;
  color: var(--accent);
  border-radius: var(--radius-pill);
  background: var(--surface-feed);
  pointer-events: none;
}

.wordfeed-author-verified-badge svg {
  width: var(--wordfeed-verified-icon-size, 14px);
  height: var(--wordfeed-verified-icon-size, 14px);
  stroke-width: 2.4;
}

.wordfeed-author__avatar {
  display: grid;
  width: 72px;
  height: 72px;
  flex: none;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--surface-inset);
  color: var(--text-primary);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  object-fit: cover;
}

.wordfeed-author__verified {
  --wordfeed-verified-bottom: -3px;
  --wordfeed-verified-icon-size: 21px;
  --wordfeed-verified-right: -1px;
  --wordfeed-verified-size: 25px;
}

.wordfeed-author h1 {
  margin: 0;
  overflow: hidden;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wordfeed-author__byline {
  max-width: 520px;
  margin: 0;
  padding: 0 24px;
  color: var(--text-primary);
  font-size: var(--text-body);
  line-height: 1.5;
}

.wordfeed-author__quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 24px 16px;
}

.wordfeed-author__quick-action,
.wordfeed-author__message,
.wordfeed-author__newsletter button,
.wordfeed-author__contact button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--text-primary);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}

.wordfeed-author__quick-action {
  min-width: 0;
  padding-right: 14px;
  padding-left: 14px;
  font-size: 15px;
}

.wordfeed-author__quick-action--primary {
  color: var(--text-inverse);
  border-color: var(--text-primary);
  background: var(--text-primary);
}

.wordfeed-author__quick-action--secondary {
  color: var(--text-primary);
  border-color: var(--border-input);
  background: transparent;
}

.wordfeed-author__quick-action--ghost {
  color: var(--text-primary);
  border-color: transparent;
  background: transparent;
}

.wordfeed-author__message:hover,
.wordfeed-author__newsletter button:hover,
.wordfeed-author__contact button:hover {
  background: var(--surface-inset);
  text-decoration: none;
}

.wordfeed-author__quick-action:hover {
  text-decoration: none;
}

.wordfeed-author__quick-action--primary:hover {
  color: var(--text-inverse);
  background: color-mix(in srgb, var(--text-primary) 92%, var(--surface-feed));
}

.wordfeed-author__quick-action--secondary:hover,
.wordfeed-author__quick-action--ghost:hover {
  background: var(--surface-inset);
}

.wordfeed-author__quick-actions .wordfeed-icon,
.wordfeed-author__message .wordfeed-icon,
.wordfeed-author__newsletter button .wordfeed-icon,
.wordfeed-author__contact button .wordfeed-icon {
  width: 18px;
  height: 18px;
}

.wordfeed-author__bio {
  padding: 20px 24px 24px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-divider);
  border-bottom: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.65;
}

.wordfeed-author__bio p {
  margin: 0 0 14px;
}

.wordfeed-author__bio p:last-child {
  margin-bottom: 0;
}

.wordfeed-author__social {
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border-divider);
}

.wordfeed-author__social h2 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.wordfeed-author__social ul {
  overflow: hidden;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-card);
}

.wordfeed-author__social li + li {
  border-top: 1px solid var(--border-divider);
}

.wordfeed-author__social a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 16px;
  align-items: center;
  column-gap: 12px;
  padding: 10px 12px;
  color: var(--text-primary);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-standard);
}

.wordfeed-author__social a:hover {
  background: var(--surface-inset);
  text-decoration: none;
}

.wordfeed-author__social-icon {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--icon-default);
}

.wordfeed-author__social a:hover .wordfeed-author__social-icon {
  color: var(--text-primary);
}

.wordfeed-author__social a:hover > .wordfeed-icon {
  color: var(--accent);
}

.wordfeed-author__social-icon .wordfeed-icon {
  width: 18px;
  height: 18px;
}

.wordfeed-author__social-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.wordfeed-author__social strong {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.wordfeed-author__social em {
  overflow: hidden;
  color: var(--text-muted);
  font-size: var(--text-caption);
  font-style: normal;
  line-height: var(--text-caption-lh);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wordfeed-author__social a > .wordfeed-icon {
  width: 16px;
  height: 16px;
  justify-self: end;
  color: var(--icon-default);
}

.wordfeed-author__actions {
  display: grid;
  gap: 0;
  padding: 0;
}

.wordfeed-author__newsletter,
.wordfeed-author__contact,
.wordfeed-author__rss-builder {
  display: grid;
  gap: 8px;
  padding: 20px 24px;
  border-top: 1px solid var(--border-divider);
}

.wordfeed-author__newsletter {
  gap: 7px;
  padding-top: 16px;
  padding-bottom: 15px;
}

.wordfeed-author__rss-builder {
  padding-top: 17px;
  padding-bottom: 18px;
}

.wordfeed-author__newsletter h2,
.wordfeed-author__contact label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.wordfeed-author__newsletter h2::before {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: currentColor;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.wordfeed-author__contact label .wordfeed-icon {
  width: 13px;
  height: 13px;
}

.wordfeed-author__newsletter p,
.wordfeed-author__contact p {
  margin: -2px 0 4px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.wordfeed-author__contact p a {
  color: var(--accent);
  text-decoration: none;
}

.wordfeed-author__newsletter .wp-block-jetpack-subscriptions__container form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.wordfeed-author__newsletter .jetpack_subscription_widget,
.wordfeed-author__newsletter .wp-block-jetpack-subscriptions__container {
  display: grid;
  gap: 8px;
}

.wordfeed-author__newsletter .wp-block-jetpack-subscriptions__container p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: normal;
}

.wordfeed-author__newsletter #subscribe-email,
.wordfeed-author__newsletter #subscribe-submit {
  min-width: 0;
}

.wordfeed-author__newsletter #subscribe-submit {
  justify-self: end;
}

.wordfeed-author__newsletter .success,
.wordfeed-author__newsletter .error,
.wordfeed-author__newsletter-fallback {
  margin: 2px 0 0;
  padding: 10px 12px;
  color: var(--text-primary);
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-card);
  background: transparent;
  font-size: 13px;
  line-height: 1.4;
}

.wordfeed-author__newsletter .error {
  color: var(--text-secondary);
  border-color: var(--border-input);
}

.wordfeed-author__newsletter [hidden],
.wordfeed-author__contact [hidden] {
  display: none !important;
}

.wordfeed-author__success {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: var(--text-primary);
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-card);
  background: transparent;
  font-size: 13px;
  line-height: 1.4;
}

.wordfeed-author__success .wordfeed-icon {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--accent);
}

.wordfeed-author__rss-builder {
  gap: 14px;
}

.wordfeed-author__rss-header {
  display: grid;
  gap: 5px;
}

.wordfeed-author__rss-header h2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.wordfeed-author__rss-header h2 .wordfeed-icon {
  width: 14px;
  height: 14px;
}

.wordfeed-author__rss-header p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.wordfeed-author__rss-basics {
  overflow: hidden;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-card);
}

.wordfeed-author__rss-base-row {
  display: grid;
  grid-template-columns: minmax(84px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 10px 8px 12px;
}

.wordfeed-author__rss-base-row + .wordfeed-author__rss-base-row {
  border-top: 1px solid var(--border-divider);
}

.wordfeed-author__rss-base-row > span {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.wordfeed-author__rss-base-row code {
  min-width: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wordfeed-author__rss-base-row button {
  display: inline-flex;
  min-width: 66px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  color: var(--text-secondary);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
}

.wordfeed-author__rss-base-row button:hover {
  background: var(--surface-inset);
}

.wordfeed-author__rss-base-row button.is-copied {
  color: var(--accent);
}

.wordfeed-author__rss-output button.is-copied {
  color: var(--text-primary);
  border-color: var(--border-input);
  background: var(--btn-disabled);
}

.wordfeed-author__rss-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wordfeed-author__rss-fields > label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.wordfeed-author__rss-fields > label:first-child {
  grid-column: 1 / -1;
}

.wordfeed-author__rss-fields > label > span,
.wordfeed-author__rss-output > label {
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.wordfeed-author__rss-fields > label > input:not([type="hidden"]),
.wordfeed-author__rss-fields > label > select,
.wordfeed-author__rss-output input {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 11px;
  color: var(--text-primary);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-card);
  background: transparent;
  outline: 0;
  font: inherit;
  font-size: 13px;
}

.wordfeed-author__rss-builder select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 15px) 16px, calc(100% - 10px) 16px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.wordfeed-author__rss-picker {
  position: relative;
  min-width: 0;
}

.wordfeed-author__rss-picker > summary {
  display: flex;
  width: 100%;
  height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 11px;
  color: var(--text-primary);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-card);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1;
  list-style: none;
}

.wordfeed-author__rss-picker > summary::-webkit-details-marker {
  display: none;
}

.wordfeed-author__rss-picker > summary:focus {
  outline: 0;
}

.wordfeed-author__rss-picker > summary:focus-visible,
.wordfeed-author__rss-picker[open] > summary {
  border-color: var(--border-strong);
}

.wordfeed-author__rss-picker > summary [data-wordfeed-rss-picker-label] {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wordfeed-author__rss-picker > summary .wordfeed-icon {
  width: 14px;
  height: 14px;
  flex: none;
  transform: rotate(90deg);
  transition: transform var(--dur-fast) var(--ease-standard);
}

.wordfeed-author__rss-picker[open] > summary .wordfeed-icon {
  transform: rotate(-90deg);
}

.wordfeed-author__rss-menu {
  left: 0;
  width: min(360px, calc(100vw - 48px));
  min-width: 100%;
  max-height: min(320px, 58vh);
  padding: 8px;
}

.wordfeed-author__rss-menu .wordfeed-filter-chip__search {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.wordfeed-author__rss-menu .wordfeed-filter-chip__search input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: auto;
  padding: 0;
  color: var(--text-primary);
  border: 0;
  border-radius: 0;
  background: transparent;
  outline: 0;
  font: inherit;
  font-size: 13px;
}

.wordfeed-author__rss-menu .wordfeed-filter-chip__option {
  cursor: pointer;
  font-family: var(--font-sans);
}

.wordfeed-author__rss-menu button.wordfeed-filter-chip__option {
  border: 0;
}

.wordfeed-author__rss-output {
  display: grid;
  gap: 6px;
}

.wordfeed-author__rss-output > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.wordfeed-author__rss-output input {
  font-family: var(--font-mono);
  font-size: 12px;
}

.wordfeed-author__rss-output button {
  display: inline-flex;
  min-width: 166px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--text-secondary);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-pill);
  background: var(--btn-disabled);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
}

.wordfeed-author__rss-output button:hover {
  color: var(--text-primary);
  background: color-mix(in srgb, var(--btn-disabled) 86%, var(--text-primary));
}

.wordfeed-author__rss-output button .wordfeed-icon {
  width: 18px;
  height: 18px;
}

.wordfeed-author__newsletter input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 14px;
  color: var(--text-primary);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-card);
  background: transparent;
  outline: 0;
  font: inherit;
}

.wordfeed-author__contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.wordfeed-author__contact input,
.wordfeed-author__contact textarea {
  width: 100%;
  min-width: 0;
  padding: 0 12px;
  color: var(--text-primary);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-card);
  background: transparent;
  outline: 0;
  font: inherit;
}

.wordfeed-author__contact input {
  height: 40px;
}

.wordfeed-author__contact textarea {
  min-height: 112px;
  padding-top: 10px;
  resize: vertical;
}

.wordfeed-author__contact-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.wordfeed-author__contact-footer > span {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
}

.wordfeed-author__contact input:focus,
.wordfeed-author__contact textarea:focus,
.wordfeed-author__newsletter input:focus,
.wordfeed-author__rss-fields > label > input:not([type="hidden"]):focus,
.wordfeed-author__rss-output input:focus,
.wordfeed-author__rss-builder select:focus {
  border-color: var(--border-strong);
}

.wordfeed-author__newsletter button,
.wordfeed-author__contact button {
  width: max-content;
  min-width: 112px;
  color: var(--text-muted);
  border-color: transparent;
  background: var(--btn-disabled);
  cursor: pointer;
}

.wordfeed-author__newsletter button {
  color: var(--text-secondary);
  border-color: var(--border-input);
  background: var(--btn-disabled);
}

.wordfeed-author__newsletter button:hover {
  color: var(--text-primary);
  background: color-mix(in srgb, var(--btn-disabled) 86%, var(--text-primary));
}

.wordfeed-author__contact button {
  color: var(--btn-text);
  border-color: var(--btn-fill);
  background: var(--btn-fill);
}

.wordfeed-author__contact button:hover {
  color: var(--btn-text);
  background: var(--btn-fill-hover);
}

.wordfeed-author__message {
  width: max-content;
}

.wordfeed-comments__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-divider);
}

.wordfeed-comments__header > div {
  min-width: 0;
}

.wordfeed-comments__title,
.comment-reply-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--text-subheading);
  color: var(--text-primary);
}

.wordfeed-comments__user,
.wordfeed-comments__signin {
  display: inline-flex;
  min-width: 0;
  max-width: 48%;
  align-items: center;
  gap: var(--spacing-8);
  margin-right: -8px;
  padding: 6px 10px 6px 6px;
  color: var(--text-primary);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: var(--text-caption);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard);
}

.wordfeed-comments__signin {
  color: var(--text-secondary);
  padding-left: 8px;
}

.wordfeed-comments__user span,
.wordfeed-comments__signin span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wordfeed-comments__user-avatar {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: var(--radius-pill);
}

.wordfeed-comments__signin .wordfeed-icon {
  width: 16px;
  height: 16px;
  flex: none;
}

.wordfeed-comments__user > .wordfeed-icon {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--icon-default);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}

a.wordfeed-comments__user:hover,
.wordfeed-comments__signin:hover {
  color: var(--accent);
  border-color: transparent;
  background: var(--surface-inset);
  text-decoration: none;
}

a.wordfeed-comments__user:hover > .wordfeed-icon {
  color: var(--accent);
  opacity: 1;
}

.wordfeed-comment-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wordfeed-comments__thread {
  border-top: 1px solid var(--border-divider);
}

.wordfeed-comment-list > .wordfeed-comment {
  border-top: 1px solid var(--border-divider);
}

.wordfeed-comment-list > .wordfeed-comment:first-child {
  border-top: 0;
}

.wordfeed-comment-list .children {
  position: relative;
  margin: -2px 0 0 18px;
  padding: 0 0 0 24px;
  border-left: 0;
  list-style: none;
}

.wordfeed-comment-list .children > .wordfeed-comment {
  position: relative;
  isolation: isolate;
}

.wordfeed-comment-list .children > .wordfeed-comment::before {
  position: absolute;
  top: -64px;
  left: -24px;
  width: 12px;
  height: 98px;
  border-bottom: 1px solid var(--border-thread);
  border-left: 1px solid var(--border-thread);
  border-bottom-left-radius: 10px;
  content: "";
  pointer-events: none;
  z-index: 0;
}

.wordfeed-comment.is-thread-collapsed > .children {
  display: none;
}

.wordfeed-comment__body {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 16px 0 12px;
  z-index: 1;
}

.wordfeed-comment__avatar {
  position: relative;
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: var(--radius-pill);
  background: var(--surface-feed);
  z-index: 2;
}

.wordfeed-comment__avatar-img {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--surface-feed);
  object-fit: cover;
  z-index: 1;
}

.wordfeed-comment__verified {
  --wordfeed-verified-bottom: -4px;
  --wordfeed-verified-icon-size: 15px;
  --wordfeed-verified-right: -5px;
  --wordfeed-verified-size: 17px;
}

.wordfeed-comment__content {
  min-width: 0;
  flex: 1;
}

.wordfeed-comment__meta {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
}

.wordfeed-comment__author {
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

a.wordfeed-comment__author {
  margin-left: -4px;
  padding: 0 4px;
}

a.wordfeed-comment__author:hover {
  color: var(--accent);
  background: var(--surface-inset);
}

.wordfeed-comment__time {
  color: var(--text-muted);
  font-size: var(--text-caption);
}

.wordfeed-comment__time:hover {
  color: var(--text-secondary);
}

.wordfeed-comment__awaiting {
  margin: 6px 0 0;
  color: var(--accent);
  font-size: var(--text-caption);
  font-weight: 600;
}

.wordfeed-comment__text {
  margin-top: 2px;
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: var(--text-body-lh);
}

.wordfeed-comment__text p {
  margin: 0 0 8px;
}

.wordfeed-comment__text p:last-child {
  margin-bottom: 0;
}

.wordfeed-comment--link-notification .wordfeed-comment__body {
  align-items: flex-start;
  gap: 10px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.wordfeed-comment__link-icon {
  display: inline-grid;
  width: 28px;
  height: 28px;
  flex: none;
  place-items: center;
  color: var(--icon-default);
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-pill);
  background: var(--surface-feed);
}

.wordfeed-comment__link-icon .wordfeed-icon,
.wordfeed-comment__source .wordfeed-icon {
  width: 14px;
  height: 14px;
}

.wordfeed-comment__type {
  color: var(--text-muted);
  font-size: var(--text-caption);
  font-weight: 700;
  line-height: 1.3;
}

.wordfeed-comment__link-excerpt {
  max-width: 56ch;
  margin: 5px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.45;
}

.wordfeed-comment__source {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  margin-top: 7px;
  color: var(--text-muted);
  font-size: var(--text-caption);
  font-weight: 600;
  text-decoration: none;
}

.wordfeed-comment__source:hover {
  color: var(--text-primary);
}

.wordfeed-comment__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
}

.wordfeed-comment__actions .comment-reply-link,
.wordfeed-comment__collapse {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 0;
  color: var(--text-muted);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--text-caption);
  font-weight: 600;
}

.wordfeed-comment__collapse {
  appearance: none;
}

.wordfeed-comment__collapse span:last-child {
  color: var(--text-muted);
}

.wordfeed-comment__actions .comment-reply-link:hover,
.wordfeed-comment__collapse:hover {
  color: var(--text-primary);
}

.wordfeed-comment__actions .comment-reply-link.is-cancel-reply,
.wordfeed-comment__collapse[aria-expanded="false"] {
  color: var(--accent);
}

.wordfeed-comments__empty {
  display: grid;
  min-height: 150px;
  place-items: center;
  align-content: center;
  padding: 36px 20px;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border-divider);
}

.wordfeed-comments__empty .wordfeed-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  color: var(--icon-default);
}

.wordfeed-comments__empty p {
  margin: 0;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
}

.wordfeed-comments__empty span {
  margin-top: 4px;
  font-size: 13px;
}

.comment-form {
  display: grid;
  gap: 10px;
}

.wordfeed-comment-form {
  margin: 12px 0 16px;
}

.comment-reply-title small {
  display: none;
}

.comment-reply-title small a {
  color: var(--text-muted);
}

.wordfeed-comment .wordfeed-comment-form {
  margin: -4px 0 12px 48px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--border-divider);
  background: transparent;
}

.wordfeed-comment .comment-reply-title {
  display: none;
}

.wordfeed-comment-form__form.is-submitting {
  opacity: 0.72;
}

.wordfeed-comments #respond:has(iframe#jetpack_remote_comment),
.wordfeed-comments #respond:has(iframe[name="jetpack_remote_comment"]),
.wordfeed-comments .comment-respond:has(.jetpack_remote_comment) {
  margin: 12px 0 16px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--border-divider);
  background: var(--surface-feed);
  color-scheme: inherit;
  overflow: hidden;
}

.wordfeed-comments iframe#jetpack_remote_comment,
.wordfeed-comments iframe[name="jetpack_remote_comment"],
.wordfeed-comments iframe.jetpack_remote_comment,
.wordfeed-comments .jetpack-comment-form iframe,
.wordfeed-comments #jetpack-comment-form iframe {
  display: block;
  width: 100% !important;
  min-height: 232px;
  margin: 0;
  color-scheme: inherit;
  border: 0;
  border-radius: 0;
  background: var(--surface-feed);
}

:root[data-theme="dark"] .wordfeed-comments,
:root.dark .wordfeed-comments,
.dark .wordfeed-comments,
.wordfeed-comments iframe[data-wordfeed-jetpack-theme="dark"] {
  color-scheme: dark;
}

.wordfeed-comments #jetpack-comment-form,
.wordfeed-comments .jetpack-comment-form,
.wordfeed-comments .jetpack-comments-form,
.wordfeed-comments .jetpack_remote_comment {
  color: var(--text-primary);
  border: 0;
  background: transparent;
  font-family: var(--font-sans);
}

.wordfeed-comments .jetpack-comment-form p,
.wordfeed-comments #jetpack-comment-form p {
  color: var(--text-secondary);
}

.wordfeed-comment-composer {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 0;
  border: 0;
  background: transparent;
}

.wordfeed-comment .wordfeed-comment-composer {
  padding: 0;
  border: 0;
  background: transparent;
}

.wordfeed-comment .wordfeed-comment-composer__avatar {
  width: 28px;
  height: 28px;
}

.wordfeed-comment .wordfeed-comment-composer__avatar .avatar,
.wordfeed-comment .wordfeed-comment-composer__avatar img {
  width: 28px;
  height: 28px;
}

.wordfeed-comment-composer__avatar {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: none;
}

.wordfeed-comment-composer__avatar .avatar,
.wordfeed-comment-composer__avatar img {
  width: 32px;
  height: 32px;
}

.comment-form-comment {
  min-width: 0;
  margin: 0;
  flex: 1;
}

.comment-form label {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
}

.comment-form input:not([type="submit"]),
.comment-form textarea {
  width: 100%;
  padding: 11px 12px;
  color: var(--text-primary);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-card);
  background: var(--surface-feed);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: 0;
}

.comment-form textarea {
  min-height: 52px;
  resize: vertical;
}

.wordfeed-comment .comment-form textarea {
  min-height: 48px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.comment-form input:not([type="submit"]):focus,
.comment-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 13%, transparent);
}

.comment-form .form-submit {
  display: flex;
  justify-content: flex-end;
  margin: 0;
}

.comment-form .form-submit .submit {
  gap: 7px;
}

.comment-form .form-submit .submit:disabled {
  color: var(--btn-disabled-text);
  border-color: var(--btn-disabled);
  background: var(--btn-disabled);
  cursor: progress;
}

.comment-form .form-submit .submit svg {
  width: 15px;
  height: 15px;
}

.wordfeed-comments__login {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--border-divider);
  border-radius: 10px;
  background: var(--surface-inset);
}

.wordfeed-comments__login + .wordfeed-comments__thread {
  border-top: 0;
}

.wordfeed-comments__login + .wordfeed-comments__empty {
  border-top: 0;
}

.wordfeed-comments__login > span {
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  color: var(--icon-default);
  border: 1px solid var(--border-divider);
  border-radius: 10px;
  background: var(--surface-feed);
}

.wordfeed-comments__login .wordfeed-icon {
  width: 18px;
  height: 18px;
}

.wordfeed-comments__login strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text-primary);
  font-size: 14px;
}

.wordfeed-comments__login p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.form-submit .submit,
.wordfeed-button,
.wpcards-feed__load-more {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  color: var(--text-inverse);
  border: 1px solid var(--text-primary);
  border-radius: var(--radius-pill);
  background: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.wordfeed-empty {
  padding: 40px 24px;
  text-align: left;
}

.wordfeed-empty h1,
.wordfeed-empty h2 {
  margin: 0 0 8px;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: var(--text-heading);
}

.wordfeed-empty p {
  margin: 0;
  color: var(--text-muted);
}

.wordfeed-empty > .wordfeed-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  color: var(--icon-default);
}

.wordfeed-not-found {
  display: grid;
  min-height: calc(100vh - 32px);
  grid-template-rows: 1fr auto 2fr;
  justify-items: center;
}

.wordfeed-not-found__hero {
  grid-row: 2;
  width: min(100%, 520px);
  padding: 48px 24px;
  text-align: center;
}

.wordfeed-not-found__hero h1 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.12;
}

.wordfeed-not-found__hero .wordfeed-search-panel {
  margin: 24px auto 0;
  padding: 0;
  border-bottom: 0;
}

.wordfeed-not-found__code {
  margin: 0 auto 12px;
  color: var(--text-muted);
  font-size: 56px;
  font-weight: var(--weight-bold);
  line-height: 1;
}

.wordfeed-system-page,
.wordfeed-activity,
.wordfeed-profile,
.wordfeed-directory {
  min-height: 320px;
}

.wordfeed-activity__intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-divider);
}

.wordfeed-activity__intro p {
  min-width: 0;
  margin: 0;
  flex: 1 1 200px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.wordfeed-activity__actions {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.wordfeed-segmented {
  display: flex;
  flex: none;
  gap: 6px;
}

.wordfeed-segmented button,
.wordfeed-segmented a,
.wordfeed-activity__mark-read,
.wordfeed-pill-button {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--text-secondary);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.wordfeed-segmented button[aria-pressed="true"],
.wordfeed-segmented a[aria-pressed="true"],
.wordfeed-pill-button--primary {
  color: var(--surface-feed);
  background: var(--text-primary);
  border-color: var(--text-primary);
}

.wordfeed-segmented a:hover,
.wordfeed-activity__mark-read:hover {
  background: var(--surface-inset);
  text-decoration: none;
}

.wordfeed-activity__mark-read {
  gap: 5px;
}

.wordfeed-activity__mark-read .wordfeed-icon {
  width: 13px;
  height: 13px;
}

.wordfeed-activity__enhanced[hidden],
.wordfeed-activity__fallback[hidden],
.wordfeed-activity__load-more[hidden],
.wordfeed-activity__mark-read[hidden] {
  display: none;
}

.wordfeed-activity.is-booting:not(.is-rest-failed) .wordfeed-activity__fallback,
.wordfeed-activity.is-rest-ready .wordfeed-activity__fallback {
  display: none;
}

.wordfeed-activity.is-booting:not(.is-rest-failed) .wordfeed-activity__enhanced[hidden] {
  display: block;
}

.wordfeed-activity.is-rest-failed .wordfeed-activity__enhanced {
  display: none;
}

.wordfeed-activity.is-rest-failed .wordfeed-activity__fallback {
  display: block;
}

.wordfeed-activity__status {
  padding: 34px 16px;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

.wordfeed-activity__load-more {
  display: flex;
  width: calc(100% - 32px);
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin: 14px 16px 18px;
  color: var(--text-secondary);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-pill);
  background: var(--surface-feed);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.wordfeed-activity__load-more:hover {
  background: var(--surface-inset);
}

.wordfeed-section-label {
  padding: 14px 16px 8px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wordfeed-activity-row {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-divider);
  transition: background var(--dur-fast) var(--ease-standard);
}

button.wordfeed-activity-row {
  appearance: none;
  font: inherit;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--border-divider);
  cursor: pointer;
}

.wordfeed-activity-row[role="button"] {
  cursor: default;
}

.wordfeed-activity-row--announcement {
  background: color-mix(in srgb, var(--accent) 4%, var(--surface-feed));
}

.wordfeed-activity-row:hover {
  background: var(--surface-inset);
  text-decoration: none;
}

.wordfeed-activity-row--announcement:hover {
  background: color-mix(in srgb, var(--accent) 7%, var(--surface-feed));
}

.wordfeed-activity-row.is-unread {
  background: color-mix(in srgb, var(--accent) 6%, var(--surface-feed));
}

.wordfeed-activity-row.is-unread:hover {
  background: color-mix(in srgb, var(--accent) 9%, var(--surface-feed));
}

.wordfeed-activity-row__avatar {
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-pill);
  background: var(--surface-inset);
  font-size: 13px;
  font-weight: 700;
}

.wordfeed-activity-row__avatar .wordfeed-icon {
  width: 18px;
  height: 18px;
}

.wordfeed-activity-row__body {
  display: block;
  min-width: 0;
  flex: 1;
}

.wordfeed-type-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 5px;
  padding: 2px 7px 2px 5px;
  color: var(--text-secondary);
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.wordfeed-type-chip--announcement {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-color: color-mix(in srgb, var(--accent) 28%, transparent);
}

.wordfeed-type-chip--reply,
.wordfeed-type-chip--pinned {
  color: var(--text-secondary);
  background: transparent;
  border-color: var(--border-divider);
}

.wordfeed-type-chip .wordfeed-icon {
  width: 10px;
  height: 10px;
}

.wordfeed-activity-row__meta,
.wordfeed-activity-row__title,
.wordfeed-activity-row__excerpt {
  display: block;
}

.wordfeed-activity-row__meta {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.45;
}

.wordfeed-activity-row__meta strong {
  color: var(--text-primary);
  font-weight: 600;
}

.wordfeed-activity-row__title {
  margin-top: 5px;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.wordfeed-activity-row__excerpt {
  margin-top: 3px;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.5;
}

.wordfeed-activity-row__image-card {
  max-width: min(100%, 560px);
  margin: 12px 0 0;
  overflow: hidden;
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-card);
  background: var(--surface-inset);
}

.wordfeed-activity-row__image {
  display: block;
  width: 100%;
  max-height: 320px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.wordfeed-activity-row__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  min-height: 32px;
  margin-top: 10px;
  padding: 0 13px;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 36%, transparent);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  font-size: 12.5px;
  font-weight: 750;
  line-height: 1;
  transition:
    color var(--dur-fast) var(--ease-standard),
    background var(--dur-fast) var(--ease-standard),
    border-color var(--dur-fast) var(--ease-standard);
}

.wordfeed-activity-row.has-cta .wordfeed-activity-row__cta {
  color: var(--surface-feed);
  border-color: var(--accent);
  background: var(--accent);
}

.wordfeed-activity-row.has-cta:hover .wordfeed-activity-row__cta,
.wordfeed-activity-row.has-cta:focus-visible .wordfeed-activity-row__cta {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.wordfeed-activity-row__cta .wordfeed-icon {
  width: 14px;
  height: 14px;
  flex: none;
}

.wordfeed-toast-region {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: calc(var(--z-modal) + 10);
  display: flex;
  width: min(340px, calc(100vw - 32px));
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  pointer-events: none;
}

.admin-bar .wordfeed-toast-region {
  top: 52px;
}

.wordfeed-toast {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  color: var(--text-primary);
  appearance: none;
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--surface-feed) 96%, var(--accent) 4%);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  opacity: 0;
  text-align: left;
  transform: translateY(-6px);
  transition:
    opacity var(--dur-fast) var(--ease-standard),
    transform var(--dur-fast) var(--ease-standard),
    background var(--dur-fast) var(--ease-standard),
    border-color var(--dur-fast) var(--ease-standard);
  pointer-events: auto;
}

.wordfeed-toast:hover,
.wordfeed-toast:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 36%, var(--border-divider));
  background: color-mix(in srgb, var(--surface-feed) 92%, var(--accent) 8%);
}

.wordfeed-toast:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 42%, transparent);
  outline-offset: 2px;
}

.wordfeed-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.wordfeed-toast.is-hiding {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

.wordfeed-toast .wordfeed-icon {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 1px;
  color: var(--accent);
}

.wordfeed-toast__message {
  min-width: 0;
}

.wordfeed-toast--success .wordfeed-icon {
  color: var(--success, var(--accent));
}

.wordfeed-toast--error .wordfeed-icon {
  color: var(--danger, var(--accent));
}

@media (max-width: 700px) {
  .wordfeed-toast-region {
    top: 12px;
    right: 12px;
    left: 12px;
    width: auto;
  }

  .admin-bar .wordfeed-toast-region {
    top: 58px;
  }
}

.wordfeed-activity-row__reply,
.wordfeed-activity-row__quote,
.wordfeed-activity-row__reply-body,
.wordfeed-activity-row__context {
  display: block;
}

.wordfeed-activity-row__reply {
  margin-top: 6px;
}

.wordfeed-activity-row__quote {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 6px;
  padding-left: 10px;
  color: var(--text-muted);
  border-left: 2px solid color-mix(in srgb, var(--accent) 50%, var(--border-divider));
  font-size: 12.5px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.wordfeed-activity-row__quote strong {
  color: var(--text-secondary);
  font-weight: 600;
}

.wordfeed-activity-row__reply-body {
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.45;
}

.wordfeed-activity-row__context {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 12px;
}

.wordfeed-activity-row__dot {
  width: 8px;
  height: 8px;
  flex: none;
  margin-top: 8px;
  border-radius: var(--radius-pill);
  background: var(--accent);
}

.wordfeed-activity-badge {
  position: absolute;
  top: 3px;
  right: 4px;
  display: inline-grid;
  min-width: 16px;
  height: 16px;
  place-items: center;
  padding: 0 4px;
  color: var(--surface-feed);
  border: 2px solid var(--surface-sunken);
  border-radius: var(--radius-pill);
  background: var(--accent);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 16%, transparent);
  transform: translateZ(0) scale(1);
  transform-origin: center;
  transition:
    background var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) var(--ease-standard);
  will-change: transform;
}

.wordfeed-activity-badge.is-updating {
  animation: wordfeed-badge-pop 220ms var(--ease-standard);
}

.wordfeed-activity-badge[hidden] {
  display: none;
}

@keyframes wordfeed-badge-pop {
  0% {
    transform: translateZ(0) scale(0.86);
  }

  62% {
    transform: translateZ(0) scale(1.12);
  }

  100% {
    transform: translateZ(0) scale(1);
  }
}

.wordfeed-auth-gate {
  max-width: 360px;
  margin: 0 auto;
  padding: 40px 24px 32px;
  text-align: center;
}

.wordfeed-auth-gate__icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 14px;
  color: var(--icon-default);
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-pill);
  background: var(--surface-inset);
}

.wordfeed-auth-gate h1,
.wordfeed-profile-auth__header h1,
.wordfeed-profile__hero h1 {
  margin: 0 0 6px;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}

.wordfeed-auth-gate p,
.wordfeed-profile-auth__header p,
.wordfeed-profile__hero p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.wordfeed-auth-gate p {
  margin-bottom: 12px;
}

.wordfeed-auth-gate__actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.wordfeed-profile-auth {
  max-width: 360px;
  margin: 0 auto;
  padding: 40px 24px 32px;
}

.wordfeed-profile-auth__header {
  margin-bottom: 24px;
  text-align: center;
}

.wordfeed-profile-auth__tabs {
  display: flex;
  padding: 3px;
  margin-bottom: 14px;
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-pill);
  background: var(--surface-inset);
}

.wordfeed-profile-auth__tabs button {
  height: 32px;
  flex: 1;
  color: var(--text-muted);
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.wordfeed-profile-auth__tabs button[aria-selected="true"] {
  color: var(--text-primary);
  background: var(--surface-feed);
  box-shadow: 0 1px 2px var(--shadow-subtle);
}

.wordfeed-profile-auth__notice {
  padding: 11px 12px;
  margin-bottom: 14px;
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-card);
  background: var(--surface-inset);
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.wordfeed-profile-auth__notice.is-success {
  border-color: color-mix(in srgb, var(--accent) 28%, var(--border-divider));
  background: color-mix(in srgb, var(--accent) 7%, var(--surface-feed));
  color: var(--text-primary);
}

.wordfeed-profile-auth__notice.is-error {
  border-color: color-mix(in srgb, #d92243 28%, var(--border-divider));
  background: color-mix(in srgb, #d92243 7%, var(--surface-feed));
  color: #9f1230;
}

.wordfeed-profile-auth__form {
  display: none;
  flex-direction: column;
  gap: 11px;
}

.wordfeed-profile-auth__form.is-active {
  display: flex;
}

.wordfeed-profile-auth__form label {
  display: grid;
  gap: 5px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
}

.wordfeed-profile-auth__form label em {
  color: var(--text-muted);
  font-style: normal;
  font-weight: 400;
}

.wordfeed-profile-auth__form input {
  width: 100%;
  height: 38px;
  padding: 0 11px;
  color: var(--text-primary);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-card);
  background: var(--surface-feed);
  font-size: 14px;
  outline: 0;
}

.wordfeed-profile-auth__form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 13%, transparent);
}

.wordfeed-profile-auth__remember {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 8px !important;
  align-items: center;
}

.wordfeed-profile-auth__remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  padding: 0;
}

.wordfeed-profile-auth__submit {
  display: inline-flex;
  width: 100%;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  color: var(--surface-feed);
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--text-primary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.wordfeed-profile-auth__link {
  display: inline-flex;
  width: max-content;
  align-self: center;
  justify-content: center;
  padding: 4px 6px;
  color: var(--text-muted);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.wordfeed-profile-auth__link:hover {
  color: var(--text-primary);
}

.wordfeed-profile__hero {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 16px 20px;
}

.wordfeed-profile__avatar {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: var(--radius-pill);
}

.wordfeed-profile__identity {
  min-width: 0;
  flex: 1;
}

.wordfeed-profile__name-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.wordfeed-profile__name-row a {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--icon-default);
  border-radius: 5px;
}

.wordfeed-profile__name-row a:hover {
  color: var(--text-primary);
  background: var(--surface-inset);
}

.wordfeed-profile__name-row .wordfeed-icon {
  width: 15px;
  height: 15px;
}

.wordfeed-profile-tabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--border-divider);
  scrollbar-width: none;
}

.wordfeed-profile-tabs button {
  height: 44px;
  flex: none;
  padding: 0 16px;
  color: var(--text-muted);
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
}

.wordfeed-profile-tabs button[aria-selected="true"] {
  color: var(--text-primary);
  border-bottom-color: var(--text-primary);
}

.wordfeed-profile-panel[hidden],
.wordfeed-profile-auth__form[hidden] {
  display: none;
}

.wordfeed-profile__info {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.wordfeed-profile__info p {
  display: grid;
  grid-template-columns: 16px minmax(96px, auto) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 12px 13px;
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-card);
  background: var(--surface-inset);
  font-size: 13.5px;
}

.wordfeed-profile__info .wordfeed-icon {
  width: 14px;
  height: 14px;
  color: var(--icon-default);
}

.wordfeed-profile__info strong {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
}

.wordfeed-profile__info span {
  overflow: hidden;
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wordfeed-profile-section {
  padding: 0 16px 16px;
}

.wordfeed-profile-settings-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border-divider);
  border-radius: 10px;
  background: var(--surface-inset);
}

.wordfeed-profile-edit {
  overflow: hidden;
  border: 1px solid var(--border-divider);
  border-radius: 10px;
  background: var(--surface-inset);
}

.wordfeed-profile-edit summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.wordfeed-profile-edit summary::-webkit-details-marker {
  display: none;
}

.wordfeed-profile-edit__button {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  color: var(--accent);
  border: 1px solid var(--border-divider);
  border-radius: 999px;
  background: var(--surface-feed);
  font-size: 12px;
  font-weight: 800;
}

.wordfeed-profile-edit .wordfeed-profile-settings-form {
  border: 0;
  border-top: 1px solid var(--border-divider);
  border-radius: 0;
  background: transparent;
}

.wordfeed-profile-settings-form + .wordfeed-profile-settings-form {
  margin-top: 12px;
}

.wordfeed-profile-settings-form label {
  display: grid;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
}

.wordfeed-profile-settings-form input[type="text"],
.wordfeed-profile-settings-form input[type="url"],
.wordfeed-profile-settings-form textarea {
  width: 100%;
  min-width: 0;
  padding: 10px 11px;
  color: var(--text-primary);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-card);
  background: var(--surface-feed);
  font: inherit;
  font-size: 14px;
  outline: 0;
}

.wordfeed-profile-settings-form textarea {
  resize: vertical;
}

.wordfeed-profile-settings-form input:focus,
.wordfeed-profile-settings-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 13%, transparent);
}

.wordfeed-newsletter-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--border-divider);
  border-radius: 10px;
  background: var(--surface-inset);
}

.wordfeed-profile-section.is-subscribed .wordfeed-newsletter-card {
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border-divider));
  background: color-mix(in srgb, var(--accent) 6%, var(--surface-feed));
}

.wordfeed-newsletter-card__icon {
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  color: var(--icon-default);
  border: 1px solid var(--border-divider);
  border-radius: 10px;
  background: var(--surface-feed);
}

.wordfeed-profile-section.is-subscribed .wordfeed-newsletter-card__icon {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}

.wordfeed-newsletter-card__icon .wordfeed-icon {
  width: 18px;
  height: 18px;
}

.wordfeed-newsletter-card h2 {
  margin: 0 0 4px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
}

.wordfeed-newsletter-card p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.wordfeed-settings-list {
  overflow: hidden;
  border: 1px solid var(--border-divider);
  border-radius: 10px;
}

.wordfeed-settings-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-divider);
}

.wordfeed-settings-row:last-child {
  border-bottom: 0;
}

.wordfeed-settings-row .wordfeed-icon {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--icon-default);
}

.wordfeed-settings-row span {
  min-width: 0;
  flex: 1;
}

.wordfeed-settings-row em,
.wordfeed-liked-row em {
  display: block;
  color: var(--text-muted);
  font-size: 11.5px;
  font-style: normal;
}

.wordfeed-settings-row strong,
.wordfeed-liked-row strong {
  display: block;
  overflow: hidden;
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wordfeed-profile__session {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.wordfeed-profile__session a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 13px 14px;
  color: var(--text-primary);
  border: 1px solid var(--border-divider);
  border-radius: 10px;
  background: var(--surface-inset);
  font-size: 14px;
  font-weight: 600;
}

.wordfeed-profile__session a:hover {
  background: var(--surface-feed);
}

.wordfeed-profile__session a.is-danger {
  color: #d92243;
  border-color: color-mix(in srgb, #d92243 25%, var(--border-divider));
  background: color-mix(in srgb, #d92243 4%, var(--surface-inset));
}

.wordfeed-profile__session .wordfeed-icon {
  width: 17px;
  height: 17px;
}

.wordfeed-profile-empty {
  display: grid;
  min-height: 220px;
  place-items: center;
  align-content: center;
  padding: 48px 24px;
  color: var(--text-muted);
  text-align: center;
}

.wordfeed-profile-empty .wordfeed-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  color: var(--icon-default);
}

.wordfeed-profile-empty p {
  margin: 0;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}

.wordfeed-profile-empty span {
  margin-top: 4px;
  font-size: 13px;
}

.wordfeed-profile-list {
  border-top: 1px solid var(--border-divider);
}

.wordfeed-profile-comments {
  border-top: 1px solid var(--border-divider);
}

.wordfeed-profile-comments__sort-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 13px 16px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-divider);
  background: var(--surface-inset);
}

.wordfeed-profile-comments__sort-note .wordfeed-icon {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 2px;
  color: var(--icon-default);
}

.wordfeed-profile-comments__sort-note p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
}

.wordfeed-profile-comment-group {
  border-bottom: 1px solid var(--border-divider);
}

.wordfeed-profile-comment-group__header {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px 10px;
}

.wordfeed-profile-comment-group__header a {
  min-width: 0;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
}

.wordfeed-profile-comment-group__header a:hover {
  text-decoration: underline;
}

.wordfeed-profile-comment-group__header span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wordfeed-profile-comment-group__header time {
  flex: none;
  color: var(--text-muted);
  font-size: 12px;
}

.wordfeed-profile-comment-group .wordfeed-profile-list {
  border-top: 0;
}

.wordfeed-profile-comment {
  padding: 16px;
  border-bottom: 1px solid var(--border-divider);
}

.wordfeed-profile-comment-group .wordfeed-profile-comment {
  padding-top: 12px;
}

.wordfeed-profile-comment-group .wordfeed-profile-comment:last-child {
  border-bottom: 0;
}

.wordfeed-profile-comment p {
  margin: 0 0 10px;
  color: var(--text-primary);
  font-size: 13.5px;
  line-height: 1.6;
}

.wordfeed-profile-comment a,
.wordfeed-liked-row {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--text-muted);
  font-size: 12.5px;
}

.wordfeed-profile-comment a .wordfeed-icon {
  width: 12px;
  height: 12px;
  flex: none;
}

.wordfeed-profile-comment a span {
  overflow: hidden;
  text-decoration: underline;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wordfeed-profile-comment time {
  flex: none;
}

.wordfeed-profile-comments__pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-top: 1px solid var(--border-divider);
}

.wordfeed-profile-comments__pagination > span {
  color: var(--text-muted);
  font-size: 12.5px;
}

.wordfeed-profile-comments__pagination .page-numbers {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wordfeed-profile-comments__pagination .page-numbers a,
.wordfeed-profile-comments__pagination .page-numbers span {
  display: inline-flex;
  min-width: 32px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  color: var(--text-secondary);
  border: 1px solid var(--border-divider);
  border-radius: 6px;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.wordfeed-profile-comments__pagination .page-numbers .current {
  color: var(--surface-feed);
  border-color: var(--text-primary);
  background: var(--text-primary);
}

.wordfeed-profile-comments__pagination .page-numbers a:hover {
  color: var(--text-primary);
  background: var(--surface-inset);
}

.wordfeed-liked-row {
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-divider);
}

.wordfeed-liked-row:hover {
  background: var(--surface-inset);
}

.wordfeed-liked-row > .wordfeed-icon {
  width: 15px;
  height: 15px;
  flex: none;
  color: #d92243;
}

.wordfeed-liked-row span {
  min-width: 0;
  flex: 1;
}

.wordfeed-liked-row time {
  flex: none;
  color: var(--text-muted);
  font-size: 12px;
}

.wordfeed-directory__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-divider);
}

.wordfeed-directory__description {
  margin: 0;
  padding: 16px 16px 6px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.wordfeed-directory__search {
  position: relative;
  display: flex;
  min-width: 180px;
  flex: 1 1 220px;
  align-items: center;
}

.wordfeed-directory__search .wordfeed-icon {
  position: absolute;
  left: 10px;
  width: 15px;
  height: 15px;
  color: var(--icon-default);
  pointer-events: none;
}

.wordfeed-directory__search input {
  width: 100%;
  height: 34px;
  padding: 0 10px 0 32px;
  color: var(--text-primary);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-card);
  background: var(--surface-feed);
  font-size: 13px;
  outline: 0;
  transition: border-color var(--dur-fast) var(--ease-standard);
}

.wordfeed-directory__search input:focus {
  border-color: var(--border-strong);
}

.wordfeed-directory__search:focus-within .wordfeed-icon {
  color: var(--icon-active);
}

.wordfeed-directory__sort {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 4px;
}

.wordfeed-directory__sort button,
.wordfeed-directory__reset {
  display: inline-flex;
  gap: 6px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  color: var(--text-secondary);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.wordfeed-directory__sort button .wordfeed-icon {
  width: 14px;
  height: 14px;
  flex: none;
}

.wordfeed-directory__sort button:hover,
.wordfeed-directory__reset:hover {
  background: var(--surface-inset);
  text-decoration: none;
}

.wordfeed-directory__sort button[aria-pressed="true"] {
  color: var(--surface-feed);
  border-color: var(--text-primary);
  background: var(--text-primary);
  font-weight: 600;
}

.wordfeed-directory__letter {
  padding: 12px 16px 6px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.wordfeed-directory-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-divider);
  font-family: var(--font-sans);
  transition: background var(--dur-fast) var(--ease-standard);
}

.wordfeed-directory-row:hover {
  background: var(--surface-inset);
  text-decoration: none;
}

.wordfeed-directory-row__marker {
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  place-items: center;
  color: var(--wordfeed-term-color, var(--tag-neutral));
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--wordfeed-term-color, var(--tag-neutral)) 12%, transparent);
  font-size: 16px;
  font-weight: 700;
}

.wordfeed-directory-row--label .wordfeed-directory-row__marker {
  color: var(--label-text-light, var(--wordfeed-term-color, var(--tag-neutral)));
  background: var(--label-bg-light, color-mix(in srgb, var(--wordfeed-term-color, var(--tag-neutral)) 12%, transparent));
}

:root[data-theme="dark"] .wordfeed-directory-row--label .wordfeed-directory-row__marker,
.dark .wordfeed-directory-row--label .wordfeed-directory-row__marker {
  color: var(--label-text-dark, var(--label-text-light, var(--wordfeed-term-color, var(--tag-neutral))));
  background: var(--label-bg-dark, var(--label-bg-light, color-mix(in srgb, var(--wordfeed-term-color, var(--tag-neutral)) 16%, transparent)));
}

.wordfeed-directory-row--category .wordfeed-directory-row__marker {
  width: 44px;
  height: 44px;
  color: var(--tag-green);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--tag-green) 12%, transparent);
}

.wordfeed-directory-row__marker .wordfeed-icon {
  width: 20px;
  height: 20px;
}

.wordfeed-directory-row__body {
  display: block;
  min-width: 0;
  flex: 1;
}

.wordfeed-directory-row strong {
  display: block;
  overflow: hidden;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wordfeed-directory-row em {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wordfeed-directory-row__count {
  display: inline-flex;
  flex: none;
  align-items: center;
  color: var(--text-muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.wordfeed-directory-row__chevron {
  display: inline-flex;
  flex: none;
  color: var(--text-muted);
}

.wordfeed-directory-row__chevron .wordfeed-icon {
  width: 18px;
  height: 18px;
}

.wordfeed-pattern {
  padding: 16px;
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-card);
}

.wordfeed-rail {
  position: fixed;
  top: var(--safe-area-top);
  left: var(--safe-area-left);
  z-index: 50;
  display: flex;
  width: var(--rail-width);
  height: calc(100vh - var(--safe-area-top) - var(--safe-area-bottom));
  height: calc(100dvh - var(--safe-area-top) - var(--safe-area-bottom));
  flex-direction: column;
  align-items: center;
  padding: 12px 0 20px;
  pointer-events: none;
}

.wordfeed-rail__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wordfeed-rail__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  pointer-events: auto;
}

.wordfeed-rail__button {
  position: relative;
  display: inline-grid;
  width: var(--rail-target);
  height: var(--rail-target);
  place-items: center;
  color: var(--icon-default);
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  transition: color var(--dur-fast) var(--ease-standard);
}

.wordfeed-rail__button:hover,
.wordfeed-rail__button:focus-visible,
.wordfeed-rail__button.is-active {
  color: var(--icon-active);
  background: transparent;
  text-decoration: none;
}

.wordfeed-rail__button.is-active .wordfeed-icon svg {
  stroke-width: 2.25px;
}

.wordfeed-rail__button .wordfeed-icon {
  width: 24px;
  height: 24px;
}

.wordfeed-theme-toggle {
  margin-top: 0;
}

.wordfeed-theme-toggle__sun {
  display: none;
}

:root[data-theme="dark"] .wordfeed-theme-toggle__moon,
.dark .wordfeed-theme-toggle__moon {
  display: none;
}

:root[data-theme="dark"] .wordfeed-theme-toggle__sun,
.dark .wordfeed-theme-toggle__sun {
  display: inline;
}

.wordfeed-accent-picker {
  position: relative;
  display: flex;
  justify-content: center;
}

.wordfeed-accent-picker::before {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 10px;
  content: "";
}

.wordfeed-accent-picker__panel {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  padding: 6px;
  background: var(--surface-overlay);
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md), 0 8px 24px -8px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.wordfeed-accent-picker:hover .wordfeed-accent-picker__panel,
.wordfeed-accent-picker:focus-within .wordfeed-accent-picker__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%);
}

.wordfeed-accent-picker__swatch {
  width: 20px;
  height: 20px;
  padding: 0;
  border: 1px solid var(--border-divider);
  border-radius: var(--radius-pill);
  background: var(--swatch-color);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-standard);
}

.wordfeed-accent-picker__swatch[aria-selected="true"] {
  border: 2px solid var(--text-primary);
  outline: 2px solid var(--surface-overlay);
  outline-offset: -3px;
}

.wordfeed-accent-picker__swatch:hover {
  transform: scale(1.12);
}

.wordfeed-rail__author {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  padding: 2px;
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  pointer-events: auto;
}

.wordfeed-rail__author img {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--surface-inset);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.wordfeed-rail__author img {
  object-fit: cover;
}

.wordfeed-rail__tooltip {
  position: absolute;
  left: calc(100% + 6px);
  top: 50%;
  z-index: 200;
  padding: 4px 8px;
  color: var(--text-primary);
  background: var(--surface-overlay);
  border: 1px solid var(--border-divider);
  border-radius: 6px;
  box-shadow: var(--shadow-md), 0 4px 12px -4px rgba(0, 0, 0, 0.18);
  font-size: var(--text-caption);
  font-weight: 500;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(-4px);
  transition: opacity var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
  transition-delay: 0ms;
  white-space: nowrap;
}

.wordfeed-rail__button:hover .wordfeed-rail__tooltip,
.wordfeed-rail__button:focus-visible .wordfeed-rail__tooltip,
.wordfeed-rail__author:hover .wordfeed-rail__tooltip,
.wordfeed-rail__author:focus-visible .wordfeed-rail__tooltip {
  opacity: 1;
  transform: translateY(-50%);
  transition-delay: 200ms;
}

.wordfeed-icon {
  position: relative;
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.wordfeed-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  flex: none;
}

.wordfeed-icon::before,
.wordfeed-icon::after {
  display: none;
}

@media (min-width: 721px) {
  .wordfeed-bottom-nav,
  .wordfeed-mobile-menu {
    display: none;
  }
}

.wpcards-activity,
.wpcards-member-list {
  margin: 0;
  padding: 0;
}

.wpcards-member-list {
  list-style: none;
}

.wpcards-member-list li {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-divider);
}

.wpcards-member-list__meta {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: var(--text-caption);
}

@media (max-width: 720px) {
  :root {
    --mobile-bottom-nav-height: 60px;
    --mobile-bottom-safe-area: max(0px, var(--safe-area-bottom));
    --bottombar-height: var(--mobile-bottom-nav-height);
    --bottomnav-offset: 0px;
    --mobile-floating-width: min(calc(100vw - 12px), 460px);
    --mobile-glass-filter: blur(30px) saturate(180%);
    --mobile-glass-background: color-mix(in srgb, var(--surface-overlay) 88%, transparent);
    --mobile-menu-background: color-mix(in srgb, var(--surface-overlay) 92%, transparent);
    --mobile-menu-item-background: color-mix(in srgb, var(--surface-overlay) 92%, transparent);
    --mobile-menu-gap: 10px;
    --mobile-menu-bottom: calc(var(--bottomnav-offset) + var(--mobile-bottom-nav-height) + var(--mobile-bottom-safe-area) + var(--mobile-menu-gap));
    --bottomnav-clearance: calc(var(--mobile-bottom-nav-height) + var(--mobile-bottom-safe-area) + var(--bottomnav-offset) + 18px);
    --bottomnav-z: 360;
    --mobile-menu-z: 340;
  }

  .wordfeed-column-shell {
    padding: 0 0 var(--bottomnav-clearance);
  }

  .wordfeed-feed {
    width: 100%;
    min-height: calc(100vh - var(--safe-area-top));
    min-height: calc(100dvh - var(--safe-area-top));
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .wordfeed-taxonomy-header {
    min-height: 58px;
    gap: 10px;
    padding: 0 16px;
  }

  .wordfeed-taxonomy-header h1 {
    font-size: 18px;
  }

  .wordfeed-taxonomy-description {
    padding: 0 16px 14px;
    font-size: 12px;
    line-height: 1.45;
  }

  .wordfeed-taxonomy-header__actions {
    gap: 8px;
  }

  .wordfeed-taxonomy-header__count {
    font-size: 13px;
  }

  .wordfeed-taxonomy-header__back {
    min-height: 36px;
    gap: 6px;
    padding: 0 12px 0 10px;
    font-size: 14px;
  }

  .wordfeed-taxonomy-header__back .wordfeed-icon {
    width: 16px;
    height: 16px;
  }

  .wordfeed-rail {
    display: none;
  }

  .wordfeed-bottom-nav {
    position: fixed;
    right: 0;
    bottom: var(--bottomnav-offset);
    left: 0;
    z-index: var(--bottomnav-z);
    display: grid;
    width: 100%;
    height: calc(var(--mobile-bottom-nav-height) + var(--mobile-bottom-safe-area));
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 0 0 var(--mobile-bottom-safe-area);
    overflow: hidden;
    background: var(--mobile-glass-background);
    border: 0;
    border-top: 1px solid color-mix(in srgb, var(--border-divider) 80%, transparent);
    border-radius: 0;
    box-shadow: 0 -8px 22px -20px rgba(0, 0, 0, 0.32);
    -webkit-backdrop-filter: var(--mobile-glass-filter);
    backdrop-filter: var(--mobile-glass-filter);
    backface-visibility: hidden;
    contain: layout paint style;
    transform: translate3d(0, 0, 0);
    transition: background var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard), transform 220ms var(--ease-standard);
    will-change: transform;
  }

  .wordfeed-bottom-nav.is-scroll-hidden {
    pointer-events: none;
    transform: translate3d(0, calc(100% + 1px), 0);
  }

  .wordfeed-bottom-nav.is-menu-open {
    background: var(--mobile-menu-background);
    border-top-color: color-mix(in srgb, var(--border-divider) 84%, transparent);
    box-shadow: 0 -8px 22px -20px rgba(0, 0, 0, 0.32);
  }

  .wordfeed-bottom-nav__link {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    place-items: center;
    align-content: center;
    gap: 1px;
    padding: 0;
    color: var(--icon-default);
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.12;
    transition: color var(--dur-fast) var(--ease-standard), background var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
  }

  .wordfeed-bottom-nav__link:hover,
  .wordfeed-bottom-nav__link.is-active {
    color: var(--icon-active);
    background: transparent;
    text-decoration: none;
  }

  .wordfeed-bottom-nav__link:active {
    transform: scale(0.97);
  }

  .wordfeed-bottom-nav__link[aria-expanded="true"] {
    color: var(--accent);
    background: transparent;
  }

  .wordfeed-bottom-nav__link.is-active .wordfeed-icon,
  .wordfeed-bottom-nav__link[aria-expanded="true"] .wordfeed-icon,
  .wordfeed-bottom-nav__link.is-active .wordfeed-mobile-menu__avatar {
    color: var(--accent);
  }

  .wordfeed-bottom-nav .wordfeed-icon {
    width: 20px;
    height: 20px;
  }

  .wordfeed-bottom-nav .wordfeed-activity-badge {
    top: 4px;
    right: calc(50% - 19px);
    border-color: color-mix(in srgb, var(--surface-overlay) 78%, transparent);
  }

  .wordfeed-bottom-nav__menu-icon {
    display: grid;
    place-items: center;
  }

  .wordfeed-bottom-nav__menu-icon--close,
  .wordfeed-bottom-nav__link[aria-expanded="true"] .wordfeed-bottom-nav__menu-icon--open {
    display: none;
  }

  .wordfeed-bottom-nav__link[aria-expanded="true"] .wordfeed-bottom-nav__menu-icon--close {
    display: grid;
  }

  .wordfeed-feed-header {
    gap: 6px;
    overflow: hidden;
    padding: 0 8px 0 16px;
    background: color-mix(in srgb, var(--surface-feed) 94%, transparent);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    backdrop-filter: blur(20px) saturate(170%);
  }

  .wordfeed-feed-header__identity {
    display: none;
  }

  .wordfeed-feed-header__mobile-title {
    display: block;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    line-height: var(--header-height);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .wordfeed-feed-header--menu {
    padding-left: 0;
  }

  .wordfeed-feed-header--menu .wordfeed-feed-header__mobile-title {
    display: none;
  }

  .wordfeed-feed-header__menus {
    --wordfeed-menu-fade-size: 34px;
    position: relative;
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
    gap: 2px;
    height: var(--header-height);
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: 8px;
    padding-left: 0;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 18px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 100%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    scrollbar-width: none;
  }

  .wordfeed-feed-header__menus.has-left-fade {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--wordfeed-menu-fade-size), #000 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 var(--wordfeed-menu-fade-size), #000 100%);
  }

  .wordfeed-feed-header__menus.has-right-fade {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - var(--wordfeed-menu-fade-size)), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - var(--wordfeed-menu-fade-size)), transparent 100%);
  }

  .wordfeed-feed-header__menus.has-left-fade.has-right-fade {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--wordfeed-menu-fade-size), #000 calc(100% - var(--wordfeed-menu-fade-size)), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 var(--wordfeed-menu-fade-size), #000 calc(100% - var(--wordfeed-menu-fade-size)), transparent 100%);
  }

  .wordfeed-feed-header__menus a {
    height: var(--header-height);
    scroll-snap-align: start;
    padding: 0 11px;
    color: var(--text-muted);
    border-radius: 0;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    line-height: var(--header-height);
    transition: color var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
  }

  .wordfeed-feed-header__menus a:hover,
  .wordfeed-feed-header__menus a:focus-visible {
    color: var(--text-primary);
    background: transparent;
  }

  .wordfeed-feed-header__menus a[aria-current="page"] {
    color: var(--text-primary);
    background: transparent;
    font-weight: 600;
  }

  .wordfeed-feed-header__menus a[aria-current="page"]::after {
    right: 11px;
    bottom: 0;
    left: 11px;
    height: 2px;
    background: var(--text-primary);
  }

  .wordfeed-feed-header__menus a:active,
  .wordfeed-header-icon-button:active,
  .wordfeed-filter-button:active {
    transform: scale(0.96);
  }

  .wordfeed-feed-header__actions {
    flex: 0 0 auto;
    gap: 2px;
    margin-left: auto;
  }

  .wordfeed-header-icon-button {
    display: inline-grid;
  }

  .wordfeed-search-page--with-filters .wordfeed-search-page__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .wordfeed-search-page__filters {
    position: static;
    max-height: none;
    order: -1;
    border-bottom: 1px solid var(--border-divider);
    border-left: 0;
  }

  .wordfeed-search-result {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
  }

  .wordfeed-search-result__thumb {
    width: 84px;
  }

  .wordfeed-search-result__title {
    font-size: 18px;
  }

  .wordfeed-enhanced-search__content {
    padding: 12px;
  }

  .wordfeed-not-found__hero {
    padding: 28px 16px 22px;
  }

  .wordfeed-activity__intro,
  .wordfeed-auth-gate__actions,
  .wordfeed-profile__info p {
    flex-direction: column;
    align-items: flex-start;
  }

  .wordfeed-activity__intro {
    justify-content: flex-start;
    gap: 10px;
    padding: 14px 16px 12px;
  }

  .wordfeed-activity__intro p {
    width: 100%;
    flex: 0 1 auto;
  }

  .wordfeed-activity__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .wordfeed-directory__toolbar {
    align-items: stretch;
  }

  .wordfeed-directory__search {
    flex-basis: 100%;
  }

  .wordfeed-directory__sort {
    flex: 1 1 auto;
  }

  .wordfeed-directory__sort button {
    flex: 1 1 auto;
    min-width: 64px;
  }

  .wordfeed-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: var(--mobile-menu-z);
    display: block;
    visibility: hidden;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-base) var(--ease-standard), visibility 0s linear var(--dur-base);
    will-change: opacity;
  }

  .wordfeed-mobile-menu[hidden] {
    display: none;
  }

  .wordfeed-mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .wordfeed-mobile-menu__sheet {
    position: absolute;
    right: auto;
    bottom: var(--mobile-menu-bottom);
    left: 50%;
    display: block;
    width: var(--mobile-floating-width);
    max-height: min(62vh, calc(100vh - var(--mobile-menu-bottom) - var(--header-height) - 12px));
    overflow-y: auto;
    padding: 10px;
    background: var(--mobile-menu-background);
    border: 1px solid color-mix(in srgb, var(--border-divider) 82%, transparent);
    border-radius: 24px;
    box-shadow:
      0 18px 42px -24px rgba(0, 0, 0, 0.42),
      0 8px 20px -14px rgba(0, 0, 0, 0.28),
      inset 0 1px 0 color-mix(in srgb, #fff 30%, transparent);
    -webkit-backdrop-filter: var(--mobile-glass-filter);
    backdrop-filter: var(--mobile-glass-filter);
    backface-visibility: hidden;
    contain: layout paint style;
    isolation: isolate;
    overscroll-behavior: contain;
    scrollbar-width: none;
    opacity: 0;
    transform: translate3d(-50%, 12px, 0);
    transition: opacity var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard);
    will-change: opacity, transform, backdrop-filter;
  }

  .wordfeed-mobile-menu.is-open .wordfeed-mobile-menu__sheet {
    opacity: 1;
    transform: translate3d(-50%, 0, 0);
  }

  .wordfeed-mobile-menu__sheet::-webkit-scrollbar {
    display: none;
  }

  .wordfeed-mobile-menu__handle {
    display: block;
    width: 34px;
    height: 3px;
    margin: 0 auto 10px;
    border-radius: 2px;
    background: color-mix(in srgb, var(--border-divider) 84%, transparent);
  }

  .wordfeed-mobile-menu__section {
    margin-bottom: 12px;
  }

  .wordfeed-mobile-menu__section:last-child {
    margin-bottom: 0;
  }

  .wordfeed-mobile-menu__section h2 {
    margin: 0 5px 7px;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .wordfeed-mobile-menu__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .wordfeed-mobile-menu__item {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    gap: 9px;
    padding: 0 12px;
    color: var(--text-primary);
    border: 1px solid color-mix(in srgb, var(--border-divider) 84%, transparent);
    border-radius: 16px;
    background: var(--mobile-menu-item-background);
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    transition: color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard), background var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
  }

  .wordfeed-mobile-menu__item:hover,
  .wordfeed-mobile-menu__item.is-active {
    color: var(--accent);
    border-color: color-mix(in srgb, var(--accent) 48%, transparent);
    background: color-mix(in srgb, var(--accent) 12%, var(--surface-overlay) 52%);
    text-decoration: none;
  }

  .wordfeed-mobile-menu__item:active {
    transform: translateY(1px);
  }

  .wordfeed-mobile-menu__item .wordfeed-icon {
    width: 20px;
    height: 20px;
    flex: none;
    color: var(--icon-default);
  }

  .wordfeed-mobile-menu__item:hover .wordfeed-icon,
  .wordfeed-mobile-menu__item.is-active .wordfeed-icon {
    color: var(--accent);
  }

  .wordfeed-mobile-menu__item--button {
    cursor: pointer;
  }

  .wordfeed-mobile-menu__accents {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 0 10px;
    border: 1px solid color-mix(in srgb, var(--border-divider) 84%, transparent);
    border-radius: 16px;
    background: var(--mobile-menu-item-background);
  }

  .wordfeed-mobile-menu__accents .wordfeed-accent-picker__swatch {
    position: static;
    width: 22px;
    height: 22px;
    opacity: 1;
    transform: none;
  }

  .wordfeed-mobile-menu__avatar {
    position: relative;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    overflow: visible;
    border-radius: var(--radius-pill);
  }

  .wordfeed-mobile-menu__avatar img {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    overflow: hidden;
    border-radius: var(--radius-pill);
    background: var(--surface-inset);
    font-size: 11px;
    font-weight: 700;
  }

  .wordfeed-article {
    padding-right: 16px;
    padding-left: 16px;
  }

  .wordfeed-article__title {
    font-size: 34px;
  }

  .wordfeed-feed--standalone-article .wordfeed-article {
    padding: 20px 16px 16px;
  }

  .wordfeed-feed--standalone-article .wordfeed-article__title {
    font-size: 30px;
    line-height: 1.16;
  }

  .wordfeed-related-posts__link {
    gap: 8px;
  }

  .wordfeed-related-posts__link.has-thumbnail {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }

  .wordfeed-related-posts__media {
    width: 48px;
  }

  .wordfeed-author {
    padding: 0;
  }

  .wordfeed-author-header {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .wordfeed-author__newsletter .wp-block-jetpack-subscriptions__container form {
    grid-template-columns: minmax(0, 1fr) max-content;
  }

  .wordfeed-author__contact-grid {
    grid-template-columns: 1fr;
  }

  .wordfeed-author__contact-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .wordfeed-author__contact button,
  .wordfeed-author__message {
    width: 100%;
  }

  .wordfeed-author__newsletter input {
    height: 38px;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 14px;
  }

  .wordfeed-author__newsletter button {
    width: auto;
    min-width: 92px;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .wordfeed-author__rss-base-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 8px;
  }

  .wordfeed-author__rss-base-row code {
    grid-column: 1 / 2;
  }

  .wordfeed-author__rss-base-row button {
    grid-row: 1 / span 2;
    grid-column: 2 / 3;
  }

  .wordfeed-author__rss-fields {
    grid-template-columns: 1fr;
  }

  .wordfeed-author__rss-output > div {
    grid-template-columns: 1fr;
  }

  .wordfeed-author__rss-output button {
    width: 100%;
    min-width: 0;
  }

  .wordfeed-comments {
    padding-right: 16px;
    padding-left: 16px;
  }

  .wordfeed-comments__header {
    align-items: center;
    gap: 10px;
  }

  .wordfeed-comments__user,
  .wordfeed-comments__signin {
    max-width: 52%;
  }

  .wordfeed-comment-list .children {
    margin-left: 10px;
    padding-left: 18px;
  }

  .wordfeed-comment-list .children > .wordfeed-comment::before {
    top: -56px;
    left: -18px;
    width: 9px;
    height: 90px;
  }

  .wordfeed-comment .wordfeed-comment-form {
    margin-left: 0;
  }

  .wordfeed-modal {
    --wordfeed-modal-shell-height: 100dvh;
    display: block;
    padding: 0;
    background: transparent;
    overscroll-behavior: contain;
    touch-action: pan-y;
    animation: none;
  }

  .wordfeed-modal__panel {
    position: relative;
    min-height: 100dvh;
    max-width: none;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    contain: layout style;
    will-change: transform;
    animation: wordfeed-modal-cover-in 180ms var(--ease-standard);
    transition: transform 280ms var(--ease-standard);
  }

  .wordfeed-modal__panel::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -18px;
    width: 18px;
    z-index: 1;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.14));
    content: "";
    pointer-events: none;
  }

  .wordfeed-modal.is-closing {
    animation: none;
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
  }

  .wordfeed-modal.is-dragging,
  .wordfeed-modal.is-swipe-canceling {
    animation: none;
  }

  .wordfeed-modal.is-dragging .wordfeed-modal__panel {
    transform: translate3d(var(--wordfeed-modal-drag-x), 0, 0);
    transition: none;
  }

  .wordfeed-modal.is-swipe-canceling .wordfeed-modal__panel {
    transform: translate3d(var(--wordfeed-modal-drag-x), 0, 0);
  }

  .wordfeed-modal.is-closing .wordfeed-modal__panel {
    transform: translate3d(100%, 0, 0);
    animation: none;
    transition: transform 340ms var(--ease-standard);
  }

  .wordfeed-modal.is-swipe-closing .wordfeed-modal__panel {
    transition: transform 280ms var(--ease-standard);
  }

  .wordfeed-modal.is-history-closing .wordfeed-modal__panel {
    transition: transform 640ms var(--ease-standard);
  }

  .wordfeed-modal__bar {
    position: static;
    top: auto;
    height: 50px;
    padding-right: 6px;
    padding-left: 14px;
  }

  .wordfeed-modal__meta {
    font-size: 12px;
  }

  .wordfeed-modal__icon {
    width: 34px;
    height: 34px;
  }

  .wordfeed-modal .wordfeed-article {
    padding: 20px 16px var(--bottomnav-clearance);
  }

  .wordfeed-modal .wordfeed-article__title {
    font-size: 30px;
    line-height: 1.16;
  }

  .wordfeed-modal .wordfeed-comments {
    padding-bottom: 96px;
  }

  .wordfeed-modal .wordfeed-linked-references {
    margin-right: 0;
    margin-left: 0;
  }

  .wordfeed-lightbox {
    padding: 56px 12px 24px;
  }

  .wordfeed-lightbox__close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }

  .wordfeed-lightbox__figure {
    max-width: 100%;
  }

  .wordfeed-lightbox__figure img {
    max-height: calc(100dvh - 108px);
  }
}

@media (max-width: 1079px) {
  .wordfeed-toc {
    display: none;
  }
}
