/* Mobile community posts: generous cards, full-width content, and inline
   action counts. Room conversations keep their own compact layout. */
@media (max-width: 767px) {
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed)  { --feed-card: var(--lh-page, #fff); --feed-gap: color-mix(in srgb, var(--lh-ink, #111) 5%, var(--lh-page, #fff)); --feed-pill: color-mix(in srgb, var(--lh-ink, #111) 5%, var(--lh-page, #fff)); }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-sec--happening { margin: 24px 0 0 !important; padding: 0 !important; border: 0 !important; background: var(--feed-gap) !important; border-radius: 20px !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-line { display: flex !important; flex-direction: column !important; gap: 8px !important; padding: 8px 0 16px !important; background: var(--feed-gap) !important; border: 0 !important; border-radius: 20px !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-line::before { content: none !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl-day { padding: 12px 16px 4px !important; margin: 0 !important; border: 0 !important; background: transparent !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl { display: grid !important; grid-template-columns: 44px minmax(0, 1fr) !important; gap: 16px 12px !important; margin: 0 !important; padding: 20px 16px !important; border: 0 !important; border-radius: 20px !important; background: var(--feed-card) !important; box-shadow: none !important; min-width: 0 !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl::after { content: none !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl__face { position: static !important; grid-column: 1 !important; grid-row: 1 !important; width: 44px !important; height: 44px !important; border-radius: 50% !important; align-self: center !important; margin: 0 !important; box-shadow: none !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl__body { display: contents !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl__body > * { grid-column: 1 / -1 !important; min-width: 0 !important; max-width: 100% !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl__body > .fp-byline { grid-column: 2 !important; grid-row: 1 !important; display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; gap: 6px 8px !important; align-self: center !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-byline__identity { display: flex !important; align-items: center !important; flex-wrap: wrap !important; gap: 4px 8px !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-byline__identity > b { font-size: 16px !important; font-weight: 650 !important; line-height: 1.3 !important; white-space: normal !important; overflow-wrap: anywhere !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-byline time { font-size: 12px !important; line-height: 1.4 !important; padding: 0 !important; margin: 0 !important; color: var(--lh-dim) !important; -webkit-text-fill-color: var(--lh-dim) !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-byline__source { font-size: 11px !important; line-height: 1.3 !important; padding: 0 !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-byline > .fp-tl__more { grid-column: 2 !important; grid-row: 1 / 3 !important; width: 36px !important; min-width: 36px !important; height: 44px !important; margin: -4px -8px -4px 0 !important; padding: 0 !important; display: grid !important; place-items: center !important; border: 0 !important; border-radius: 12px !important; background: transparent !important; font-size: 24px !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl__text { display: block !important; margin: 0 !important; font-size: 16px !important; font-weight: 400 !important; line-height: 1.65 !important; letter-spacing: 0 !important; -webkit-line-clamp: unset !important; overflow: visible !important; overflow-wrap: anywhere !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl__readmore { display: none !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl__media { width: 100% !important; margin: 0 !important; border-radius: 16px !important; overflow: hidden !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl__body > .community-card-player { width: 100% !important; margin: 0 !important; border-radius: 16px !important; overflow: hidden !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl__media :is(img, video) { display: block !important; width: 100% !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl__acts { display: flex !important; align-items: center !important; flex-wrap: wrap !important; justify-content: flex-start !important; gap: 8px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl__acts > .fp-act { display: inline-flex !important; align-items: center !important; justify-content: center !important; flex: 0 0 auto !important; min-width: 40px !important; min-height: 36px !important; width: auto !important; height: 36px !important; padding: 0 12px !important; margin: 0 !important; border: 0 !important; border-radius: 18px !important; background: var(--feed-pill) !important; box-shadow: none !important; color: var(--lh-ink) !important; -webkit-text-fill-color: var(--lh-ink) !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-act__ico { position: static !important; display: inline-flex !important; align-items: center !important; gap: 8px !important; padding: 0 !important; width: auto !important; height: auto !important; border: 0 !important; background: transparent !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl__acts .fp-badge { position: static !important; display: inline !important; min-width: 0 !important; width: auto !important; height: auto !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; font: 600 13px/1.2 var(--font-family, system-ui, sans-serif) !important; color: inherit !important; -webkit-text-fill-color: currentColor !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-act i { font-size: 18px !important; line-height: 1 !important; color: inherit !important; -webkit-text-fill-color: currentColor !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-act.is-on { background: color-mix(in srgb, var(--lh-accent) 10%, var(--feed-card)) !important; color: var(--lh-accent) !important; -webkit-text-fill-color: var(--lh-accent) !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl__acts > .fp-views { display: inline-flex !important; align-items: center !important; flex: 0 0 auto !important; gap: 4px !important; width: auto !important; min-width: 0 !important; margin-left: auto !important; color: var(--lh-dim) !important; -webkit-text-fill-color: var(--lh-dim) !important; font-size: 12px !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl__acts > .fp-act--share { flex: 0 0 auto !important; justify-content: center !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl--sys { padding-block: 16px !important; gap: 8px 12px !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl:focus-visible { outline: 2px solid var(--lh-accent) !important; outline-offset: -2px !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-act:focus-visible { outline: 2px solid var(--lh-accent) !important; outline-offset: 2px !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-act svg { display: block !important; width: 20px !important; height: 20px !important; flex: none !important; fill: none !important; stroke: currentColor !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-stat--like.is-on svg { fill: none !important; stroke-width: 2.2 !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-views:has(> span:empty) { display: none !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl--sys .fp-tl__body { display: flex !important; grid-column: 2 !important; grid-row: 1 !important; gap: 6px !important; }
}

@media (max-width:767px) {
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl__acts { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) 44px !important; gap:6px !important; width:100% !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl__acts > .fp-stat--like { grid-column:1 !important; grid-row:1 !important; margin:0 !important; min-width:0 !important; max-width:100% !important; justify-self:start; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl__acts > .fp-stat--reply { grid-column:2 !important; grid-row:1 !important; margin:0 !important; min-width:0 !important; max-width:100% !important; justify-self:start; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl__acts > .fp-stat--comment { grid-column:2 !important; grid-row:1 !important; margin:0 !important; min-width:0 !important; max-width:100% !important; justify-self:start; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl__acts > .fp-stat--rebyte { grid-column:3 !important; grid-row:1 !important; margin:0 !important; min-width:0 !important; max-width:100% !important; justify-self:start; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl__acts > .fp-views { grid-column:4 !important; grid-row:1 !important; margin:0 !important; min-width:0 !important; max-width:100% !important; justify-self:start; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl__acts > .fp-act--share { grid-column:5 !important; grid-row:1 !important; margin:0 !important; min-width:0 !important; max-width:100% !important; justify-self:start; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl__acts > .fp-act--share { justify-self:end !important; }
html body :is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed):is(#community-layers-home, #explore-community-feed) .fp-tl__acts > .fp-views { justify-self:end !important; }
}
