/* LP183: portrait cards, in-place desktop playback, and a vertical reel viewer. */
html body #start .lp180-reels-only .lp179-track{grid-auto-columns:max(220px,calc((100% - 48px)/7));align-items:stretch}
#lp179Reels .lp179-card{aspect-ratio:9/16;max-height:none}
.lp183-playing .lp179-expand{display:none}
.lp183-playing>.lp179-player{bottom:36px}
.lp183-inline-tools{position:absolute;bottom:0;left:0;right:0;height:36px;display:flex;background:#102d43;z-index:4}
.lp183-inline-tools button{flex:1;border:0;background:transparent;color:#fff;font-family:inherit;font-size:11px;font-weight:600;padding:6px}
.lp183-inline-tools button+button{border-left:1px solid #ffffff3b}
.lp179-dialog[data-view=watch]{overflow:hidden}
.lp179-dialog[data-view=watch] .lp179-dialog-body{padding:0}
.lp183-feed{height:min(760px,calc(100dvh - 108px));overflow-y:auto;overflow-x:hidden;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none;touch-action:pan-y;background:#071523;color:#fff}
.lp183-feed::-webkit-scrollbar{display:none}
.lp183-slide{height:100%;box-sizing:border-box;scroll-snap-align:start;scroll-snap-stop:always;display:grid;grid-template-columns:minmax(220px,380px) minmax(180px,1fr);gap:28px;align-items:center;padding:16px 36px;max-width:900px;margin:auto}
.lp183-stage{position:relative;width:100%;height:100%;max-height:100%;background:#04101b;overflow:hidden;border-radius:10px}
.lp183-poster{width:100%;height:100%;object-fit:contain}
.lp183-stage .lp179-player{position:absolute;inset:0}
.lp183-copy{display:flex;flex-direction:column;gap:12px;min-width:0;touch-action:pan-y}
.lp183-copy small{font-size:12px;color:#c9d6df}
.lp183-copy h3{font-size:23px;line-height:1.25;margin:0}
.lp183-copy strong{font-size:14px}
.lp183-copy a{color:#ffd4df;font-size:13px}
.lp183-copy .lp183-hint{font-size:12px;color:#c9d6df;line-height:1.4;margin:0;padding:20px 0}
@media(max-width:760px){
 html body #start .lp180-reels-only .lp179-track{grid-auto-columns:calc((100% - 12px)/3);gap:6px;touch-action:pan-x pan-y}
 #lp179Reels .lp179-card{aspect-ratio:9/17;max-height:none}
 #lp179Reels .lp179-arrow{display:none}
 #lp179Reels .lp179-caption{left:6px;right:5px;bottom:9px}
 #lp179Reels .lp179-caption strong{font-size:10px;-webkit-line-clamp:3}
 #lp179Reels .lp179-caption small{font-size:8px}
 .lp179-dialog[data-view=watch]{width:100%;height:100dvh;max-width:none;max-height:100dvh;border:0;border-radius:0;margin:0;overflow:hidden}
 .lp179-dialog[data-view=watch] .lp179-dialog-head{height:50px;box-sizing:border-box;padding:8px 14px;background:#071523;color:#fff;border-color:#ffffff22}
 .lp179-dialog[data-view=watch] .lp179-dialog-head h2{font-size:16px}
 .lp179-dialog[data-view=watch] .lp179-close{background:#ffffff20;color:#fff}
 .lp183-feed{height:calc(100dvh - 50px)}
 .lp183-slide{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(220px,1fr) auto;gap:0;padding:0 26px max(8px,env(safe-area-inset-bottom))}
 .lp183-stage{width:100%;max-width:440px;margin:auto;border-radius:0}
 .lp183-copy{gap:4px;padding:10px 0 0}
 .lp183-copy h3{font-size:14px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .lp183-copy strong,.lp183-copy a{font-size:11px}
 .lp183-copy small{font-size:10px}
 .lp183-copy .lp183-hint{font-size:11px;margin:0;padding:12px 0 4px;text-align:center;min-height:24px}
}

.lp184-facebook{display:block}.lp184-player-status{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font:13px system-ui;pointer-events:none}.lp184-facebook>.fb-video{max-width:100%;max-height:100%}

.lp184-native-card>.lp179-player{bottom:0}.lp184-native-card>.lp179-expand{z-index:8}

/* LP198: local Facebook playback controls, including keyboard and swipe access. */
.lp198-local-facebook[data-engaged=true] iframe,.lp198-local-facebook[data-engaged=true]>.fb-video{pointer-events:none}
.lp198-local-facebook:not([data-engaged=true]) .lp198-video-ui{display:none}
.lp198-video-ui{position:absolute;inset:0;z-index:5;touch-action:pan-y}
.lp198-video-surface{position:absolute;inset:0;width:100%;height:100%;border:0;padding:0;background:transparent!important;color:#fff;cursor:pointer;touch-action:pan-y;display:grid;place-items:center}
.lp198-video-surface>span{display:grid;place-items:center;width:48px;height:48px;border:1px solid #ffffffb3;border-radius:50%;background:#07182bb3;font-size:23px;padding-left:3px;box-sizing:border-box}
.lp198-local-facebook[data-state=playing] .lp198-video-surface>span{opacity:0}
.lp198-video-surface:focus-visible{outline:3px solid #fff;outline-offset:-5px}
.lp198-video-controls{position:absolute;bottom:0;left:0;right:0;padding:4px 6px;background:linear-gradient(transparent,#071523 35%);color:#fff}
.lp198-video-controls>div{display:flex;align-items:center;gap:2px;min-width:0}
.lp198-video-controls button{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border:0;border-radius:4px;padding:4px;background:transparent;color:#fff;font:16px system-ui;cursor:pointer}
.lp198-video-controls button:focus-visible,.lp198-video-seek:focus-visible{outline:2px solid #fff;outline-offset:1px}
.lp198-video-controls button:disabled{opacity:.5;cursor:wait}
.lp198-video-controls small{flex:1;text-align:center;font:10px system-ui;white-space:nowrap;min-width:0}
.lp198-video-controls svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
.lp198-video-seek{display:block;width:100%;height:14px;min-height:0;margin:0;padding:0;border:0;accent-color:#e72b59;touch-action:pan-x}
.lp198-local-facebook .lp184-player-status{z-index:7;inset:20% 8px auto;text-align:center;background:#071523c9;border-radius:5px;padding:8px}
.lp198-video-retry{position:absolute;z-index:7;top:50%;left:50%;transform:translate(-50%,-50%);border:1px solid #fff;border-radius:6px;background:#102d43;color:#fff;padding:10px;font:13px system-ui;cursor:pointer}
.lp198-local-facebook:fullscreen .lp198-video-controls{padding:10px 20px}
.lp198-local-facebook:fullscreen>.fb-video{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.lp198-local-facebook:fullscreen>.fb-video>span{width:min(100vw,56.25vh)!important;height:min(100vh,177.7778vw)!important}
.lp198-local-facebook:fullscreen>.fb-video iframe{width:100%!important;height:100%!important;max-width:none;max-height:none}

/* LP199: passive Facebook posters; taps and horizontal swipes stay on the card. */
.lp199-facebook-preview{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.lp199-facebook-preview iframe{position:absolute;left:50%;top:50%;width:220px;height:392px;border:0;max-width:none;pointer-events:none;transform:translate(-50%,-50%) scale(var(--lp199-preview-scale,.5));transform-origin:center}
.lp199-has-preview>.lp179-cover{z-index:1}
.lp199-has-preview>.lp179-cover .lp179-play{top:50%;background:#07182bf2}
.lp199-has-preview>.lp179-expand{z-index:3}
