/* FEED CARD, TAB BAR, SHEETS. Same ground as the app: IBM Plex Sans, paper, hairlines, STRIVE blue.
   Orange is one variable and is spent on two marks only: the peak of a card's drawing and a sent XUDOS. The run map is blue. Nothing here pulses or bounces. */
:root{--strive-orange:#fc4c02}

/* the card */
.fc{background:var(--box);border:1px solid var(--rule);margin:0 0 12px;padding:0;overflow:hidden}
.fc-top{display:flex;align-items:center;gap:12px;padding:16px 16px 0}
.fc-top>a{display:inline-flex}
.fc-who{min-width:0;display:flex;flex-direction:column;line-height:1.3}
.fc-name{font-size:15px;font-weight:600;color:var(--ink)}
.fc-who small{font-size:13px;color:var(--soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fc-chip{margin-left:auto;align-self:flex-start;font-size:12px;font-weight:500;color:var(--blue);background:var(--blue-wash);border:1px solid var(--blue-soft);padding:3px 8px;border-radius:999px;white-space:nowrap}
.fc-face{--s:40px;width:var(--s);height:var(--s);flex:0 0 var(--s);border-radius:50%;overflow:hidden;display:inline-grid;place-items:center;background:var(--blue-wash);border:1px solid var(--blue-soft)}
.fc-face img{width:100%;height:100%;object-fit:cover;display:block}
.fc-mono{color:var(--blue);font-weight:600;font-size:calc(var(--s) * .42)}
.fc-body{display:block;padding:12px 16px 0;color:inherit}
.fc-body:hover{color:inherit}
.fc-body:hover .fc-title{color:var(--blue)}
.fc-title{font-size:20px;line-height:1.25;font-weight:600;letter-spacing:-.01em;margin:0}
.fc-cap{margin:4px 0 0;font-size:14px;color:var(--ink)}
.fc-numbers{display:flex;align-items:flex-end;gap:12px 28px;flex-wrap:wrap;margin:14px 0 0}
.fc-hero{display:flex;flex-direction:column;line-height:1}
.fc-n{font-size:44px;font-weight:600;letter-spacing:-.03em;color:var(--ink)}
.fc-u{font-size:13px;color:var(--soft);margin-top:6px}
.fc-stats{display:flex;gap:22px;margin:0;padding-bottom:2px}
.fc-stats div{display:flex;flex-direction:column}
.fc-stats dt{font-size:12px;color:var(--soft)}
.fc-stats dd{margin:2px 0 0;font-size:17px;font-weight:500}
.fc-spark{position:relative;height:56px;margin:14px 0 0}
.fc-spark svg{display:block;width:100%;height:100%}
.fc-area{fill:var(--blue-wash)}
.fc-line{fill:none;stroke:var(--blue);stroke-width:2;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.fc-peak{position:absolute;width:9px;height:9px;margin:-4.5px 0 0 -4.5px;border-radius:50%;background:currentColor;box-shadow:0 0 0 2px var(--box)}
.fc-peak,.fc-bars b{color:var(--strive-orange)}
.fc-badge{display:flex;align-items:center;gap:6px;margin:12px 0 0;font-size:13px;line-height:1.3;color:var(--soft);min-width:0}
.fc-badge svg{flex:none;color:var(--blue)}
.fc-badge b{font-weight:600;color:var(--blue)}
.fc-badge span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fc-map{margin:14px 0 0}
.fc-map svg{display:block;width:100%;height:auto}
.fc-rail{stroke:var(--blue-soft);stroke-width:1}
.fc-hop{fill:none;stroke:var(--blue);stroke-width:1.3;opacity:.4;stroke-linecap:round}
.fc-stn{fill:var(--box);stroke:var(--blue);stroke-width:1.6}
.fc-map-k{margin:4px 0 0;font-size:12px;color:var(--soft)}
.fc-stride{display:flex;align-items:flex-start;gap:10px;margin:14px 0 0;min-width:0}
.fc-stride pre{flex:1 1 auto;min-width:0;margin:0;padding:10px 12px;font:inherit;font-size:13px;line-height:1.5;background:var(--paper);border:1px solid var(--rule-2);color:var(--soft);white-space:pre-wrap;overflow-wrap:anywhere}
.fc-bars{font:15px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:1px;color:var(--blue)}
.fc-where{white-space:normal;overflow-wrap:anywhere} /* a long run address wraps inside the card instead of being cut off at 390 px */
.fc-bars b{font-weight:inherit}
.fc-copy{flex:none;min-height:36px;padding:0 12px;font:500 13px/1 'IBM Plex Sans',system-ui,sans-serif;color:var(--blue);background:var(--blue-wash);border:1px solid var(--blue-soft);border-radius:2px;cursor:pointer;transition:transform .16s cubic-bezier(.23,1,.32,1)}
.fc-copy:active{transform:scale(.97)}
.fc-copy+.fc-copy{margin-left:-4px}
.fc .fc-foot{display:flex;border-top:1px solid var(--rule-2);margin:14px 0 0;padding:0;max-width:none;color:inherit;font-size:inherit}
.fc .fc-top{max-width:none;margin:0}
.landing-feature .fc{margin:0 0 12px}
.fc-act{flex:1 1 0;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 8px;font:500 14px/1 'IBM Plex Sans',system-ui,sans-serif;color:var(--soft);background:none;border:0;border-radius:0;cursor:pointer}
.fc-act+.fc-act{border-left:1px solid var(--rule-2)}
button.fc-act:hover,a.fc-act:hover{background:var(--blue-wash);color:var(--blue);border-color:var(--rule-2)}
.fc-act.kudo{color:var(--ink)}
.fc-act.kudo svg{color:var(--soft)}
.fc-act.kudo.on,.fc-act.kudo.on svg{color:var(--strive-orange)}
.fc-kudos-mine{cursor:default}
.fc .ack-picker{padding:14px 16px;border-top:1px solid var(--rule-2)}
@media (prefers-reduced-motion:no-preference){
  .fc-act.kudo svg{transition:transform .18s cubic-bezier(.23,1,.32,1),color .18s ease-out}
  .fc-act.kudo:active svg{transform:scale(.86)}
  .fc-act.kudo.on.pop svg{animation:fc-kudo .32s cubic-bezier(.23,1,.32,1)}
}
@keyframes fc-kudo{from{transform:scale(.72)}to{transform:scale(1)}}

/* the empty chair after a short feed */
.fc-next{display:flex;align-items:center;gap:12px;padding:16px;border:1px dashed var(--blue-soft);background:none;margin:0 0 12px;color:var(--ink)}
.fc-next span:last-child{display:flex;flex-direction:column;line-height:1.35}
.fc-next small{color:var(--blue);font-size:13px;font-weight:500}
.fc-next:hover{background:var(--blue-wash)}

/* builders to follow */
.fc-builders{background:var(--box);border:1px solid var(--rule);margin:0 0 12px}
.fc-builders h2{font-size:15px;margin:0;padding:14px 16px 4px}
.fc-builder{display:flex;align-items:center;gap:12px;padding:10px 16px}
.fc-builder+.fc-builder{border-top:1px solid var(--rule-2)}
.fc-builder .card-follow{margin-left:auto}

/* exactly one evidence-backed signature visual per run */
.fc-proof{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:14px -16px 0;padding:16px;background:var(--blue-wash);border-top:1px solid var(--blue-soft);border-bottom:1px solid var(--blue-soft)}
.fc-proof>div{position:relative;padding:18px 9px 4px;border-top:2px solid var(--blue)}
.fc-proof>div:before{content:"";position:absolute;left:8px;top:-5px;width:8px;height:8px;border-radius:50%;background:var(--blue)}
.fc-proof dt{font-size:10px;line-height:1.2;letter-spacing:.08em;text-transform:uppercase;color:var(--blue);font-weight:600}.fc-proof dd{margin:5px 0 0;font-size:12px;line-height:1.35;color:var(--ink)}
.fc-result{display:flex;gap:14px;align-items:center;margin:14px -16px 0;padding:18px 16px;background:var(--blue-wash);border-top:1px solid var(--blue-soft);border-bottom:1px solid var(--blue-soft)}.fc-result b{font-size:40px;line-height:1;color:var(--blue)}.fc-result span{font-size:14px;line-height:1.35}
.fc-photo{margin:14px -16px 0}.fc-photo img{display:block;width:100%;max-height:340px;object-fit:cover}
.fc-source{margin:12px 0 0;color:var(--soft);font-size:12px}
.fc-atlas{margin:14px -16px 0;padding:14px 16px;background:var(--blue-wash);border-top:1px solid var(--blue-soft);border-bottom:1px solid var(--blue-soft)}.fc-atlas svg{display:block;width:100%;height:auto}.fc-atlas path{fill:none;stroke:var(--blue);stroke-width:2}.fc-atlas circle{fill:var(--blue)}.fc-atlas p{margin:6px 0 0;color:var(--soft);font-size:11px;line-height:1.35}
@media(max-width:520px){.fc-proof{grid-template-columns:1fr 1fr}.fc-proof>div:nth-child(n+3){margin-top:10px}}

/* the landing: headline, one action, then real cards */
.land{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,520px);gap:56px;align-items:start;padding:40px 0 24px}
.land .landing-intro{padding:40px 0 0;position:sticky;top:94px}
.land .landing-intro h1{font-size:clamp(34px,3.4vw,46px);font-weight:600;letter-spacing:-1.5px;line-height:1.06;max-width:17ch;margin:0 0 18px}
.land .cta{display:flex;gap:10px;margin:0 0 12px}
.land .cta .primary{background:var(--blue);border-color:var(--blue);color:#fff;padding:14px 20px;font-size:15px}
.land .cta .primary:hover{background:#0038cc;color:#fff}
.land-head{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 10px}
.land-head h2{font-size:15px;font-weight:600;margin:0}
.land-head a{font-size:14px;color:var(--blue);font-weight:500}
.land .public-run-count{max-width:none;margin:0;padding:0;border:0;background:none;font-size:13px;color:var(--soft)}
@media(max-width:800px){
  .land{grid-template-columns:1fr;gap:18px;padding:18px 0 8px}
  .land .landing-intro{padding:0;position:static}
  .land .landing-intro h1{font-size:30px;letter-spacing:-1px;max-width:none;margin:0 0 14px}
  .land .cta .primary{flex:1 1 auto;text-align:center;justify-content:center;min-height:48px;display:inline-flex;align-items:center}
  .land .landing-intro .hint{margin:0}
}

/* the avatar owns account actions on desktop */
.account-panel .menu-sep{border-top:1px solid var(--rule-2);margin:4px 0}
.account-panel button.menu-signin{width:100%;text-align:left;padding:8px 10px;background:none;color:var(--blue);border:0;font-size:13px}
.bar nav .account-menu>summary .nav-badge{margin-left:4px}

/* phone: one bottom tab bar replaces the second top strip */
.tabbar{display:none}
.sheet{display:none}
@media(max-width:900px){
  .tabbar{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:repeat(3,1fr);background:var(--box);border-top:1px solid var(--rule);padding:0 0 env(safe-area-inset-bottom);white-space:normal;overflow:visible;gap:0;font-size:12px}
  .tabbar[hidden]{display:none}
  .tabbar>a,.tabbar>button{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:56px;padding:6px 0;background:none;border:0;border-radius:0;color:var(--soft);font:500 12px/1 'IBM Plex Sans',system-ui,sans-serif;cursor:pointer;position:relative}
  .tabbar>a:hover,.tabbar>button:hover{background:none;color:var(--ink)}
  .tabbar svg{width:22px;height:22px}
  .tabbar .on,.tabbar [aria-current=page],.tabbar [aria-expanded=true]{color:var(--blue);font-weight:600}
  .tabbar .tab-post svg{color:#fff;background:var(--blue);border-radius:50%;padding:3px;width:26px;height:26px}
  .tabbar .nav-badge{position:absolute;top:8px;left:calc(50% + 8px);margin:0}
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  .sheet{display:block;position:fixed;left:0;right:0;bottom:calc(56px + env(safe-area-inset-bottom));z-index:29;background:var(--box);border-top:1px solid var(--rule);box-shadow:0 -8px 24px rgba(10,10,10,.08);padding:8px 0;max-height:70vh;overflow:auto}
  .sheet[hidden]{display:none}
  .sheet a,.sheet button{display:flex;align-items:center;width:100%;min-height:48px;padding:0 20px;font:500 15px/1 'IBM Plex Sans',system-ui,sans-serif;color:var(--ink);background:none;border:0;border-radius:0;text-align:left}
  .sheet button.menu-signin{color:var(--blue)}
  .sheet a:hover,.sheet button:hover{background:var(--blue-wash);color:var(--ink)}
  .sheet .menu-sep{border-top:1px solid var(--rule-2);margin:6px 0}
  .sheet .nav-badge{margin-left:8px}
  .bar .right{gap:10px}
}
.bar nav .account-menu.on>summary{color:var(--ink);font-weight:500}
