.sf-root {
  flex: 1; display: flex; flex-direction: column; min-height: 0; min-width: 0;
  color: #212323; background: #fff; line-height: 1.45; text-align: left; overflow: hidden;
}
.sf-root [hidden] { display: none !important; }
.sf-pane { display: flex; flex-direction: column; flex: 1; min-height: 0; min-width: 0; }
.sf-scroll { min-height: 0; flex: 1; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.sf-root button {
  font: inherit; color: inherit; border: 0; background: none; min-height: 0; min-width: 0;
  padding: 0; cursor: pointer; text-align: inherit; box-shadow: none;
}
.sf-root button:focus-visible, .sf-gallery:focus-visible { outline: 2px solid #426cb0; outline-offset: -2px; }
.sf-root button:disabled { cursor: default; }
.sf-root img { display: block; width: 100%; }
.sf-root .sf-mast, .sf-note-mast {
  min-height: 41px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between;
  flex: none; border-bottom: 1px solid #e7e8e8; background: #fafafa; color: #252626;
}
.sf-mast > b { width: 100%; text-align: center; font-size: 14px; }
.sf-root .sf-back { display: inline-flex; align-items: center; gap: 3px; min-height: 36px; font-size: 11px; }
.sf-back span { font: 25px/.8 system-ui,sans-serif; }
.sf-ellipsis { font: 700 17px/1 sans-serif; letter-spacing: .03em; }
.sf-avatar {
  display: inline-grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%;
  background: #e3ede4; color: #35523f; font-weight: 650; font-size: 12px;
}
.sf-square { border-radius: 4px; }
.sf-empty {
  display: grid; place-items: center; width: 100%; height: 100%; min-height: 32px; padding: 8px;
  background: #f4f4f3; color: #5e6264; text-align: center; font-size: 12px; overflow-wrap: anywhere;
}
.sf-subscriptions { padding: 14px 12px; background: #f0f1f0; }
.sf-account,.sf-note-account,.sf-pin-author { display: flex; align-items: center; gap: 6px; font-size: 12px; overflow-wrap: anywhere; }
.sf-account { margin-bottom: 8px; }
.sf-root .sf-msg-card { width: 100%; display: block; border-radius: 8px; border: 1px solid #e3e5e3; overflow: hidden; background: white; }
.sf-msg-image { display: block; aspect-ratio: 2.35; }
.sf-msg-image img,.sf-pin-cover img { height: 100%; object-fit: cover; }
.sf-msg-card > b,.sf-pin > b {
  margin: 9px 10px 4px; font-size: 15px; line-height: 1.5; display: -webkit-box; overflow: hidden;
  -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere;
}
.sf-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0 10px 10px; font-size: 12px; color: #5e6461; }
.sf-continue { display: flex; justify-content: space-between; padding: 9px 10px; border-top: 1px solid #efefef; color: #474c49; font-size: 11px; }
.sf-reading { padding: 17px 15px 24px; }
.sf-root .sf-reading h3 { font-size: 21px; font-weight: 650; line-height: 1.45; color: #171a19; margin-bottom: 8px; }
.sf-byline { display: flex; flex-wrap: wrap; column-gap: 8px; font-size: 12px; color: #5c7194; margin-bottom: 20px; overflow-wrap: anywhere; }
.sf-writer { color: #707473; }
.sf-reading figcaption { margin-top: 5px; text-align: center; font-size: 11px; line-height: 1.55; color: #656c68; overflow-wrap: anywhere; }
.sf-reading figure { margin: 12px 0; }
.sf-reading figure img { height: auto; }
.sf-root .sf-prose p { font-size: 14px; line-height: 1.9; margin: 0 0 12px; }
.sf-note-mast { background: #fff; gap: 5px; border-color: #f1f1f1; }
.sf-note-account { margin-inline-end: auto; font-size: 11px; font-weight: 600; min-width: 0; }
.sf-note-account .sf-avatar { width: 22px; height: 22px; }
.sf-root .sf-discover { background: #fff; }
.sf-discover > b { position: relative; }
.sf-discover > b::after { content: ''; position: absolute; height: 3px; width: 23px; background: #e53950; border-radius: 2px; bottom: -6px; left: calc(50% - 11.5px); }
.sf-discovery { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 6px; padding: 8px; background: #f7f7f7; }
.sf-root .sf-pin { align-self: start; width: 100%; background: white; border-radius: 8px; overflow: hidden; }
.sf-pin-cover { display: block; aspect-ratio: 3/4; }
.sf-pin > b { font-size: 13px; margin: 7px 7px 5px; }
.sf-pin-author { margin: 5px 7px 9px; color: #646466; font-size: 10px; gap: 3px; }
.sf-pin-author .sf-avatar { width: 17px; height: 17px; font-size: 9px; }
.sf-gallery,.sf-slide-empty {
  position: relative; width: 100%; aspect-ratio: 3/4; background: #f4f4f3; touch-action: pan-y pinch-zoom; 
}
.sf-slide { position: absolute; inset: 0; }
.sf-slide img { height: 100%; object-fit: contain; }
.sf-index {
  position: absolute; top: 9px; right: 9px; background: #151515b3; color: white; border-radius: 12px;
  padding: 3px 8px; font-size: 11px; pointer-events: none; font-variant-numeric: tabular-nums;
}
.sf-root .sf-gallery button {
  position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 38px; color: white;
  text-align: center; font: 24px/1 sans-serif; background: #252525aa; border-radius: 5px;
}
.sf-gallery button:disabled { opacity: .25; }
.sf-prev { left: 5px; } .sf-next { right: 5px; }
.sf-note-copy { padding: 14px 12px 20px; }
.sf-root .sf-note-copy h3 { margin-bottom: 7px; font-size: 17px; line-height: 1.45; }
.sf-root .sf-note-copy p { font-size: 13px; line-height: 1.68; margin: 0 0 8px; }
.sf-topic { color: #31557c; }
.sf-gallery:not(.sf-large) { min-height: 94px; max-height: 410px; }
.sf-tags { color: #31557c; font-size: 13px; margin-top: 10px; overflow-wrap: anywhere; line-height: 1.7; }
.sf-note-foot { border-top: 1px solid #ececec; padding: 6px 12px; display: flex; gap: 12px; align-items: center; color: #323232; }
.sf-note-foot span { flex: 1; padding: 4px 9px; border-radius: 12px; background: #f4f4f4; font-size: 11px; color: #777; }
.sf-note-foot i { font: 21px/1 sans-serif; }
.sf-moment { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 8px; padding: 16px 12px; border-bottom: 1px solid #eeefef; }
.sf-moment > .sf-avatar { width: 32px; height: 32px; font-size: 14px; }
.sf-post > b { font-size: 13px; color: #576b91; overflow-wrap: anywhere; }
.sf-post gk-fold-copy { display: block; }
.sf-copy {
  font-size: 13px; line-height: 1.65; color: #252526; overflow-wrap: anywhere; white-space: pre-wrap;
  margin: 2px 0; overflow: hidden; max-height: 9.9em;
}
.sf-expanded .sf-copy { max-height: none; }
.sf-root .sf-more-copy { color: #576b91; font-size: 12px; min-height: 25px; }
.sf-grid { display: grid; gap: 3px; margin-top: 6px; }
.sf-grid.sf-three,.sf-grid.sf-two { grid-template-columns: repeat(3,minmax(0,1fr)); }
.sf-two button:nth-child(3) { grid-column-start: 1; }
.sf-grid.sf-single { grid-template-columns: minmax(0,1fr); }
.sf-root .sf-grid button { height: auto; overflow: hidden; background: #efefef; aspect-ratio: 1; border-radius: 2px; position: relative; }
.sf-grid button img { width: 100%; height: 100%; object-fit: cover; }
.sf-root .sf-single button { max-width: 100%; width: fit-content; aspect-ratio: auto; }
.sf-single button img { margin: 0; width: auto; max-width: 100%; max-height: 238px; height: auto; object-fit: contain; }
.sf-root .sf-lightbox { background: #181818; color: white; border-color: #282828; }
.sf-large { flex: 1; min-height: 0; aspect-ratio: auto; background: #171717; }
@media (prefers-reduced-motion: reduce) { .sf-scroll { scroll-behavior: auto; } }

.sf-work-account { margin-left: 4px; font-size: 11px; color: #75602a; overflow-wrap: anywhere; }
