@font-face { font-family: 'Sora'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('/fonts/sora-latin.woff2') format('woff2'); }

@import url('/repairs.css');
:root {
  --ink: #171916;
  --muted: #72766e;
  --paper: #f4f2ec;
  --surface: #fff;
  --line: rgba(23, 25, 22, 0.12);
  --lime: #b7d932;
  --sage: #dce4d2;
  --lilac: #ded4ea;
  --shadow: 0 22px 70px rgba(29, 31, 27, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scrollbar-gutter: stable; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Sora", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
a { -webkit-tap-highlight-color: transparent; }

button { color: inherit; }

a { color: inherit; }

img { display: block; width: 100%; }

body.panel-open { overflow: hidden; }

.feed-header {
  position: sticky;
  z-index: 20;
  top: 0;
  width: 100%;
  height: 76px;
  margin: 0 auto;
  padding-inline: clamp(18px, 4vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 242, 236, 0.88);
  backdrop-filter: blur(18px);
}

.feed-header.has-desktop-nav {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: clamp(18px, 3vw, 42px);
}

.feed-brand {
  justify-self: start;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.feed-brand span { color: #9dbb1d; }

.feed-heading { text-align: center; }
.has-desktop-nav .feed-heading { min-width: 0; text-align: left; }

.feed-heading > span {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
}

.feed-heading p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.feed-account {
  justify-self: end;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 25, 22, 0.2);
  border-radius: 50%;
  background: var(--lilac);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.feed-account[href^="/signup"]{width:auto;height:34px;min-height:34px;padding:0 12px;border-color:var(--ink);border-radius:999px;background:#dfff61;color:var(--ink);font-size:.78rem;font-weight:700}

.feed-session-menu{position:absolute;z-index:40;top:calc(100% - 6px);right:clamp(18px,4vw,58px);width:min(260px,calc(100vw - 28px));padding:8px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 20px 55px rgba(23,25,22,.16)}
.feed-session-menu[hidden]{display:none}
.feed-session-menu>div{padding:10px 11px 12px;border-bottom:1px solid var(--line)}
.feed-session-menu strong,.feed-session-menu small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.feed-session-menu strong{font-size:.82rem}.feed-session-menu small{margin-top:4px;color:var(--muted);font-size:.68rem}
.feed-session-menu a,.feed-session-menu button{width:100%;min-height:39px;padding:0 11px;display:flex;align-items:center;border:0;border-radius:10px;background:transparent;color:var(--ink);font:600 .76rem/1 "Sora",sans-serif;text-align:left;text-decoration:none;cursor:pointer}
.feed-session-menu a:hover,.feed-session-menu button:hover{background:var(--paper)}
.feed-session-menu button{margin-top:2px;color:#a43a2f}

.feed-desktop-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 4px;
}

.feed-desktop-nav a {
  min-height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

.feed-desktop-nav a:hover,
.feed-desktop-nav a.is-active {
  background: rgba(23, 25, 22, 0.065);
  color: var(--ink);
}

.feed-main {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 70px;
}

.feed-intro {
  max-width: none;
  margin-bottom: 32px;
}

.feed-intro-copy { min-width: 0; }

.discover-visual {
  position: relative;
  isolation: isolate;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(92, 111, 27, .18);
  border-radius: 34px;
  background:
    radial-gradient(circle at 78% 18%, rgba(176, 137, 231, .44) 0 9%, transparent 25%),
    radial-gradient(circle at 18% 78%, rgba(255, 255, 255, .74) 0 8%, transparent 26%),
    linear-gradient(145deg, #e7f4b8, #dfff61 48%, #c8e95a);
  box-shadow: 0 24px 70px rgba(72, 88, 21, .13);
}

.discover-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .19;
  background-image: radial-gradient(rgba(23,25,22,.42) .75px, transparent .75px);
  background-size: 18px 18px;
  mask-image: linear-gradient(140deg,#000,transparent 78%);
}

.discover-core {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 190px;
  height: 190px;
  display: grid;
  place-content: center;
  justify-items: center;
  border: 1px solid rgba(23,25,22,.14);
  border-radius: 50%;
  background: rgba(255,255,250,.92);
  box-shadow: 0 22px 50px rgba(55,68,16,.16);
  transform: translate(-50%,-50%);
  animation: discoverCore 7s ease-in-out infinite;
}

.discover-core i { position:relative; width:38px; height:38px; margin-bottom:12px; display:block; transform:rotate(45deg); }
.discover-core i b { position:absolute; width:14px; height:14px; border-radius:50%; background:#91b127; }
.discover-core i b:nth-child(1){top:0;left:0}.discover-core i b:nth-child(2){top:0;right:0}.discover-core i b:nth-child(3){bottom:0;left:0}.discover-core i b:nth-child(4){right:0;bottom:0}
.discover-core strong { font-size:1.25rem; letter-spacing:-.06em; }
.discover-core small { margin-top:5px; color:var(--muted); font-size:.66rem; }

.discover-orbit { position:absolute; z-index:1; top:50%; left:50%; border:1px solid rgba(23,25,22,.13); border-radius:50%; transform:translate(-50%,-50%); }
.orbit-one { width:330px; height:330px; animation:orbitSpin 22s linear infinite; }
.orbit-two { width:470px; height:250px; transform:translate(-50%,-50%) rotate(-18deg); animation:orbitSpinWide 28s linear infinite reverse; }
.discover-node { position:absolute; z-index:5; min-width:88px; padding:11px 15px; border:1px solid rgba(23,25,22,.16); border-radius:999px; background:rgba(255,255,250,.88); box-shadow:0 10px 25px rgba(55,68,16,.09); font-size:.72rem; font-weight:700; text-align:center; backdrop-filter:blur(7px); }
.node-person { top:15%; left:10%; animation:nodeTravelOne 11s ease-in-out infinite alternate; }
.node-ideas { top:12%; right:8%; animation:nodeTravelTwo 13s ease-in-out infinite alternate; }
.node-products { bottom:13%; left:8%; animation:nodeTravelTwo 12s ease-in-out -3s infinite alternate-reverse; }
.node-business { right:10%; bottom:15%; animation:nodeTravelOne 14s ease-in-out -5s infinite alternate-reverse; }
.discover-bubble { position:absolute; z-index:2; border-radius:50%; filter:saturate(.9); }
.bubble-one { width:34px; height:34px; top:24%; left:42%; background:#a98ae0; animation:bubbleDriftOne 9s ease-in-out infinite alternate; }
.bubble-two { width:22px; height:22px; right:29%; bottom:19%; background:#ff8c70; animation:bubbleDriftTwo 12s ease-in-out -2s infinite alternate; }
.bubble-three { width:16px; height:16px; left:22%; bottom:38%; background:#fff; animation:bubbleDriftThree 10s ease-in-out -4s infinite alternate; }

@keyframes discoverCore { 0%,100%{transform:translate(-50%,-50%)} 35%{transform:translate(calc(-50% + 9px),calc(-50% - 12px))} 70%{transform:translate(calc(-50% - 8px),calc(-50% + 8px))} }
@keyframes orbitSpin { to{transform:translate(-50%,-50%) rotate(360deg)} }
@keyframes orbitSpinWide { to{transform:translate(-50%,-50%) rotate(342deg)} }
@keyframes nodeTravelOne { 0%{transform:translate(0,0)} 45%{transform:translate(18px,-10px)} 100%{transform:translate(-7px,16px)} }
@keyframes nodeTravelTwo { 0%{transform:translate(0,0)} 40%{transform:translate(-16px,12px)} 100%{transform:translate(8px,-14px)} }
@keyframes bubbleDriftOne { to{transform:translate(55px,38px) scale(.8)} }
@keyframes bubbleDriftTwo { to{transform:translate(-42px,-50px) scale(1.25)} }
@keyframes bubbleDriftThree { to{transform:translate(28px,-60px) scale(1.2)} }

.feed-kicker {
  margin: 0 0 10px;
  color: #67801a;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.feed-intro h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6.7vw, 6.5rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.feed-intro h1 em {
  color: #69745d;
  font-style: normal;
  font-weight: 300;
}

.feed-search-prompt {
  width: min(570px, 100%);
  min-height: 56px;
  margin-top: 28px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 9px 30px rgba(30, 32, 29, 0.06);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.feed-search-prompt > span:nth-child(2) {
  overflow: hidden;
  font-size: 0.875rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-search-prompt kbd {
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f6f5f1;
  font-size: 0.75rem;
}

.feed-search-icon,
.search-glyph {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1.8px solid currentColor;
  border-radius: 50%;
}

.feed-search-icon::after,
.search-glyph::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 6px;
  height: 1.8px;
  border-radius: 1px;
  background: currentColor;
  transform: rotate(46deg);
}

.topic-row {
  margin-top: 24px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.topic-row::-webkit-scrollbar { display: none; }

.discover-onboard-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #52631f;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.discover-onboard-link span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
}

.topic-row button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.topic-row button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.masonry-feed {
  --feed-columns: 5;
  display: grid;
  grid-template-columns: repeat(var(--feed-columns), minmax(0, 1fr));
  align-items: start;
  gap: 24px 18px;
  width: 100%;
  max-width: calc(var(--visible-cards, 5) * 420px + (var(--visible-cards, 5) - 1) * 18px);
  margin-inline: auto;
}

.masonry-feed.is-masonry {
  grid-auto-rows: 8px;
  row-gap: 0;
  column-gap: 18px;
}

.feed-card {
  min-width: 0;
  margin: 0;
  width: 100%;
}

.feed-image {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  background: #dddcd5;
}

.feed-image.tall { aspect-ratio: 4 / 5.8; }
.feed-image.short { aspect-ratio: 4 / 4.35; }

.feed-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(13, 15, 12, 0.32));
  pointer-events: none;
}

.feed-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.feed-image:hover img { transform: scale(1.025); }

.image-source {
  position: absolute;
  z-index: 1;
  left: 12px;
  max-width: calc(100% - 24px);
  bottom: 12px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(16, 18, 15, 0.66);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.product-source {
  background: var(--lime);
  color: var(--ink);
}

.feed-card-copy { padding: 12px 5px 0; }

.feed-card-copy > a { text-decoration: none; }

.feed-card-copy h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.42;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.feed-card-copy > p {
  margin: 6px 0 11px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.feed-tag {
  display: inline-block;
  margin-bottom: 7px;
  color: #6a7a28;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.feed-author {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
  text-decoration: none;
}

.feed-author > span {
  grid-row: 1 / 3;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 800;
}

.feed-author strong {
  overflow-wrap: anywhere;
  font-size: 0.875rem;
  line-height: 1.2;
}

.feed-author small {
  color: var(--muted);
  font-size: 0.75rem;
}

.feed-card[hidden] { display: none; }

.feed-end {
  width: min(480px,100%);
  margin: 54px auto 0;
  padding: 13px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--muted);
  font-size: 1rem;
  text-align: center;
}

.bottom-nav {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  width: min(430px, calc(100% - 28px));
  min-height: 68px;
  padding: 7px;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(24, 26, 23, 0.94);
  box-shadow: 0 16px 44px rgba(16, 18, 15, 0.3);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.bottom-nav > a,
.bottom-nav > button {
  min-width: 0;
  padding: 6px 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 17px;
  background: transparent;
  color: #b8bcb3;
  text-decoration: none;
  cursor: pointer;
}

.bottom-nav > .is-active {
  background: rgba(183, 217, 50, 0.13);
  color: var(--lime);
}

.bottom-nav small {
  font-size: 0.75rem;
  font-weight: 600;
}

.nav-glyph {
  position: relative;
  width: 18px;
  height: 18px;
  display: block;
}

.home-glyph::before {
  content: "";
  position: absolute;
  inset: 5px 3px 2px;
  border: 1.7px solid currentColor;
  border-top: 0;
  border-radius: 2px;
}

.home-glyph::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 4px;
  width: 10px;
  height: 10px;
  border-top: 1.7px solid currentColor;
  border-left: 1.7px solid currentColor;
  transform: rotate(45deg);
}

.profile-glyph::before,
.profile-glyph::after {
  content: "";
  position: absolute;
  left: 50%;
  border: 1.7px solid currentColor;
  transform: translateX(-50%);
}

.profile-glyph::before {
  top: 1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.profile-glyph::after {
  bottom: 0;
  width: 15px;
  height: 8px;
  border-radius: 9px 9px 4px 4px;
}

.menu-glyph::before,
.menu-glyph::after {
  content: "";
  position: absolute;
  left: 2px;
  width: 14px;
  height: 1.7px;
  border-radius: 2px;
  background: currentColor;
}

.menu-glyph::before { top: 5px; box-shadow: 0 7px 0 currentColor; }

.feed-backdrop {
  position: fixed;
  z-index: 50;
  inset: 0;
  background: rgba(14, 16, 13, 0.5);
  backdrop-filter: blur(5px);
}

.search-sheet,
.menu-sheet {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 0;
  width: min(680px, 100%);
  max-height: min(820px, calc(100vh - 30px));
  overflow: auto;
  padding: 10px 28px max(28px, env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.menu-sheet { width: min(590px, 100%); }

.sheet-handle {
  width: 42px;
  height: 4px;
  margin: 0 auto 12px;
  border-radius: 99px;
  background: #cccbc5;
}

.search-sheet header,
.menu-sheet header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.search-sheet header p,
.menu-sheet header p {
  margin: 0 0 4px;
  color: #718322;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.search-sheet h2,
.menu-sheet h2 {
  margin: 0;
  font-size: clamp(1.25rem, 4vw, 1.8rem);
  letter-spacing: -0.05em;
}

.search-sheet header button,
.menu-sheet header button {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  font-size: 1.15rem;
  cursor: pointer;
}

.universal-search {
  min-height: 58px;
  margin-top: 24px;
  padding: 0 17px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid #a8aaa3;
  border-radius: 17px;
  background: white;
}

.universal-search:focus-within {
  border-color: #7c9125;
  box-shadow: 0 0 0 3px rgba(183, 217, 50, 0.22);
}

.universal-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1rem;
}

.search-hint {
  margin: 10px 2px 16px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.search-results {
  display: grid;
  gap: 7px;
}

.search-results > a {
  min-height: 66px;
  padding: 10px 13px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  text-decoration: none;
}

.result-avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--ink);
  color: var(--lime);
  font-size: 0.875rem;
  font-weight: 800;
}

.result-avatar-dark { color: white; }
.result-avatar-lilac { background: var(--lilac); color: var(--ink); }
.result-avatar-lime { background: var(--lime); color: var(--ink); }

.search-results strong,
.search-results small { display: block; }
.search-results strong { margin-bottom: 4px; font-size: 0.875rem; overflow-wrap: anywhere; }
.search-results small { color: var(--muted); font-size: 0.75rem; }
.search-results i { color: var(--muted); font-style: normal; }

.search-empty {
  margin: 20px 0;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

.menu-profile {
  margin: 22px 0 14px;
  padding: 14px;
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  border-radius: 17px;
  background: var(--lilac);
}

.menu-profile > span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
  font-size: 0.875rem;
  font-weight: 700;
}

.menu-profile strong,
.menu-profile small { display: block; }
.menu-profile strong { font-size: 0.875rem; overflow-wrap: anywhere; }
.menu-profile small { margin-top: 3px; color: #605c67; font-size: 0.75rem; }

.menu-profile a {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.workspace-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.workspace-menu > a {
  min-height: 76px;
  padding: 12px;
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  text-decoration: none;
}

.workspace-menu > a > span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #f0efe9;
  font-size: 0.875rem;
}

.workspace-menu svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workspace-menu strong,
.workspace-menu small { display: block; }
.workspace-menu strong { font-size: 0.875rem; overflow-wrap: anywhere; }
.workspace-menu small { margin-top: 4px; color: var(--muted); font-size: 0.75rem; line-height: 1.35; }
.workspace-menu i { color: #6e8029; font-size: 0.75rem; font-style: normal; font-weight: 800; }

.menu-sheet footer a {
  margin-top: 13px;
  padding: 13px 15px;
  display: flex;
  justify-content: space-between;
  border-radius: 15px;
  background: var(--ink);
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

[hidden] { display: none !important; }

@media (min-width: 681px) {
  .feed-intro {
    display:grid;
    grid-template-columns:minmax(0,1.02fr) minmax(380px,.98fr);
    align-items:center;
    gap:clamp(42px,6vw,90px);
    text-align:left;
  }

  .feed-intro h1 {
    max-width: 680px;
    margin-inline: 0;
    font-size: clamp(2.75rem, 4.4vw, 4.85rem);
    line-height: 1.04;
  }

  .feed-intro h1 em { display: block; }

  .feed-search-prompt { margin-inline: 0; }
  .topic-row { justify-content: flex-start; flex-wrap: wrap; }
}

@media (min-width: 1051px) and (max-width: 1250px) {
  .masonry-feed { --feed-columns: 4; }
}

@media (max-width: 680px) {
  .feed-header {
    width: 100%;
    height: 62px;
    padding-inline: 14px;
    grid-template-columns: 1fr 1fr;
  }

  .feed-header.has-desktop-nav { grid-template-columns: 1fr 1fr; column-gap: 0; }

  .feed-heading,
  .feed-desktop-nav { display: none; }

  .feed-main {
    width: calc(100% - 24px);
    padding: 20px 0 122px;
  }

  .bottom-nav { display: grid; }

  .feed-intro { margin-bottom: 22px; }
  .discover-visual { display:none; }

  .feed-intro h1 {
    max-width: 340px;
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    line-height:1.08;
    letter-spacing:-.035em;
  }
  .feed-intro h1 em { display:block; }

  .feed-search-prompt { margin-top: 22px; }
  .feed-search-prompt kbd { display: none; }

  .masonry-feed {
    --feed-columns: 2;
    column-gap: 10px;
  }

  .feed-image { border-radius: 16px; }
  .feed-card-copy { padding: 9px 3px 0; }
  .feed-card-copy h2 { font-size: 0.875rem; }
  .feed-card-copy > p { display: none; }
  .feed-author { margin-top: 9px; }
  .feed-author small { display: none; }
  .image-source { left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 6px 7px; font-size: 0.75rem; }

  .search-sheet,
  .menu-sheet {
    padding: 10px 15px max(22px, env(safe-area-inset-bottom));
  }

  .menu-sheet {
    width: calc(100% - 12px);
    max-height: calc(100dvh - 12px);
    overscroll-behavior: contain;
    padding: 7px 14px max(10px, env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
  }

  .menu-sheet .sheet-handle { margin-bottom: 7px; }
  .menu-sheet header {
    position: sticky;
    z-index: 4;
    top: -7px;
    padding: 7px 0 8px;
    background: var(--paper);
  }
  .menu-sheet header p { margin-bottom: 2px; font-size: .67rem; }
  .menu-sheet h2 { font-size: 1.28rem; line-height: 1.08; }
  .menu-sheet header button { width: 36px; height: 36px; }

  .menu-profile { margin: 8px 0; padding: 9px 10px; }
  .workspace-menu { grid-template-columns: 1fr; gap: 6px; }
  .workspace-menu > a {
    min-height: 56px;
    padding: 8px 10px;
    grid-template-columns: 34px minmax(0,1fr) auto;
    border-radius: 14px;
  }
  .workspace-menu > a > span { width: 34px; height: 34px; }
  .workspace-menu strong { font-size: .82rem; }
  .workspace-menu small {
    margin-top: 2px;
    overflow: hidden;
    font-size: .69rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .menu-sheet footer {
    position: sticky;
    z-index: 4;
    bottom: calc(-1 * max(10px, env(safe-area-inset-bottom)));
    padding: 7px 0 max(10px, env(safe-area-inset-bottom));
    background: var(--paper);
  }
  .menu-sheet footer a { min-height: 44px; margin-top: 0; align-items: center; }
}

.feed-loading{display:flex;align-items:center;justify-content:center;gap:8px}.feed-loading::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--lime);box-shadow:15px 0 #8c6fd0,30px 0 #ff8e6f;animation:feedPulse .9s infinite alternate}.feed-loading{padding-right:30px}@keyframes feedPulse{to{opacity:.35;transform:translateY(-3px)}}

@media (min-width: 681px) and (max-width: 1050px) {
  .masonry-feed { --feed-columns: 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feed-image img { transition: none; }
  .discover-core,.discover-orbit,.discover-node,.discover-bubble { animation:none; }
}
