html.public-feed-document { scroll-behavior: smooth; }
.public-feed-page { min-height: 100vh; background: #f7f9fc; }
.public-feed-page button:not(:disabled) { transition: transform .16s ease, box-shadow .16s ease; }
.public-feed-page button:not(:disabled):hover { transform: translateY(-1px); }
.public-feed-header { position: sticky; z-index: 1000; top: 0; display: grid; grid-template-columns: minmax(126px, 160px) minmax(180px, 1fr) auto; min-height: 72px; align-items: center; gap: 26px; padding: 0 max(24px, calc((100vw - 1480px) / 2)); border-bottom: 1px solid var(--line-soft); background: #fff; box-shadow: 0 2px 12px rgb(28 43 64 / 3%); }
.public-feed-brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.public-feed-brand-wordmark { display: block; width: 138px; max-height: 38px; object-fit: contain; object-position: left center; }
.public-feed-search { position: relative; display: flex; width: 100%; max-width: 680px; min-width: 0; height: 44px; align-items: center; gap: 10px; padding: 0 8px 0 14px; border: 1px solid #e3e8ef; border-radius: 11px; background: #f6f8fb; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.public-feed-search:focus-within { border-color: var(--action); background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--action) 18%, transparent); }
.public-feed-search > svg { width: 19px; height: 19px; flex: 0 0 19px; fill: none; stroke: #7c899a; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.public-feed-search input { width: 100%; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; color: #344154; background: transparent; font: inherit; font-size: 13px; }
.public-feed-search input::placeholder { color: #6d7785; opacity: 1; }
.public-feed-search button { display: grid; width: 31px; height: 31px; flex: 0 0 31px; padding: 0; place-items: center; border: 0; border-radius: 8px; color: #64748a; background: transparent; cursor: pointer; transition: transform .16s ease; }
.public-feed-search button:hover { transform: scale(1.04); }
.public-feed-search button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.public-feed-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.public-feed-header-icon, .public-feed-notifications > summary, .public-feed-header-profile { position: relative; display: inline-flex; width: 40px; height: 40px; flex: 0 0 40px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 11px; color: #536276; background: transparent; text-decoration: none; cursor: pointer; transition: transform .16s ease; }
.public-feed-header-icon { color: var(--action-dark); }
.public-feed-header-icon:hover, .public-feed-notifications > summary:hover, .public-feed-header-profile:hover { transform: scale(1.03); }
.public-feed-header-icon svg, .public-feed-notifications > summary svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.public-feed-header-icon:focus-visible, .public-feed-notifications > summary:focus-visible, .public-feed-header-profile:focus-visible, .public-feed-nav-publish:focus-visible, .feed-sidebar-toggle:focus-visible { outline: 3px solid color-mix(in srgb, var(--action) 38%, transparent); outline-offset: 2px; }
.public-feed-notifications { position: relative; }
.public-feed-notifications > summary { list-style: none; }
.public-feed-notifications > summary::-webkit-details-marker { display: none; }
.public-feed-notification-dot { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; background: #ee5555; }
.public-feed-notification-popover { position: absolute; z-index: 1010; top: calc(100% + 10px); right: -10px; width: min(280px, calc(100vw - 32px)); padding: 16px; border: 1px solid #e7ebf1; border-radius: 12px; background: #fff; box-shadow: 0 14px 40px rgb(22 36 55 / 15%); }
.public-feed-notification-popover strong { color: #26354a; font-size: 13px; }
.public-feed-notification-popover p { margin: 7px 0 0; color: #6c7787; font-size: 12px; line-height: 1.45; }
.public-feed-header-profile { gap: 4px; }
.public-feed-header-profile img { display: block; width: 32px; height: 32px; border: 1px solid #e5eaf0; border-radius: 50%; object-fit: cover; }
.public-feed-profile-chevron { width: 14px; height: 14px; fill: none; stroke: #7b8797; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.public-feed-nav-publish { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 1px solid var(--action); border-radius: 10px; color: #fff; background: var(--action); box-shadow: 0 3px 9px color-mix(in srgb, var(--action) 18%, transparent); font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .16s ease, transform .16s ease, box-shadow .16s ease; }.public-feed-nav-publish:hover{ transform: translateY(-1px); }
.public-feed-nav-publish svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.public-feed-main { width: 100%; margin: 0; padding: 24px max(24px, calc((100vw - 1480px) / 2)) 28px; }
.public-feed-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: start; gap: 28px; }
.public-feed-content { grid-column: 2; grid-row: 1; min-width: 0; }
.feed-sidebar { position: sticky; top: 88px; grid-column: 1; grid-row: 1; max-height: calc(100vh - 106px); min-height: calc(100vh - 130px); margin-top: 2px; padding-right: 14px; overflow-y: auto; border-right: 1px solid var(--line-soft); scrollbar-width: none; }
.feed-sidebar::-webkit-scrollbar { display: none; }
@media (min-width: 901px) {
  .public-feed-page .feed-sidebar {
    position: fixed;
    z-index: 900;
    top: 72px;
    left: max(24px, calc((100vw - 1480px) / 2));
    box-sizing: border-box;
    width: 250px;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
    max-height: calc(100dvh - 72px);
    min-height: 0;
    margin: 0;
    padding: 16px 14px 24px 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-right: 1px solid var(--line-soft);
    background: #f7f9fc;
    scrollbar-color: transparent transparent;
    scrollbar-width: none;
  }
  .public-feed-page .feed-sidebar:hover,
  .public-feed-page .feed-sidebar:focus-within { scrollbar-color: #cbd5e1 transparent; scrollbar-width: thin; }
  .public-feed-page .feed-sidebar::-webkit-scrollbar { display: none; width: 0; }
  .public-feed-page .feed-sidebar:hover::-webkit-scrollbar,
  .public-feed-page .feed-sidebar:focus-within::-webkit-scrollbar { display: block; width: 6px; }
  .public-feed-page .feed-sidebar::-webkit-scrollbar-thumb { border-radius: 999px; background: #cbd5e1; }
  .public-feed-page .feed-sidebar::-webkit-scrollbar-track { background: transparent; }
}
.feed-sidebar-inner { display: flex; flex-direction: column; gap: 17px; }
.feed-sidebar-ad-section { display: grid; min-width: 0; gap: 8px; margin-top: -9px; padding-top: 8px; border-top: 1px solid #e9edf3; }
.feed-sidebar-ad-section > h2 { margin: 0; color: #26354a; font-size: 12px; font-weight: 650; }
.feed-sidebar-ad-list { display: grid; min-width: 0; }
.feed-sidebar-empty { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.feed-sidebar-ad-item { display: flex; min-width: 0; align-items: flex-start; gap: 9px; padding: 9px 1px; border-bottom: 1px solid #e9edf3; }
.feed-sidebar-ad-item:last-child { border-bottom: 0; }
.feed-sidebar-ad-avatar { display: block; width: 36px; height: 36px; flex: 0 0 36px; overflow: hidden; border: 1px solid #e6ebf1; border-radius: 50%; background: #f2f5f8; }
.feed-sidebar-ad-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feed-sidebar-ad-copy { display: grid; min-width: 0; gap: 3px; }
.feed-sidebar-ad-copy > a,
.feed-sidebar-ad-copy > span { display: block; overflow: hidden; min-width: 0; text-overflow: ellipsis; white-space: nowrap; }
.feed-sidebar-ad-copy > a { color: #26354a; font-size: 12px; font-weight: 650; line-height: 1.25; text-decoration: none; }
.feed-sidebar-ad-copy > span { color: #66758a; font-size: 11px; line-height: 1.3; }
.feed-sidebar-ad-copy > small { display: flex; min-width: 0; align-items: center; gap: 3px; overflow: hidden; color: #6b7887; font-size: 10px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.feed-sidebar-ad-copy > small > svg { width: 11px; height: 11px; flex: 0 0 11px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feed-sidebar-toggle, .feed-sidebar-close, .feed-sidebar-drawer-header { display: none; }
.feed-sidebar-backdrop { display: none; }
.feed-sidebar-profile { display: flex; min-width: 0; align-items: center; gap: 11px; padding: 13px 11px; border: 1px solid #e8edf3; border-radius: 13px; background: #fff; box-shadow: 0 5px 16px rgb(31 47 69 / 4%); }
.feed-sidebar-profile > img { display: block; width: 52px; height: 52px; flex: 0 0 52px; border: 1px solid #e6ebf1; border-radius: 50%; background: #f2f5f8; object-fit: cover; }
.feed-sidebar-profile-copy { display: grid; min-width: 0; gap: 5px; }
.feed-sidebar-profile-copy > strong { overflow: hidden; color: #26354a; font-size: 14px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.feed-sidebar-profile-copy > span { display: inline-flex; align-items: center; gap: 4px; color: #6c7787; font-size: 10px; }
.feed-sidebar-profile-copy > span svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feed-sidebar-profile-copy > a { color: var(--action-dark); font-size: 11px; font-weight: 550; text-decoration: none; }
.feed-sidebar-profile-copy > a:hover { text-decoration: underline; }
.feed-sidebar-nav { display: grid; gap: 4px; }
.feed-sidebar-nav a, .feed-sidebar-nav button { display: flex; width: 100%; min-height: 42px; align-items: center; gap: 12px; padding: 0 11px; border: 0; border-radius: 9px; color: #536276; background: transparent; font: inherit; font-size: 12px; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer; transition: transform .16s ease; }
.feed-sidebar-nav a:hover, .feed-sidebar-nav button:hover { transform: translateX(1px); }
.feed-sidebar-nav button[aria-pressed="true"] { color: var(--action-dark); background: #f0f5ff; }
.feed-sidebar-nav a[aria-current="page"] { color: var(--action-dark); background: #eaf2ff; font-weight: 600; }
.feed-sidebar-nav svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feed-sidebar-nav a[aria-current="page"] svg { fill: currentColor; stroke: currentColor; }
.feed-sidebar-nav a[aria-current="page"].feed-sidebar-feed-link svg { fill: none; }
.feed-sidebar-section { display: grid; gap: 11px; padding-top: 14px; border-top: 1px solid #e9edf3; }
.feed-sidebar-coupon-section { gap: 9px; }
.feed-sidebar-coupon { position: relative; box-sizing: border-box; width: min(100%, 228px); justify-self: center; min-width: 0; min-height: 0; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto auto; grid-template-areas: "title status" "description description" "footer footer" "expiry expiry"; align-content: start; align-items: center; gap: 7px 8px; padding: 13px; border-radius: 16px; }
.feed-sidebar-coupon .wallet-coupon-available-tag { grid-area: status; align-self: center; max-width: 100%; gap: 4px; padding: 4px 6px; font-size: 9px; }
.feed-sidebar-coupon .wallet-coupon-available-tag .coupon-ticket-icon { width: 11px; height: 11px; }
.feed-sidebar-coupon h3 { grid-area: title; align-self: center; margin: 0; font-size: 15px; line-height: 1.2; -webkit-line-clamp: 1; }
.feed-sidebar-coupon .wallet-coupon-description { grid-area: description; align-self: start; margin: 0; font-size: 11px; line-height: 1.35; }
.feed-sidebar-coupon .wallet-coupon-expiry { grid-area: expiry; display: flex; align-items: center; justify-self: center; gap: 5px; margin: 0; padding: 4px 8px; font-size: 10px; line-height: 1.2; text-align: center; }
.feed-sidebar-coupon .wallet-coupon-expiry > svg { width: 12px; height: 12px; flex: 0 0 12px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feed-sidebar-coupon .wallet-coupon-banner-footer { grid-area: footer; width: 100%; gap: 8px; margin-top: 1px; padding-top: 8px; }
.feed-sidebar-coupon .wallet-coupon-value { min-width: 0; gap: 2px; }
.feed-sidebar-coupon .wallet-coupon-value > span { font-size: 9px; }
.feed-sidebar-coupon .wallet-coupon-value > strong { font-size: 19px; }
.feed-sidebar-coupon .wallet-redeem-button { width: auto; min-height: 38px; padding: 0 9px; border-radius: 9px; font-size: 10px; }
.feed-sidebar-coupon-feedback { grid-column: 1 / -1; margin: 0; padding: 7px 8px; border: 1px solid color-mix(in srgb, currentColor 18%, white); border-radius: 8px; background: rgb(255 255 255 / 72%); font-size: 9px; line-height: 1.35; }
.feed-sidebar-coupon-feedback[hidden] { display: none; }
.feed-sidebar-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 3px; }
.feed-sidebar-section-heading h2 { margin: 0; color: #26354a; font-size: 12px; font-weight: 650; }
.feed-sidebar-section-heading > a { color: var(--action-dark); font-size: 10px; font-weight: 550; text-decoration: none; white-space: nowrap; }
.feed-sidebar-section-heading > a:hover { text-decoration: underline; }
.feed-sidebar-categories { gap: 3px; }
.feed-sidebar-categories .feed-sidebar-section-heading { margin-bottom: 3px; }
.feed-sidebar-categories > a { display: flex; min-width: 0; min-height: 34px; align-items: center; gap: 10px; padding: 0 4px; border-radius: 7px; color: #59677a; font-size: 10px; font-weight: 450; text-decoration: none; }.feed-sidebar-categories > a[aria-current="true"]{ color: var(--action-dark); background: #eef4ff; }
.feed-sidebar-categories > a svg { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feed-sidebar-categories > a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-saved-empty-state { margin: 12px 0; padding: 20px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); background: #fff; font-size: 13px; text-align: center; }
.feed-model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 18px; }
.feed-model-grid > .feed-masonry-column { display: flex; min-width: 0; flex-direction: column; gap: 18px; }
.feed-model-grid .feed-preview-card-shell { order: 0; }
.public-feed-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 17px; }
.public-feed-card { display: flex; min-width: 0; min-height: 385px; flex-direction: column; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 13px; background: #fff; box-shadow: 0 4px 14px rgb(30 45 68 / 4%); transition: transform .18s ease, box-shadow .18s ease; }
.public-feed-card:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgb(30 45 68 / 9%); }
.public-feed-card-author { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 14px 14px 12px; }
.public-feed-avatar { display: block; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid var(--line-soft); border-radius: 50%; background: var(--surface-soft); object-fit: cover; }
.public-feed-author-copy { display: grid; min-width: 0; flex: 1; gap: 3px; }
.public-feed-author-copy > strong { display: flex; min-width: 0; align-items: center; gap: 4px; overflow: hidden; color: #2b3748; font-size: 12px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.public-feed-author-copy > span { overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.public-feed-verified { width: 14px; height: 14px; flex: 0 0 14px; fill: none; stroke: var(--action); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.public-feed-card .public-feed-rating { color: #9a5c00; font-weight: 600; }
.public-feed-rating strong { color: var(--muted); font-weight: 600; }
.public-feed-price { display: grid; flex: 0 0 auto; justify-items: end; gap: 3px; margin-left: auto; }
.public-feed-price span { color: var(--muted); font-size: 9px; }
.public-feed-price strong { color: #243248; font-size: 12px; white-space: nowrap; }
.public-feed-card-image, .public-feed-card-image-placeholder { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--surface-soft); object-fit: cover; }
.public-feed-card-image-placeholder { display: flex; align-items: center; justify-content: center; gap: 8px; color: #6e7783; font-size: 11px; }
.public-feed-card-image-placeholder svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.public-feed-card-copy { min-width: 0; flex: 1; padding: 13px 14px 3px; }
.public-feed-labels { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 7px; }
.public-feed-category, .public-feed-urgent-tag { display: inline-flex; max-width: 100%; align-items: center; overflow: hidden; padding: 4px 8px; border-radius: 18px; font-size: 10px; font-weight: 550; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.public-feed-category { color: var(--muted); background: var(--surface-soft); }
.public-feed-urgent-tag { color: var(--danger-dark); background: var(--danger-soft); }
.public-feed-card-copy h2 { display: -webkit-box; overflow: hidden; margin: 0 0 6px; color: #273548; font-size: 15px; font-weight: 600; line-height: 1.32; letter-spacing: -.012em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.public-feed-card-copy p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.public-feed-card-footer { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 8px; margin: 0 14px; border-top: 1px solid var(--line-soft); }
.public-feed-expiry { display: inline-flex; min-width: 0; align-items: center; gap: 6px; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.public-feed-expiry svg { width: 15px; height: 15px; flex: 0 0 15px; fill: none; stroke: #8995a4; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.public-feed-card-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 4px; }
.public-feed-card-action { display: grid; width: 32px; height: 32px; padding: 0; place-items: center; border: 0; border-radius: 8px; color: #586678; background: transparent; cursor: pointer; transition: transform .16s ease; }
.public-feed-card-action:hover { transform: scale(1.04); }
.public-feed-card-action svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.public-feed-save-button.is-saved { color: var(--action-dark); background: var(--action-soft); }
.public-feed-save-button.is-saved svg { fill: var(--action); }
.public-feed-action-status { min-height: 0; margin: 0 14px; color: var(--action-dark); font-size: 10px; line-height: 1.3; }
.public-feed-action-status:empty { display: none; }
.public-feed-pagination { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 24px 0 8px; color: var(--muted); font-size: 12px; }
.public-feed-pagination a { color: var(--action-dark); font-weight: 600; text-decoration: none; }
.public-feed-pagination a:hover { text-decoration: underline; }
.public-feed-pagination .is-disabled { color: #72777f; }
.feed-infinite-status { min-height: 18px; margin: 8px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.feed-infinite-sentinel { height: 1px; }
.public-feed-empty-state { display: grid; min-height: 290px; align-content: center; justify-items: center; padding: 26px; border: 1px dashed var(--line); border-radius: 13px; background: #fff; text-align: center; }
.public-feed-empty-icon { color: #6f7782; font-size: 31px; line-height: 1; }
.public-feed-empty-state h2 { margin: 14px 0 5px; color: #273548; font-size: 17px; }
.public-feed-empty-state p { margin: 0 0 14px; color: var(--muted); font-size: 12px; }
.public-feed-empty-state a { color: var(--action-dark); font-size: 12px; font-weight: 600; text-decoration: none; }
.public-feed-footer { padding-top: 30px; color: #717781; font-size: 9px; font-weight: 600; letter-spacing: .11em; text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

@media (max-width: 1000px) {
  .public-feed-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .public-feed-header { grid-template-columns: 40px minmax(142px, 160px) minmax(150px, 1fr) auto; gap: 12px; padding-right: 16px; padding-left: 16px; }
  .public-feed-nav-publish { width: 40px; min-height: 40px; gap: 0; padding: 0; }
  .public-feed-nav-publish span { display: none; }
  .public-feed-main { padding-right: 16px; padding-left: 16px; }
  .public-feed-layout { display: block; }
  .feed-sidebar { position: fixed; z-index: 1002; top: 0; right: auto; bottom: 0; left: 0; display: flex; width: min(88vw, 340px); height: 100vh; height: 100dvh; max-height: none; min-height: 0; flex-direction: column; margin: 0; padding: 0; overflow: hidden; border: 0; background: #fff; box-shadow: 14px 0 36px rgb(25 38 56 / 18%); transform: translateX(calc(-100% - 18px)); visibility: hidden; transition: transform .22s ease, visibility .22s ease; }
  .feed-sidebar.is-open { transform: translateX(0); visibility: visible; }
  .feed-sidebar-drawer-header { position: relative; z-index: 2; display: flex; min-height: 64px; flex: 0 0 auto; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--line-soft); background: #fff; }
  .feed-sidebar-drawer-brand { display: inline-flex; min-width: 0; align-items: center; }
  .feed-sidebar-drawer-brand img { display: block; width: 108px; max-height: 30px; object-fit: contain; object-position: left center; }
  .feed-sidebar-inner { box-sizing: border-box; width: 100%; min-height: 0; flex: 1 1 auto; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 16px; scrollbar-width: none; -ms-overflow-style: none; }
  .feed-sidebar-inner::-webkit-scrollbar { display: none; width: 0; height: 0; }
  .feed-sidebar-toggle { display: grid; width: 40px; height: 40px; min-height: 40px; padding: 0; place-items: center; border: 1px solid #e8edf3; border-radius: 11px; color: #536276; background: #fff; cursor: pointer; }
  .feed-sidebar-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .feed-sidebar-close { display: grid; width: 38px; height: 38px; flex: 0 0 38px; margin: 0; padding: 0; place-items: center; border: 1px solid var(--line-soft); border-radius: 9px; color: #344154; background: #fff; cursor: pointer; }
  .feed-sidebar-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .feed-sidebar-backdrop:not([hidden]) { display: block; position: fixed; z-index: 1001; inset: 0; background: rgb(21 31 45 / 38%); }
  body.feed-sidebar-open { overflow: hidden; }
}

@media (max-width: 1180px) {
  .feed-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .feed-model-grid > .feed-masonry-column { gap: 16px; }
}

@media (max-width: 650px) {
  .public-feed-header { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: 40px 40px; min-height: 0; gap: 8px 9px; padding: 8px 16px; }
  .feed-sidebar-toggle { grid-column: 1; grid-row: 1; }
  .public-feed-brand { grid-column: 2; grid-row: 1; justify-self: start; }
  .public-feed-brand-wordmark { width: 104px; }
  .public-feed-search { grid-column: 1 / -1; grid-row: 2; max-width: none; height: 40px; }
  .public-feed-search input { font-size: 12px; }
  .public-feed-header-actions { grid-column: 3; grid-row: 1; gap: 3px; min-width: 0; }
  .public-feed-header-icon, .public-feed-notifications > summary, .public-feed-header-profile { width: 34px; height: 34px; flex-basis: 34px; border-radius: 9px; }
  .public-feed-header-icon svg, .public-feed-notifications > summary svg { width: 19px; height: 19px; }
  .public-feed-header-profile img { width: 28px; height: 28px; }
  .public-feed-profile-chevron { display: none; }
  .feed-sidebar-toggle { width: 34px; height: 34px; min-height: 34px; border-radius: 9px; }
  .ad-device-preview-link { width: 34px; flex: 0 0 34px; gap: 0; padding: 0; }
  .ad-device-preview-link span { display: none; }
  .public-feed-nav-publish { width: 34px; min-height: 34px; gap: 0; padding: 0; border-radius: 9px; }
  .public-feed-nav-publish span { display: none; }
  .public-feed-nav-publish svg { width: 18px; height: 18px; }
  .public-feed-main { padding-top: 27px; }
  .feed-model-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .public-feed-card { min-height: 0; }
  .public-feed-card-image, .public-feed-card-image-placeholder { aspect-ratio: 16 / 8.5; }
  .public-feed-card-copy { padding-top: 12px; }
  .public-feed-card-copy h2 { font-size: 16px; }
  .public-feed-card-copy p { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html.public-feed-document { scroll-behavior: auto; }
  .feed-sidebar { transition: none; }
}

@media (max-width: 390px) {
  .public-feed-header { gap: 7px 6px; padding: 8px 12px; }
  .public-feed-brand-wordmark { width: 90px; }
  .public-feed-header-actions > .public-feed-header-icon:first-child { display: none; }
  .public-feed-search { padding-left: 11px; }
  .public-feed-search input { font-size: 11px; }
  .public-feed-main { padding-right: 12px; padding-left: 12px; }
}

@media (max-width: 900px) {
  html.feed-sidebar-open { overflow: hidden; }
  body.feed-sidebar-open { position: fixed; inset-inline: 0; width: 100%; overflow: hidden; }
}

