/* Only the Friends review tools and media viewers; other surfaces inherit R4.6. */
.r47-review-states{display:flex;gap:9px;flex-wrap:wrap;margin:14px 0}
.r47-review-states button{min-height:40px;padding:7px 15px;border:1px solid #d7e3d9;border-radius:7px;background:none;color:#648173;font:inherit;font-size:12px;cursor:pointer}
.r47-review-states button[aria-pressed=true]{color:#146f5e;background:#e4eee7;border-color:#b5d0bd}
.r47-more-menu button{display:flex;align-items:center;gap:12px;min-height:52px;width:100%;padding:10px 0;background:none;border:0;color:#294e40;font:inherit;font-size:15px;text-align:left}
.r47-more-menu svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5}
.r47-image-viewer>img{display:block;width:100%;height:auto;max-height:calc(var(--device-height) - 260px);object-fit:contain;background:#edf1ea}
.r47-image-viewer>div{display:flex;justify-content:center;align-items:center;gap:25px;margin-top:15px;color:#6d7e72;font-size:12px}
.r47-image-viewer button{display:grid;place-items:center;width:44px;height:44px;background:none;border:0;color:#27715c;cursor:pointer}
.r47-image-viewer button:disabled{opacity:.25;cursor:default}
.r47-image-viewer button svg{height:20px;width:20px;fill:none;stroke:currentColor;stroke-width:1.5}
.r47-image-viewer button:first-child svg{transform:rotate(180deg)}
.r47-video-viewer{position:relative;text-align:center}
.r47-video-viewer video{display:block;width:100%;max-height:calc(var(--device-height) - 270px);object-fit:contain;background:#14221d}
.r47-video-viewer>button{min-width:112px;min-height:44px;margin:16px auto 0;padding:8px 20px;border-radius:6px;background:#126e5e;border:0;font:inherit;font-size:14px;color:#fff;cursor:pointer}
.r47-video-viewer>p{margin:10px 0 0}

/* Inline autoplay and a direct, full-phone video reading page. */
.phone .r4-friends .r423-friends-video-card{position:relative;display:block;isolation:isolate;padding:0!important;width:min(100%,270px);height:auto!important;aspect-ratio:var(--friends-video-ratio,16 / 9);max-height:390px;overflow:hidden;border:0;border-radius:4px;background:#161616;cursor:pointer;touch-action:pan-y}
.r423-friends-video-card>video{display:block;width:100%;height:100%;object-fit:contain;background:#161616}
.r423-friends-video-card:focus-visible{outline:2px solid #126e5e;outline-offset:3px}
.r423-friends-video-card .r423-video-play{display:none!important}
.phone .r423-friends-video-card .r423-video-ui .r423-video-sound{width:27px;height:27px;padding:5px;top:7px;left:7px}
.phone .r423-friends-video-card .r423-video-ui .r423-video-sound-label{top:12px;left:39px;font-size:10px}
.phone .r423-friends-video-card .r423-video-ui .r423-video-progress{bottom:0;left:5px;width:calc(100% - 10px)}
.r423-friends-video-page{position:absolute;inset:0;z-index:100;isolation:isolate;overflow:hidden;border-radius:inherit;background:#161616;color:#fff}
.r423-friends-video-stage{position:absolute;inset:44px 0 23px;background:#161616}
.r423-friends-video-stage>video{display:block;width:100%;height:100%;object-fit:contain;background:#161616}
.r423-friends-video-back{position:absolute;z-index:4;top:43px;left:12px;display:grid;place-items:center;width:44px;height:44px;min-height:0;padding:10px;border:0;border-radius:50%;background:#16161640;color:#fff;cursor:pointer}
.r423-friends-video-back svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.phone .r423-friends-video-page .r423-video-ui .r423-video-sound{top:52px;left:17px}
.phone .r423-friends-video-page .r423-video-ui .r423-video-sound-label{top:59px;left:55px}
.phone .r423-friends-video-page .r423-video-ui .r423-video-progress{bottom:0;left:15px;width:calc(100% - 30px)}
.r423-friends-video-page .r423-recommendation-video-error{bottom:70px}
.phone.r423-viewing-friends-video .capsule,.phone.r423-viewing-friends-video .system-bar{z-index:110;pointer-events:none;background:transparent;color:#fff;text-shadow:0 1px 4px #0007}
.phone.r423-viewing-friends-video .capsule{border-color:#ffffff45}
.phone.r423-viewing-friends-video .capsule i{border-color:#ffffff45}
.phone.r423-viewing-friends-video .r48-friends-scroll-heading{visibility:hidden}
