.slf-feed{--slf-ink:#193947;--slf-accent:#12677d;--slf-border:#d4dfe2;max-width:740px;margin:0 auto;color:var(--slf-ink);font-size:15px;line-height:1.55}.slf-feed *{box-sizing:border-box}.slf-feed .slf-card{background:#fff;border:1px solid var(--slf-border);border-radius:14px;padding:18px;margin:0 0 14px;min-width:0}.slf-feed h2{font-size:19px;line-height:1.35;margin:0 0 12px}.slf-feed .slf-status{background:#f2f7f8;border:1px solid var(--slf-border);border-radius:8px;padding:10px 12px;margin:0 0 12px;font-size:13px}.slf-feed .slf-form{margin:0;display:grid;gap:8px}.slf-feed textarea,.slf-feed input:not([type=hidden]){display:block;width:100%;max-width:100%;border:1px solid #c9d6db;border-radius:8px;padding:10px 12px;background:#fff;color:var(--slf-ink);font:inherit;font-size:16px}.slf-feed textarea{min-height:70px;resize:vertical}.slf-feed .slf-file{font-size:13px;color:var(--slf-accent);display:block}.slf-feed input[type=file]{font-size:13px;padding:7px}.slf-feed button{font:inherit;font-weight:600;cursor:pointer;min-height:38px;border:1px solid var(--slf-border);border-radius:8px;background:#fff;color:var(--slf-accent);padding:7px 12px;justify-self:start;max-width:100%;white-space:normal}.slf-feed button.slf-primary{background:var(--slf-accent);color:#fff;border-color:var(--slf-accent)}.slf-feed button.slf-danger{color:#a43338}.slf-feed .slf-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.slf-feed .slf-tabs a{font-size:14px;padding:7px 13px;border:1px solid var(--slf-border);border-radius:8px;color:var(--slf-accent);text-decoration:none;background:#fff}.slf-feed .slf-tabs a[aria-current]{background:var(--slf-accent);color:#fff;border-color:var(--slf-accent)}.slf-feed .slf-author{display:flex;align-items:center;gap:9px;min-width:0;flex-wrap:wrap}.slf-feed .slf-author strong{font-size:14px;overflow-wrap:anywhere;flex:1;min-width:0}.slf-feed .slf-author time{font-size:12px;color:#62757d;white-space:nowrap;margin-left:auto}.slf-feed .slf-avatar,.slf-feed .slf-avatar .scc-avatar{display:grid;place-items:center;width:39px;height:39px;min-width:39px;border-radius:50%;background:#e5eff1;color:var(--slf-accent);font-size:17px;font-weight:700;overflow:hidden;flex-shrink:0;margin:0}.slf-feed .slf-avatar img{object-fit:cover;width:100%;height:100%;border-radius:50%;display:block}.slf-feed .slf-body{overflow-wrap:anywhere;margin:14px 0;white-space:normal}.slf-feed .slf-photo{width:100%;height:auto;max-height:700px;object-fit:contain;display:block;margin:10px 0;border-radius:10px;background:#eef3f4}.slf-feed .slf-actions{border-top:1px solid #e7eef0;display:flex;align-items:center;gap:18px;padding:10px 0 5px;color:#63757e}.slf-feed .slf-like,.slf-feed .slf-count{display:inline-flex;align-items:center;gap:5px;font-size:14px}.slf-feed button.slf-like{border:0;background:transparent;padding:4px 6px;color:#63757e;min-width:42px}.slf-feed button.slf-like.is-liked{color:#bd3546}.slf-feed .slf-like.is-liked svg{fill:currentColor}.slf-feed .slf-permalink{margin-left:auto;font-size:13px;color:var(--slf-accent)}.slf-feed details{margin:6px 0}.slf-feed details summary{cursor:pointer;color:var(--slf-accent);font-size:13px;padding:6px 0}.slf-feed details[open]>summary{margin-bottom:5px}.slf-feed .slf-mini .slf-form{margin:7px 0}.slf-feed .slf-comments{border-top:1px solid #e7eef0;padding-top:5px}.slf-feed .slf-comment{padding:10px 0;border-bottom:1px solid #e7eef0}.slf-feed .slf-comment p{margin:7px 0;overflow-wrap:anywhere}.slf-feed .slf-comments>.slf-form{margin-top:12px}.slf-feed .slf-comment .slf-avatar,.slf-feed .slf-comment .slf-avatar .scc-avatar{width:30px;height:30px;min-width:30px;font-size:13px}.slf-entry,.slf-composer{scroll-margin-top:70px}.slf-feed a:focus-visible,.slf-feed button:focus-visible,.slf-feed summary:focus-visible{outline:2px solid #12677d;outline-offset:2px}@media(max-width:480px){.slf-feed .slf-card{padding:13px;border-radius:12px}.slf-feed .slf-author time{font-size:11px}.slf-feed .slf-actions{gap:12px}}
.slf-feed .slf-like-status:empty{display:none}.slf-feed .slf-like-status{font-size:12px;max-width:180px;color:#a43338}.slf-feed button.slf-like:disabled{opacity:.6;cursor:wait}

/* Compact community timeline, 0.1.1. Native details remain usable without JS. */
.slf-feed [hidden]{display:none!important}.slf-feed{font-size:15px;line-height:1.45}.slf-feed .slf-card{padding:14px;margin:0 0 10px;border-radius:12px}.slf-feed .slf-test{font-size:12px;color:#62757d;margin:0 0 8px;text-align:right}.slf-feed .slf-test-photo{font-size:12px;color:#62757d;margin:10px 0 0}.slf-feed .slf-status{padding:8px 11px;margin:0 0 10px}.slf-feed .slf-composer{padding:10px 12px}.slf-feed .slf-compose-summary{display:flex;align-items:center;gap:10px;list-style:none;padding:0!important;margin:0!important;min-height:44px}.slf-feed .slf-compose-summary::-webkit-details-marker,.slf-feed .slf-post-menu>summary::-webkit-details-marker{display:none}.slf-feed .slf-compose-prompt{flex:1;min-width:0;background:#f0f3f5;border:1px solid #e0e7e9;border-radius:25px;padding:10px 13px;color:#546a75;font-size:15px;line-height:1.35}.slf-feed .slf-compose-icon,.slf-feed .slf-compose-close{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;color:var(--slf-accent)}.slf-feed .slf-compose-close,.slf-feed .slf-composer[open] .slf-compose-icon{display:none}.slf-feed .slf-composer[open] .slf-compose-close{display:grid}.slf-feed .slf-compose-inner{padding-top:12px}.slf-feed .slf-compose-inner textarea{min-height:94px}.slf-feed .slf-compose-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.slf-feed .slf-compose-tools .slf-primary{margin-left:auto;font-size:14px;min-height:42px;padding:8px 13px}.slf-feed .slf-file{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:42px;cursor:pointer;padding:7px 10px;border:1px solid var(--slf-border);border-radius:8px;font-size:14px;overflow:hidden}.slf-feed .slf-file:focus-within{outline:2px solid var(--slf-accent);outline-offset:2px}.slf-feed .slf-file input[type=file]{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;padding:0}.slf-feed .slf-file-name{font-size:12px;max-width:100%;overflow-wrap:anywhere;flex:1;min-width:0;color:#62757d}.slf-feed .slf-file-preview{display:block;width:auto;max-width:100%;max-height:200px;object-fit:contain;border-radius:8px}.slf-feed .slf-tabs{gap:6px;margin:0 0 10px}.slf-feed .slf-tabs a{font-size:13px;font-weight:600;padding:7px 12px;min-height:36px;display:inline-flex;align-items:center}.slf-feed .slf-entry>.slf-author{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr) 40px;grid-template-rows:auto auto;column-gap:9px;row-gap:2px;align-items:center}.slf-feed .slf-entry>.slf-author>.slf-avatar{grid-column:1;grid-row:1/3;align-self:center}.slf-feed .slf-entry>.slf-author>strong{grid-column:2;grid-row:1;font-size:15px;align-self:end;line-height:1.25}.slf-feed .slf-entry>.slf-author>time{grid-column:2;grid-row:2;margin:0;align-self:start;white-space:normal;font-size:12px;line-height:1.3}.slf-feed .slf-post-menu{grid-column:3;grid-row:1/3;margin:0;align-self:start}.slf-feed .slf-post-menu>summary{list-style:none;display:grid;place-items:center;width:40px;height:40px;padding:0;margin:0!important;color:#63757e;border-radius:8px}.slf-feed .slf-post-menu[open]>summary{background:#edf3f5;color:var(--slf-accent)}.slf-feed .slf-menu-panel{position:absolute;top:44px;right:0;width:min(100%,340px);z-index:5;background:#fff;border:1px solid var(--slf-border);border-radius:10px;box-shadow:0 8px 26px #183a4922;padding:8px 12px}.slf-feed .slf-menu-panel>details{margin:0}.slf-feed .slf-menu-panel>details+details{border-top:1px solid #e7eef0}.slf-feed .slf-menu-panel summary{font-size:14px;padding:9px 0}.slf-feed .slf-menu-panel p{font-size:13px;margin:6px 0}.slf-feed .slf-body{margin:12px 0;line-height:1.5;font-size:15px}.slf-feed .slf-actions{gap:14px;padding:4px 0 0;min-height:43px;flex-wrap:wrap}.slf-feed .slf-actions form{display:flex;align-items:center;gap:4px}.slf-feed .slf-actions :is(.slf-like,.slf-comment-toggle,.slf-permalink){display:inline-flex;align-items:center;justify-content:center;gap:5px;border:0;background:transparent;padding:5px 9px;color:#63757e;min-width:42px;min-height:42px;font-size:14px;font-weight:500;line-height:1}.slf-feed .slf-actions .slf-like.is-liked{color:#bd3546}.slf-feed .slf-actions .slf-permalink{margin-left:auto;text-decoration:none}.slf-feed .slf-share-status:empty{display:none}.slf-feed .slf-share-status{width:100%;text-align:right;font-size:12px;color:var(--slf-accent)}.slf-feed .slf-comments{margin:0;border-top:0;padding:0}.slf-feed .slf-comments[open]{border-top:1px solid #e7eef0;padding-top:6px;margin-top:3px}.slf-feed.slf-enhanced .slf-comments>summary{display:none}.slf-feed .slf-comment-input{display:flex;align-items:flex-end;gap:7px}.slf-feed .slf-comment-input textarea{flex:1;min-width:0;min-height:42px;max-height:160px;padding:9px 10px;font-size:16px;line-height:1.35;resize:vertical}.slf-feed .slf-comment-input button{min-width:42px;min-height:42px;padding:8px;display:grid;place-items:center}.slf-feed .slf-comments>.slf-form{margin:9px 0 0}.slf-feed .slf-comment{padding:8px 0}.slf-feed .slf-comment p{font-size:14px}.slf-feed .slf-photo{margin:8px 0 12px}.slf-feed .slf-composer:target{scroll-margin-top:70px}@media(max-width:480px){.slf-feed .slf-card{padding:12px}.slf-feed .slf-composer{padding:9px 10px}.slf-feed .slf-compose-summary{gap:7px}.slf-feed .slf-compose-prompt{font-size:14px;padding:10px}.slf-feed .slf-actions{gap:8px}.slf-feed .slf-entry>.slf-author>time{font-size:11px}}

/* 0.1.2 — архив и компактные фильтры */
.slf-feed .slf-views{display:flex;flex-wrap:wrap;gap:6px}.slf-feed .slf-views a{padding:7px 10px}.slf-feed .slf-archive-filter>summary{font-size:14px;color:var(--slf-accent);font-weight:600;cursor:pointer;margin:0}.slf-feed .slf-archive-filter form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.slf-feed .slf-archive-filter label{display:grid;gap:4px;font-size:13px;min-width:0}.slf-feed .slf-archive-filter label:has(input[name=slf_q]),.slf-feed .slf-archive-tools{grid-column:1/-1}.slf-feed .slf-archive-filter input{box-sizing:border-box;width:100%;min-width:0;font-size:16px}.slf-feed .slf-archive-tools{display:flex;align-items:center;gap:16px}.slf-feed .slf-archive-tools a{font-size:14px}@media(max-width:480px){.slf-feed .slf-archive-filter form{grid-template-columns:minmax(0,1fr)}}

.slf-feed .slf-profile-avatar{display:grid;width:100%;height:100%;place-items:center;color:inherit;text-decoration:none}.slf-feed .slf-profile-name{color:inherit;text-decoration:none;overflow-wrap:anywhere}.slf-feed .slf-profile-name:hover{text-decoration:underline}

/* 0.1.4 — несколько снимков */
.slf-feed .slf-file-previews,.slf-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:8px 0 12px}.slf-gallery-single{grid-template-columns:minmax(0,1fr)}.slf-gallery-link{display:block;min-width:0;overflow:hidden;border-radius:8px;background:#eef3f4}.slf-gallery:not(.slf-gallery-single) .slf-photo{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block;margin:0;border-radius:0}.slf-gallery-single .slf-photo{width:100%;height:auto;max-height:700px;object-fit:contain;display:block;margin:0}.slf-feed .slf-preview-item{position:relative;min-width:0}.slf-feed .slf-preview-item img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}.slf-feed button.slf-preview-remove{position:absolute;top:4px;right:4px;background:#fff;color:#183a49;border-radius:50%;width:32px;min-height:32px;padding:0;line-height:1;font-size:22px}.slf-feed .slf-photo-error{font-size:13px;color:#a43338}.slf-feed button.slf-clear-photos{font-size:13px;min-height:32px}.slf-feed button:disabled{opacity:.6;cursor:not-allowed}
.slf-actions .scc-social-form{margin:0;display:inline-flex}.slf-actions .scc-social-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;min-width:40px;padding:6px;border:0;background:transparent;color:#60747d;cursor:pointer}.slf-actions .scc-social-button.is-active{color:#12677d}.slf-views{flex-wrap:wrap;gap:6px}.slf-views a{white-space:nowrap}

#scc-social-notice{position:fixed;z-index:100000;left:50%;bottom:calc(88px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);box-sizing:border-box;width:max-content;max-width:calc(100% - 32px);background:#193849;color:#fff;border-radius:8px;padding:10px 14px;font-size:13px;line-height:1.4;box-shadow:0 3px 12px #0002}
#scc-social-notice[hidden]{display:none!important}

.slf-album{margin:8px 0;overflow-wrap:anywhere}.slf-album-kicker{font-size:12px;color:#12677d;font-weight:600}.slf-album h3{margin:5px 0;font-size:17px}.slf-album h3 a,.slf-album-link{color:#12677d;text-decoration:none}.slf-album p{margin:6px 0}.slf-album-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:10px 0}.slf-album-grid>div{min-width:0}.slf-album-grid img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:8px}.slf-album-grid a{display:block}.slf-album-link{font-size:13px;font-weight:600}

/* 0.1.12: only the feed navigation scrolls, never the entire page. */
@media (max-width:767px){
 .slf-feed{min-width:0;max-width:100%}
 .slf-feed .slf-tabs.slf-views{display:flex;flex-flow:row nowrap;justify-content:flex-start;align-items:center;gap:6px;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:2px 2px 3px;scroll-padding-inline:2px}
 .slf-feed .slf-tabs.slf-views::-webkit-scrollbar{display:none}
 .slf-feed .slf-tabs.slf-views>a{flex:0 0 auto;white-space:nowrap;min-height:36px;margin:0}
 .slf-feed .slf-tabs.slf-views>a:focus-visible{outline:2px solid var(--slf-accent);outline-offset:-2px}
}

/* 0.1.13 — softly tinted comment cards, scoped to the regular feed and albums. */
.slf-feed .slf-comments > .slf-comment {
  background: #eef3f5;
  border: 1px solid #dce5e8;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 8px 0;
  min-width: 0;
}
.slf-feed .slf-comments > .slf-comment .slf-avatar,
.slf-feed .slf-comments > .slf-comment .slf-avatar .scc-avatar {
  background: #dce9ed;
}
.slf-feed .slf-comments > .slf-comment .slf-mini > summary {
  list-style: none;
}
.slf-feed .slf-comments > .slf-comment .slf-mini > summary::-webkit-details-marker {
  display: none;
}
.slf-feed .slf-comments > .slf-comment .slf-mini > summary::before {
  content: '+ '; font-weight: 600;
}
.slf-feed .slf-comments > .slf-comment .slf-mini[open] > summary::before {
  content: '− ';
}
@media (max-width: 480px) {
  .slf-feed .slf-comments > .slf-comment { padding: 9px 10px; }
}

.slf-org-choice{display:grid;gap:5px;margin:0 0 10px;color:#193947;font-size:13px;font-weight:600}.slf-org-choice select{box-sizing:border-box;width:100%;max-width:100%;min-width:0;background:#eef3f5;color:#193947;border:1px solid #d5e0e3;border-radius:8px;padding:8px 10px;font:inherit}.slf-org-heading{display:flex;flex-direction:column;gap:4px}.slf-org-heading a{color:#12677d;font-weight:700}.slf-org-heading span{color:#63757e;font-size:13px}

/* Direct subscriptions in post headers. Keep name/date/menu independent. */
.slf-feed .slf-entry>.slf-author:has(>.slf-header-follow){grid-template-columns:40px minmax(0,1fr) auto 40px}
.slf-feed .slf-entry>.slf-author:has(>.slf-header-follow)>.slf-post-menu{grid-column:4}
.slf-feed .slf-event>.slf-author:has(>.slf-header-follow){grid-template-columns:40px minmax(0,1fr) auto}
.slf-feed .slf-header-follow{grid-column:3;grid-row:1/3;min-width:0;align-self:center;justify-self:end}
.slf-feed .slf-header-follow .scc-social-form{margin:0;padding:0;display:block}
.slf-feed .slf-header-follow .scc-social-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 9px;border-radius:8px;border:1px solid #12677d;background:#12677d;color:#fff;font-size:12px;line-height:1.2;font-weight:600;white-space:nowrap;box-shadow:none}
.slf-feed .slf-header-follow .scc-social-button.is-active{background:#edf3f5;border-color:#cddde1;color:#12677d}
.slf-feed .slf-header-follow .scc-social-button[aria-busy=true]{opacity:.75}
@media(max-width:370px){
 .slf-feed .slf-entry>.slf-author:has(>.slf-header-follow){grid-template-columns:40px minmax(0,1fr) 40px;grid-template-rows:auto auto auto;row-gap:4px}
 .slf-feed .slf-entry>.slf-author:has(>.slf-header-follow)>.slf-post-menu{grid-column:3}
 .slf-feed .slf-header-follow{grid-column:2/4;grid-row:3;justify-self:start}
 .slf-feed .slf-event>.slf-author:has(>.slf-header-follow){grid-template-columns:40px minmax(0,1fr) 40px}
}
