@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Libre+Caslon+Display&display=swap");

:root {
  color-scheme: light;
  --bg: #f6f5f1;
  --surface: #fff;
  --ink: #242621;
  --muted: #5e635a;
  --line: #e7e7df;
  --soft: #efefe9;
  --accent: #bc4021;
  --accent-wash: #f7eae1;
  --hero: #eeeae0;
  --green: #557459;
  --shadow: 0 12px 36px #27271c0a;
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Libre Caslon Display", Georgia, serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #191b18;
  --surface: #22251f;
  --ink: #eeeee4;
  --muted: #acb0a3;
  --line: #373b31;
  --soft: #2c3028;
  --accent: #ef9672;
  --accent-wash: #3d2c23;
  --hero: #303127;
  --green: #a3bc91;
  --shadow: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
::selection {
  background: #eac1a7;
  color: #242621;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  background: var(--ink);
  color: var(--surface);
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.topbar {
  height: 84px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar-inner {
  max-width: 1320px;
  height: 100%;
  margin: auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 256px;
  gap: 32px;
  align-items: center;
}
.brand {
  display: flex;
  gap: 9px;
  align-items: center;
  font-weight: 750;
  font-size: 26px;
  letter-spacing: -1.25px;
  width: max-content;
}
.brand img {
  width: 34px;
  height: 34px;
}
.brand-light {
  font-weight: 450;
}
.brand-dot {
  color: var(--accent);
}
.search {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  height: 43px;
  max-width: 580px;
  color: var(--muted);
}
.search svg {
  width: 18px;
  height: 18px;
}
.search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: none;
  color: var(--ink);
  font-size: 12px;
  padding: 10px 0;
}
.search input::placeholder {
  color: var(--muted);
}
.search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-wash);
}
.search input:focus-visible {
  outline: 0;
}
.search kbd {
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 11px;
  min-width: 20px;
  text-align: center;
}
.header-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}
.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  transition:
    background 0.18s,
    transform 0.18s;
}
.icon-button:hover {
  background: var(--soft);
  transform: translateY(-1px);
}
.icon-button svg {
  width: 18px;
  height: 18px;
}
.personal-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e4e8dc;
  color: #475139;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  position: relative;
  margin-left: 10px;
}
.personal-badge > span {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #6b8356;
  border: 2px solid var(--bg);
  border-radius: 50%;
  bottom: 0;
  right: 0;
}
.layout {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 256px;
  gap: 32px;
  padding: 30px 32px 0;
}
.left-rail {
  position: sticky;
  top: 114px;
  align-self: start;
  max-height: calc(100dvh - 130px);
  overflow: auto;
  scrollbar-width: thin;
}
.main-nav {
  display: grid;
  gap: 5px;
  margin: 0 0 31px;
}
.nav-button {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  text-align: left;
  padding: 13px 15px;
  font-size: 13px;
  font-weight: 550;
  border-radius: 8px;
  min-height: 47px;
  color: var(--muted);
}
.nav-button:hover {
  background: var(--soft);
  color: var(--ink);
}
.nav-button.is-active {
  background: var(--accent-wash);
  color: var(--accent);
  font-weight: 650;
}
.nav-button svg {
  width: 20px;
  height: 20px;
}
.nav-indicator {
  height: 6px;
  width: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: auto;
}
.nav-button:not(.is-active) .nav-indicator {
  display: none;
}
.saved-count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  background: var(--soft);
  border-radius: 5px;
  padding: 1px 6px;
}
.nav-arrow {
  margin-left: auto;
  width: 13px !important;
  height: 13px !important;
}
.rail-heading {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--muted);
  padding: 0 15px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}
.rail-heading span {
  font-weight: 500;
  letter-spacing: 0;
}
.interest-nav {
  display: grid;
  gap: 1px;
}
.interest-button {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 38px;
  padding: 6px 15px;
  border-radius: 7px;
  font-size: 12px;
  text-align: left;
  color: var(--muted);
}
.interest-button:hover {
  background: var(--soft);
  color: var(--ink);
}
.interest-button.is-active {
  background: var(--surface);
  color: var(--ink);
  font-weight: 650;
}
.interest-icon {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  font-size: 15px;
}
.interest-count {
  margin-left: auto;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.rail-note {
  border-top: 1px solid var(--line);
  margin: 25px 15px 0;
  padding-top: 22px;
}
.little-spark {
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
}
.rail-note p {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin: 12px 0;
}
.rail-note > span:last-child {
  font-size: 10px;
  color: var(--muted);
}
.rail-footer {
  font-size: 8px;
  letter-spacing: 1.2px;
  color: var(--muted);
  padding: 28px 15px;
}
.rail-footer span {
  padding-left: 12px;
  font-size: 7px;
}
main {
  min-width: 0;
  outline: none;
}
.welcome {
  background: var(--hero);
  border: 1px solid var(--line);
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  min-height: 249px;
  margin-bottom: 27px;
}
.welcome-copy {
  padding: 25px 0 27px 27px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.eyebrow {
  font-size: 8px;
  letter-spacing: 1.8px;
  font-weight: 700;
  line-height: 1.5;
}
.small-star {
  font-size: 15px;
  vertical-align: -1px;
  color: var(--accent);
  margin-right: 5px;
}
.welcome h1 {
  font-family: var(--serif);
  font-size: clamp(35px, 3.7vw, 49px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -1.6px;
  margin: 15px 0 13px;
}
.welcome h1 em {
  font-weight: 400;
  color: var(--accent);
}
.welcome p {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.welcome-art {
  position: relative;
  flex: 1;
  min-width: 170px;
  align-self: stretch;
  margin-left: 3px;
  opacity: 0.95;
}
.orbit {
  position: absolute;
  border: 1px solid #a49e8855;
  border-radius: 50%;
  width: 148px;
  height: 148px;
  left: 50%;
  top: 49%;
  transform: translate(-50%, -50%) rotate(-30deg);
}
.orbit-one {
  width: 188px;
  height: 80px;
  transform: translate(-50%, -50%) rotate(-45deg);
}
.orbit-two {
  width: 188px;
  height: 80px;
  transform: translate(-50%, -50%) rotate(45deg);
}
.orbit-center {
  position: absolute;
  left: 50%;
  top: 49%;
  transform: translate(-50%, -50%) rotate(-10deg);
  font-family: Georgia, serif;
  font-size: 71px;
  font-weight: 700;
  font-style: italic;
  color: var(--accent);
  letter-spacing: -10px;
  line-height: 1;
}
.orbit-center > span {
  color: var(--ink);
  font-size: 56px;
}
.orbit-dot {
  position: absolute;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  top: 49%;
  left: 50%;
}
.dot-one {
  background: #577252;
  transform: translate(53px, -68px);
  width: 12px;
  height: 12px;
}
.dot-two {
  background: #c84625;
  transform: translate(-66px, 45px);
  width: 22px;
  height: 22px;
}
.dot-three {
  background: #d0aa4c;
  transform: translate(-62px, -61px);
  width: 9px;
  height: 9px;
}
.edition {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 7px;
  letter-spacing: 1.4px;
  white-space: nowrap;
  color: var(--muted);
}
.feed-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 19px;
}
.feed-toolbar h2 {
  font-size: 19px;
  letter-spacing: -0.6px;
  font-weight: 650;
  margin: 0 0 3px;
}
.feed-toolbar p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
.sort-control select {
  color: var(--muted);
  font-size: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 20px 7px 9px;
  max-width: 120px;
  cursor: pointer;
}
.topic-strip {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 0 23px;
  padding: 2px 2px 7px;
}
.topic-strip::-webkit-scrollbar {
  display: none;
}
.topic-chip {
  flex-shrink: 0;
  white-space: nowrap;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 7px;
  padding: 7px 12px;
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 33px;
}
.topic-chip:hover {
  border-color: var(--muted);
  color: var(--ink);
}
.topic-chip.is-active {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}
.chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--topic-color);
}
.post {
  padding: 23px 25px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 17px;
  overflow: hidden;
  animation: arrive 0.25s ease-out;
}
.post-header {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
}
.source-avatar {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 11px;
  background: var(--topic-wash);
  color: var(--topic-color);
  font-weight: 750;
  font-size: 12px;
  letter-spacing: -0.2px;
  flex-shrink: 0;
}
.source-identity {
  min-width: 0;
}
.source-name {
  font-size: 12px;
  font-weight: 650;
  display: block;
  line-height: 1.4;
}
.source-name:hover {
  text-decoration: underline;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.post-topic {
  margin-left: auto;
  color: var(--topic-color);
  background: var(--topic-wash);
  border-radius: 4px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 4px 7px;
  white-space: nowrap;
}
.story-link {
  display: block;
}
.post h3 {
  font-size: 21px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.55px;
  margin: 0 0 10px;
  overflow-wrap: anywhere;
}
.story-link:hover h3 {
  color: var(--accent);
}
.post-description {
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 18px;
  overflow-wrap: anywhere;
}
.post-image {
  background: var(--soft);
  aspect-ratio: 1.95;
  overflow: hidden;
  border-radius: 8px;
  margin: 17px 0 20px;
}
.post-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.story-link:hover img {
  transform: scale(1.015);
}
.post-image.image-unavailable {
  display: none;
}
.post-actions {
  border-top: 1px solid var(--line);
  padding: 13px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
}
.read-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 650;
}
.read-link svg {
  width: 13px;
  height: 13px;
}
.read-link:hover {
  color: var(--accent);
}
.post-tools {
  display: flex;
  gap: 16px;
}
.post-tool {
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 9px;
  min-height: 30px;
}
.post-tool svg {
  width: 15px;
  height: 15px;
}
.post-tool:hover,
.post-tool.is-saved {
  color: var(--accent);
}
.post-tool.is-saved svg {
  fill: var(--accent-wash);
}
.cached-notice {
  background: var(--soft);
  border-radius: 5px;
  padding: 7px 10px;
  margin: 0 0 12px;
  font-size: 10px;
  color: var(--muted);
}
.connection-notice {
  padding: 12px 15px;
  font-size: 12px;
  background: var(--accent-wash);
  border-radius: 8px;
  margin-bottom: 18px;
}
.loading-state {
  padding: 50px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.loading-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.2s infinite;
}
.empty-state {
  padding: 50px 24px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 12px;
}
.empty-state .empty-icon {
  font-family: var(--serif);
  font-size: 44px;
  color: var(--accent);
}
.empty-state h3 {
  font-size: 21px;
  font-family: var(--serif);
  font-weight: 400;
  margin: 8px;
}
.empty-state p {
  font-size: 12px;
  color: var(--muted);
  max-width: 310px;
  margin: 10px auto 20px;
}
.empty-state button {
  background: var(--ink);
  color: var(--surface);
  border-radius: 7px;
  padding: 9px 17px;
  font-size: 11px;
}
.feed-end {
  text-align: center;
  padding: 12px 0 25px;
}
.load-more {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  min-width: 200px;
  padding: 12px 25px;
  font-size: 12px;
}
.load-more:hover {
  border-color: var(--accent);
}
.load-more > span {
  margin-left: 14px;
  color: var(--accent);
}
.feed-end p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 14px;
}
.mobile-views,
.mobile-footer {
  display: none;
}
.right-rail {
  align-self: start;
  position: sticky;
  top: 114px;
  min-width: 0;
}
.sync-card {
  padding: 20px 19px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 24px;
}
.sync-label {
  font-size: 7px;
  letter-spacing: 1.2px;
  font-weight: 700;
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--muted);
}
.status-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.status-dot.is-cached {
  background: #aa7e27;
}
.status-dot.is-unavailable {
  background: #ae4e37;
}
.sync-card > p {
  font-size: 19px;
  letter-spacing: -0.6px;
  margin: 11px 0 2px;
  font-weight: 550;
}
.sync-detail {
  color: var(--muted);
  font-size: 10px;
}
.sync-line {
  height: 3px;
  background: var(--soft);
  border-radius: 2px;
  margin: 17px 0 8px;
  overflow: hidden;
}
.sync-line span {
  display: block;
  background: var(--green);
  width: 0;
  height: 100%;
  border-radius: 2px;
}
.sync-caption {
  font-size: 8px;
  color: var(--muted);
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}
.panel-heading h2 {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.1px;
  margin: 0;
}
.panel-heading > span {
  color: var(--muted);
  font-size: 16px;
}
.panel-subtitle {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
  margin: 5px 0 15px;
}
.radar-card {
  padding: 0 2px 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 23px;
}
.radar-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 9px;
  margin-top: 15px;
}
.radar-icon {
  background: var(--topic-wash);
  color: var(--topic-color);
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  font-size: 13px;
}
.radar-topic {
  font-size: 7px;
  letter-spacing: 0.8px;
  color: var(--muted);
  font-weight: 650;
  display: block;
  margin-bottom: 3px;
  text-transform: uppercase;
}
.radar-title {
  font-size: 11px;
  line-height: 1.5;
  font-weight: 550;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.radar-title:hover {
  color: var(--accent);
}
.source-card {
  padding: 0 2px;
}
.panel-heading .source-total {
  font-size: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--muted);
}
.source-row {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 13px 0;
}
.source-mini {
  height: 25px;
  width: 25px;
  display: grid;
  place-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 8px;
  font-weight: 650;
  flex-shrink: 0;
}
.source-row-name {
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.source-row > .status-dot {
  margin-left: auto;
  width: 5px;
  height: 5px;
}
.text-button {
  font-size: 10px;
  font-weight: 550;
  padding: 10px 0;
  color: var(--accent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.text-button:hover {
  text-decoration: underline;
}
.right-footer {
  border-top: 1px solid var(--line);
  margin-top: 21px;
  padding: 20px 2px;
  color: var(--muted);
}
.footer-mark {
  font-size: 27px;
  font-family: Georgia, serif;
  font-style: italic;
  letter-spacing: -3px;
  color: var(--muted);
}
.right-footer p {
  font-size: 10px;
  line-height: 1.6;
  margin: 8px 0;
}
.right-footer > span:last-child {
  font-size: 8px;
}
dialog {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  max-width: 600px;
  width: calc(100% - 32px);
  max-height: 85dvh;
  padding: 28px;
  box-shadow: 0 30px 100px #0003;
}
dialog::backdrop {
  background: #181c18a8;
  backdrop-filter: blur(4px);
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.dialog-header .eyebrow {
  color: var(--accent);
  font-size: 7px;
}
.dialog-header h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.1;
  margin: 8px 0;
}
.dialog-description {
  font-size: 12px;
  color: var(--muted);
  margin: 13px 0 25px;
}
.dialog-source {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.dialog-source .source-avatar {
  width: 33px;
  height: 33px;
  font-size: 10px;
  border-radius: 8px;
}
.dialog-source-info {
  flex: 1;
  min-width: 0;
}
.dialog-source-info a {
  font-size: 12px;
  font-weight: 600;
}
.dialog-source-info a:hover {
  text-decoration: underline;
}
.dialog-source-info p {
  font-size: 10px;
  color: var(--muted);
  margin: 2px 0;
}
.source-status {
  font-size: 9px;
  color: var(--muted);
  display: flex;
  gap: 6px;
  align-items: center;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 15px);
  padding: 12px 19px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--surface);
  box-shadow: var(--shadow);
  font-size: 12px;
  max-width: calc(100% - 32px);
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.back-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 15;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 21px;
  width: 42px;
  height: 42px;
}
@keyframes pulse {
  50% {
    opacity: 0.3;
    transform: scale(0.8);
  }
}
@keyframes arrive {
  from {
    opacity: 0.4;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1450px) {
  .layout,
  .topbar-inner {
    max-width: 1380px;
    grid-template-columns: 220px minmax(0, 1fr) 275px;
    gap: 42px;
  }
  .welcome {
    min-height: 265px;
  }
  .welcome h1 {
    font-size: 53px;
  }
  .welcome-copy {
    padding: 27px 0 27px 30px;
  }
  .post h3 {
    font-size: 23px;
  }
  .post-description {
    font-size: 13px;
  }
  .post {
    padding: 25px 28px 0;
  }
  .source-name {
    font-size: 13px;
  }
}
@media (max-width: 1150px) {
  .layout,
  .topbar-inner {
    grid-template-columns: 185px minmax(0, 1fr);
    max-width: 980px;
    gap: 26px;
  }
  .topbar-inner {
    grid-template-columns: 185px minmax(0, 1fr) 120px;
    gap: 26px;
  }
  .right-rail {
    display: none;
  }
  .brand {
    font-size: 23px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .header-actions {
    gap: 6px;
  }
  .personal-badge {
    display: none;
  }
  .welcome-art {
    min-width: 185px;
  }
  .welcome h1 {
    font-size: 47px;
  }
  .welcome {
    min-height: 250px;
  }
  .welcome-copy {
    padding: 26px 0 26px 28px;
  }
  .nav-button {
    padding-left: 12px;
  }
  .post h3 {
    font-size: 23px;
  }
  .post-description {
    font-size: 13px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 130px;
  }
  .topbar {
    height: 118px;
  }
  .topbar-inner {
    padding: 12px 20px;
    grid-template-columns: 1fr auto;
    gap: 10px;
    grid-template-rows: 35px 39px;
  }
  .brand {
    font-size: 24px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .search {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 36px;
    max-width: none;
    border-radius: 8px;
    padding: 0 11px;
  }
  .search kbd {
    display: none;
  }
  .search input {
    font-size: 12px;
    padding: 8px 0;
  }
  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }
  .icon-button {
    width: 33px;
    height: 33px;
  }
  .layout {
    display: block;
    padding: 20px 16px 0;
    max-width: 640px;
  }
  .left-rail {
    display: none;
  }
  .welcome {
    margin-bottom: 17px;
    border-radius: 12px;
    min-height: 214px;
  }
  .welcome-copy {
    padding: 22px 0 23px 22px;
  }
  .welcome h1 {
    font-size: 43px;
    letter-spacing: -1.5px;
    margin: 14px 0 12px;
  }
  .welcome p {
    font-size: 10px;
  }
  .welcome-art {
    min-width: 130px;
    margin-left: -10px;
  }
  .orbit-one,
  .orbit-two {
    width: 150px;
    height: 63px;
  }
  .orbit-center {
    font-size: 61px;
  }
  .orbit-center > span {
    font-size: 48px;
  }
  .dot-one {
    transform: translate(39px, -56px);
    width: 10px;
    height: 10px;
  }
  .dot-two {
    transform: translate(-57px, 36px);
    width: 16px;
    height: 16px;
  }
  .dot-three {
    transform: translate(-48px, -48px);
    width: 7px;
    height: 7px;
  }
  .edition {
    font-size: 6px;
    letter-spacing: 1px;
    bottom: 22px;
  }
  .mobile-views {
    display: flex;
    gap: 23px;
    border-bottom: 1px solid var(--line);
    margin: 0 0 22px;
  }
  .mobile-views button {
    font-size: 12px;
    font-weight: 550;
    color: var(--muted);
    padding: 13px 1px;
    border-bottom: 2px solid transparent;
    display: flex;
    gap: 6px;
  }
  .mobile-views button.is-active {
    border-color: var(--accent);
    color: var(--accent);
  }
  .mobile-views [data-saved-count] {
    background: var(--soft);
    padding: 0 5px;
    border-radius: 4px;
    font-size: 9px;
    align-self: center;
  }
  .feed-toolbar {
    margin-bottom: 15px;
  }
  .feed-toolbar h2 {
    font-size: 19px;
  }
  .topic-strip {
    margin-bottom: 13px;
    gap: 6px;
  }
  .topic-chip {
    font-size: 10px;
    padding: 6px 11px;
    min-height: 32px;
  }
  .post {
    padding: 19px 20px 0;
    border-radius: 11px;
    margin-bottom: 14px;
    box-shadow: none;
  }
  .post-header {
    margin-bottom: 16px;
  }
  .source-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 11px;
  }
  .source-name {
    font-size: 12px;
  }
  .post-meta {
    font-size: 9px;
  }
  .post h3 {
    font-size: 21px;
    line-height: 1.3;
    letter-spacing: -0.45px;
  }
  .post-description {
    font-size: 12px;
    line-height: 1.7;
  }
  .post-actions {
    padding: 10px 0;
  }
  .read-link {
    font-size: 10px;
  }
  .post-tool {
    font-size: 10px;
    min-height: 35px;
  }
  .post-tools {
    gap: 15px;
  }
  .post-tool svg {
    width: 16px;
    height: 16px;
  }
  .post-image {
    margin: 15px -20px 16px;
    border-radius: 0;
    aspect-ratio: 1.8;
  }
  .mobile-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 8px;
    letter-spacing: 1.6px;
    color: var(--muted);
    padding: 20px 0 35px;
    gap: 6px;
  }
  .mobile-footer span {
    font-size: 9px;
    letter-spacing: 0;
  }
  .back-top {
    bottom: 15px;
    right: 15px;
    width: 37px;
    height: 37px;
  }
  .toast {
    bottom: 18px;
    width: max-content;
    font-size: 11px;
    text-align: center;
  }
  .dialog-header h2 {
    font-size: 29px;
  }
  dialog {
    padding: 22px;
  }
  .source-status {
    font-size: 8px;
  }
  .dialog-source-info a {
    font-size: 11px;
  }
}
@media (max-width: 380px) {
  .layout {
    padding: 14px 12px 0;
  }
  .topbar-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
  .welcome-copy {
    padding-left: 18px;
  }
  .welcome h1 {
    font-size: 38px;
  }
  .welcome-art {
    min-width: 115px;
    margin-left: -12px;
  }
  .orbit-one,
  .orbit-two {
    width: 133px;
    height: 57px;
  }
  .post {
    padding: 17px 17px 0;
  }
  .post h3 {
    font-size: 20px;
  }
  .post-image {
    margin-left: -17px;
    margin-right: -17px;
  }
  .post-tools {
    gap: 12px;
  }
  .post-topic {
    font-size: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 760px) {
  .welcome {
    min-height: 180px;
  }
  .welcome-copy {
    padding: 18px 20px;
  }
  .welcome h1 {
    font-size: 38px;
    margin: 9px 0 10px;
  }
  .welcome-art {
    position: absolute;
    right: -27px;
    top: 0;
    bottom: 0;
    width: 145px;
    min-width: 0;
    margin: 0;
    opacity: 0.22;
    pointer-events: none;
  }
  .welcome-art .edition {
    display: none;
  }
}
@media (max-width: 380px) {
  .welcome-copy {
    padding-left: 18px;
  }
  .welcome h1 {
    font-size: 35px;
  }
}
