:root {
  --accent-color-start: #bdcafa;
  --bg-color: #18191e;
  --border-color: #353740;
  --card-bg-color: #23252c;
  --text-color: #e8eaf0;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --link-text-color: #9498a7;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;

  a {
    color: var(--link-text-color);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  a:hover {
    color: var(--text-color);
    text-decoration: none;
  }

  form label {
    color: #9498a7;
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 0.375rem;
    text-transform: uppercase;
  }

  form input[type="text"],
  form input[type="url"],
  form input[type="email"],
  form input[type="password"],
  form input[type="search"],
  form input[type="datetime-local"],
  form textarea,
  .ts-wrapper.single.input-active .ts-control {
    background-color: var(--bg-color);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    box-sizing: border-box;
    color: var(--text-color);
    padding: 0.625rem 0.75rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
  }

  form input[type="text"]:focus,
  form input[type="url"]:focus,
  form input[type="email"]:focus,
  form input[type="password"]:focus,
  form input[type="search"]:focus,
  form input[type="datetime-local"]:focus,
  form textarea:focus {
    border-color: var(--accent-color-start);
    box-shadow: 0 0 0 3px rgba(189, 202, 250, 0.15);
    outline: none;
  }

  form input::placeholder,
  form textarea::placeholder {
    color: #353740;
  }

  form input[type="submit"],
  .cta-button {
    background-color: var(--accent-color-start);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    cursor: pointer;
    display: inline-block;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    text-decoration: none;
    transition: opacity 0.15s ease;
  }

  button.cta-button {
    line-height: inherit;
  }

  form input[type="submit"]:hover,
  .cta-button:hover {
    opacity: 0.88;
  }

  .form-field {
    margin-bottom: 1.25rem;
  }

  .form-actions {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.75rem;

    .link-secondary {
      color: var(--accent-color-start);
      display: inline-block;
      font-size: 0.875rem;
    }
  }
}

.form-card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin: 1.5rem auto;
  max-width: 520px;
  padding: 2rem;

  h1, h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1.75rem 0;
  }
}

.tag-picker {
  align-items: center;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  min-height: 2.75rem;
  padding: 0.375rem 0.5rem;
  position: relative;
}

.tag-picker:focus-within {
  border-color: var(--accent-color-start);
  box-shadow: 0 0 0 3px rgba(189, 202, 250, 0.15);
}

.tag-picker-chips {
  display: contents;
}

.tag-picker-chip {
  align-items: center;
  background: #303740;
  border: 1px solid var(--border-color);
  border-radius: 0.25rem;
  color: var(--text-color);
  display: inline-flex;
  font-size: 0.875rem;
  gap: 0.25rem;
  padding: 0.125rem 0.375rem;
}

.tag-picker-remove {
  background: transparent;
  border: 0;
  color: #9498a7;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
}

form .tag-picker input[type="text"] {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--text-color);
  flex: 1 1 8rem;
  min-width: 6rem;
  outline: 0;
  padding: 0.25rem;
  width: auto;
}

.tag-picker-options {
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--card-shadow);
  display: block;
  left: 0;
  max-height: 15rem;
  overflow-y: auto;
  position: absolute;
  right: 0;
  top: calc(100% + 0.25rem);
  z-index: 10;
}

.tag-picker-options[hidden] {
  display: none;
}

.tag-picker-option {
  background: transparent;
  border: 0;
  color: var(--text-color);
  cursor: pointer;
  display: block;
  padding: 0.5rem 0.75rem;
  text-align: left;
  width: 100%;
}

.tag-picker-create {
  background: var(--bg-color);
  border: 0;
  border-bottom: 1px solid var(--border-color);
  color: #9498a7;
  cursor: pointer;
  display: block;
  padding: 0.5rem 0.75rem;
  text-align: left;
  width: 100%;
}

.tag-picker-empty {
  color: var(--text-color);
  padding: 0.5rem 0.75rem;
}

.tag-picker-option mark {
  background: rgba(156, 163, 175, 0.24);
  color: inherit;
}

.tag-picker-create:hover,
.tag-picker-create.active {
  color: var(--text-color);
}

.tag-picker-option:hover,
.tag-picker-option.active {
  background: rgba(189, 202, 250, 0.18);
}

.error-messages {
  background-color: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  color: #fca5a5;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;

  h2 {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
  }

  ul {
    margin: 0;
    padding-left: 1.25rem;

    li {
      font-size: 0.875rem;
    }
  }
}

.container {
  margin: 0 auto;
  max-width: 960px;
  padding: 2rem 1rem;
  position: relative;
}

.header {
  margin-bottom: 4rem;
  text-align: center;

  h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }

  p {
    color: #9498a7;
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }
}

.flash-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 500px;
  width: 90%;

  .flash {
    border-radius: var(--radius-md);
    padding: 1rem 3rem 1rem 1rem;
    text-align: left;
    box-shadow: var(--card-shadow);
    position: relative;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
  }

  .flash.flash-enter {
    transform: translateY(0);
    opacity: 1;
  }

  .flash.flash-exit {
    transform: translateY(100px);
    opacity: 0;
  }

  .flash-notice {
    background-color: #22c55e;
    color: white;
  }

  .flash-alert {
    background-color: #ef4444;
    color: white;
  }

  .flash-close {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .flash-close:hover {
    opacity: 1;
  }
}

.main-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

.nav-spacer {
  flex: 1;
}

.nav-link {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.nav-link:hover {
  color: var(--text-color);
}

.nav-link.active {
  color: var(--text-color);
  border-bottom: 2px solid var(--accent-color-start);
  background: none;
}

.nav-section-label {
  color: var(--text-color);
  font-size: 0.875rem;
  font-weight: 600;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  align-items: center;
  color: var(--link-text-color);
  cursor: pointer;
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav-dropdown-toggle::-webkit-details-marker {
  display: none;
}

.nav-dropdown-caret {
  font-size: 0.625rem;
  line-height: 1;
  transition: transform 0.15s ease;
}

.nav-dropdown[open] .nav-dropdown-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  left: 0;
  min-width: 9rem;
  padding: 0.375rem;
  position: absolute;
  top: calc(100% + 0.375rem);
  z-index: 10;
}

.nav-dropdown-menu .nav-link {
  border-radius: var(--radius-sm);
  display: block;
  padding: 0.375rem 0.5rem;
  white-space: nowrap;
}

.nav-dropdown-menu .nav-link:hover,
.nav-dropdown-menu .nav-link.active {
  background: rgba(189, 202, 250, 0.12);
  border-bottom: none;
}

.nav-search-button {
  background: none !important;
  border: none !important;
  color: var(--link-text-color) !important;
  padding: 0.25rem 0.5rem !important;
  cursor: pointer;
}

.nav-search-button:hover {
  color: var(--text-color) !important;
}

.bookmark-filter-row,
.bookmark-filters,
.feed-filters {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.bookmark-filter-row .bookmark-filters {
  margin-bottom: 0;
}

.bookmark-filters,
.feed-filter-pills {
  background: rgba(31, 35, 40, 0.38);
  border: 1px solid rgba(75, 85, 99, 0.32);
  border-radius: 999px;
  display: inline-flex;
  gap: 0.125rem;
  padding: 0.1875rem;
}

.bookmark-filters .nav-link,
.feed-filter-pills .nav-link {
  align-items: center;
  border-radius: 999px;
  border-bottom: none;
  display: inline-flex;
  font-size: 0.8125rem;
  font-weight: 500;
  gap: 0.375rem;
  line-height: 1;
  padding: 0.4375rem 0.75rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.bookmark-filters .nav-link:hover,
.feed-filter-pills .nav-link:hover {
  background: rgba(255, 255, 255, 0.025);
}

.bookmark-filters .nav-link.active,
.feed-filter-pills .nav-link.active {
  background: rgba(255, 255, 255, 0.06);
  border-bottom: none;
  color: var(--text-color);
}

.filter-count-label {
  color: var(--link-text-color);
  font-size: 0.8125rem;
  white-space: nowrap;
}

.feed-filters-action {
  margin-left: auto;
}

.feed-add-form {
  align-items: center;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 1.25rem;

  input[type="url"] {
    min-width: 0;
  }

  input[type="submit"] {
    font-size: 0.875rem;
    padding: 0.625rem 0.875rem;
    white-space: nowrap;
  }
}

.bookmarks-count {
  color: var(--link-text-color);
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.empty-state {
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  color: var(--link-text-color);
  padding: 3rem 1rem;
  text-align: center;

  p {
    margin: 0;
  }
}

.bookmarks-list {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;

  .bookmark-item {
    border-bottom: 1px solid var(--border-color);
    border-left: 3px solid transparent;
    background-color: var(--card-bg-color);
    padding: 0.875rem 1rem 0.75rem 1.125rem;
    transition: background-color 0.15s ease, border-left-color 0.15s ease;

    &:last-child {
      border-bottom: none;
    }

    &:hover {
      background-color: #292c36;
      border-left-color: var(--accent-color-start);
    }

    &:hover .bookmark-actions {
      opacity: 1;
    }

    .bookmark-text-content {
      margin-bottom: 0.5rem;

      h2 {
        align-items: center;
        display: flex;
        font-size: 0.9375rem;
        font-weight: 500;
        gap: 0.5rem;
        line-height: 1.4;
        margin: 0 0 0.4rem 0;

        a {
          color: #bdcafa;
        }
      }

      .bookmark-notes {
        color: #9498a7;
        font-size: 0.8125rem;
        line-height: 1.4;
        margin: 0.375rem 0 0 0;
        opacity: 0.85;
      }
    }
  }

  .feed-item {
    display: grid;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
  }

  .feed-row-main {
    align-items: baseline;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
  }

  .feed-title {
    min-width: 0;

    a {
      color: var(--text-color);
      display: block;
      font-size: 0.9375rem;
      font-weight: 600;
      line-height: 1.25;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }

  .feed-domain,
  .feed-age {
    color: var(--link-text-color);
    font-size: 0.8125rem;
    line-height: 1.2;
    white-space: nowrap;
  }

  .feed-actions {
    justify-content: flex-start;
    opacity: 0.7;
  }

  .feed-subscription-item {
    align-items: center;
    display: grid;
    gap: 0.375rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.5rem 0.75rem;

    .feed-row-main,
    .feed-error {
      grid-column: 1;
    }

    .feed-actions {
      grid-column: 2;
      grid-row: 1;
      justify-content: flex-end;
      opacity: 0.85;
    }
  }

  .feed-error {
    color: #fca5a5;
    font-size: 0.8125rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bookmark-item-archived {
    opacity: 0.75;

    .bookmark-text-content h2 a {
      color: var(--link-text-color);
    }
  }

  .bookmark-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.35;
    transition: opacity 0.15s ease;
  }

  .action-links-left {
    display: flex;
    gap: 1rem;
    align-items: center;
  }

  .action-link {
    background: none;
    border: none;
    color: var(--link-text-color);
    cursor: pointer;
    font-size: 0.8125rem;
    padding: 0;
    text-decoration: none;
    transition: color 0.15s ease;
  }

  .action-link:hover {
    color: var(--text-color);
    text-decoration: none;
  }

  .action-link-danger:hover {
    color: #ef4444;
  }

  .icon-action-link {
    align-items: center;
    background: none;
    border: none;
    color: var(--link-text-color);
    cursor: pointer;
    display: inline-flex;
    font-size: 1.25rem;
    height: 1.5rem;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 1.5rem;
  }


}

@media (max-width: 640px) {
  .bookmarks-list {
    .feed-row-main {
      grid-template-columns: minmax(0, 1fr) auto;
    }

    .feed-domain {
      display: none;
    }


  }
}

.reader-view {
  margin: 0 auto;
  max-width: 760px;
}

.reader-header {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;

  h1 {
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 650;
    line-height: 1.2;
    margin: 0.4rem 0 0.75rem 0;
  }
}

.reader-kicker,
.reader-meta {
  color: #9498a7;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  gap: 0.5rem;
  margin: 0;

  span:not(:last-child)::after {
    content: "·";
    margin-left: 0.5rem;
  }
}

.reader-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;

  form {
    margin: 0;
  }
}

.reader-content {
  color: #e5e7eb;
  font-size: 1.0625rem;
  line-height: 1.75;

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: var(--text-color);
    line-height: 1.3;
    margin: 1.75rem 0 0.75rem 0;
  }

  p,
  ul,
  ol,
  blockquote,
  pre,
  figure {
    margin: 0 0 1.25rem 0;
  }

  a {
    color: #bdcafa;
    text-decoration: underline;
    text-underline-offset: 0.15em;
  }

  blockquote {
    border-left: 3px solid var(--accent-color-start);
    color: #cbd5e1;
    padding-left: 1rem;
  }

  img {
    border-radius: var(--radius-sm);
    display: block;
    height: auto;
    margin: 1.5rem auto;
    max-width: 100%;
  }

  pre {
    background-color: #111827;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow-x: auto;
    padding: 1rem;
  }

  code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.9375em;
  }
}

.youtube-embed {
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: 100%;

  iframe {
    border: 0;
    display: block;
    height: 100%;
    width: 100%;
  }
}

.reader-empty-state {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;

  h2 {
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
  }

  p {
    color: #9498a7;
    margin: 0;
  }

  .reader-error {
    color: #fca5a5;
    font-size: 0.875rem;
    margin-top: 0.75rem;
  }
}

.auth-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;

  a {
    background-color: var(--accent-color-start);
    border-radius: var(--radius-md);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  a:hover {
    opacity: 0.9;
    text-decoration: none;
  }

  .register-button {
    background-color: #31824f;
  }

  .register-button:hover {
    background-color: #15803d;
    opacity: 1;
  }
}

.edit-button {
  color: var(--text-color);
  opacity: 0.7;
}

.edit-button:hover {
  color: var(--accent-color-start);
  opacity: 1;
}

.bookmark-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
}

.bookmark-domain {
  color: #9498a7;
  line-height: 1.2;
}

.source-badge {
  background-color: rgba(189, 202, 250, 0.12);
  border: 1px solid rgba(189, 202, 250, 0.28);
  border-radius: 9999px;
  color: #bdcafa;
  font-size: 0.75rem;
  line-height: 1.2;
  padding: 0.125rem 0.5rem;
}

.bookmark-tags {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.bookmark-favicon {
  border-radius: 2px;
  flex-shrink: 0;
  opacity: 0.8;
}

.tag {
  background-color: rgba(189, 202, 250, 0.1);
  border-radius: 9999px;
  color: var(--accent-color-start);
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  text-decoration: none;
  transition: background-color 0.15s ease;

  &:hover {
    background-color: rgba(189, 202, 250, 0.22);
    color: var(--accent-color-start);
    text-decoration: none;
  }
}

/* Tom Select */
.ts-wrapper {
  padding: 0.25rem;

  .ts-dropdown {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);

    .ts-dropdown-content {
      .ts-option {
        &.active {
          background-color: var(--bg-color);
          color: var(--text-color);
        }
      }
    }

    .active {
      background-color: var(--bg-color);
      color: var(--text-color);
    }
  }

  .ts-control {
    background-color: var(--bg-color);
    color: var(--text-color);

    input {
      color: var(--text-color);
    }

    .item {
      border-radius: 0.3rem;
    }
  }
}

.quick-search-form.hidden {
  display: none;
}

/* Navbar Search Mode */
.quick-search-form.navbar-search-active {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--bg-color);
  margin: 0;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;

  input[type="search"] {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--card-shadow);
    color: var(--text-color);
    font-size: 0.875rem;
    max-width: 600px;
    padding: 0.75rem;
    width: 100%;

    &:focus {
      border-color: var(--accent-color-start);
      box-shadow: 0 0 0 3px rgba(189, 202, 250, 0.2);
      outline: none;
    }

    &::placeholder {
      color: var(--link-text-color);
    }
  }
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;

  th,
  td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
  }

  thead th {
    font-weight: 600;
    color: #9498a7;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
  }

  tbody tr:last-child th,
  tbody tr:last-child td {
    border-bottom: none;
  }
}

/* Sortable Table */
.table thead th a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;

  thead th a:hover {
    color: var(--accent-color-start);
  }

  thead th.sorted-asc a,
  thead th.sorted-desc a {
    color: var(--accent-color-start);
  }
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.account-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .account-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-color);
  display: block;
  padding: 1.5rem;
  text-decoration: none;
  transition: all 0.2s ease;

  h3 {
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
  }

  &.card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
  }

  &.card-center {
    text-align: center;
    padding: 2rem;
  }

  .card-content {
    flex: 1;
  }

  .card-actions {
    flex-shrink: 0;
  }
}

.feature-cards .feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.stats {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.stat {
  flex: 1;
}

.stat-label {
  color: #9498a7;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-color);
}

.stats-compact {
  gap: 1rem;

  .stat-label {
    font-size: 0.8125rem;
  }

  .stat-value {
    font-size: 1.25rem;
  }
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-5 {
  margin-bottom: 5rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mt-5 {
  margin-top: 5rem;
}

.text-center {
  text-align: center;
}

hr {
  border: none;
  border-top: 1px solid var(--border-color);
}

.search-form {
  margin-bottom: 1.5rem;

  .search-input {
    font-size: 1.1rem;
  }
}

.search-results-summary {
  color: var(--text-color);
  font-size: 1rem;
  margin: 0 0 1rem;
}

/* Landing page */

.landing-hero {
  padding: 5rem 1rem 4rem;
  text-align: center;
  position: relative;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse at center top, rgba(189, 202, 250, 0.12) 0%, transparent 70%);
    pointer-events: none;
  }
}

.landing-title {
  background: linear-gradient(135deg, #e2e8f0 40%, var(--accent-color-start) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 1rem;
}

.landing-title-accent {
  color: var(--accent-color-start);
  -webkit-text-fill-color: var(--accent-color-start);
}

.landing-tagline {
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.landing-description {
  color: var(--link-text-color);
  font-size: 0.9375rem;
  margin: 0 0 2.5rem;
}

.landing-cta {
  align-items: center;
  display: flex;
  gap: 0.875rem;
  justify-content: center;
}

.cta-button-lg {
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.625rem 1.5rem;
}

.cta-button-outline {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--link-text-color);
  font-size: 0.9375rem;
  padding: 0.625rem 1.5rem;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;

  &:hover {
    border-color: var(--accent-color-start);
    color: var(--text-color);
    text-decoration: none;
  }
}

.landing-features {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1rem;
  padding-bottom: 3rem;
}

.feature-card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  transition: border-color 0.2s ease;

  &:hover {
    border-color: rgba(189, 202, 250, 0.4);
  }

  .feature-icon {
    font-size: 1.75rem;
    margin-bottom: 0.875rem;
  }

  h3 {
    color: var(--text-color);
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
  }

  p {
    color: var(--link-text-color);
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0;
  }
}

.checkbox-group {
  border: 0;
  margin-left: 0;
  margin-right: 0;
  padding: 0;

  legend {
    color: #9498a7;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 0.375rem;
    text-transform: uppercase;
  }
}

.checkbox-label {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  text-transform: none;
}

.api-token-created {
  border-color: var(--accent-color-start);

  code {
    background-color: var(--bg-color);
    border-radius: var(--radius-sm);
    display: block;
    overflow-x: auto;
    padding: 0.75rem;
    white-space: nowrap;
  }
}

.link-button {
  background: none;
  border: none;
  color: var(--link-text-color);
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.link-button:hover {
  color: var(--text-color);
}
.inline-form {
  display: inline;
}

/* Desk workspace, with Journal's charcoal and lavender palette. */
* { box-sizing: border-box; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent-color-start); outline-offset: 3px; }
.signed-in { font-size: 14px; }
.app-sidebar { position: fixed; inset: 0 auto 0 0; width: 184px; background: #121318; border-right: 1px solid #282a32; display: flex; flex-direction: column; padding: 28px 14px 18px; z-index: 20; }
.app-logo { display: flex; align-items: center; gap: 9px; padding: 0 10px 30px; color: #eef0f6; font-size: 21px; font-weight: 650; letter-spacing: -1px; }
.app-logo svg { background: var(--accent-color-start); color: #202537; width: 26px; height: 30px; padding: 4px; border-radius: 6px; }
.sidebar-nav, .sidebar-bottom { display: flex; flex-direction: column; gap: 4px; }
.sidebar-bottom { margin-top: auto; padding-top: 30px; }
.sidebar-link { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 7px; font-size: 12px; }
.sidebar-link:hover { background: #20222b; }
.sidebar-link.active { background: #2b2e3e; color: #d4dcfa; }
.app-workspace { margin-left: 184px; min-width: 0; }
.app-topbar { min-height: 70px; border-bottom: 1px solid #30323a; padding: 14px 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.quick-search-form { display: flex; align-items: center; gap: 9px; width: min(360px, 100%); padding: 0 12px; background: #24262f; border: 1px solid #373a47; border-radius: 7px; margin: 0; color: #9498a7; }
body .quick-search-form input[type="search"] { min-width: 0; padding: 10px 0; background: none; border: 0; box-shadow: none; font-size: 12px; }
.quick-search-form:focus-within { border-color: var(--accent-color-start); }
.quick-search-form kbd { white-space: nowrap; font: 10px system-ui; }
.save-link { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; background: var(--accent-color-start); color: #202537; border-radius: 6px; }
.save-link:hover { color: #202537; filter: brightness(1.08); }
.save-link svg { width: 17px; height: 17px; }
.signed-in .container { max-width: 1400px; padding: 36px 38px; }
.section-heading { color: var(--accent-color-start); font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; margin: 0 0 28px; }
.bookmark-filter-row, .feed-filters { margin-bottom: 16px; gap: 20px; }
.bookmark-filters, .feed-filter-pills { background: none; border: 0; border-radius: 0; padding: 0; gap: 18px; }
.bookmark-filters .nav-link, .feed-filter-pills .nav-link { border-radius: 0; padding: 8px 0; font-size: 12px; line-height: 1.6; border-bottom: 2px solid transparent; }
.bookmark-filters .nav-link.active, .feed-filter-pills .nav-link.active { background: none; border-bottom: 2px solid var(--accent-color-start); }
.bookmark-filters .nav-link:hover, .feed-filter-pills .nav-link:hover { background: none; }
.filter-count-label { font-size: 11px; margin-left: auto; }
.bookmarks-list { border-radius: 10px; overflow: visible; }
.bookmark-list-header { display: grid; grid-template-columns: minmax(0, 1fr) 74px; gap: 20px; padding: 12px 20px; color: #9498a7; font-size: 10px; letter-spacing: .8px; text-transform: uppercase; }
.bookmarks-list .bookmark-item:not(.feed-item):not(.feed-subscription-item) { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 74px; gap: 20px; align-items: center; padding: 10px 20px; min-height: 70px; border-left: 0; }
.bookmarks-list .bookmark-item:first-of-type { border-top: 1px solid var(--border-color); }
.bookmarks-list .bookmark-item:last-child { border-radius: 0 0 10px 10px; }
.bookmarks-list .bookmark-item:hover { border-left-color: transparent; background: #292c36; }
.bookmarks-list .bookmark-item .bookmark-text-content { margin: 0; min-width: 0; }
.bookmarks-list .bookmark-item .bookmark-text-content h2 { font-size: 14px; font-weight: 550; gap: 13px; margin-bottom: 4px; }
.bookmarks-list .bookmark-item .bookmark-text-content h2 a { position: relative; z-index: 2; color: #e8eaf0; overflow-wrap: anywhere; }
.bookmarks-list .bookmark-item .bookmark-text-content h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bookmark-favicon { box-sizing: content-box; padding: 6px; border: 1px solid #414453; border-radius: 8px; background: #2b2e3e; opacity: 1; }
.bookmark-meta, .bookmark-notes { margin-left: 44px; }
.bookmark-domain { font-size: 11px; }
.bookmarks-list .bookmark-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.bookmarks-list .bookmark-meta .bookmark-tags { margin: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.bookmarks-list .bookmark-item .bookmark-text-content .bookmark-notes { font-size: 11px; margin-left: 44px; }
.bookmark-row-reader { position: absolute; inset: 0; z-index: 1; border-radius: 4px; }
.bookmark-row-reader:focus-visible { outline-offset: -3px; }
.bookmark-tags a, .bookmark-actions, .bookmark-notes a { position: relative; z-index: 2; }
.bookmarks-list .bookmark-actions { opacity: 1; gap: 14px; justify-content: flex-end; }
.bookmarks-list .action-links-left { gap: 10px; }
.tag { background: #2b2e3e; border: 1px solid #41465c; border-radius: 5px; color: #c3ccec; font-size: 10px; line-height: 1.4; padding: 1px 6px; overflow-wrap: anywhere; }
.bookmark-menu { position: relative; }
.bookmark-menu summary { cursor: pointer; color: #9498a7; font-size: 21px; list-style: none; line-height: 1; padding: 4px; }
.bookmark-menu summary::-webkit-details-marker { display: none; }
.bookmark-menu-panel { position: absolute; right: 0; top: 32px; min-width: 100px; display: flex; flex-direction: column; gap: 14px; background: #24262f; border: 1px solid var(--border-color); border-radius: 7px; padding: 14px; box-shadow: 0 8px 24px #0005; z-index: 5; }
.bookmark-item:has(.bookmark-menu[open]) { z-index: 5; }
.bookmarks-list .archive-button { display: flex; padding: 5px; border-radius: 5px; }
.archive-button:hover { background: #343849; }
.reader-view { padding-top: 10px; }
.reader-header h1 { font-family: Georgia, serif; font-size: clamp(28px, 3.5vw, 42px); font-weight: 400; }
.reader-source-note { color: #9498a7; font-size: 0.8rem; margin: -0.75rem 0 1rem; }
.reader-content { font-family: Georgia, serif; line-height: 1.9; }
.reader-content pre, .reader-content code { font-family: ui-monospace, monospace; }
body form input[type="submit"], body .cta-button { color: #202537; }
.alert { background: #2b2e3e; border: 1px solid #41465c; padding: 12px 16px; border-radius: 7px; }
@media (max-width: 1000px) {
  .app-topbar { padding: 14px 24px; }
  .signed-in .container { padding: 30px 24px; }
  .bookmark-list-header, .bookmarks-list .bookmark-item:not(.feed-item):not(.feed-subscription-item) { grid-template-columns: minmax(0, 1fr) 65px; gap: 14px; }
}
@media (max-width: 600px) {
  .app-sidebar {
    inset: auto 0 0;
    width: 100%;
    flex-direction: row;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    border-right: 0;
    border-top: 1px solid #30323a;
  }
  .app-logo { display: none; }
  .app-sidebar .sidebar-nav, .app-sidebar .sidebar-bottom {
    display: contents;
  }
  .app-sidebar .sidebar-link {
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 6px 2px;
    font-size: 10px;
  }
  .sidebar-link span { display: block; }
  .app-workspace {
    margin-left: 0;
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  html { scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .app-topbar { padding: 14px; gap: 12px; }
  .quick-search-form { padding: 0 9px; }
  .quick-search-form kbd { display: none; }
  .save-link { width: 36px; height: 36px; }
  .signed-in .container { padding: 27px 14px; }
  .bookmark-filter-row, .feed-filters { gap: 10px; flex-wrap: wrap; }
  .filter-count-label { font-size: 10px; }
  .bookmarks-list .bookmark-item:not(.feed-item):not(.feed-subscription-item) { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 12px 12px; }
  .bookmark-list-header { display: none; }
  .bookmarks-list .bookmark-actions { grid-column: 2; grid-row: 1; gap: 5px; }
  .bookmarks-list .bookmark-item .bookmark-text-content h2 { font-size: 12px; gap: 10px; }
  .bookmark-favicon { padding: 5px; }
  .bookmark-meta, .bookmarks-list .bookmark-item .bookmark-text-content .bookmark-notes { margin-left: 36px; }
  .bookmark-domain { font-size: 10px; overflow-wrap: anywhere; }
  .form-card { padding: 22px; }
}

.sidebar-nav { min-height: 0; overflow-y: auto; }
.sidebar-feed-sources { display: flex; flex-direction: column; gap: 3px; margin: 0 0 8px 18px; border-left: 1px solid #353740; padding-left: 10px; }
.sidebar-source { font-size: 11px; line-height: 1.4; padding: 7px 8px; border-radius: 5px; overflow-wrap: anywhere; }
.sidebar-source.active { background: #2b2e3e; color: #d4dcfa; }
.sidebar-source:hover { background: #20222b; }
.sidebar-source-empty { font-size: 11px; color: #9498a7; padding: 7px 8px; }
@media (max-width: 600px) { .sidebar-feed-sources { display: none; } }

.mobile-feed-sources { display: none; }
@media (max-width: 600px) {
  .mobile-feed-sources { display: block; margin: -12px 0 18px; }
  .mobile-feed-sources select {
    appearance: auto;
    background: #23252c;
    border: 1px solid #353740;
    border-radius: 8px;
    box-sizing: border-box;
    color: #e8eaf0;
    font: inherit;
    min-height: 44px;
    padding: 8px 36px 8px 12px;
    width: 100%;
  }
  .mobile-feed-sources select:focus { border-color: #bdcafa; outline: 2px solid rgba(189, 202, 250, 0.25); }
}

/* Feed articles use the same compact Desk rows as saved bookmarks. */
.bookmarks-list .feed-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px;
  align-items: center;
  gap: 20px;
  min-height: 70px;
  padding: 10px 20px;
  border-left: 0;
}
.bookmarks-list .feed-item:first-of-type { border-top: 1px solid var(--border-color); }
.bookmarks-list .feed-item:hover { border-left-color: transparent; background: #292c36; }
.bookmarks-list .feed-item .feed-row-main { display: block; min-width: 0; }
.bookmarks-list .feed-title { margin: 0 0 4px; min-width: 0; }
.bookmarks-list .feed-title a {
  position: relative;
  z-index: 2;
  display: -webkit-box;
  overflow: hidden;
  color: #e8eaf0;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.bookmarks-list .feed-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bookmarks-list .feed-meta { display: flex; align-items: center; gap: 8px; margin-left: 44px; color: #9498a7; font-size: 11px; }
.bookmarks-list .feed-domain, .bookmarks-list .feed-age { color: inherit; display: inline; font-size: inherit; line-height: 1.3; }
.bookmarks-list .feed-age::before { content: "·"; margin-right: 8px; }
.bookmarks-list .feed-actions { align-items: center; justify-content: flex-end; gap: 8px; opacity: 1; }
.bookmarks-list .feed-actions .action-link { position: relative; z-index: 2; display: flex; padding: 5px; border-radius: 5px; }
.bookmarks-list .feed-save-button:hover { background: #343849; }
@media (max-width: 1000px) {
  .bookmarks-list .feed-item { grid-template-columns: minmax(0, 1fr) 65px; gap: 14px; }
}
@media (max-width: 600px) {
  .bookmarks-list .feed-item { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 12px; }
  .bookmarks-list .feed-title a { font-size: 12px; }
  .bookmarks-list .feed-meta { margin-left: 36px; font-size: 10px; }
  .bookmarks-list .feed-actions { grid-column: 2; grid-row: 1; gap: 5px; }
}

/* Signed-out landing page in the Desk workspace style. */
.signed-out .container:has(.public-home) { width: min(1200px, 100%); max-width: none; padding: 0 56px 36px; }
.public-home { color: #e8eaf0; }
.public-header { display: flex; align-items: center; justify-content: space-between; min-height: 76px; border-bottom: 1px solid #30323a; }
.public-brand { display: inline-flex; align-items: center; gap: 9px; color: #eef0f6; font-size: 19px; font-weight: 650; letter-spacing: -.7px; }
.public-brand svg { width: 24px; height: 27px; padding: 4px; border-radius: 6px; background: var(--accent-color-start); color: #202537; }
.public-header nav { display: flex; align-items: center; gap: 22px; }
.public-sign-in { color: #c4c7d2; font-size: 12px; }
.public-start { display: inline-flex; align-items: center; justify-content: center; gap: 14px; border-radius: 6px; padding: 10px 14px; background: var(--accent-color-start); color: #202537; font-size: 12px; font-weight: 600; }
.public-start:hover { color: #202537; filter: brightness(1.08); }
.public-hero { display: block; padding: clamp(112px, 20vh, 180px) 0; }
.public-eyebrow { margin: 0 0 20px; color: var(--accent-color-start); font-size: 10px; font-weight: 600; letter-spacing: 1.7px; }
.public-intro { max-width: 620px; margin: 0 auto; text-align: center; }
.public-intro h1 { margin: 0; color: #e8eaf0; font-size: clamp(38px, 5vw, 58px); font-weight: 560; letter-spacing: -0.01em; line-height: 1.08; }
.public-description { margin: 22px 0 0; color: #a0a3b0; font-size: 14px; line-height: 1.75; }
.public-hero-actions { display: flex; justify-content: center; margin-top: 29px; }
.public-start-large { padding: 13px 16px; }
@media (max-width: 850px) {
  .signed-out .container:has(.public-home) { padding: 0 30px 28px; }
}
@media (max-width: 650px) {
  .signed-out .container:has(.public-home) { padding: 0 20px 24px; }
  .public-header { min-height: 66px; }
  .public-header nav { gap: 14px; }
  .public-start { padding: 9px 11px; }
  .public-hero { padding: clamp(100px, 18vh, 150px) 0; }
.public-intro h1 { font-size: clamp(38px, 10vw, 50px); }
}

/* Compact account settings. */
.account-page { width: min(680px, 100%); }
.account-section { padding: 22px 0; border-bottom: 1px solid var(--border-color, #30323a); }
.account-profile { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 6px; }
.account-eyebrow { margin: 0 0 5px; color: #858997; font-size: 10px; font-weight: 600; letter-spacing: 1.2px; }
.account-email { margin: 0; color: #e4e6ed; font-size: 14px; }
.account-added-count { margin: 4px 0 0; color: #9296a3; font-size: 11px; }
.account-secondary-button { padding: 8px 12px; border: 1px solid #41434d; border-radius: 6px; background: transparent; color: #d7d9e1; font-size: 12px; }
.account-secondary-button:hover { border-color: #777b8a; }
.account-section h2 { margin: 0 0 13px; color: #e4e6ed; font-size: 14px; font-weight: 600; }
.account-action, .account-admin-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid #292b33; color: #e0e2e9; font-size: 13px; }
.account-action > span:last-child, .account-admin-links a span { color: #aeb2c0; font-size: 12px; }
.account-bookmarklet { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.account-bookmarklet h3 { margin: 0 0 4px; color: #e0e2e9; font-size: 13px; font-weight: 550; }
.account-bookmarklet p { margin: 0; color: #9296a3; font-size: 12px; }
.account-bookmarklet-link { flex: 0 0 auto; padding: 8px 11px; border: 1px solid #41434d; border-radius: 6px; background: #20222a; color: #d2d7ed; font-size: 12px; }
.account-bookmarklet-link:hover { border-color: var(--accent-color-start); }
.account-admin-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.account-admin-links a { justify-content: flex-start; gap: 5px; padding: 4px 0; border-top: 0; }
.account-db-size { display: flex; justify-content: space-between; gap: 12px; margin: 13px 0 0; color: #9296a3; font-size: 11px; }
.account-db-size span { color: #c5c8d2; }
.tag-list-summary { margin: 0 0 12px; color: #9498a7; font-size: 11px; }
.tag-list-panel, .subscription-list { overflow: hidden; border: 1px solid var(--border-color); border-radius: 10px; }
.tag-list-header, .tag-list-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px; gap: 18px; align-items: center; }
.tag-list-header { padding: 10px 18px; color: #9498a7; font-size: 10px; letter-spacing: .8px; text-transform: uppercase; }
.tag-list-header a { color: inherit; }
.tag-list-header a:last-child { text-align: right; }
.tag-list-header a:hover, .tag-list-header a.sorted-asc, .tag-list-header a.sorted-desc { color: var(--accent-color-start); }
.tag-list-row { min-height: 46px; padding: 8px 18px; border-top: 1px solid var(--border-color); color: #e0e2e9; font-size: 12px; }
.tag-list-row:hover { background: #292c36; color: #eef0f6; }
.tag-list-count { color: #aeb2c0; text-align: right; }
.subscription-add-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin: 0 0 18px; }
.subscription-add-form input[type="url"] { min-width: 0; padding: 9px 12px; font-size: 12px; }
.subscription-add-form button { padding: 8px 12px; border: 1px solid #414453; border-radius: 6px; background: #292c36; color: #e0e2e9; font-size: 12px; cursor: pointer; }
.subscription-add-form button:hover { border-color: var(--accent-color-start); background: #303442; }
.subscription-list-header, .subscription-row { display: grid; grid-template-columns: minmax(0, 1fr) 100px 32px; gap: 16px; align-items: center; }
.subscription-list-header { padding: 10px 16px; color: #9498a7; font-size: 10px; letter-spacing: .8px; text-transform: uppercase; }
.subscription-list-header span:nth-child(2) { text-align: right; }
.subscription-row { min-height: 58px; padding: 9px 16px; border-top: 1px solid var(--border-color); }
.subscription-row:hover { background: #292c36; }
.subscription-main { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.subscription-title { overflow: hidden; color: #e8eaf0; font-size: 13px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.subscription-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.subscription-site, .subscription-age { color: #9498a7; font-size: 11px; }
.subscription-age { text-align: right; }
.subscription-error { color: #e3a1a1; font-size: 11px; }
.subscription-remove { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #9498a7; font-size: 19px; cursor: pointer; }
.subscription-remove:hover { border-color: #574047; background: #33272d; color: #e3a1a1; }
.auth-public-header { margin-bottom: 24px; }
@media (max-width: 520px) {
  .account-profile { align-items: flex-start; }
  .account-email { overflow-wrap: anywhere; }
  .account-bookmarklet { align-items: flex-start; }
  .account-admin-links { gap: 8px 16px; }
  .tag-list-header, .tag-list-row { grid-template-columns: minmax(0, 1fr) 56px; gap: 10px; padding-right: 12px; padding-left: 12px; }
  .subscription-add-form { grid-template-columns: minmax(0, 1fr); }
  .subscription-add-form button { justify-self: start; }
  .subscription-list-header, .subscription-row { grid-template-columns: minmax(0, 1fr) 56px 28px; gap: 8px; padding-right: 10px; padding-left: 10px; }
  .subscription-list-header { font-size: 9px; }
  .subscription-title { font-size: 12px; }
}
