/* Current SocialHub hierarchy: photo-first Moments, readable Community feed.
   Web retains one-media galleries, city-only filtering and existing actions. */
.social-product-screen .workspace-grid { display:block; }
.social-product-screen .gz-product-header .gz-kicker { display:none; }
.social-product-screen .gz-product-header h2 { margin:0;font:700 28px/1.3 Poppins,Inter,sans-serif;letter-spacing:-.5px; }
.social-product-screen .gz-header-actions > button { min-height:44px;font-size:13px; }
.gz-social-toolbar { display:grid;grid-template-columns:auto minmax(240px,420px);justify-content:space-between;align-items:center;gap:20px; }
.gz-social-toolbar .gz-social-tabs { display:flex;gap:22px;width:max-content;padding:0;border:0;border-radius:0;background:none; }
.gz-social-toolbar .gz-social-tabs > button { position:relative;min-width:44px;min-height:44px;padding:8px 0;border:0;border-radius:0;background:none;color:var(--gz-ink-3);font-size:16px;font-weight:600;box-shadow:none; }
.gz-social-toolbar .gz-social-tabs > button[aria-pressed=true] { color:var(--gz-ink); }
.gz-social-toolbar .gz-social-tabs > button[aria-pressed=true]::after { content:'';position:absolute;left:0;bottom:0;width:20px;height:3px;border-radius:2px;background:var(--gz-brand); }
.gz-social-toolbar .gz-social-filter { width:100%;margin:0;padding:0;border:0;background:none;box-shadow:none; }
.gz-social-toolbar .gz-social-filter .gz-field { position:relative;margin:0; }
.gz-social-toolbar .gz-social-filter .gz-field > span { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap; }
.gz-social-toolbar .gz-filter-button { border:0;background:var(--gz-brand);color:#fff; }
.gz-social-toolbar > [role=alert] { grid-column:1 / -1; }
.gz-social-kind { flex:0 0 auto;padding:5px 8px;border-radius:9px;background:var(--gz-chip);color:var(--gz-ink-2);font-size:11px;font-weight:600; }
.gz-social-v2-card > header .gz-social-author { flex:1;min-width:0;min-height:44px; }
.gz-social-v2-feed:not(.moments) { column-count:1;width:min(760px,100%);margin-inline:auto; }
.gz-social-v2-feed:not(.moments) .gz-social-v2-card { margin-bottom:16px;padding:20px;border-radius:20px; }
.gz-social-v2-feed:not(.moments) .gz-social-action { min-height:44px; }
.gz-social-v2-feed:not(.moments) .gz-social-gallery-viewport { max-height:420px; }

.gz-social-v2-feed.moments { column-count:2;column-gap:14px; }
.moments .gz-social-v2-card { position:relative;display:flex;flex-direction:column;width:100%;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;margin:0 0 22px;break-inside:avoid; }
.moments .gz-moment-preview { position:relative;order:-2; }
.moments .gz-social-gallery { margin:0;border-radius:16px; }
.moments .gz-social-gallery-viewport { aspect-ratio:var(--moment-ratio,.75);max-height:420px; }
.moments .gz-gallery-arrow,.moments .gz-gallery-dots { display:none; }
.moments .gz-moment-open { display:block;position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:16px;background:transparent;cursor:pointer; }
.moments .gz-moment-city { display:block;position:absolute;bottom:8px;left:8px;max-width:calc(100% - 16px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px 8px;border-radius:14px;background:#0009;color:white;font-size:11px;pointer-events:none; }
.moments .gz-social-text { order:-1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:9px 0 0;font-size:14px;line-height:20px; }
.moments .gz-social-v2-card > header { min-height:44px;padding-right:50px; }
.moments .gz-social-author { gap:6px;padding:0; }
.moments .gz-social-author img,.moments .gz-social-avatar { width:20px;height:20px;flex:0 0 20px;font-size:11px; }
.moments .gz-social-author strong { font-size:12px;font-weight:500;color:var(--gz-ink-2); }
.moments :is([data-social-follow],.gz-social-meta,.gz-social-ride,.gz-social-place,.gz-social-kind,.gz-poll) { display:none; }
.moments .gz-social-actions { position:absolute;bottom:0;right:0;display:block;width:48px;margin:0;padding:0;border:0; }
.moments .gz-social-action { min-width:44px;width:48px;min-height:44px;padding:0;gap:4px;font-size:11px; }
.moments .gz-social-action svg { width:17px;height:17px; }
.moments .gz-social-actions > :not(:first-child),.moments .gz-social-action-label { display:none; }
.gz-social-v2-feed > .gz-empty-state { column-span:all; }

@media (min-width:761px) {
  .account-screen.social-product-screen .workspace-section { width:min(1200px,calc(100% - 64px));max-width:1200px;margin:0 auto;padding:36px 0 64px; }
  .social-product-screen .gz-product-body { gap:24px; }
  .gz-social-v2-feed.moments { column-count:3;column-gap:24px; }
  .social-product-screen .gz-social-filter select { background:var(--gz-surface);color:var(--gz-ink); }
}
@media (min-width:1200px) {
  .gz-social-v2-feed.moments { column-count:4; }
}
@media (max-width:760px) {
  .gz-social-toolbar { grid-template-columns:minmax(0,1fr);gap:14px; }
  .gz-social-toolbar .gz-social-tabs > button { font-size:16px; }
  .gz-social-v2-feed:not(.moments) .gz-social-v2-card { padding:14px; }
  .gz-social-v2-card > header { gap:8px; }
  .gz-social-kind { padding:5px 6px;font-size:10px; }
  .moments .gz-social-text { font-size:14px;line-height:19px; }
}
