#feed-view{--feed-blue:var(--refresh-blue,#20b5fa);--feed-green:var(--refresh-green,#60dda3)}
body[data-page=feed]>header{display:none}body[data-page=feed]>main{padding-top:24px}
html[data-theme=light] #feed-view .feed-workout{background:#d6eee1}
.feed-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:8px 0 24px}.feed-heading h1{margin:0 0 8px}.feed-heading p{font-size:12px;color:var(--refresh-muted);margin:0}.feed-heading .feed-add{display:grid;place-items:center;width:44px;height:44px;min-width:44px;border:1px solid var(--refresh-line);border-radius:50%;padding:0;background:none;color:var(--feed-blue)}
.feed-post{padding:20px 0 24px;border-top:1px solid var(--refresh-line)}.feed-post-heading{display:flex;align-items:flex-start;gap:8px;margin-bottom:16px}.feed-person{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:0;background:none;border:0;text-align:left}.feed-person>span:last-child{min-width:0}.feed-person strong{display:block;font-size:15px;overflow-wrap:anywhere}.feed-person small{display:block;color:var(--refresh-muted);font-size:11px;margin-top:4px}.feed-avatar{width:38px;height:38px;flex-shrink:0;border-radius:50%;background:var(--refresh-card);display:grid;place-items:center;overflow:hidden;font-size:13px}.feed-avatar img{width:100%;height:100%;object-fit:cover}.feed-post-heading time{font-size:12px;color:var(--refresh-muted);padding-top:6px;white-space:nowrap}.feed-post-heading .feed-menu{background:none;border:0;padding:0 3px;min-width:36px;color:var(--refresh-muted);margin-top:-8px}
.feed-workout{display:flex;flex-direction:column;gap:8px;padding:20px;background:var(--refresh-done,#12251c);border-radius:18px}.feed-workout .feed-kicker{font:11px/1.6 monospace;letter-spacing:1px;color:var(--feed-green)}.feed-workout strong{font-size:36px;line-height:1.2;color:var(--feed-green);overflow-wrap:anywhere}.feed-workout>span:not(.feed-kicker){font-size:17px}.feed-workout small{font-size:13px;color:var(--refresh-muted)}.feed-media{display:block;width:100%;max-height:650px;object-fit:contain;border-radius:16px;background:#101010}.feed-caption{font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;margin:14px 0 0}.feed-message{font-size:16px;margin-top:0}.feed-status:empty{display:none}.feed-status{margin:30px 0;font-size:14px;line-height:1.6}
.feed-choices{display:grid}.feed-choices button{width:100%;text-align:left;min-height:68px;padding:18px 0;border:0;border-bottom:1px solid var(--refresh-line);border-radius:0;background:none;font-size:17px}.feed-compose-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}.feed-compose-actions small{color:var(--refresh-muted)}.feed-compose-actions .primary{min-width:80px}.feed-compose textarea{min-height:140px;resize:vertical}.feed-compose .feed-media{max-height:350px}.feed-workout-picker{max-height:240px;overflow:auto;display:grid;gap:8px}.feed-workout-picker button{text-align:left;padding:14px;background:var(--refresh-card);border:1px solid var(--refresh-line);border-radius:10px;display:grid;gap:6px}.feed-workout-picker small{color:var(--refresh-muted)}.feed-workout-picker button[aria-pressed=true]{border-color:var(--refresh-blue);background:var(--refresh-done,#12251c)}
@media(max-width:360px){.feed-heading p{font-size:11px}.feed-workout strong{font-size:30px}.feed-post-heading{gap:5px}.feed-person strong{font-size:14px}}

.feed-daily{gap:12px}.feed-daily dl{margin:0;display:grid;gap:0}.feed-daily dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--refresh-line)}.feed-daily dl>div:last-child{border-bottom:0;padding-bottom:2px}.feed-daily dt{font-size:15px;line-height:1.4;min-width:0}.feed-daily dd{margin:0;font-size:19px;font-weight:650;line-height:1.4;color:var(--feed-green);text-align:right;max-width:60%;font-variant-numeric:tabular-nums}.feed-daily .feed-goal-complete{color:var(--feed-green);border-top:1px solid var(--refresh-line);padding-top:14px}

/* The reviewed Feed treatment, scoped so the rest of the app keeps its layout. */
#feed-view{--feed-blue:var(--accent,#ff5458);--feed-green:var(--success,#d4f36b);--feed-card:var(--surface,#161616);--feed-tile:var(--bg,#0b0b0b);font-family:Barlow,system-ui,sans-serif;color:var(--ink,#f4f3ee)}
.feed-heading{margin:8px 0 20px}.feed-heading h1{font-family:inherit;font-size:34px;letter-spacing:-.8px;margin:0}.feed-heading p{font-size:13px;margin:6px 0 0}.feed-heading .feed-add{color:var(--ink,#f4f3ee);border-color:var(--line,#2a2a2a)}.feed-filters{display:flex;gap:8px;overflow:auto;padding:0 0 6px;margin:0 0 16px;scrollbar-width:none}.feed-filters button{flex:none;min-height:44px;border:1px solid #333;border-radius:24px;background:none;color:var(--ink,#f4f3ee);font:600 14px Barlow,system-ui;padding:10px 16px}.feed-filters button[aria-pressed=true]{background:#f5f3ed;color:#101010;border-color:var(--ink,#f4f3ee)}.feed-post{padding:18px;border:1px solid transparent;border-radius:24px;background:var(--feed-card);margin:0 0 16px}.feed-post-heading{align-items:center;gap:12px;margin-bottom:16px}.feed-avatar-button{border:0;padding:0;background:none;flex:none;min-width:44px;min-height:44px}.feed-avatar{width:44px;height:44px;background:#292929;font-size:16px}.feed-person{color:inherit;font-family:inherit}.feed-person strong{font-size:17px;line-height:1.35}.feed-verb{font-weight:400}.feed-person small,.feed-person time{font:400 13px/1.4 Barlow,system-ui;color:var(--muted,#b5b5b0);padding:0}.feed-post-heading .feed-menu{min-width:44px;min-height:44px;margin:0}.feed-complete .feed-avatar{box-shadow:0 0 0 2px var(--feed-green)}
#feed-view .feed-workout{background:none;padding:0;border-radius:0;gap:10px}.feed-kicker{font-family:inherit!important;font-size:12px!important;letter-spacing:.6px!important;color:var(--muted,#b5b5b0)!important}.feed-daily dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.feed-daily dl>div,.feed-daily dl>div:last-child{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:3px;padding:14px 12px;border:0;border-radius:16px;background:var(--feed-tile)}.feed-daily dl>div:only-child{grid-column:1/-1}.feed-daily dd{max-width:100%;text-align:left;font-size:25px;line-height:1.2;font-weight:700;color:var(--ink,#f4f3ee);overflow-wrap:anywhere}.feed-daily dt{font-size:14px;color:var(--muted,#b5b5b0)}.feed-extra{color:var(--feed-green);font-size:13px;line-height:1.4;margin-top:6px}.feed-sessions{font-size:13px!important}.feed-daily .feed-goal-complete{font-size:14px;padding-top:10px;border-color:#2d2d2d}.feed-caption{font-family:inherit;font-size:16px;line-height:1.5}.feed-media{border-radius:16px;max-height:680px}.feed-trophy{display:flex;gap:14px;align-items:center;padding:6px 0 14px}.feed-trophy-icon{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:16px;color:#b4a0ff;background:#211d34}.feed-trophy-icon svg{width:26px;height:26px}.feed-trophy strong{display:block;font-size:22px}.feed-trophy span:not(.feed-trophy-icon){display:block;font-size:14px;color:var(--muted,#b5b5b0);margin-top:4px}
#feed-view .feed-reactions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:16px 0 0;padding:0;border:0}#feed-view .feed-reactions button{display:inline-flex;align-items:center;gap:7px;min-height:44px;min-width:44px;padding:10px 14px;border:1px solid #363636;border-radius:25px;background:none;color:var(--ink,#f4f3ee);font:600 15px Barlow,system-ui}#feed-view .feed-reactions button svg{width:20px;height:20px}#feed-view .feed-reactions button[aria-pressed=true]{color:var(--accent,#ff5458);background:color-mix(in srgb,var(--accent,#ff5458) 12%,var(--bg,#0b0b0b));border-color:transparent}#feed-view .feed-reactions button[aria-pressed=true] svg{fill:currentColor}#feed-view .feed-reactions [data-social-status]:not(:empty){flex-basis:100%;font-size:13px;color:#ff9399}#feed-view button:focus-visible{outline:2px solid var(--accent,#ff5458);outline-offset:3px}
html[data-theme=light] #feed-view{--feed-card:#fff;--feed-tile:#f0f0ee;--feed-green:#367716;color:#151515}html[data-theme=light] .feed-filters button{color:#222}html[data-theme=light] .feed-filters button[aria-pressed=true]{background:#222;color:#fff}html[data-theme=light] .feed-daily dd{color:#222}html[data-theme=light] #feed-view .feed-reactions button{color:#222}html[data-theme=light] .feed-person small,html[data-theme=light] .feed-person time,html[data-theme=light] .feed-daily dt{color:#666}
@media(max-width:360px){.feed-post{padding:14px;border-radius:20px}.feed-post-heading{gap:8px}.feed-person strong{font-size:16px}.feed-daily dd{font-size:23px}.feed-filters button{padding:10px 13px}.feed-post-heading .feed-menu{min-width:32px}}

/* Feed finishing pass: one clear heading, consistent story rings and spacing. */
.feed-heading{margin:8px 0 24px;min-height:44px}
.feed-heading .feed-add{background:var(--surface,#161616);border:0;color:var(--ink,#f4f3ee)}
#feed-view .story-rail{gap:18px;padding:6px 6px 24px}
#feed-view .story-person{gap:10px;font:500 13px/1.3 Barlow,sans-serif}
#feed-view .feed-avatar-button.has-story .feed-avatar{box-shadow:none}
#feed-view .feed-post-heading{gap:14px}
#feed-view .feed-post{background:var(--feed-card)}
@media(max-width:360px){#feed-view .feed-post-heading{gap:10px}}
