:root { color-scheme: dark; font-family: system-ui, sans-serif; color: #f3f5e9; background: #101208; }
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; }
header { max-width: 1080px; padding: 20px 24px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid #343926; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: #f3f5e9; text-decoration: none; }
.brand img { border-radius: 6px; }
nav { display: flex; gap: 20px; flex-wrap: wrap; }
a { color: #c7fa3d; text-underline-offset: 4px; }
main, footer { max-width: 760px; margin: auto; padding: 24px; }
.feed-heading { display: flex; gap: 16px; align-items: center; justify-content: space-between; }
h1 { font-size: 28px; margin: 12px 0; }
h2 { font-size: 21px; line-height: 1.35; margin: 20px 0 16px; overflow-wrap: anywhere; }
h2 a { color: #f3f5e9; text-decoration: none; }
h2 a:hover { text-decoration: underline; }
button, .primary-link { display: inline-block; font: inherit; font-size: 14px; font-weight: 700; padding: 11px 14px; background: #252b1c; color: #e3e9d4; border: 1px solid #41472e; border-radius: 6px; cursor: pointer; text-decoration: none; }
.primary-link { background: #c7fa3d; color: #101208; border-color: #c7fa3d; }
.delete-publication { color: #ffb4a9; background: #3c1f1b; border-color: #693d36; }
button:disabled { opacity: .5; cursor: default; }
button[hidden], img[hidden] { display: none; }
a:focus-visible, button:focus-visible { outline: 3px solid #98dded; outline-offset: 4px; }
.feed-entry { border-top: 1px solid #343926; padding: 28px 0; }
.post-author { display: flex; gap: 12px; align-items: center; }
.author-initials { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #263b31; color: #b8efd6; flex: none; font-weight: 700; position: relative; overflow: hidden; }
.author-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
time { display: block; font-size: 13px; color: #b4bda4; margin-top: 4px; }
.post-photo-link { display: block; background: #181c11; }
.post-photo { display: block; width: 100%; max-height: 640px; object-fit: contain; }
.post-summary { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0; color: #98dded; font-size: 14px; }
.post-exercises { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.post-exercises li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #c4cab5; }
.post-exercises img { width: 48px; height: 48px; border-radius: 4px; background: white; object-fit: contain; flex: none; }
.post-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.share-status, #feedStatus { color: #c4cab5; line-height: 1.5; overflow-wrap: anywhere; }
.share-status:empty, #feedStatus:empty { display: none; }
.load-more { display: block; margin: 10px auto 30px; }
footer { border-top: 1px solid #343926; padding-bottom: 40px; }
@media(max-width:520px) { header, main, footer { padding: 18px; } h1 { font-size: 24px; } }
