/* V49 mini reels: additive community composer + video posts ONLY.
   V48 desktop, V47 photo pills, V46 inbox, V45 feed and original posts are preserved. */
:root{--ll49-forest:#193629;--ll49-gold:#d7b471;--ll49-cream:#fff6e5;--ll49-sage:#e1eadc}
#ll49CameraChoices[hidden],#ll49CameraBox[hidden],#ll49VideoTextWrap[hidden],#ll49MusicWrap[hidden],
#livePostPhotoPreview[hidden],#ll49StartRecord[hidden],#ll49StopRecord[hidden],
.ll49-see-more[hidden]{display:none!important}
.ll49-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0 8px}
.ll49-choice{display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:center;border:1.5px solid var(--ll49-gold);background:linear-gradient(165deg,#264635,#193629);color:var(--ll49-cream)!important;border-radius:17px;min-height:107px;padding:14px 8px;cursor:pointer;text-align:center;font:inherit}
.ll49-choice strong{color:#f7ecd5;font-size:17px;font-weight:750}
.ll49-choice small{color:#ebd8b1;font-size:12px;font-weight:500;line-height:1.35}
.ll49-choice-emoji{font-size:28px;line-height:1;color:var(--ll49-gold)}
.ll49-choice:focus-visible{outline:3px solid #c8a35d;outline-offset:3px}
.ll49-camera-choices{display:flex;gap:7px;flex-wrap:wrap;margin:9px 0 13px}
.ll49-camera-choices .outline-btn{flex:1;min-width:135px}
.ll49-camera-box{border:2px solid var(--ll49-gold);border-radius:17px;padding:11px;background:var(--ll49-forest);margin:12px 0 15px;color:var(--ll49-cream)}
.ll49-camera-top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--ll49-gold);font:650 13px/1.4 system-ui,sans-serif;margin:0 0 9px}
.ll49-timer{border:1px solid #a38654;border-radius:999px;padding:3px 9px;background:#2a4b3c;color:#fff8e6;font:650 11px/1.3 system-ui,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap;min-width:50px;text-align:center}
.ll49-camera-box video{width:100%;max-height:58dvh;aspect-ratio:3/4;object-fit:contain;background:#304b3d;border-radius:11px;display:block}
.ll49-camera-controls{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap;padding:14px 0 4px}
.ll49-record{display:flex;align-items:center;gap:8px;background:#f9f0de;color:#193629;border:1px solid var(--ll49-gold);border-radius:999px;padding:10px 18px;font-weight:750}
.ll49-record span{width:15px;height:15px;border-radius:50%;background:#bb3e49}
.ll49-camera-box .micro-note{color:#e8d5ad!important;font-size:12px;text-align:center;margin:8px 0 0}
.ll49-camera-box .outline-btn{border-color:var(--ll49-gold);color:var(--ll49-cream)}
.ll49-media-preview{display:flex;flex-direction:column;align-items:center;gap:8px;min-height:0;margin:8px 0 15px}
.ll49-media-preview[hidden]{display:none!important}
.ll49-media-preview .photo-preview,.ll49-media-preview .ll49-selected-video{display:block;width:100%;max-height:340px;object-fit:contain;background:#203b2f;border-radius:12px}
.ll49-media-preview .gallery-remove-photo{align-self:center}
#ll49VideoTextWrap .text-area{min-height:62px}
/* Videos belong in the same flowing post column as images and text. */
.app-shell.feed-mode #content>article.post-card.ll49-video-post{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;display:flex!important;flex-direction:column!important;gap:0;padding:12px 11px 13px!important;background:#fcf8f1!important}
#content article.ll49-video-post .ll49-video-stage{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;width:100%;margin:11px 0 0;border-radius:14px;background:#193629;min-height:180px;max-height:76dvh}
#content article.ll49-video-post .ll49-video{display:block;width:100%;height:auto;max-height:min(73dvh,710px);object-fit:contain;background:#193629;aspect-ratio:9/12}
#content article.ll49-video-post .ll49-video-overlay{position:absolute;left:12%;right:12%;top:45%;transform:translateY(-50%);color:#fff9ee!important;text-align:center;white-space:pre-wrap;overflow-wrap:anywhere;pointer-events:none;font:750 clamp(17px,4vw,26px)/1.27 system-ui,sans-serif;text-shadow:0 2px 7px #070c09,0 2px 2px #07170c,1px 1px 1px #07170c;max-height:60%;overflow:hidden}
#content article.ll49-video-post .ll49-video-sound,#content article.ll49-video-post .ll49-video-play{position:absolute;z-index:2;border:1px solid #bca069;background:#193629cc;color:#fff8e6;border-radius:999px;font:650 12px/1 system-ui,sans-serif;min-height:32px;padding:6px 10px;cursor:pointer}
#content article.ll49-video-post .ll49-video-sound{right:10px;bottom:10px}
#content article.ll49-video-post .ll49-video-play{left:10px;bottom:10px;min-width:34px}
#content article.ll49-video-post .ll49-video-caption{background:#fffaf4;border-radius:0 0 13px 13px;padding:13px 14px 9px;min-width:0}
#content article.ll49-video-post .ll49-caption-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;white-space:pre-line;overflow-wrap:anywhere;color:#511824!important;font:400 clamp(15px,3.85vw,17px)/1.5 system-ui,sans-serif!important}
#content article.ll49-video-post .ll49-video-caption.ll49-expanded .ll49-caption-text{display:block;-webkit-line-clamp:unset;line-clamp:unset;overflow:visible}
#content article.ll49-video-post .ll49-see-more{background:transparent;border:none;text-align:left;text-decoration:underline;color:#511824;font:750 14px/1.4 system-ui,sans-serif;padding:8px 0 2px;min-height:34px;cursor:pointer}
/* Keep video reaction bar BELOW video and caption, so no words are obstructed. */
#content article.ll49-video-post .post-actions{
  position:static!important;z-index:auto!important;box-sizing:border-box!important;
  width:calc(100% - 12px)!important;max-width:430px!important;min-height:62px!important;
  max-height:none!important;margin:10px auto!important;padding:6px 10px!important;
  display:flex!important;flex-direction:row!important;align-items:center!important;
  justify-content:space-around!important;gap:clamp(2px,1.4vw,10px)!important;
  background:linear-gradient(105deg,#284a38,#193629)!important;
  border:1.4px solid #d7b471!important;border-radius:999px!important;
  box-shadow:0 3px 11px #1c312133!important;color:#fff6e5!important
}
#content article.ll49-video-post .post-actions .left-actions{display:flex!important;flex-direction:row!important;gap:clamp(2px,1.4vw,10px)!important;align-items:center!important;justify-content:space-around!important;flex:0 1 auto!important}
#content article.ll49-video-post .post-actions .action,#content article.ll49-video-post .post-actions .ll34-views{min-width:29px!important;max-width:56px!important;min-height:40px!important;margin:0!important;padding:2px 0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;flex:0 1 auto!important;text-align:center!important;font:500 11px/1.1 system-ui,sans-serif!important;color:#fff6e5!important;background:transparent!important}
#content article.ll49-video-post .post-actions .action svg,#content article.ll49-video-post .post-actions .ll34-views svg{width:21px!important;height:21px!important;stroke:#d7b471!important;color:#d7b471!important}
#content article.ll49-video-post .post-actions .action.liked svg{fill:#e3779d!important;stroke:#ffe1e9!important}
#content article.ll49-video-post .post-actions .action.saved svg{fill:#d7b471!important;stroke:#fff7de!important}
#content article.ll49-video-post .post-actions .ll34-views[hidden]{display:none!important}
@media(max-width:350px){#content article.ll49-video-post .post-actions{width:calc(100% - 6px)!important;padding:6px 5px!important;gap:2px!important}}
@media(prefers-reduced-motion:reduce){.ll49-video{scroll-behavior:auto}}
