/* Media geometry matches image posts; rating line stays exactly at the lower edge. */
.post .review-video-stage>video.post-media{display:block;width:100%;height:auto;max-height:none;aspect-ratio:var(--media-ratio,16 / 9);object-fit:contain;margin:0;background:#000}
.review-video-stage>.opinion{inset:auto 0 -19px}
.review-video-stage .review-video-sound{position:absolute;z-index:4;top:10px;right:10px;display:grid;place-items:center;width:40px;height:40px;padding:10px;border:0;border-radius:10px;background:#080d1466;color:#a3adb5;box-shadow:none;touch-action:manipulation;cursor:pointer}
.review-video-sound svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;filter:drop-shadow(0 1px 2px #0008)}
.review-video-sound[aria-pressed=true] .sound-speaker{stroke:#c7a28d}
.review-video-sound[aria-pressed=true] .sound-near{stroke:#b0a2c7}
.review-video-sound[aria-pressed=true] .sound-far{stroke:#82bdb6}
.review-video-sound:hover{background:#080d1488}
.review-video-stage>.review-video-end{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(ellipse at center,#050a0f44,#02070b99);z-index:3}
.review-video-stage>.review-video-end[hidden]{display:none}
.review-video-end .review-video-replay{display:inline-flex;align-items:center;gap:10px;min-height:46px;padding:11px 18px;border:1px solid transparent;border-radius:12px;background:linear-gradient(115deg,#141721,#080e14 55%,#102020) padding-box,linear-gradient(115deg,#a87d8d99,#a196c899,#67a7bd99,#65b9a999) border-box;color:#f0f4f6;font-family:inherit;font-size:14px;font-weight:600;line-height:1.3;box-shadow:0 5px 20px #0004,inset 0 1px 0 #ffffff08;cursor:pointer;touch-action:manipulation}
.review-video-replay:before{content:'';width:20px;height:20px;flex:none;background:linear-gradient(135deg,#b5a3ca,#8bc8bf);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10a8 8 0 1 1 1 7M4 4v6h6'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
.review-video-replay:hover{filter:brightness(1.12)}
.review-video-replay:active{transform:scale(.98)}
.review-video-end .review-video-replay:focus-visible,.review-video-sound:focus-visible{outline:2px solid #68d8cc;outline-offset:3px}
.review-video-expand{display:none;position:absolute;left:12px;bottom:18px;z-index:5;width:40px;height:40px;padding:10px;border:0;border-radius:10px;background:#080d1466;color:#a3adb5;touch-action:manipulation;cursor:pointer}
.review-video-expand svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;filter:drop-shadow(0 1px 2px #0008)}
.review-video-expand:hover{background:#080d1488;color:#b9c9cd}
.review-video-expand:focus-visible{outline:2px solid #68d8cc;outline-offset:3px}
.feed-focus-pane .post[data-media-layout=portrait] .review-video-stage{height:var(--focus-video-height,calc(100dvh - 118px));margin-bottom:22px}
.feed-focus-pane .post[data-media-layout=portrait] .review-video-stage>video.post-media{height:100%;width:100%;max-height:100%;object-fit:contain;aspect-ratio:auto}
.feed-focus .post[data-media-layout=portrait] .review-video-expand{display:grid;place-items:center}
.review-video-stage:fullscreen,.review-video-stage.review-video-immersive{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;margin:0!important;background:#000;z-index:1000}
.review-video-stage:fullscreen>video.post-media,.review-video-stage.review-video-immersive>video.post-media{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important;margin:0!important}
.review-video-stage:fullscreen>.opinion,.review-video-immersive>.opinion{display:none!important}
.review-video-stage:fullscreen .review-video-expand,.review-video-immersive .review-video-expand{display:grid;bottom:max(18px,env(safe-area-inset-bottom));left:max(12px,env(safe-area-inset-left))}
.review-video-stage.review-video-immersive{touch-action:none;overscroll-behavior:none;transition:opacity 160ms ease-out}
.review-video-immersive>video{will-change:transform;transform-origin:center}
@media(prefers-reduced-motion:reduce){.review-video-stage.review-video-immersive{transition:none}.review-video-immersive>video{transform:none!important;transition:none!important}}
