/* Card links cover the surface; reactions and player controls are explicit local actions. */
.feed-post{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;isolation:isolate;gap:4px 12px}
.post-list:has(.feed-post){container-type:inline-size;container-name:community-feed;background:transparent;border:0;border-radius:0;overflow:visible}
.post-list .feed-post{position:relative;box-sizing:border-box;margin-top:16px;padding:18px 12px 8px;border:1px solid var(--ifx-color-border);border-radius:var(--ifx-radius-panel);background:var(--ifx-color-surface)}
.post-list .feed-post:hover{background:var(--ifx-color-surface-muted)}
.feed-post-legend{position:absolute;top:0;left:10px;right:10px;transform:translateY(-50%);display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;z-index:2;pointer-events:none}
.feed-post .feed-post-channel{display:inline-flex;align-items:center;box-sizing:border-box;min-width:0;max-width:100%;min-height:28px;padding:2px 6px;background:var(--ifx-color-surface);color:var(--ifx-color-action);font-size:14px;font-weight:700;line-height:1.4;text-decoration:none}
.feed-post-channel>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.feed-post-time{flex:none;margin-left:auto;padding:2px 6px;background:var(--ifx-color-surface);color:var(--ifx-color-text-muted);font-size:14px;line-height:1.4;white-space:nowrap}
.feed-post:hover .feed-post-channel,.feed-post:hover .feed-post-time{background:var(--ifx-color-surface-muted)}
.feed-post a.feed-post-channel{pointer-events:auto}
.feed-post a.feed-post-channel:hover{text-decoration:underline}
.feed-post a.feed-post-channel:focus-visible{outline:var(--ifx-focus-ring);outline-offset:2px}
.post-list .feed-post:has(.post-share){margin-top:20px;padding-top:22px}
.feed-post-legend>.post-share{flex:none;pointer-events:auto;z-index:3;cursor:auto}
.feed-post-legend .post-share-trigger{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:36px;height:36px;min-height:36px;padding:7px;background:var(--ifx-color-surface);color:var(--ifx-color-action);cursor:pointer}
.feed-post-legend .post-share-menu{left:auto;right:0;box-sizing:border-box;max-width:calc(100vw - 40px)}
.feed-post-legend .post-share-menu :is(a,button){white-space:normal;overflow-wrap:anywhere}
.post-list .feed-post:has(.post-share[open]){z-index:4}
.feed-post-legend:has(>.post-share[open]){z-index:5}
.feed-post--image{grid-template-columns:minmax(0,1fr) minmax(176px,min(44%,360px))}
.feed-post--video{grid-template-columns:minmax(176px,min(48%,360px)) minmax(0,1fr)}
.feed-post .post-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;text-overflow:ellipsis;line-height:1.4}
.feed-post .post-title::after{z-index:1}
.feed-post-quote{display:block;position:relative;z-index:2;margin-top:4px;text-decoration:none;color:var(--ifx-color-text);border-radius:var(--ifx-radius-control)}
.feed-post-quote blockquote{margin:0;padding:6px 8px;border-left:3px solid var(--ifx-color-border-strong);border-radius:var(--ifx-radius-control);background:var(--ifx-color-surface-muted)}
.feed-quote-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;color:var(--community-feed-quote-meta,var(--ifx-color-text-muted));font-size:12.5px;line-height:1.5}
.feed-quote-author{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.feed-quote-likes{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}
.feed-quote-likes svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.feed-quote-body{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.45;font-size:14px;margin-top:2px;white-space:pre-line;overflow-wrap:anywhere}
.feed-post-quote:hover blockquote{background:var(--ifx-color-surface-selected)}
.feed-post-quote:focus-visible{outline:2px solid var(--ifx-color-action);outline-offset:2px}
.feed-post-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;color:var(--ifx-color-text-muted);margin:4px 0 0!important;white-space:pre-line;line-height:1.45}
.feed-post .product-price{margin:5px 0!important}
.feed-post .post-content>.status{margin-top:5px}
.feed-post .feed-post-footer{grid-column:1/-1;display:flex;flex-direction:column;align-items:flex-end;gap:0;margin-top:0;font-size:14px;line-height:1.4;min-width:0}
.feed-post-people{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;max-width:100%}
.feed-post-author{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:700}
[data-ifx-application-layout] main .feed-post .post-reaction-button,.feed-post .post-reaction-readonly{font-size:14px}
.translation-glyph{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.feed-post .feed-post-footer--translated{display:grid;grid-template-columns:20px minmax(0,1fr);column-gap:8px}
.feed-post-footer--translated .feed-post-people{grid-column:2;grid-row:1;justify-self:end}
.feed-translation-marker{grid-column:1;grid-row:1;align-self:end;justify-self:start;display:inline-flex;width:20px;height:20px;color:var(--ifx-color-action);pointer-events:none}
.post-detail-heading{display:grid;grid-template-columns:minmax(0,1fr) fit-content(46%);align-items:start;gap:8px}
.post-title-statuses{display:flex;flex-direction:column;align-items:flex-end;gap:6px;min-width:0}
.post-title-statuses>.status{white-space:normal;text-align:right;max-width:100%;box-sizing:border-box}
.post-translation-label{display:inline-flex;align-items:center;gap:6px;max-width:100%;box-sizing:border-box;border:1px solid var(--ifx-color-border-strong);border-radius:var(--ifx-radius-control);background:var(--ifx-color-surface-muted);padding:4px 6px;color:var(--ifx-color-action);font-size:14px;line-height:1.4}
.post-translation-label>span{min-width:0;overflow-wrap:anywhere}
.feed-reply-count{display:inline-flex;align-items:center;gap:3px;white-space:nowrap;flex-shrink:0}
.feed-reply-count svg,.post-reactions svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.feed-image-stack{position:relative;aspect-ratio:16/9;margin-right:10px;pointer-events:none;min-width:0;max-height:220px}
.feed-image-stack img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border:1px solid var(--ifx-color-border);border-radius:var(--ifx-radius-panel);box-sizing:border-box;background:var(--ifx-color-surface-muted)}
.feed-image-stack[data-portrait=true]{aspect-ratio:4/3;max-height:280px}
.feed-image-stack[data-portrait=true] .feed-image-front{object-fit:contain}
.feed-image-stack[data-long-image=true] .feed-image-front{object-fit:cover;object-position:center top}
.feed-image-peek--1{transform:translate(5px,3px);filter:brightness(.92)}
.feed-image-peek--2{transform:translate(10px,6px);filter:brightness(.85)}
.feed-image-front{z-index:1}
.feed-media-count{position:absolute;right:4px;bottom:4px;z-index:2;padding:2px 6px;border-radius:var(--ifx-radius-control);background:#211a15d9;color:#fff;font-size:12px}
.feed-video-tile{position:relative;z-index:2;cursor:default;aspect-ratio:16/9;max-height:220px;overflow:hidden;border-radius:var(--ifx-radius-panel);background:#28231f;min-width:0}
.feed-video-tile[data-portrait=true]{aspect-ratio:4/3;max-height:280px}
.feed-video-tile video{display:block;width:100%;height:100%;object-fit:contain;pointer-events:auto}
.feed-media-controls{position:absolute;left:4px;right:4px;bottom:4px;display:flex;justify-content:space-between;gap:4px;z-index:2;pointer-events:none;transition:opacity .18s ease}
.feed-media-controls[hidden]{display:none!important}
.feed-video-tile[data-controls-visible=false] .feed-media-controls{opacity:0}
[data-ifx-application-layout] .feed-media-controls button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:8px;background:#211a15d9;color:#fff;border:1px solid #ffffff50;border-radius:50%;pointer-events:auto;position:relative;z-index:2}
.feed-video-tile[data-controls-visible=false] .feed-media-controls button{pointer-events:none}
.feed-video-tile:has(:focus-visible) .feed-media-controls{opacity:1}
.feed-video-tile:has(:focus-visible) .feed-media-controls button{pointer-events:auto}
.feed-media-controls svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.feed-media-controls button:focus-visible{outline:2px solid #fff;outline-offset:-3px}
[data-ifx-application-layout] main .feed-media-reveal{position:absolute;right:4px;top:4px;z-index:2;display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:8px;background:#211a15b3;color:#fff;border:1px solid #ffffff50;border-radius:50%;opacity:0;pointer-events:none;transition:opacity .18s ease}
.feed-media-reveal[hidden]{display:none!important}
.feed-media-reveal svg{width:22px;height:22px;fill:currentColor;stroke:currentColor;stroke-width:1.8}
[data-ifx-application-layout] main .feed-video-tile[data-controls-visible=false] .feed-media-reveal,[data-ifx-application-layout] main .feed-media-reveal:focus-visible{opacity:1;pointer-events:auto}
.feed-media-kind{position:absolute;left:6px;bottom:6px;background:#211a15d9;color:#fff;padding:3px 6px}
.feed-media-controls [data-feed-mute]{margin-inline-start:auto}
[data-ifx-application-layout] .feed-media-close{position:absolute;top:6px;right:6px;z-index:4;display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:8px;background:#211a15d9;color:#fff;border:1px solid #ffffff70;border-radius:var(--ifx-radius-control);cursor:pointer}
.feed-media-close[hidden]{display:none!important}.feed-media-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.feed-media-close:focus-visible{outline:2px solid #fff;outline-offset:-3px}
.feed-video-tile[data-expanded=true]{width:100%;height:100%;max-height:none!important;aspect-ratio:auto!important;border-radius:0}
.feed-video-tile:fullscreen,.feed-video-tile:-webkit-full-screen{width:100vw;height:100dvh;max-height:none;aspect-ratio:auto}
.feed-video-tile[data-expanded=true] .feed-media-controls,.feed-video-tile[data-expanded=true] .feed-media-reveal{display:none!important}
[data-ifx-application-layout] main .feed-video-tile[data-expanded=true] .feed-media-reveal{right:auto;left:6px}
.feed-video-viewer{padding:0;width:calc(100vw - 16px);height:calc(100dvh - 16px);max-width:none;max-height:none;overflow:hidden;box-sizing:border-box;background:#28231f}
.feed-video-viewer::backdrop{background:#000b}
.feed-video-tile [data-feed-player-feedback]:not(.sr-only){position:absolute;top:4px;left:4px;right:4px;z-index:3;padding:6px;background:#211a15e6;color:#fff;overflow-wrap:anywhere}
.post-reactions{display:inline-flex;align-items:center;gap:0;flex-shrink:0;position:relative;z-index:2}
.post-reactions form{display:inline-flex;margin:0!important}
[data-ifx-application-layout] main .post-reaction-button,.post-reaction-readonly{display:inline-flex;align-items:center;justify-content:center;gap:3px;min-width:44px;min-height:44px;padding:4px 6px;font-size:12.5px;line-height:1.2;background:transparent;color:var(--ifx-color-text-muted);border:1px solid transparent;border-radius:var(--ifx-radius-control);text-decoration:none;white-space:nowrap}
[data-ifx-application-layout] main .post-reaction-button:hover{background:var(--ifx-color-surface-muted)}
[data-ifx-application-layout] main .post-reaction-button[aria-pressed=true]{color:var(--ifx-color-action);background:var(--ifx-color-surface-selected);border-color:var(--ifx-color-border-strong)}
.post-reaction-readonly{min-height:24px}
.post-reaction-feedback{flex-basis:100%;color:var(--ifx-color-text-muted);margin:0!important;font-size:13px;white-space:normal}
.post-reaction-feedback.error{color:var(--ifx-color-danger)}
.post-reaction-feedback:empty{display:none}
.post-reactions:has(.post-reaction-feedback:not(.sr-only):not(:empty)){flex-wrap:wrap;flex-shrink:1}
.detail>.post-reactions{margin-top:8px}
@media(max-width:600px){.feed-post{gap:4px 10px}.post-list .feed-post{padding-inline:10px}.feed-post--image{grid-template-columns:minmax(0,1fr) minmax(156px,46%)}.feed-post--video{grid-template-columns:minmax(156px,48%) minmax(0,1fr)}.feed-video-tile,.feed-image-stack,.feed-video-tile[data-portrait=true],.feed-image-stack[data-portrait=true]{max-height:170px}.feed-post-people{gap:5px}}
@media(max-width:360px){.feed-post{gap:4px 8px}.feed-post--image{grid-template-columns:minmax(0,1fr) minmax(132px,47%)}.feed-post--video{grid-template-columns:minmax(132px,49%) minmax(0,1fr)}.feed-post .post-title{-webkit-line-clamp:4}}
@container community-feed (max-width:552px){.feed-post{gap:4px 10px}.post-list .feed-post{padding-inline:10px}.feed-post--image{grid-template-columns:minmax(0,1fr) minmax(156px,46%)}.feed-post--video{grid-template-columns:minmax(156px,48%) minmax(0,1fr)}.feed-video-tile,.feed-image-stack,.feed-video-tile[data-portrait=true],.feed-image-stack[data-portrait=true]{max-height:170px}.feed-post-people{gap:5px}}
@container community-feed (max-width:312px){.feed-post{gap:4px 8px}.feed-post--image{grid-template-columns:minmax(0,1fr) minmax(132px,47%)}.feed-post--video{grid-template-columns:minmax(132px,49%) minmax(0,1fr)}.feed-post .post-title{-webkit-line-clamp:4}}
@media(prefers-reduced-motion:reduce){.feed-media-controls{transition:none}}
