.space-home[data-space-view="feed"] #space-panel {
  display:flex; flex-direction:column; width:min(100%,1340px); padding:0;
  container:feed / inline-size; overflow:hidden;
}
.feed-page-title { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
#space-panel .feed-switch {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); flex:none;
  padding:0; gap:0; max-width:none; margin:0; border:0; border-radius:0;
  background:var(--bg); border-bottom:1px solid var(--rule);
}
#space-panel .feed-switch a { position:relative; margin:0; min-height:44px; border-radius:0; background:none; }
#space-panel .feed-switch a::after { content:""; position:absolute; bottom:-1px; height:2px; left:22%; right:22%; background:transparent; }
#space-panel .feed-switch [aria-current]::after { background:var(--accent); }
.feed-pages {
  flex:1; min-height:0; display:flex; overflow-x:auto; overflow-y:hidden;
  scroll-snap-type:x mandatory; overscroll-behavior-x:contain; scrollbar-width:none;
}
.feed-pages::-webkit-scrollbar { display:none; }
.feed-page {
  box-sizing:border-box; flex:0 0 100%; min-width:0; overflow-y:auto;
  overscroll-behavior-y:contain; scroll-snap-align:start; padding:0 16px 14px;
  scrollbar-width:thin;
}
#space-panel .feed-page .space-date { margin:0; padding:12px 0 5px; font-size:12px; color:var(--muted); }
#space-panel .space-event { display:grid; grid-template-columns:28px minmax(0,1fr); align-items:start; gap:9px; padding:10px 0; border-bottom:1px solid var(--rule); }
.feed-badge { display:grid; place-items:center; width:28px; height:28px; border-radius:9px; color:var(--accent-text); background:var(--surface-2); font:600 11px var(--sans); }
#space-panel .feed-badge svg { width:16px; height:16px; }
.feed-event-body { min-width:0; }
.feed-event-body header { display:flex; align-items:baseline; gap:8px; font-size:13px; }
.feed-event-body time { font-size:11px; color:var(--muted); }
#space-panel .feed-event-body p { margin:4px 0 0; font:400 15px/1.4 var(--sans); }
.feed-preview { display:grid; position:relative; isolation:isolate; width:100%; height:clamp(94px,34vw,174px); margin:7px 0 2px; border-radius:12px; overflow:hidden; background:var(--surface-2); text-align:left; }
.feed-preview img, .feed-preview::after { z-index:-1; position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 52%; }
.feed-preview::after { content:""; background:linear-gradient(transparent 28%,#100e0dd9); }
.feed-preview span { align-self:end; display:flex; gap:8px; padding:10px; align-items:center; font:600 16px/1.3 var(--sans); color:#fff; }
#space-panel .feed-preview span svg { width:24px; height:24px; padding:5px; border-radius:50%; background:var(--accent); color:var(--accent-ink); fill:currentColor; }
.feed-task-title, .feed-task-ref { display:flex; gap:5px; align-items:center; text-align:left; color:var(--ink); padding:3px 0; min-height:44px; max-width:100%; overflow-wrap:anywhere; }
.feed-task-title { font:600 16px/1.3 var(--sans); }
.feed-task-ref { font-size:13px; color:var(--accent-text); }
#space-panel :is(.feed-task-title,.feed-task-ref,.feed-shortcut,.feed-utilities a)>svg:last-child { width:14px; height:14px; }
#space-panel .feed-reward { display:block; }
.feed-page .sample-flow { border:0; margin:0; }
.feed-shortcuts { margin:3px 0 12px; }
.feed-shortcut { display:grid; grid-template-columns:22px auto 1fr 14px; align-items:center; gap:9px; min-height:44px; text-decoration:none; color:var(--ink); border-bottom:1px solid var(--rule); }
#space-panel .feed-shortcut > svg:first-child { width:18px; height:18px; color:var(--accent-text); }
.feed-shortcut small { color:var(--muted); text-align:right; font-size:12px; }
#space-panel .feed-discovery h2 { font:600 15px/1.3 var(--sans); margin:12px 0 4px; }
.feed-utilities { display:flex; flex-wrap:wrap; gap:0 18px; }
.feed-utilities a { min-height:44px; display:inline-flex; align-items:center; gap:4px; color:var(--accent-text); text-decoration:none; font-size:13px; }
@container feed (min-width:850px) {
  #space-panel .feed-switch { grid-template-columns:3fr 2fr; }
  #space-panel .feed-switch a { justify-items:start; padding-inline:clamp(20px,2cqw,36px); min-height:55px; font-size:20px; color:var(--ink); }
  #space-panel .feed-switch a::after { display:none; }
  .feed-pages { overflow:hidden; scroll-snap-type:none; }
  .feed-page { padding-inline:clamp(20px,2cqw,36px); flex-basis:60%; scroll-snap-align:none; }
  .feed-page[data-lane="explore"] { flex-basis:40%; border-left:1px solid var(--rule); }
  #space-panel .feed-switch a:last-child { border-left:1px solid var(--rule); }
  .feed-preview { height:clamp(160px,20cqw,238px); }
  .feed-shortcuts { margin-top:6px; }
}
