:root {
  --bg: #fff;
  --chrome: #f5f5f5;
  --chrome-dark: #e5e5e5;
  --line: #d9d9d9;
  --soft-line: #ececec;
  --text: #222;
  --muted: #666;
  --faint: #999;
  --blue: #1a73e8;
  --orange: #dd4b39;
  --yellow: #f4b400;
  --green: #0f9d58;
  --selected: #e8f0fe;
  --hover: #f1f3f4;
  --shadow: 0 1px 4px rgb(0 0 0 / 20%);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  height: 100%;
  margin: 0;
}

body {
  color: var(--text);
  background: var(--bg);
  font-size: 13px;
  overflow: hidden;
}

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

button {
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #8ab4f8;
  outline-offset: 1px;
}

.reader-shell {
  display: grid;
  grid-template-rows: 60px 1fr;
  height: 100%;
  min-width: 0;
}

.site-shell {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: #fbfaf7;
  color: #1f2933;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 66px;
  padding: 0 clamp(18px, 5vw, 72px);
  border-bottom: 1px solid #dedbd2;
  background: rgb(251 250 247 / 94%);
  backdrop-filter: blur(10px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #263238;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-beta {
  color: #dd4b39;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 26px);
}

.site-nav {
  justify-content: flex-end;
  min-width: 0;
}

.site-nav a,
.site-footer a {
  color: #53616c;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-footer a:hover {
  color: #1a73e8;
}

.site-login-link,
.site-primary,
.site-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-login-link,
.site-secondary {
  border: 1px solid #c9c4b8;
  background: #fff;
  color: #28343d;
}

.site-primary {
  border: 1px solid #1769d1;
  background: #1a73e8;
  color: #fff;
}

.site-secondary:hover,
.site-login-link:hover {
  border-color: #9da4aa;
  background: #f5f7f8;
}

.site-primary:hover {
  background: #1769d1;
}

.site-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(30px, 6vw, 76px);
  min-height: calc(100vh - 66px);
  padding: clamp(44px, 8vw, 94px) clamp(18px, 5vw, 72px) 34px;
}

.hero-copy {
  max-width: 650px;
}

.site-kicker {
  margin: 0 0 12px;
  color: #dd4b39;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-hero h1,
.site-login-intro h1 {
  margin: 0;
  color: #151a1f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 8vw, 86px);
  font-weight: 400;
  line-height: .94;
}

.hero-lede,
.site-login-intro p {
  max-width: 590px;
  margin: 22px 0 0;
  color: #4d5a64;
  font-size: 19px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.reader-preview {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #cfcac0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgb(32 38 43 / 14%);
}

.preview-topbar {
  display: flex;
  align-items: center;
  height: 54px;
  padding: 0 16px;
  border-bottom: 1px solid #dedbd2;
  background: #f5f5f5;
  color: #444;
  font-size: 18px;
}

.preview-body {
  display: grid;
  grid-template-columns: 34% 1fr;
  min-height: 360px;
}

.preview-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px 18px;
  border-right: 1px solid #e6e1d8;
}

.preview-sidebar span,
.preview-list span {
  display: block;
  height: 14px;
  border-radius: 2px;
  background: #dfe5ea;
}

.preview-sidebar span:first-child {
  width: 68%;
  height: 32px;
  background: #dd4b39;
}

.preview-sidebar span:nth-child(2) {
  width: 84%;
}

.preview-sidebar span:nth-child(3) {
  width: 72%;
}

.preview-sidebar span:nth-child(4) {
  width: 78%;
}

.preview-list {
  display: grid;
  align-content: start;
  gap: 0;
}

.preview-list span {
  height: 72px;
  border-bottom: 1px solid #ececec;
  border-radius: 0;
  background:
    linear-gradient(90deg, #f4b400 0 6px, transparent 6px),
    linear-gradient(#fff8e5, #fff8e5);
}

.preview-list span:nth-child(2),
.preview-list span:nth-child(4) {
  background: #fff;
}

.site-band {
  padding: 30px clamp(18px, 5vw, 72px) 74px;
}

.features-page {
  padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 72px) 76px;
}

.features-hero {
  max-width: 820px;
  margin-bottom: 36px;
}

.features-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #151a1f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6.5vw, 72px);
  font-weight: 400;
  line-height: .98;
}

.features-hero p:last-child {
  max-width: 680px;
  margin: 20px 0 0;
  color: #4d5a64;
  font-size: 18px;
  line-height: 1.5;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
}

.feature-item {
  min-height: 154px;
  padding: 22px;
  border: 1px solid #dedbd2;
  border-top: 4px solid #1a73e8;
  border-radius: 8px;
  background: #fff;
}

.feature-item:nth-child(3n + 2) {
  border-top-color: #0f9d58;
}

.feature-item:nth-child(3n) {
  border-top-color: #f4b400;
}

.feature-item h2 {
  margin: 0 0 10px;
  color: #202a33;
  font-size: 20px;
}

.feature-item p {
  margin: 0;
  color: #56636e;
  font-size: 13px;
  line-height: 1.5;
}

.pricing-page {
  padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 72px) 80px;
}

.pricing-hero {
  max-width: 820px;
  margin-bottom: 36px;
}

.pricing-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #151a1f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6.5vw, 72px);
  font-weight: 400;
  line-height: .98;
}

.pricing-hero p:last-child {
  max-width: 700px;
  margin: 20px 0 0;
  color: #4d5a64;
  font-size: 18px;
  line-height: 1.5;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  gap: 22px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 26px;
  border: 1px solid #dedbd2;
  border-top: 4px solid #1a73e8;
  border-radius: 8px;
  background: #fff;
}

.pricing-card-future {
  border-top-color: #0f9d58;
}

.pricing-card-header h2 {
  margin: 0 0 12px;
  color: #202a33;
  font-size: 24px;
}

.pricing-price {
  margin: 0 0 14px;
  color: #151a1f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1;
}

.pricing-card-header p:last-child,
.pricing-note {
  margin: 0;
  color: #56636e;
  font-size: 15px;
  line-height: 1.5;
}

.pricing-list {
  display: grid;
  gap: 11px;
  margin: 24px 0;
  padding: 0;
  color: #394650;
  font-size: 15px;
  line-height: 1.45;
  list-style: none;
}

.pricing-list li {
  position: relative;
  padding-left: 22px;
}

.pricing-list li::before {
  position: absolute;
  left: 0;
  color: #0f9d58;
  font-weight: 700;
  content: "✓";
}

.pricing-action {
  align-self: flex-start;
  margin-top: auto;
  min-height: 38px;
  padding: 0 16px;
}

.pricing-note {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #ece8df;
}

.legal-page {
  padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 72px) 80px;
}

.legal-hero {
  max-width: 820px;
  margin-bottom: 34px;
}

.legal-hero h1 {
  margin: 0;
  color: #151a1f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6.5vw, 72px);
  font-weight: 400;
  line-height: .98;
}

.legal-hero p:last-child {
  margin: 14px 0 0;
  color: #68737d;
  font-size: 15px;
}

.legal-content {
  max-width: 860px;
}

.legal-section {
  padding: 24px 0;
  border-top: 1px solid #dedbd2;
}

.legal-section h2 {
  margin: 0 0 12px;
  color: #202a33;
  font-size: 21px;
}

.legal-section p {
  margin: 0 0 12px;
  color: #47545f;
  font-size: 15px;
  line-height: 1.65;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1180px;
}

.feature-strip article {
  padding-top: 18px;
  border-top: 3px solid #1a73e8;
}

.feature-strip article:nth-child(2) {
  border-color: #0f9d58;
}

.feature-strip article:nth-child(3) {
  border-color: #f4b400;
}

.feature-strip h2 {
  margin: 0 0 10px;
  color: #1f2933;
  font-size: 20px;
}

.feature-strip p {
  margin: 0;
  color: #56636e;
  font-size: 15px;
  line-height: 1.5;
}

.site-login-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  align-items: center;
  gap: clamp(28px, 6vw, 74px);
  min-height: calc(100vh - 136px);
  padding: clamp(42px, 8vw, 92px) clamp(18px, 5vw, 72px);
}

.site-login-intro {
  max-width: 620px;
}

.site-login-panel {
  width: 100%;
  padding: 28px;
  border: 1px solid #dedbd2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgb(32 38 43 / 10%);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 0 clamp(18px, 5vw, 72px);
  border-top: 1px solid #dedbd2;
  color: #66717a;
}

.login-shell {
  grid-row: 1 / -1;
  display: grid;
  place-items: start center;
  min-height: 100vh;
  padding: 86px 18px 24px;
  background: #fff;
}

.login-panel {
  width: min(100%, 360px);
}

.google-blue {
  color: #4285f4;
}

.google-red {
  color: #db4437;
}

.google-yellow {
  color: #f4b400;
}

.google-green {
  color: #0f9d58;
}

.login-form {
  display: grid;
  gap: 8px;
}

.google-signin {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 0 22px;
  border: 1px solid #c4c7c5;
  border-radius: 4px;
  background: #fff;
  color: #1f1f1f;
  font-size: 16px;
  font-weight: 400;
}

.google-signin:hover,
.google-signin:focus {
  border-color: #8c8f8d;
  background: #f8fafd;
}

.google-signin:disabled {
  cursor: default;
  opacity: .62;
}

.google-mark {
  width: 24px;
  height: 24px;
  justify-self: start;
}

.google-signin span {
  justify-self: center;
}

.login-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 14px 0 12px;
  color: #777;
  font-size: 11px;
  text-transform: uppercase;
}

.login-divider::before,
.login-divider::after {
  height: 1px;
  background: var(--soft-line);
  content: "";
}

.login-form label {
  color: #444;
  font-weight: 700;
}

.login-form input {
  width: 100%;
  height: 36px;
  padding: 7px 8px;
  border: 1px solid #c6c6c6;
  border-radius: 2px;
}

.login-form .primary {
  width: 100%;
  height: 34px;
  margin-top: 4px;
}

.primary:disabled,
.login-form input:disabled {
  cursor: default;
  opacity: .62;
}

.login-status {
  min-height: 18px;
  margin: 12px 0 0;
  color: var(--muted);
}

.magic-link-feedback {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 14px;
  border: 1px solid var(--soft-line);
  background: #fff8e5;
  color: #444;
  line-height: 1.4;
}

.magic-link-feedback[hidden] {
  display: none;
}

.magic-link-feedback.sent {
  border-color: #d8c78d;
}

.magic-link-feedback.error {
  grid-template-columns: 1fr;
  border-color: #d8aaa4;
  background: #fff3f1;
  color: #7a2419;
}

.magic-link-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #d8c78d;
  border-top-color: #dd4b39;
  border-radius: 50%;
  animation: reader-spin 800ms linear infinite;
}

.magic-link-retry {
  justify-self: start;
  margin-top: 2px;
}

@keyframes reader-spin {
  to {
    transform: rotate(360deg);
  }
}

.topbar {
  position: relative;
  z-index: 25;
  display: grid;
  grid-template-columns: 240px minmax(220px, 650px) 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--chrome-dark);
  background: var(--chrome);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  font-size: 20px;
  color: #444;
  white-space: nowrap;
}

.brand .site-beta {
  margin-left: 8px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  margin-right: 8px;
  border: 1px solid #c8c8c8;
  background:
    linear-gradient(90deg, transparent 9px, #fff 9px, #fff 11px, transparent 11px),
    linear-gradient(90deg, #4285f4 0 34%, transparent 34% 66%, #0f9d58 66%),
    linear-gradient(#f4b400 0 34%, #f4b400 34% 66%, #db4437 66%);
  box-shadow: inset 0 0 0 3px #fff;
}

.search {
  display: flex;
  height: 30px;
  min-width: 0;
}

.search input {
  width: 100%;
  min-width: 0;
  padding: 5px 8px;
  border: 1px solid #c6c6c6;
  border-right: 0;
  border-radius: 2px 0 0 2px;
  background: #fff;
}

.search button,
.toolbar-button,
.view-button,
.sort-button,
.icon-button {
  min-height: 29px;
  border-color: #c6c6c6;
  border-radius: 2px;
  background: linear-gradient(#fff, #f2f2f2);
  color: #444;
}

.search button {
  width: 70px;
  border-radius: 0 2px 2px 0;
  font-weight: 700;
}

.mobile-search-context {
  display: none;
}

.account,
.sign-in-account {
  justify-self: end;
  max-width: 220px;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: #555;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-area {
  position: relative;
  z-index: 30;
  justify-self: end;
}

.account-avatar-button {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
}

.account-avatar-button:hover,
.account-avatar-button:focus-visible,
.account-avatar-button[aria-expanded="true"] {
  border-color: #c6c6c6;
  background: #fff;
}

.account-avatar {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

img.account-avatar {
  object-fit: cover;
}

.generic-avatar {
  background: var(--selected);
  color: #174ea6;
  font-weight: 700;
}

.account-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 45;
  display: grid;
  min-width: 230px;
  overflow: hidden;
  border: 1px solid #aaa;
  background: #fff;
  box-shadow: var(--shadow);
}

.account-menu-identity {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
}

.account-menu-identity span {
  color: var(--muted);
}

.account-menu-item {
  width: 100%;
  padding: 9px 12px;
  border: 0;
  background: #fff;
  text-align: left;
}

.account-menu-separator {
  height: 1px;
  background: var(--soft-line);
}

.account-menu-item:hover,
.account-menu-item:focus {
  background: var(--selected);
}

.main {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 0;
}

.sidebar {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid var(--line);
  background: #fff;
}

.side-scroll {
  overflow: auto;
  padding: 12px 0 16px;
}

.subscribe {
  margin: 0 16px 12px;
  padding: 6px 16px;
  border: 1px solid #b0281a;
  border-radius: 2px;
  background: linear-gradient(#dd4b39, #d14836);
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.nav-row,
.feed-row,
.folder-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
  width: 100%;
  height: 26px;
  padding: 0 12px 0 16px;
  text-align: left;
}

.feed-row {
  padding-left: 30px;
}

.nav-row.is-hidden,
.feed-row.is-hidden {
  display: none;
}

.nav-child {
  padding-left: 30px;
}

.disclosure-toggle {
  cursor: pointer;
  user-select: none;
}

.feed-icon {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  border-radius: 2px;
  background: transparent;
}

.feed-icon img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.feed-icon.missing {
  background: var(--fallback-color, #999);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 12%);
}

.auth-note {
  margin: 0;
  color: #555;
}

.modal-google-signin {
  margin-bottom: 12px;
}

.nav-row:hover,
.feed-row:hover,
.folder-row:hover,
.active {
  background: var(--selected);
}

.nav-label,
.feed-title,
.folder-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.count {
  color: var(--muted);
  font-weight: 700;
}

.section-title {
  margin: 14px 12px 4px 16px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.sidebar-loading,
.reader-loading {
  color: #777;
  font-size: 12px;
}

.sidebar-loading {
  padding: 8px 16px;
}

.content {
  position: relative;
  display: grid;
  grid-template-rows: 48px 40px 1fr;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
}

.loading-content {
  display: block;
  padding: 18px 16px;
}

.titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid var(--soft-line);
}

.titlebar h1 {
  margin: 0;
  overflow: hidden;
  color: #333;
  font-size: 20px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.titlebar .meta {
  color: var(--muted);
  white-space: nowrap;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--chrome);
}

.toolbar-spacer {
  flex: 1;
}

.toolbar-button,
.view-button,
.sort-button {
  padding: 4px 9px;
}

.icon-toolbar {
  display: inline-grid;
  place-items: center;
  width: 40px;
  min-width: 40px;
  padding: 0;
  color: #666;
}

.fa-icon {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.five-lines-icon {
  width: 17px;
  height: 17px;
}

.view-button[aria-pressed="true"],
.sort-button[aria-pressed="true"],
.read-filter-toggle[aria-pressed="true"] {
  border-color: #aaa;
  background: #e9e9e9;
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 16%);
}

.mobile-menu {
  display: none;
}

.items {
  overflow-x: hidden;
  overflow-y: auto;
  min-width: 0;
  background: #fff;
}

.back-to-top {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 32px;
  padding: 0;
  border-color: transparent;
  background: transparent;
  color: #666;
  box-shadow: none;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: #c6c6c6;
  background: linear-gradient(#fff, #f2f2f2);
  box-shadow: var(--shadow);
}

.back-to-top[hidden] {
  display: none;
}

.item {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  border-bottom: 1px solid var(--soft-line);
  background: #fff;
}

.item.selected {
  background: #fff8e5;
  box-shadow: inset 3px 0 0 var(--yellow);
}

.item-row {
  display: grid;
  grid-template-columns: 28px 150px minmax(0, 1fr) 90px;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  gap: 8px;
  cursor: pointer;
}

.star {
  width: 22px;
  height: 22px;
  color: #bbb;
  font-size: 18px;
  line-height: 18px;
}

.star.is-starred {
  color: var(--yellow);
  text-shadow: 0 0 0 #c58c00;
}

.item-feed,
.item-title,
.item-date {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item-date {
  color: var(--muted);
  text-align: right;
}

.expanded .item-row,
.list .item.open .item-row {
  grid-template-columns: 28px minmax(0, 1fr) 90px;
  align-items: start;
  padding-top: 11px;
}

.expanded .item-feed,
.list .item.open .item-feed {
  display: none;
}

.expanded .item-title,
.list .item.open .item-title {
  font-size: 18px;
  font-weight: 400;
  white-space: normal;
}

.item.unread .item-title,
.item.unread .item-feed,
.item.unread .item-date,
.item.unread .item-source {
  font-weight: 700;
}

.item.unread .item-source {
  color: #333;
}

.item-body {
  display: none;
  width: 100%;
  max-width: 840px;
  padding: 0 24px 18px 46px;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.item-body *,
.item-body *::before,
.item-body *::after {
  max-width: 100%;
  box-sizing: border-box;
}

.item-body img,
.item-body video {
  max-width: 100%;
  height: auto;
}

.item-body table {
  display: block;
  width: 100% !important;
  overflow-x: hidden;
  table-layout: fixed;
}

.item-body td,
.item-body th {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.item-body pre {
  max-width: 100%;
  overflow-x: hidden;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 10px;
  background: #f7f7f7;
  border: 1px solid var(--soft-line);
}

.item-body code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.item-body blockquote {
  margin-left: 0;
  padding-left: 12px;
  border-left: 3px solid var(--line);
  color: #444;
}

.expanded .item-body,
.list .item.open .item-body {
  display: block;
}

.item-source {
  margin: 3px 0 8px;
  color: var(--muted);
  font-size: 12px;
}

.item-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
}

.item-actions button,
.item-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  line-height: 18px;
  color: #15c;
  text-decoration: none;
}

.item-tags {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  color: #666;
}

.item-tags span {
  padding: 1px 4px;
  border: 1px solid #d7d7d7;
  background: #f5f5f5;
  color: #555;
  line-height: 14px;
}

.empty {
  padding: 40px;
  color: var(--muted);
}

.trends-content {
  grid-template-rows: 1fr;
}

.trends-scroll {
  overflow: auto;
  padding: 20px;
  background: #fff;
}

.trends-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  gap: 28px 20px;
  max-width: 980px;
}

.trend-overall h2 {
  margin: 0 0 22px;
  padding: 2px 5px;
  background: #d9e6f8;
  color: #000;
  font-size: 22px;
  line-height: 1.1;
}

.trend-overall p {
  max-width: 470px;
  margin: 0;
  color: #333;
  font-size: 18px;
  line-height: 1.25;
}

.trend-chart-card {
  min-width: 0;
}

.trend-tabs {
  display: flex;
  align-items: end;
  height: 27px;
  border-bottom: 5px solid #9aaac2;
  gap: 3px;
}

.top-tabs {
  margin-bottom: 20px;
}

.trend-tab {
  display: inline-block;
  padding: 5px 9px 4px;
  border: 1px solid #aebbd1;
  border-bottom: 0;
  background: #e9eef6;
  color: #15c;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  font-family: inherit;
  text-decoration: underline;
}

.trend-tab.active {
  background: #9aaac2;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.trend-chart-card h3 {
  margin: 0 0 10px;
  color: #333;
  font-size: 13px;
  text-align: center;
}

.trend-chart {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: 112px 20px;
  max-width: 420px;
  margin: 0 auto;
}

.chart-lines {
  display: grid;
  align-content: space-between;
  padding: 0 6px 18px 0;
  color: #888;
  font-size: 10px;
  text-align: right;
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 112px;
  padding: 0 0 16px;
  background:
    repeating-linear-gradient(to bottom, transparent 0, transparent 25px, #d6d6d6 26px, transparent 27px);
}

.chart-bars span {
  flex: 1;
  min-width: 4px;
  background: #a9cf8b;
}

.chart-dates {
  grid-column: 2;
  display: flex;
  justify-content: space-around;
  color: #777;
  font-size: 11px;
}

.trend-panel h2 {
  margin: 0;
  color: #000;
  font-size: 20px;
  line-height: 1.05;
}

.trend-panel p {
  margin: 2px 0 5px;
  color: #777;
  font-size: 11px;
}

.trend-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: 1px solid #c9d1dc;
  font-size: 12px;
}

.trend-table th,
.trend-table td {
  height: 22px;
  padding: 2px 6px;
  overflow: hidden;
  border-right: 1px solid #c9d1dc;
  border-bottom: 1px solid #e3e8ef;
  background: #f7f9fc;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trend-table th {
  background: #e7edf6;
  color: #000;
  font-weight: 700;
  text-align: left;
}

.trend-table th:nth-child(1),
.trend-table td:nth-child(1) {
  width: 50%;
}

.trend-table th:nth-child(2),
.trend-table td:nth-child(2) {
  width: 24%;
  padding-right: 4px;
  padding-left: 4px;
}

.trend-table th:nth-child(3),
.trend-table td:nth-child(3) {
  width: 13%;
}

.trend-table th:nth-child(4),
.trend-table td:nth-child(4) {
  width: 13%;
  border-right: 0;
}

.subscription-table th:nth-child(1),
.subscription-table td:nth-child(1) {
  width: 44%;
}

.subscription-table th:nth-child(2),
.subscription-table td:nth-child(2) {
  width: 23%;
}

.subscription-table th:nth-child(3),
.subscription-table td:nth-child(3) {
  width: 15%;
}

.subscription-table th:nth-child(4),
.subscription-table td:nth-child(4) {
  width: 18%;
}

.trend-link {
  color: #15c;
  text-decoration: underline;
}

.trend-number {
  color: #111;
  font-weight: 700;
  text-align: right;
}

.mini-bars {
  display: flex;
  align-items: end;
  gap: 1px;
  height: 18px;
}

.mini-bars i {
  display: block;
  width: 2px;
  min-height: 2px;
  background: #b6d8a0;
}

.trend-footer {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 2px 8px;
  border: 1px solid #c9d1dc;
  border-top: 0;
  background: #eef2f7;
  color: #333;
  font-size: 11px;
}

.trend-footer span:last-child {
  margin-left: auto;
}

.trend-select {
  padding: 1px 16px 1px 4px;
  border: 1px solid #c9d1dc;
  background: #fff;
}

.trend-empty {
  color: #777;
  text-align: center;
}

.settings-content {
  grid-template-rows: 48px 1fr;
}

.settings-page {
  overflow: auto;
  min-height: 0;
  background: #fff8e5;
}

.settings-tabs {
  display: flex;
  align-items: end;
  gap: 22px;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.settings-tab {
  position: relative;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #555;
  font-size: 13px;
  font-weight: 400;
}

.settings-tab.active {
  color: var(--blue);
}

.settings-tab.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #4285f4;
  content: "";
}

.settings-section {
  max-width: 760px;
  padding: 18px;
}

.settings-section h2 {
  margin: 0 0 8px;
  font-size: 17px;
}

.manage-settings-section {
  display: flex;
  flex-direction: column;
  max-width: none;
  min-height: calc(100% - 48px);
}

.manage-settings-section h2 {
  margin-bottom: 14px;
}

.manage-feeds-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.settings-shortcut-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 8px 24px;
  max-width: 760px;
  padding-top: 8px;
}

.settings-shortcut-list div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  align-items: baseline;
}

.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  background: rgb(0 0 0 / 24%);
  z-index: 10;
}

.modal-backdrop.show,
.drawer-backdrop.show {
  display: block;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 20;
  flex-direction: column;
  display: none;
  width: min(720px, calc(100vw - 28px));
  max-height: min(720px, calc(100vh - 28px));
  overflow: hidden;
  transform: translate(-50%, -50%);
  border: 1px solid #aaa;
  background: #fff;
  box-shadow: var(--shadow);
}

.modal.manage-modal {
  width: min(1040px, calc(100vw - 28px));
  height: min(820px, calc(100vh - 28px));
  max-height: min(820px, calc(100vh - 28px));
}

.modal.overlay-modal {
  z-index: 30;
  width: min(520px, calc(100vw - 56px));
  max-height: min(520px, calc(100vh - 56px));
}

.modal.overlay-modal.opml-import-modal {
  width: min(680px, calc(100vw - 56px));
}

.modal.overlay-modal.shortcut-overlay-modal {
  width: min(980px, calc(100vw - 72px));
  max-height: min(760px, calc(100vh - 72px));
  border: 0;
  border-radius: 8px;
  background: rgb(32 32 32 / 88%);
  color: #f7f7f7;
  box-shadow: none;
}

.modal.show {
  display: flex;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--chrome);
}

.modal-header h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 400;
}

.modal-body {
  flex: 1 1 auto;
  padding: 16px;
  max-height: calc(100vh - 110px);
  min-height: 0;
  overflow-y: auto;
}

.manage-modal-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

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

.form-grid label {
  display: grid;
  gap: 4px;
  color: #444;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 6px;
  border: 1px solid #c6c6c6;
}

.folder-picker {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 31px;
}

.folder-picker input {
  border-right: 0;
}

.folder-toggle {
  border: 1px solid #c6c6c6;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(#fff, #f2f2f2);
  color: #444;
}

.folder-menu {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  z-index: 35;
  display: none;
  max-height: 180px;
  overflow: auto;
  border: 1px solid #aaa;
  background: #fff;
  box-shadow: var(--shadow);
}

.folder-picker.open .folder-menu {
  display: grid;
}

.folder-menu button,
.folder-empty {
  display: block;
  width: 100%;
  padding: 6px 8px;
  border: 0;
  background: #fff;
  text-align: left;
}

.folder-menu button:hover,
.folder-menu button:focus {
  background: var(--selected);
}

.folder-empty {
  color: var(--muted);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.opml-box {
  width: 100%;
  margin-top: 12px;
}

.opml-actions {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 8px;
}

.confirm-message {
  margin: 0;
  color: #333;
}

.primary {
  padding: 6px 12px;
  border: 1px solid #3079ed;
  border-radius: 2px;
  background: linear-gradient(#4d90fe, #4787ed);
  color: #fff;
  font-weight: 700;
}

.danger-primary {
  border-color: #9b1c1c;
  background: linear-gradient(#c53929, #a52714);
}

.plain {
  padding: 6px 12px;
  border: 1px solid #c6c6c6;
  border-radius: 2px;
  background: #f8f8f8;
}

.plain.danger {
  color: #9b1c1c;
}

.link-button {
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: #1155cc;
  text-decoration: underline;
}

.link-button.danger {
  color: #9b1c1c;
}

.manage-list {
  flex: 1 1 auto;
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 180px;
  max-height: none;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-gutter: stable;
}

.manage-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 42px;
  padding: 5px 8px 6px 24px;
  border-bottom: 1px solid var(--soft-line);
}

.manage-feed-details {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.manage-feed-url {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  max-width: 100%;
  overflow: hidden;
  color: #1155cc;
  text-decoration: none;
}

.manage-feed-url-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.external-link-icon {
  width: 1em;
  height: 1em;
  opacity: 0;
  transform: translateY(-1px);
}

.manage-feed-url:hover .manage-feed-url-text,
.manage-feed-url:focus-visible .manage-feed-url-text {
  text-decoration: underline;
}

.manage-feed-url:hover .external-link-icon,
.manage-feed-url:focus-visible .external-link-icon {
  opacity: 1;
}

.manage-row-actions,
.manage-inline-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.manage-folder {
  display: grid;
  gap: 2px;
}

.manage-folder-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 3px 4px 3px 0;
}

.manage-folder-toggle {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.manage-folder-toggle strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manage-folder-count {
  color: var(--muted);
}

.manage-edit-icon {
  width: 22px;
  min-height: 22px;
  padding: 3px;
  border: 0;
  background: transparent;
  color: #555;
}

.manage-edit-icon:hover,
.manage-edit-icon:focus {
  color: #111;
  background: transparent;
}

.manage-folder-feeds {
  display: grid;
  gap: 0;
  padding-left: 10px;
}

.manage-folder-feeds[hidden] {
  display: none;
}

.manage-feed-edit,
.manage-folder-edit {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
}

.manage-feed-edit {
  grid-template-columns: minmax(180px, 1.2fr) minmax(220px, 1.4fr) minmax(170px, 1fr);
  align-items: end;
}

.manage-folder-edit {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.manage-feed-edit label,
.manage-folder-edit label {
  display: grid;
  gap: 4px;
  color: #444;
}

.manage-feed-edit input,
.manage-folder-edit input {
  width: 100%;
  padding: 6px;
  border: 1px solid #c6c6c6;
}

.manage-feed-edit input[readonly] {
  background: #f5f5f5;
  color: #666;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}

.shortcut-grid div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px;
}

.shortcut-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  padding: 14px 20px 10px;
  border-bottom: 1px solid rgb(255 255 255 / 35%);
}

.shortcut-overlay-header h2 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.shortcut-overlay-close {
  border: 0;
  background: transparent;
  color: #f4f46a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
}

.shortcut-overlay-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 16px 20px 22px;
  overflow: auto;
}

.shortcut-overlay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 9px 38px;
}

.shortcut-overlay-grid div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 10px;
  align-items: baseline;
}

.shortcut-overlay-grid kbd {
  border: 0;
  background: transparent;
  color: #f4f46a;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.shortcut-overlay-grid span {
  color: #fff;
}

kbd {
  padding: 2px 5px;
  border: 1px solid #aaa;
  border-radius: 2px;
  background: #f7f7f7;
  color: #333;
  font-size: 11px;
  text-align: center;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: none;
  max-width: 360px;
  padding: 10px 13px;
  border: 1px solid #bbb;
  background: #ffffd9;
  box-shadow: var(--shadow);
  color: #333;
}

.toast.show {
  display: block;
}

@media (max-width: 840px) {
  body {
    overflow: hidden;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 64px;
    padding: 0 16px;
  }

  .site-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
  }

  .site-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 38px 16px 28px;
  }

  .site-hero h1,
  .site-login-intro h1 {
    font-size: 52px;
  }

  .hero-lede,
  .site-login-intro p {
    font-size: 17px;
  }

  .reader-preview {
    order: -1;
  }

  .preview-body {
    min-height: 260px;
  }

  .feature-strip,
  .site-login-page {
    grid-template-columns: 1fr;
  }

  .site-band,
  .features-page,
  .pricing-page,
  .legal-page,
  .site-login-page {
    padding-right: 16px;
    padding-left: 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 16px;
  }

  .reader-shell {
    grid-template-rows: 108px 1fr;
    transition: grid-template-rows 160ms ease;
  }

  .login-form input {
    height: 44px;
  }

  .topbar {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    overflow: visible;
    padding: 9px 10px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
  }

  .search {
    grid-column: 2 / -1;
    order: 2;
    height: 38px;
  }

  .mobile-search-context {
    display: flex;
    grid-column: 1;
    align-items: center;
    order: 2;
    min-width: 0;
    max-width: 42vw;
  }

  .mobile-section-title {
    overflow: hidden;
    padding: 0 8px;
    color: #333;
    font-size: 17px;
    line-height: 40px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .account,
  .sign-in-account {
    display: none;
  }

  .account-area {
    display: block;
    justify-self: end;
  }

  .account-avatar-button {
    width: 40px;
    height: 40px;
  }

  .account-avatar {
    width: 30px;
    height: 30px;
  }

  .account-menu {
    right: 0;
    max-width: calc(100vw - 20px);
    min-width: min(230px, calc(100vw - 20px));
  }

  .account-menu-item {
    min-height: 44px;
    padding: 12px;
  }

  .main {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    inset: 108px auto 0 0;
    z-index: 15;
    width: min(82vw, 300px);
    transform: translateX(-102%);
    transition: transform 160ms ease;
    box-shadow: var(--shadow);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .mobile-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }

  .content {
    grid-template-rows: 44px 1fr;
  }

  .reader-shell.mobile-chrome-collapsed {
    grid-template-rows: 58px 1fr;
  }

  .reader-shell.mobile-chrome-collapsed .brand,
  .reader-shell.mobile-chrome-collapsed .account-area {
    display: none;
  }

  .reader-shell.mobile-chrome-collapsed .sidebar {
    inset: 58px auto 0 0;
  }

  .reader-shell.mobile-chrome-collapsed .content:not(.settings-content):not(.trends-content) {
    grid-template-rows: 0 1fr;
  }

  .reader-shell.mobile-chrome-collapsed .toolbar {
    overflow: hidden;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom-color: transparent;
    opacity: 0;
    pointer-events: none;
  }

  .content > .titlebar {
    display: none;
  }

  .settings-content {
    grid-template-rows: 1fr;
  }

  .trends-content {
    grid-template-rows: 1fr;
  }

  .settings-page {
    min-height: 0;
  }

  .trends-scroll {
    padding: 16px;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .trends-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    max-width: none;
  }

  .trend-overall h2 {
    margin-bottom: 10px;
    font-size: 24px;
  }

  .trend-overall p {
    max-width: none;
    font-size: 15px;
    line-height: 1.4;
  }

  .trend-chart-card,
  .trend-panel {
    min-width: 0;
  }

  .trend-chart-card h3 {
    text-align: left;
  }

  .trend-chart {
    grid-template-columns: 28px minmax(0, 1fr);
    width: 100%;
    max-width: none;
  }

  .chart-bars {
    gap: 2px;
  }

  .trend-tabs {
    min-height: 38px;
    height: auto;
    overflow-x: auto;
  }

  .trend-tab {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 10px;
    white-space: nowrap;
  }

  .trend-panel {
    padding-bottom: 4px;
  }

  .trend-panel h2 {
    font-size: 19px;
  }

  .trend-table {
    display: block;
    width: 100%;
    table-layout: auto;
    border: 1px solid #c9d1dc;
  }

  .trend-table thead {
    display: none;
  }

  .trend-table tbody,
  .trend-table tr,
  .trend-table td {
    display: block;
    width: 100%;
  }

  .trend-table tr {
    padding: 8px;
    border-bottom: 1px solid #e3e8ef;
    background: #f7f9fc;
  }

  .trend-table tr:last-child {
    border-bottom: 0;
  }

  .trend-table td {
    height: auto;
    padding: 3px 0;
    border: 0;
    background: transparent;
    white-space: normal;
  }

  .trend-table td:nth-child(2) {
    padding: 7px 0;
  }

  .trend-table td:nth-child(3),
  .trend-table td:nth-child(4) {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    text-align: right;
  }

  .trend-table td:nth-child(3)::before,
  .trend-table td:nth-child(4)::before {
    color: #666;
    font-weight: 400;
    text-align: left;
  }

  .trend-table td:nth-child(3)::before {
    content: "# Read";
  }

  .trend-table td:nth-child(4)::before {
    content: "% Read";
  }

  .subscription-table td:nth-child(3)::before {
    content: "Items/day";
  }

  .subscription-table td:nth-child(4)::before {
    content: "Last updated";
  }

  .mini-bars {
    height: 24px;
  }

  .mini-bars i {
    flex: 1;
    width: auto;
  }

  .trend-empty {
    padding: 14px 0;
  }

  .trend-footer {
    height: auto;
    min-height: 34px;
  }

  .titlebar {
    padding: 0 10px;
  }

  .titlebar h1 {
    font-size: 17px;
  }

  .toolbar {
    overflow-x: auto;
    padding: 4px 8px;
    white-space: nowrap;
  }

  .toolbar-button,
  .view-button,
  .sort-button {
    min-height: 36px;
    padding: 7px 11px;
  }

  .icon-toolbar {
    width: 42px;
    min-width: 42px;
    padding: 0;
  }

  .settings-tabs {
    min-height: 54px;
    overflow-x: auto;
    padding: 0 16px;
    white-space: nowrap;
  }

  .settings-tab {
    height: 54px;
    padding: 0 2px;
  }

  .subscribe {
    min-height: 40px;
    padding: 10px 16px;
  }

  .nav-row,
  .feed-row,
  .folder-row {
    min-height: 38px;
    height: auto;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .toolbar-spacer {
    display: none;
  }

  .item-row {
    grid-template-columns: 26px minmax(0, 1fr) 70px;
    gap: 6px;
    min-height: 42px;
  }

  .star {
    width: 34px;
    height: 34px;
    margin-left: -6px;
    line-height: 30px;
  }

  .item-feed {
    display: none;
  }

  .item-body {
    padding: 0 14px 16px 42px;
  }

  .expanded .item-title,
  .list .item.open .item-title {
    font-size: 16px;
  }

  .manage-row {
    grid-template-columns: 1fr;
    gap: 2px;
    min-height: 58px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .manage-folder-edit,
  .manage-feed-edit {
    grid-template-columns: 1fr;
  }

  .manage-folder-header {
    grid-template-columns: minmax(0, max-content) 38px;
    justify-content: start;
    min-height: 42px;
  }

  .manage-folder-toggle {
    min-height: 38px;
    padding-right: 2px;
  }

  .manage-edit-icon {
    width: 38px;
    min-height: 38px;
    padding: 9px;
  }

  .manage-feed-url {
    min-height: 32px;
  }

  .manage-folder-feeds {
    padding-left: 0;
  }

  .manage-row-actions,
  .manage-inline-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }

  .link-button {
    min-height: 36px;
    padding: 6px 4px;
  }

  .primary,
  .plain {
    min-height: 40px;
    padding: 9px 14px;
  }

  .opml-actions {
    gap: 10px;
    flex-wrap: wrap;
  }

  .shortcut-grid {
    grid-template-columns: 1fr;
  }

  .settings-shortcut-list,
  .shortcut-overlay-grid {
    grid-template-columns: 1fr;
  }

  .shortcut-overlay-grid div {
    grid-template-columns: 92px 1fr;
  }
}

@media (max-width: 520px) {
  .site-header {
    align-items: start;
    padding-top: 14px;
    padding-bottom: 10px;
  }

  .site-nav {
    gap: 16px;
  }

  .site-login-link {
    min-height: 34px;
    padding: 0 12px;
  }

  .site-hero h1,
  .site-login-intro h1 {
    font-size: 44px;
  }

  .hero-actions,
  .site-footer nav {
    width: 100%;
  }

  .site-primary,
  .site-secondary {
    flex: 1 1 150px;
  }

  .pricing-action {
    flex: 0 0 auto;
  }

  .preview-body {
    grid-template-columns: 38% 1fr;
  }

  .site-login-panel {
    padding: 20px;
  }

  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .brand .brand-name {
    display: none;
  }

  .titlebar .meta {
    display: none;
  }

  .toolbar-button.hide-small {
    display: none;
  }

}
