/*
 * Premium Shorts Viewer (Nov 2026 brief).
 *
 * Loaded on /shorts only, after style.css and engagement.css, and scoped to .mshv so nothing
 * here can reach a light page. Several earlier Shorts rules in style.css carry !important; the
 * ones that conflict are matched here at higher specificity rather than edited in place.
 */

.mshv { --mshv-ease: cubic-bezier(.2, .7, .2, 1); --mshv-fw: 340px; position: relative; }

/* ------------------------------------------------------------ frame and video */

/* The viewer is the page on desktop: the header plus one Short fill the window, so the document never scrolls under the header. */
@media (min-width: 901px) {
    html:has(.mshv[data-media-shorts]), body:has(.mshv[data-media-shorts]) { overflow: hidden; }
}

@media (min-width: 901px) {
    .mshv .media-shorts__item { padding: 12px 0 !important; }
    .mshv .media-shorts__frame { border-radius: 14px !important; box-shadow: none !important; }
}

.mshv .media-shorts__video { object-fit: cover; background: #000; }

/* Top wash: only as tall as the controls it carries. */
.mshv .mshv-top {
    position: absolute; top: 0; left: 0; right: 0; z-index: 3; height: 84px;
    display: flex; justify-content: flex-end; align-items: flex-start;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 8px 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.32) 0%, rgba(0,0,0,.12) 55%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}
.mshv .mshv-sound {
    pointer-events: auto; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer;
    transition: background-color .15s ease;
}
.mshv .mshv-sound svg { filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
.mshv .mshv-sound:hover { background: rgba(255,255,255,.14); }
.mshv .mshv-sound .mshv-sound__on { display: none; }
.mshv .mshv-sound[aria-pressed='true'] .mshv-sound__on { display: block; }
.mshv .mshv-sound[aria-pressed='true'] .mshv-sound__off { display: none; }

/* ------------------------------------------------------------ bottom content */

.mshv .media-shorts__overlay {
    padding: 72px 68px calc(20px + env(safe-area-inset-bottom, 0px)) 14px !important;
    background: linear-gradient(to top, rgba(0,0,0,.58) 0%, rgba(0,0,0,.34) 38%, rgba(0,0,0,.1) 72%, rgba(0,0,0,0) 100%) !important;
}

.mshv .mshv-pub { display: flex !important; align-items: center !important; gap: 10px !important; flex-wrap: nowrap !important; width: 100%; min-width: 0; }
.mshv .mshv-pub__avatar { flex: 0 0 auto; display: block; border-radius: 50%; line-height: 0; }
.mshv .mshv-pub__avatar .media-avatar {
    width: 36px !important; height: 36px !important; min-width: 36px; font-size: 13px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.22);
}
.mshv .mshv-pub__avatar .media-avatar--org { border-radius: 9px; }
.mshv .mshv-pub__avatar .media-avatar img { width: 100% !important; height: 100% !important; }
.mshv .mshv-pub__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.mshv .mshv-pub__line { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mshv .mshv-pub__name {
    flex: 0 1 auto; min-width: 0; display: flex !important; align-items: center; gap: 4px;
    font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: #fff; text-decoration: none;
    text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
/* Truncate the name text, never the verified mark. */
.mshv .mshv-pub__name { overflow: hidden; white-space: nowrap; }
.mshv .mshv-pub__name > :not(svg):not(.media-verified):not([class*='verified']) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mshv .mshv-pub__name svg, .mshv .mshv-pub__name .media-verified { flex: 0 0 auto; }
.mshv .mshv-pub__handle {
    display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: 12px !important; line-height: 16px; color: rgba(255,255,255,.74) !important; text-decoration: none;
}
.mshv .mshv-pub__name:hover, .mshv .mshv-pub__handle:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Follow: the dark video surface variant. White pill, dark text, no shadow; Following goes translucent. */
.mshv .media-follow.media-follow--on-video,
.mshv button[data-media-follow].media-follow--on-video {
    flex: 0 0 auto; height: 30px !important; min-height: 30px !important; min-width: 72px !important;
    padding: 0 13px !important; margin: 0; border: 0 !important; border-radius: 999px !important;
    background: #fff !important; color: #101828 !important; box-shadow: none !important;
    font-size: 13px !important; font-weight: 500 !important; line-height: 30px !important; letter-spacing: 0;
    display: inline-flex !important; align-items: center; justify-content: center; gap: 5px;
    transition: background-color .18s var(--mshv-ease), color .18s var(--mshv-ease) !important;
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
.mshv .media-follow.media-follow--on-video:hover { background: rgba(255,255,255,.86) !important; color: #101828 !important; }
.mshv .media-follow.media-follow--on-video[aria-pressed='true'] {
    background: rgba(255,255,255,.16) !important; color: rgba(255,255,255,.96) !important;
    backdrop-filter: blur(8px) !important; -webkit-backdrop-filter: blur(8px) !important;
}
.mshv .media-follow.media-follow--on-video[aria-pressed='true']::before {
    content: ''; width: 12px; height: 12px; flex: 0 0 12px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mshv .media-follow.media-follow--on-video[aria-pressed='true']:hover { background: rgba(255,255,255,.24) !important; color: #fff !important; }
.mshv .media-follow.media-follow--on-video:focus-visible { outline: 2px solid #fff !important; outline-offset: 2px; }
.mshv .media-follow.media-follow--on-video.is-loading { opacity: .85; }
.mshv .media-follow.media-follow--on-video svg { display: none; }

/* Caption: two lines, then More. */
.mshv .mshv-cap { margin-top: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.mshv .mshv-cap__text {
    margin: 0 !important; max-width: 46ch; color: #fff;
    font-size: 14px !important; line-height: 1.45 !important; font-weight: 400 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.4);
    display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2 !important; overflow: hidden;
    overflow-wrap: anywhere;
}
.mshv .mshv-cap.is-open .mshv-cap__text { -webkit-line-clamp: unset !important; display: block !important; max-height: 38vh; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.mshv .mshv-cap.is-open .mshv-cap__text::-webkit-scrollbar { display: none; }
.mshv .mshv-cap__more {
    padding: 2px 0; border: 0; background: none; color: rgba(255,255,255,.92); cursor: pointer;
    font: inherit; font-size: 13px; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.mshv .mshv-cap__more:hover { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.mshv .mshv-cap__more[hidden] { display: none; }
.mshv .mshv-cap__text a, .mshv .mshv-cap__text .media-hashtag { color: #fff !important; font-weight: 600; text-decoration: none; }
.mshv .mshv-cap__text a:hover { text-decoration: underline; }

.mshv .media-shorts__meta { margin-top: 8px !important; }
.mshv .media-shorts__topic {
    display: inline-flex; align-items: center; height: 24px; padding: 0 10px !important;
    background: rgba(255,255,255,.14) !important; border-radius: 999px; color: #fff !important;
    font-size: 12px !important; font-weight: 500 !important; text-decoration: none;
}
.mshv .media-shorts__topic:hover { background: rgba(255,255,255,.22) !important; }

/* ------------------------------------------------------------ progress */

.mshv .mshv-prog {
    position: absolute !important; left: 0 !important; right: 0 !important; bottom: 0 !important; z-index: 4;
    height: 14px !important; background: transparent !important; cursor: pointer; touch-action: none;
    display: flex; align-items: flex-end;
}
.mshv .mshv-prog__track { position: relative; display: block; width: 100%; height: 2px; background: rgba(255,255,255,.24); transition: height .15s ease; }
.mshv .mshv-prog__fill { position: absolute; left: 0; top: 0; bottom: 0; display: block; width: 0; height: 100% !important; background: rgba(255,255,255,.95) !important; transition: width .25s linear; }
.mshv .mshv-prog.is-scrubbing .mshv-prog__fill { transition: none; }
.mshv .mshv-prog:hover .mshv-prog__track, .mshv .mshv-prog.is-scrubbing .mshv-prog__track, .mshv .mshv-prog:focus-visible .mshv-prog__track { height: 4px; }
.mshv .mshv-prog:focus-visible { outline: none; }
.mshv .mshv-prog:focus-visible .mshv-prog__track { box-shadow: 0 0 0 2px rgba(255,255,255,.5); }

/* ------------------------------------------------------------ engagement rail */

.mshv .media-shorts__rail {
    right: 6px !important; bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
    display: flex !important; flex-direction: column; align-items: center; gap: 4px !important;
}
.mshv .media-shorts__rail .mx-act.mx-act--overlay {
    width: 44px !important; min-width: 44px; height: auto !important; min-height: 44px; padding: 0 !important;
    display: flex !important; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0;
    background: transparent !important; border: 0 !important; border-radius: 0 !important; color: #fff;
    box-shadow: none !important;
}
.mshv .media-shorts__rail .mx-act.mx-act--overlay:hover,
.mshv .media-shorts__rail .mx-act.mx-act--overlay:active { background: transparent !important; }
.mshv .mshv-ico {
    width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
    transition: background-color .15s ease, transform .2s var(--mshv-ease);
}
.mshv .media-shorts__rail .mx-act:hover .mshv-ico { background: rgba(255,255,255,.14); }
.mshv .media-shorts__rail .mx-act:focus-visible { outline: none !important; }
.mshv .media-shorts__rail .mx-act:focus-visible .mshv-ico { box-shadow: 0 0 0 2px #fff; }
.mshv .mshv-ico > svg, .mshv .mshv-ico .media-source-icon, .mshv .mshv-ico .media-action-icon {
    width: 24px !important; height: 24px !important; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5));
}
.mshv .media-shorts__rail .mx-act__count {
    margin-top: -4px; min-height: 14px; font-size: 12px !important; line-height: 14px; font-weight: 500;
    color: rgba(255,255,255,.94); text-shadow: 0 1px 2px rgba(0,0,0,.55); font-variant-numeric: tabular-nums;
}
.mshv .media-shorts__rail .mx-act__count:empty { display: none; }
.mshv .media-shorts__rail .mx-act--more { margin-top: 2px; }
.mshv .media-shorts__rail .mx-act--like[aria-pressed='true'] .mshv-ico,
.mshv .media-shorts__rail .mx-act--like.is-liked .mshv-ico { color: #FF4D7A; }
.mshv .media-shorts__rail .mx-act--save[aria-pressed='true'] .mshv-ico,
.mshv .media-shorts__rail .mx-act--save.is-saved .mshv-ico { color: #fff; }
.mshv .media-shorts__rail .mx-act--save[aria-pressed='true'] svg path { fill: currentColor; }
.mshv .media-shorts__rail .mx-act.is-pop .mshv-ico { animation: mshv-pop .32s var(--mshv-ease); }
.mshv .media-shorts__rail .mx-act[aria-expanded='true'] .mshv-ico { background: rgba(255,255,255,.16); }

@keyframes mshv-pop { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }

/* ------------------------------------------------------------ playback feedback */

.mshv .mshv-flash {
    position: absolute; top: 50%; left: 50%; z-index: 3; width: 64px; height: 64px; margin: -32px 0 0 -32px;
    border-radius: 50%; background: rgba(0,0,0,.42); color: #fff; pointer-events: none; opacity: 0;
    display: flex; align-items: center; justify-content: center;
}
.mshv .mshv-flash svg { width: 28px; height: 28px; }
.mshv .mshv-flash.is-on { animation: mshv-flash .6s var(--mshv-ease) forwards; }
@keyframes mshv-flash { 0% { opacity: 0; transform: scale(.88); } 25% { opacity: 1; transform: scale(1); } 70% { opacity: 1; } 100% { opacity: 0; transform: scale(1.04); } }

.mshv .mshv-spin {
    position: absolute; top: 50%; left: 50%; z-index: 2; width: 30px; height: 30px; margin: -15px 0 0 -15px;
    border-radius: 50%; border: 2px solid rgba(255,255,255,.28); border-top-color: #fff;
    opacity: 0; pointer-events: none;
}
.mshv .media-shorts__item.is-waiting .mshv-spin { animation: mshv-spin .8s linear infinite, mshv-fadein .2s ease .35s forwards; }
@keyframes mshv-spin { to { transform: rotate(360deg); } }
@keyframes mshv-fadein { to { opacity: 1; } }

.mshv .mshv-error {
    position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    background: rgba(5,7,15,.82); color: #fff; text-align: center; padding: 24px;
}
.mshv .mshv-error p { margin: 0; font-size: 14px; color: rgba(255,255,255,.86); }

/* ------------------------------------------------------------ desktop navigation */

.mshv .mshv-nav { display: none; }
@media (min-width: 901px) and (hover: hover) {
    .mshv .mshv-nav {
        position: absolute; z-index: 5; top: 50%; transform: translateY(-50%);
        left: calc(50% + (var(--mshv-fw) / 2) + 20px);
        display: flex; flex-direction: column; gap: 10px;
    }
    .mshv .mshv-nav__btn {
        width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
        border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: rgba(255,255,255,.82); cursor: pointer;
        opacity: .7; transition: background-color .15s ease, opacity .15s ease, color .15s ease;
    }
    .mshv:hover .mshv-nav__btn { opacity: 1; }
    .mshv .mshv-nav__btn:hover { background: rgba(255,255,255,.18); color: #fff; }
    .mshv .mshv-nav__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; opacity: 1; }
    .mshv .mshv-nav__btn[disabled] { opacity: .25 !important; cursor: default; background: rgba(255,255,255,.06); }
    .mshv .media-shorts__hint { display: none; }
}

/* ------------------------------------------------------------ More menu */

.mshv .mshv-menu {
    position: absolute; z-index: 8; right: 56px; bottom: 28px; min-width: 212px; padding: 6px; margin: 0;
    list-style: none; border-radius: 12px; background: rgba(24,26,32,.96); color: #fff;
    box-shadow: 0 12px 32px rgba(0,0,0,.45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transform-origin: bottom right; animation: mshv-in .16s var(--mshv-ease);
}
.mshv .mshv-menu[hidden] { display: none; }
.mshv .mshv-menu__item {
    width: 100%; height: 40px; padding: 0 12px; display: flex; align-items: center; gap: 12px;
    border: 0; border-radius: 8px; background: none; color: #fff; text-align: left; text-decoration: none;
    font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
}
.mshv .mshv-menu__item svg { flex: 0 0 18px; width: 18px; height: 18px; color: rgba(255,255,255,.8); }
.mshv .mshv-menu__item:hover, .mshv .mshv-menu__item:focus-visible { background: rgba(255,255,255,.1); outline: none; }
.mshv .mshv-menu__sep { height: 1px; margin: 4px 6px; background: rgba(255,255,255,.1); }
@keyframes mshv-in { from { opacity: 0; transform: scale(.96) translateY(4px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ guest join sheet */

.mshv .mshv-join-scrim { position: absolute; inset: 0; z-index: 9; background: rgba(0,0,0,.32); animation: mshv-fade .18s ease; }
.mshv .mshv-join {
    position: absolute; z-index: 10; left: 0; right: 0; bottom: 0;
    padding: 22px 20px calc(20px + env(safe-area-inset-bottom, 0px)); border-radius: 16px 16px 0 0;
    background: #15171c; color: #fff; text-align: center; animation: mshv-up .22s var(--mshv-ease);
}
.mshv .mshv-join__close {
    position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 50%; background: none; color: rgba(255,255,255,.7); cursor: pointer;
}
.mshv .mshv-join__close:hover { background: rgba(255,255,255,.1); color: #fff; }
.mshv .mshv-join__title { margin: 4px 24px 6px; font-size: 18px; line-height: 1.3; font-weight: 600; color: #fff; }
.mshv .mshv-join__body { margin: 0 auto 18px; max-width: 30ch; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.74); }
.mshv .mshv-join__cta {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 42px; border-radius: 999px;
    background: #fff; color: #101828 !important; font-size: 15px; font-weight: 600; text-decoration: none;
}
.mshv .mshv-join__cta:hover { background: rgba(255,255,255,.88); }
.mshv .mshv-join__alt { margin: 14px 0 0; font-size: 13px; color: rgba(255,255,255,.7); }
.mshv .mshv-join__alt a { color: #fff; font-weight: 600; text-decoration: none; }
.mshv .mshv-join__alt a:hover { text-decoration: underline; }
.mshv .mshv-join a:focus-visible, .mshv .mshv-join button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@keyframes mshv-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes mshv-fade { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------------------------------------ toast, live region */

.mshv .mshv-toast {
    position: absolute; z-index: 11; top: 60px; left: 50%; transform: translateX(-50%);
    padding: 8px 14px; border-radius: 999px; background: rgba(24,26,32,.92); color: #fff;
    font-size: 13px; font-weight: 500; white-space: nowrap; pointer-events: none; animation: mshv-fade .18s ease;
}
.mshv .mshv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Tooltips on the sound and nav controls reuse the rail's look. */
.mshv .mshv-sound[data-tip], .mshv .mshv-nav__btn[data-tip] { position: relative; }
@media (hover: hover) {
    .mshv .mshv-sound[data-tip]:hover::after, .mshv .mshv-nav__btn[data-tip]:hover::after {
        content: attr(data-tip); position: absolute; top: 50%; transform: translateY(-50%); white-space: nowrap;
        padding: 4px 8px; border-radius: 6px; background: rgba(24,26,32,.94); color: #fff; font-size: 12px; font-weight: 500; pointer-events: none;
    }
    .mshv .mshv-sound[data-tip]:hover::after { right: calc(100% + 6px); }
    .mshv .mshv-nav__btn[data-tip]:hover::after { left: calc(100% + 8px); }
}

/* ------------------------------------------------------------ mobile */

@media (max-width: 900px) {
    /* The header stays on mobile, so a Short is the screen below it: otherwise the caption and More sit off the bottom. */
    .mshv .media-shorts__viewport, .mshv .media-shorts__item { height: calc(100dvh - var(--media-header-height, 61px)) !important; }
    main:has(> .mshv[data-media-shorts]) { padding-bottom: 0 !important; }
    .mshv .media-shorts__overlay { padding: 64px 64px calc(18px + env(safe-area-inset-bottom, 0px)) 12px !important; }
    .mshv .media-shorts__rail { right: 4px !important; bottom: calc(22px + env(safe-area-inset-bottom, 0px)) !important; }
    .mshv .mshv-prog { bottom: env(safe-area-inset-bottom, 0px) !important; }
    .mshv .mshv-menu { right: 52px; }
    .mshv .mshv-cap__text { max-width: none; }
}

/* ------------------------------------------------------------ desktop: engagement beside the video (layout refinement, Nov 2026) */

.mshv .media-shorts__item { position: relative; }

@media (min-width: 901px) {
    /* Video and toolbar are one composition, centred together. Playback and publisher stay inside the video. */
    .mshv:not(.mshv--overlay) .media-shorts__item { gap: 16px; }
    .mshv:not(.mshv--overlay) .media-shorts__frame { flex: 0 0 auto; }
    /* A sponsored Short has no engagement toolbar: an empty column of the same width keeps it on the same centre line as every other Short. */
    .mshv:not(.mshv--overlay) .media-shorts__item:not(:has(> .media-shorts__rail))::after { content: ''; flex: 0 0 44px; align-self: stretch; }
    .mshv:not(.mshv--overlay) .media-shorts__rail {
        position: relative !important; right: auto !important; bottom: auto !important; z-index: 3;
        flex: 0 0 44px; align-self: flex-end; margin-bottom: 20px;
    }
    .mshv:not(.mshv--overlay) .media-shorts__rail .mshv-ico > svg,
    .mshv:not(.mshv--overlay) .media-shorts__rail .mshv-ico .media-source-icon { filter: none; }
    .mshv:not(.mshv--overlay) .media-shorts__rail .mx-act:hover .mshv-ico { background: rgba(255,255,255,.1); }
    .mshv:not(.mshv--overlay) .media-shorts__rail .mx-act__count { margin-top: -2px; text-shadow: none; color: rgba(255,255,255,.78); }
    .mshv:not(.mshv--overlay) .media-shorts__rail .mx-act[data-tip]::after { right: auto !important; left: calc(100% + 8px) !important; }

    /* Nothing sits on the caption's right any more, so it can use the width; a little more room above the progress line. */
    .mshv:not(.mshv--overlay) .media-shorts__overlay { padding-right: 16px !important; padding-bottom: 22px !important; }

    /* Narrow desktop: the toolbar returns over the video, against the frame's right edge. */
    .mshv.mshv--overlay .media-shorts__rail { right: calc((100% - var(--mshv-fw)) / 2 + 6px) !important; }

    .mshv .mshv-nav { transform: translateY(-50%); }
}

/* ------------------------------------------------------------ the viewer opened in place (unified viewer, Nov 2026) */

/* Above the site header (100), beneath the shared sheets the viewer opens: Source (120), Share and the Following menu (1000), Report (1200). */
.mshv-layer { position: fixed; inset: 0; z-index: 110; background: #05070f; overflow: hidden; }
html.mshv-layer-open .media-toast { z-index: 1300; }
html.mshv-layer-open, html.mshv-layer-open body { overflow: hidden !important; }
.mshv-layer .mshv .media-shorts__viewport,
.mshv-layer .mshv .media-shorts__item { height: 100dvh !important; }
.mshv-layer__close {
    position: absolute; z-index: 30; top: calc(14px + env(safe-area-inset-top, 0px)); left: 14px;
    width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; cursor: pointer;
    transition: background-color .15s ease;
}
.mshv-layer__close:hover { background: rgba(255,255,255,.18); }
.mshv-layer__close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 900px) {
    .mshv-layer__close { top: calc(10px + env(safe-area-inset-top, 0px)); left: 10px; background: rgba(0,0,0,.35); }
    /* The close control sits where the sound control does not: top left, over the video. */
}

/* ------------------------------------------------------------ reduced motion */

@media (prefers-reduced-motion: reduce) {
    .mshv *, .mshv *::before, .mshv *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition: none !important; }
    .mshv .media-shorts__item.is-waiting .mshv-spin { opacity: 1; animation: none !important; }
}

/* ------------------------------------------------------------ Responses brief (Nov 2026) */

/* "Responding to": compact, clickable, distinct from the title. */
.mshv .mshv-src {
    margin-top: 10px; max-width: 100%; height: 30px; padding: 0 10px 0 9px;
    display: inline-flex; align-items: center; gap: 6px;
    border: 0; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font: inherit; font-size: 12.5px; line-height: 1; text-align: left;
    transition: background-color .15s ease;
}
.mshv .mshv-src:hover { background: rgba(255, 255, 255, .26); }
.mshv .mshv-src:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.mshv .mshv-src__ico, .mshv .mshv-src__chev { flex: 0 0 auto; opacity: .9; }
.mshv .mshv-src__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255, 255, 255, .86); }
.mshv .mshv-src__text b { font-weight: 600; color: #fff; }
.mshv .mshv-cap + .mshv-src { margin-top: 8px; }

/* Source panel: a light sheet over the viewer. */
.mshv-srcpanel {
    width: min(460px, calc(100vw - 32px)); max-height: min(78vh, 720px); padding: 0; border: 0; border-radius: 18px;
    background: #fff; color: #142033; box-shadow: 0 24px 64px rgba(15, 23, 42, .28); overflow: auto;
}
.mshv-srcpanel::backdrop { background: rgba(5, 7, 15, .55); }
.mshv-srcpanel[open] { animation: mshv-srcp-in .2s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes mshv-srcp-in { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
.mshv-srcpanel__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 10px 22px; background: #fff; }
.mshv-srcpanel__head h2 { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #5b6575; }
.mshv-srcpanel__x { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: none; color: #4b5565; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mshv-srcpanel__x:hover { background: #f2f4f7; color: #142033; }
.mshv-srcpanel__x:focus-visible { outline: 2px solid #0b5fff; outline-offset: 2px; }
.mshv-srcpanel__src { display: flex; gap: 14px; align-items: flex-start; padding: 0 22px 18px; }
.mshv-srcpanel__img { flex: 0 0 auto; width: 96px; aspect-ratio: 16 / 10; border-radius: 10px; object-fit: cover; background: #eef0f3; }
.mshv-srcpanel__srctext { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mshv-srcpanel__meta { margin: 0; font-size: 13px; color: #5b6575; }
.mshv-srcpanel__title { margin: 0; font-size: 17px; line-height: 1.35; font-weight: 600; overflow-wrap: anywhere; }
.mshv-srcpanel__url { margin: 0; font-size: 13px; color: #8a94a3; }
.mshv-srcpanel__sub { margin: 0; padding: 14px 22px 8px; border-top: 1px solid #eef0f3; font-size: 13px; font-weight: 600; color: #5b6575; }
.mshv-srcpanel__list { margin: 0; padding: 0 22px 6px; list-style: none; }
.mshv-srcpanel__pass { padding: 10px 0 12px; border-bottom: 1px solid #f2f4f7; }
.mshv-srcpanel__pass:last-child { border-bottom: 0; }
.mshv-srcpanel__ptitle { margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.mshv-srcpanel__quote { margin: 0; padding: 2px 0 2px 12px; border-left: 3px solid #d0d5dd; font-size: 14.5px; line-height: 1.5; color: #344054; overflow-wrap: anywhere; }
.mshv-srcpanel__desc { margin: 0; font-size: 14.5px; line-height: 1.5; color: #344054; }
.mshv-srcpanel__prov { margin: 8px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; color: #8a94a3; }
.mshv-srcpanel__jump { padding: 4px 10px; border: 0; border-radius: 999px; background: #f2f4f7; color: #142033; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.mshv-srcpanel__jump:hover { background: #e6e9ee; }
.mshv-srcpanel__actions { position: sticky; bottom: 0; display: flex; gap: 10px; padding: 14px 22px 18px; background: #fff; border-top: 1px solid #eef0f3; }
.mshv-srcpanel__btn { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; padding: 0 16px; border-radius: 999px; background: #f2f4f7; color: #142033; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.mshv-srcpanel__btn:hover { background: #e6e9ee; color: #142033; }
.mshv-srcpanel__btn--primary { background: #0b5fff; color: #fff; }
.mshv-srcpanel__btn--primary:hover { background: #0a52dc; color: #fff; }
.mshv-srcpanel__btn:focus-visible { outline: 2px solid #0b5fff; outline-offset: 2px; }
.mshv-srcpanel .mshv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 640px) {
    .mshv-srcpanel { width: 100vw; max-width: none; max-height: 86vh; margin: auto 0 0; border-radius: 18px 18px 0 0; }
}

/* Light desktop viewer: white header, light grey page, the video stays dark. */
@media (min-width: 901px) {
    html.mshv-light body:has(.mshv[data-media-shorts]),
    html.mshv-light .mshv[data-media-shorts] { background: #f4f5f7 !important; }
    html.mshv-light body:has(.mshv[data-media-shorts]) .media-footer { display: none !important; }
    html.mshv-light .mshv .media-shorts__viewport,
    html.mshv-light .mshv .media-shorts__item { height: calc(100dvh - var(--media-header-height, 60px) - 1px) !important; background: transparent !important; }
    html.mshv-light .mshv .media-shorts__frame { box-shadow: 0 1px 3px rgba(16, 24, 40, .08) !important; }

    /* Engagement beside the video: dark on light. */
    html.mshv-light .mshv:not(.mshv--overlay) .media-shorts__rail .mx-act.mx-act--overlay { color: #142033 !important; }
    html.mshv-light .mshv:not(.mshv--overlay) .media-shorts__rail .mshv-ico { color: #142033; }
    html.mshv-light .mshv:not(.mshv--overlay) .media-shorts__rail .mx-act:hover .mshv-ico { background: rgba(20, 32, 51, .07); }
    html.mshv-light .mshv:not(.mshv--overlay) .media-shorts__rail .mx-act__count { color: #4b5565 !important; }
    html.mshv-light .mshv:not(.mshv--overlay) .media-shorts__rail .mx-act:focus-visible .mshv-ico { box-shadow: 0 0 0 2px #0b5fff; }
    html.mshv-light .mshv:not(.mshv--overlay) .media-shorts__rail .mx-act--like[aria-pressed='true'] .mshv-ico,
    html.mshv-light .mshv:not(.mshv--overlay) .media-shorts__rail .mx-act--like.is-liked .mshv-ico { color: #e8336a; }
    html.mshv-light .mshv:not(.mshv--overlay) .media-shorts__rail .mx-act--save[aria-pressed='true'] .mshv-ico { color: #142033; }
    html.mshv-light .mshv:not(.mshv--overlay) .media-shorts__rail .mx-act[aria-expanded='true'] .mshv-ico { background: rgba(20, 32, 51, .1); }

    /* Previous and next: separate, quiet, white. */
    html.mshv-light .mshv .mshv-nav__btn { background: #fff; color: #344054; opacity: 1; box-shadow: 0 1px 2px rgba(16, 24, 40, .1), 0 0 0 1px rgba(16, 24, 40, .06); }
    html.mshv-light .mshv .mshv-nav__btn:hover { background: #fff; color: #142033; box-shadow: 0 2px 6px rgba(16, 24, 40, .14), 0 0 0 1px rgba(16, 24, 40, .08); }
    html.mshv-light .mshv .mshv-nav__btn:focus-visible { outline-color: #0b5fff; }
    html.mshv-light .mshv .mshv-nav__btn[disabled] { background: #fff; }

    /* Opened in place: below the header, so Media.com's navigation stays in view. */
    html.mshv-light .mshv-layer { top: var(--media-header-height, 60px); background: #f4f5f7; }
    html.mshv-light .mshv-layer .mshv .media-shorts__viewport,
    html.mshv-light .mshv-layer .mshv .media-shorts__item { height: calc(100dvh - var(--media-header-height, 60px)) !important; }
    html.mshv-light .mshv-layer__close { background: #fff; color: #344054; box-shadow: 0 1px 2px rgba(16, 24, 40, .1), 0 0 0 1px rgba(16, 24, 40, .06); }
    html.mshv-light .mshv-layer__close:hover { background: #fff; color: #142033; }
    html.mshv-light .mshv-layer__close:focus-visible { outline-color: #0b5fff; }
}
/* ------------------------------------------------------------ playback feedback (Nov 2026 brief) */
.mshv .media-shorts__surface { cursor: pointer; }
.mshv .mshv-flash { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(0, 0, 0, .45); }
.mshv .mshv-flash svg { width: 26px; height: 26px; }
.mshv .mshv-flash.is-on { animation: mshv-flash2 .6s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes mshv-flash2 { 0% { opacity: 0; transform: scale(.88); } 24% { opacity: 1; transform: scale(1); } 62% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }

/* Progress: a scrubber appears on hover and while dragging. */
.mshv .mshv-prog__fill::after {
    content: ''; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
    border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
    transform: scale(0); transition: transform .15s ease;
}
.mshv .mshv-prog:hover .mshv-prog__fill::after,
.mshv .mshv-prog.is-scrubbing .mshv-prog__fill::after,
.mshv .mshv-prog:focus-visible .mshv-prog__fill::after { transform: scale(1); }

/* Double-tap Like. */
.mshv .mshv-heart {
    position: absolute; z-index: 6; width: 88px; height: 88px; margin: -44px 0 0 -44px; pointer-events: none;
    color: #ff4d7a; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .3));
    animation: mshv-heart .9s cubic-bezier(.2, .7, .2, 1) forwards;
}
.mshv .mshv-heart svg { display: block; width: 100%; height: 100%; }
@keyframes mshv-heart { 0% { opacity: 0; transform: scale(.6); } 18% { opacity: 1; transform: scale(1.06); } 32% { transform: scale(1); } 70% { opacity: 1; } 100% { opacity: 0; transform: scale(1) translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .mshv .mshv-heart { display: none; } }
/* ------------------------------------------------------------ desktop refinement (Nov 2026): white page, lighter rail */
@media (min-width: 901px) {
    html.mshv-light body:has(.mshv[data-media-shorts]),
    html.mshv-light .mshv[data-media-shorts],
    html.mshv-light .mshv-layer { background: #fff !important; }
    html.mshv-light .mshv .media-shorts__frame { box-shadow: none !important; }
    html.mshv-light .mshv:not(.mshv--overlay) .media-shorts__item { gap: 14px; }
    html.mshv-light .mshv:not(.mshv--overlay) .media-shorts__rail { margin-bottom: 12px; gap: 6px !important; }

    /* Icons: 24px, 1.75 strokes, charcoal, no shadow. */
    html.mshv-light .mshv:not(.mshv--overlay) .media-shorts__rail .mshv-ico { width: 44px; height: 44px; color: #1f2937; }
    html.mshv-light .mshv:not(.mshv--overlay) .media-shorts__rail .mshv-ico > svg,
    html.mshv-light .mshv:not(.mshv--overlay) .media-shorts__rail .mshv-ico .media-source-icon,
    html.mshv-light .mshv:not(.mshv--overlay) .media-shorts__rail .mshv-ico .media-action-icon { width: 24px !important; height: 24px !important; filter: none !important; stroke-width: 1.75; }
    html.mshv-light .mshv:not(.mshv--overlay) .media-shorts__rail .mshv-ico svg [stroke] { stroke-width: 1.75; }
    html.mshv-light .mshv:not(.mshv--overlay) .media-shorts__rail .mx-act:hover .mshv-ico { background: #f2f4f7; }
    html.mshv-light .mshv:not(.mshv--overlay) .media-shorts__rail .mx-act__count { margin-top: -3px; font-size: 12px !important; font-weight: 500; color: #6b7280 !important; }
    html.mshv-light .mshv:not(.mshv--overlay) .media-shorts__rail .mx-act--like[aria-pressed='true'] svg path,
    html.mshv-light .mshv:not(.mshv--overlay) .media-shorts__rail .mx-act--like.is-liked svg path { fill: currentColor; }
    html.mshv-light .mshv:not(.mshv--overlay) .media-shorts__rail .mx-act--save[aria-pressed='true'] .mshv-ico,
    html.mshv-light .mshv:not(.mshv--overlay) .media-shorts__rail .mx-act--save.is-saved .mshv-ico { color: #1f2937; }

    /* Previous and next: lighter, neutral, still 40px targets. */
    html.mshv-light .mshv .mshv-nav { gap: 8px; }
    html.mshv-light .mshv .mshv-nav__btn { width: 40px; height: 40px; background: #f5f6f8; color: #4b5565; box-shadow: none; }
    html.mshv-light .mshv .mshv-nav__btn svg { stroke-width: 1.75; }
    html.mshv-light .mshv .mshv-nav__btn:hover { background: #eceef2; color: #1f2937; box-shadow: none; }
    html.mshv-light .mshv .mshv-nav__btn[disabled] { opacity: .35 !important; background: #f5f6f8; }
    html.mshv-light .mshv-layer__close { background: #f5f6f8; box-shadow: none; }
    html.mshv-light .mshv-layer__close:hover { background: #eceef2; }

    /* A discreet way to all Shorts from a Short's own page. */
    html.mshv-light .mshv .mshv-back {
        position: absolute; z-index: 5; top: 16px; left: 24px; display: inline-flex; align-items: center; gap: 4px;
        height: 32px; padding: 0 12px 0 8px; border-radius: 999px; color: #4b5565; font-size: 14px; font-weight: 600; text-decoration: none;
    }
    html.mshv-light .mshv .mshv-back:hover { background: #f5f6f8; color: #1f2937; }
    html.mshv-light .mshv .mshv-back:focus-visible { outline: 2px solid #0b5fff; outline-offset: 2px; }
}
.mshv .mshv-back { display: none; }
@media (min-width: 901px) { html.mshv-light .mshv .mshv-back { display: inline-flex; } }

/* Overlay text: a little more breathing room and a softer wash. */
.mshv .mshv-pub__line { gap: 10px; }
.mshv .mshv-cap { margin-top: 8px; }
/* ------------------------------------------------------------ right-hand edge (Nov 2026) */
/* No hairline of the frame showing past the video at fractional widths. */
.mshv .media-shorts__frame { isolation: isolate; }
.mshv .media-shorts__video { transform: translateZ(0) scale(1.006); }
@media (min-width: 901px) {
    /* Previous and next: icon only until hovered, so nothing sits beside the video at rest. */
    html.mshv-light .mshv .mshv-nav__btn { background: transparent; color: #4b5565; }
    html.mshv-light .mshv .mshv-nav__btn:hover { background: #f2f4f7; color: #1f2937; }
    html.mshv-light .mshv .mshv-nav__btn[disabled] { opacity: .3 !important; background: transparent; }
}

/* ------------------------------------------------------------ Media Ripple (Nov 2026) */
/* Play and pause: the icon lands, a soft ring spreads from it like a stone in still water, both dissolve. */
.mshv .mshv-flash,
.mshv .mshv-flash.is-on {
    width: 56px; height: 56px; margin: -28px 0 0 -28px; background: none; overflow: visible; opacity: 1; animation: none;
}
.mshv .mshv-flash::before,
.mshv .mshv-flash::after { content: ''; position: absolute; left: 50%; top: 50%; border-radius: 50%; pointer-events: none; opacity: 0; }
.mshv .mshv-flash::before { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(17, 24, 39, .42); }
.mshv .mshv-flash::after { width: 56px; height: 56px; margin: -28px 0 0 -28px; box-shadow: inset 0 0 0 1.75px rgba(255, 255, 255, .7); }
.mshv .mshv-flash svg { position: relative; z-index: 1; width: 40px; height: 40px; opacity: 0; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.mshv .mshv-flash.is-on::before { animation: mripple-disc .42s cubic-bezier(.16, 1, .3, 1) forwards; }
.mshv .mshv-flash.is-on::after { animation: mripple-ring .65s cubic-bezier(.16, 1, .3, 1) forwards; }
.mshv .mshv-flash.is-on svg { animation: mripple-icon .52s cubic-bezier(.16, 1, .3, 1) forwards; }
@keyframes mripple-disc { 0% { opacity: 1; transform: scale(.85); } 22% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12); } }
@keyframes mripple-ring { 0% { opacity: .9; transform: scale(.98); } 45% { opacity: .38; } 100% { opacity: 0; transform: scale(3.2); } }
@keyframes mripple-icon { 0% { opacity: 1; transform: scale(.82); } 20% { opacity: 1; transform: scale(1); } 55% { opacity: .8; transform: scale(1.08); } 100% { opacity: 0; transform: scale(1.12); } }

/* Paused by the person: a small, quiet play mark stays until playback resumes. */
.mshv .mshv-hold {
    position: absolute; left: 50%; top: 50%; z-index: 2; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; background: rgba(17, 24, 39, .32); color: rgba(255, 255, 255, .92);
    pointer-events: none; opacity: 0; transform: scale(.92); transition: opacity .25s ease, transform .25s cubic-bezier(.16, 1, .3, 1);
}
.mshv .mshv-hold svg { width: 22px; height: 22px; margin-left: 2px; }
.mshv .media-shorts__item.is-held .mshv-hold { opacity: 1; transform: scale(1); transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
    .mshv .mshv-flash.is-on svg { animation: mripple-simple .5s linear forwards !important; animation-duration: .5s !important; }
    .mshv .mshv-flash.is-on::before, .mshv .mshv-flash.is-on::after { animation: none !important; }
    .mshv .media-shorts__item.is-held .mshv-hold { transition: none; transition-delay: 0s; }
}
@keyframes mripple-simple { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
/* ------------------------------------------------------------ Media Ripple v2 + Like burst (Nov 2026) */
.mshv .media-shorts__surface, .mshv .media-shorts__frame { -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }

/* Ripple: a defined wave (sharp inner ring) and a feathered halo, expanding to about 220px and fading the whole way. */
.mshv .mshv-flash::before { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: rgba(17, 24, 39, .44); }
.mshv .mshv-flash::after {
    width: 72px; height: 72px; margin: -36px 0 0 -36px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .82), 0 0 0 1px rgba(255, 255, 255, .28), 0 0 12px 4px rgba(255, 255, 255, .3), inset 0 0 10px 2px rgba(255, 255, 255, .26);
}
.mshv .mshv-flash.is-on::before { animation: mripple2-disc .45s cubic-bezier(.16, 1, .3, 1) forwards; }
.mshv .mshv-flash.is-on::after { animation: mripple2-ring .72s cubic-bezier(.16, 1, .3, 1) forwards; }
.mshv .mshv-flash.is-on svg { animation: mripple2-icon .45s cubic-bezier(.16, 1, .3, 1) forwards; }
@keyframes mripple2-disc { 0% { opacity: 1; transform: scale(.82); } 20% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.1); } }
@keyframes mripple2-ring { 0% { opacity: 0; transform: scale(.8); } 8% { opacity: 1; transform: scale(.9); } 32% { opacity: .78; } 62% { opacity: .34; } 100% { opacity: 0; transform: scale(3.05); } }
@keyframes mripple2-icon { 0% { opacity: 1; transform: scale(.82); } 22% { opacity: 1; transform: scale(1.04); } 55% { opacity: .9; transform: scale(1.08); } 100% { opacity: 0; transform: scale(1.12); } }
@media (max-width: 600px) { .mshv .mshv-flash.is-on::after { animation-name: mripple2-ring-sm; } }
@keyframes mripple2-ring-sm { 0% { opacity: 0; transform: scale(.8); } 8% { opacity: 1; transform: scale(.9); } 32% { opacity: .78; } 62% { opacity: .34; } 100% { opacity: 0; transform: scale(2.7); } }

/* Like: lands at the tap, swells, settles, floats up and fades, with a faint pink halo behind. */
.mshv .mshv-heart { width: 92px; height: 92px; margin: -46px 0 0 -46px; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .28)); animation: mlike-heart .8s cubic-bezier(.22, 1, .36, 1) forwards; will-change: transform, opacity; }
.mshv .mshv-heart svg { position: relative; z-index: 1; }
.mshv .mshv-heart__halo { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 77, 122, .38) 0%, rgba(255, 77, 122, .14) 45%, rgba(255, 77, 122, 0) 70%); animation: mlike-halo .7s cubic-bezier(.16, 1, .3, 1) forwards; }
@keyframes mlike-heart { 0% { opacity: 0; transform: translateY(0) scale(.65); } 14% { opacity: 1; transform: translateY(-2px) scale(1.13); } 30% { opacity: 1; transform: translateY(-6px) scale(1); } 62% { opacity: 1; transform: translateY(-20px) scale(1); } 100% { opacity: 0; transform: translateY(-40px) scale(.96); } }
@keyframes mlike-halo { 0% { opacity: 0; transform: scale(.6); } 20% { opacity: 1; } 100% { opacity: 0; transform: scale(2.1); } }

/* Reduced motion: a brief fade, no movement. */
@media (prefers-reduced-motion: reduce) {
    .mshv .mshv-heart, .mshv .mshv-heart.is-simple { display: block; animation: mlike-simple .6s linear forwards !important; animation-duration: .6s !important; }
    .mshv .mshv-heart__halo { display: none; }
    .mshv .mshv-flash.is-on svg { animation: mripple-simple .5s linear forwards !important; animation-duration: .5s !important; }
    .mshv .mshv-flash.is-on::before { animation: mripple-simple .5s linear forwards !important; animation-duration: .5s !important; }
}
@keyframes mlike-simple { 0%, 60% { opacity: 1; } 100% { opacity: 0; } }
/* ------------------------------------------------------------ navigation controls (Nov 2026) */
/* No floating labels: the buttons keep their accessible names (Previous Short, Next Short). */
.mshv .mshv-nav__btn[data-tip]:hover::after, .mshv .mshv-nav__btn[data-tip]:focus::after { content: none !important; display: none !important; }
@media (min-width: 901px) {
    html.mshv-light .mshv .mshv-nav { gap: 10px; }
    html.mshv-light .mshv .mshv-nav__btn {
        width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f2f4f7; color: #344054; box-shadow: none; opacity: 1;
        transition: background-color .18s ease, color .18s ease, opacity .18s ease;
    }
    html.mshv-light .mshv .mshv-nav__btn svg { width: 20px; height: 20px; stroke-width: 1.75; }
    html.mshv-light .mshv .mshv-nav__btn:hover { background: #e4e7ec; color: #101828; }
    html.mshv-light .mshv .mshv-nav__btn:active { background: #d9dde3; }
    html.mshv-light .mshv .mshv-nav__btn:focus-visible { outline: 2px solid #0b5fff; outline-offset: 2px; }
    html.mshv-light .mshv .mshv-nav__btn[disabled] { opacity: .4 !important; background: #f5f6f8; color: #98a2b3; cursor: default; pointer-events: none; }
}
/* The arrows wait until the video's real width is known, so they never flash over the video on load (Nov 2026). */
.mshv:not(.is-measured) .mshv-nav { visibility: hidden; }
/* ------------------------------------------------------------ Like heart v3 (Nov 2026): emerges, pulses, drifts and dissolves */
.mshv .mshv-heart {
    width: 58px; height: 58px; margin: -29px 0 0 -29px; color: #ff4d7a;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .22));
    animation: mlike3-heart .92s cubic-bezier(.25, .8, .3, 1) forwards; will-change: transform, opacity;
}
.mshv .mshv-heart__halo {
    width: 96px; height: 96px; margin: -48px 0 0 -48px;
    background: radial-gradient(circle, rgba(255, 77, 122, .42) 0%, rgba(255, 77, 122, .16) 42%, rgba(255, 77, 122, 0) 70%);
    filter: blur(6px); animation: mlike3-halo .55s cubic-bezier(.16, 1, .3, 1) forwards;
}
@keyframes mlike3-heart {
    0%   { opacity: 0;   transform: translateY(0) scale(.7); }
    11%  { opacity: .9;  transform: translateY(-2px) scale(.92); }
    20%  { opacity: 1;   transform: translateY(-5px) scale(1.1); }
    33%  { opacity: 1;   transform: translateY(-10px) scale(1); }
    55%  { opacity: .72; transform: translateY(-20px) scale(1); }
    78%  { opacity: .34; transform: translateY(-31px) scale(.99); }
    100% { opacity: 0;   transform: translateY(-42px) scale(.98); }
}
@keyframes mlike3-halo { 0% { opacity: 0; transform: scale(.55); } 25% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
@media (prefers-reduced-motion: reduce) {
    .mshv .mshv-heart, .mshv .mshv-heart.is-simple { animation: mlike-simple .6s linear forwards !important; animation-duration: .6s !important; transform: none; }
}
/* ------------------------------------------------------------ Like heart v4 (Nov 2026): one continuous glide */
/* Three independent tracks (translate, scale, opacity) so the upward movement never changes speed between stages. */
.mshv .mshv-heart {
    width: 58px; height: 58px; margin: -29px 0 0 -29px; color: #ff4d7a;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .18));
    transform: none; translate: 0 0; scale: .75; opacity: 0;
    animation:
        mlike4-move .96s cubic-bezier(.22, 1, .36, 1) forwards,
        mlike4-scale .96s cubic-bezier(.33, 1, .68, 1) forwards,
        mlike4-fade .96s linear forwards !important;
    will-change: translate, scale, opacity;
}
.mshv .mshv-heart__halo { display: none; }
@keyframes mlike4-move { from { translate: 0 0; } to { translate: 0 -50px; } }
@keyframes mlike4-scale { 0% { scale: .75; } 28% { scale: 1.08; } 100% { scale: .96; } }
@keyframes mlike4-fade { 0% { opacity: 0; } 9% { opacity: 1; } 26% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .mshv .mshv-heart, .mshv .mshv-heart.is-simple { scale: 1; translate: 0 0; animation: mlike-simple .6s linear forwards !important; animation-duration: .6s !important; }
}
/* Like heart: on screen a little longer and rising a little higher (Nov 2026). */
.mshv .mshv-heart {
    animation:
        mlike5-move 1.3s cubic-bezier(.22, 1, .36, 1) forwards,
        mlike5-scale 1.3s cubic-bezier(.33, 1, .68, 1) forwards,
        mlike5-fade 1.3s linear forwards !important;
}
@keyframes mlike5-move { from { translate: 0 0; } to { translate: 0 -72px; } }
@keyframes mlike5-scale { 0% { scale: .75; } 22% { scale: 1.08; } 100% { scale: .96; } }
@keyframes mlike5-fade { 0% { opacity: 0; } 7% { opacity: 1; } 34% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .mshv .mshv-heart, .mshv .mshv-heart.is-simple { animation: mlike-simple .8s linear forwards !important; animation-duration: .8s !important; }
}
/* Like heart v6 (Nov 2026): bigger, softer, luminous. 68px heart, a pre-blurred pink glow (a gradient, so no live blur), a 90px glide. */
.mshv .mshv-heart {
    width: 68px; height: 68px; margin: -34px 0 0 -34px; color: #ff4d7a;
    filter: none;
    animation:
        mlike6-move 1.35s cubic-bezier(.22, 1, .36, 1) forwards,
        mlike6-scale 1.35s cubic-bezier(.33, 1, .68, 1) forwards,
        mlike6-fade 1.35s cubic-bezier(.45, 0, .55, 1) forwards !important;
}
.mshv .mshv-heart svg { position: relative; z-index: 1; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .14)); }
.mshv .mshv-heart__halo {
    display: block; position: absolute; left: 50%; top: 52%; z-index: 0;
    width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 50%; filter: none;
    background: radial-gradient(closest-side, rgba(255, 77, 122, .46) 0%, rgba(255, 77, 122, .26) 38%, rgba(255, 77, 122, .1) 66%, rgba(255, 77, 122, 0) 100%);
    opacity: 0; animation: mlike6-glow 1.35s cubic-bezier(.33, 1, .68, 1) forwards;
    will-change: transform, opacity;
}
@keyframes mlike6-move { from { translate: 0 0; } to { translate: 0 -90px; } }
@keyframes mlike6-scale { 0% { scale: .75; } 14% { scale: 1.05; } 34% { scale: 1; } 100% { scale: .97; } }
@keyframes mlike6-fade { 0% { opacity: 0; } 9% { opacity: 1; } 48% { opacity: 1; } 100% { opacity: 0; } }
@keyframes mlike6-glow { 0% { opacity: 0; transform: scale(.7); } 14% { opacity: .95; transform: scale(1); } 46% { opacity: .55; transform: scale(1.22); } 82% { opacity: 0; transform: scale(1.38); } 100% { opacity: 0; transform: scale(1.4); } }
@media (max-width: 600px) {
    .mshv .mshv-heart { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
    .mshv .mshv-heart__halo { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
}
@media (prefers-reduced-motion: reduce) {
    .mshv .mshv-heart, .mshv .mshv-heart.is-simple { scale: 1; translate: 0 0; animation: mlike-simple .8s linear forwards !important; animation-duration: .8s !important; }
    .mshv .mshv-heart__halo { display: none; }
}
/* ------------------------------------------------------------ Shorts comments in the viewer (Nov 2026) */
.mshv-cpanel {
    --cp-ease: cubic-bezier(.22, 1, .36, 1);
    display: flex; flex-direction: column; background: #fff; color: #142033; z-index: 6;
    opacity: 0; transition: transform .26s var(--cp-ease), opacity .22s ease, height .26s var(--cp-ease);
}
.mshv-cpanel[hidden] { display: none; }
.mshv-cpanel__grip { display: none; }
.mshv-cpanel__head { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 16px 12px 12px 20px; border-bottom: 1px solid #f0f2f5; }
.mshv-cpanel__head h2 { margin: 0; font-size: 16px; font-weight: 600; }
.mshv-cpanel__head h2 span { margin-left: 4px; font-weight: 500; color: #8a94a3; }
.mshv-cpanel__x { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: none; color: #4b5565; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .15s; }
.mshv-cpanel__x:hover { background: #f2f4f7; color: #142033; }
.mshv-cpanel__x:focus-visible { outline: 2px solid #0b5fff; outline-offset: 2px; }
.mshv-cpanel__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px 12px; outline: none; }
.mshv-cpanel__state, .mshv-cpanel__empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 180px; text-align: center; color: #5b6575; font-size: 14px; }
.mshv-cpanel__state p, .mshv-cpanel__empty p { margin: 0; }
.mshv-cpanel__empty b { color: #142033; font-weight: 600; font-size: 15px; }
.mshv-cpanel__spin { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #e4e7ec; border-top-color: #667085; animation: mshv-spin .8s linear infinite; }
.mshv-cpanel__retry { margin-top: 8px; padding: 6px 14px; border: 0; border-radius: 999px; background: #f2f4f7; color: #142033; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.mshv-cpanel__list, .mshv-c__rlist { margin: 0; padding: 0; list-style: none; }

.mshv-c { display: flex; gap: 10px; padding: 12px 0; }
.mshv-c--reply { padding: 10px 0 0; }
.mshv-c__av { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; background: #e8ecf1; display: inline-flex; align-items: center; justify-content: center; color: #4b5565; font-size: 13px; font-weight: 600; text-decoration: none; }
.mshv-c--reply .mshv-c__av { width: 24px; height: 24px; font-size: 11px; }
.mshv-c__av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mshv-c__main { flex: 1 1 auto; min-width: 0; }
.mshv-c__meta { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 13px; line-height: 1.3; }
.mshv-c__name { font-weight: 600; color: #142033; text-decoration: none; }
.mshv-c__name:hover { text-decoration: underline; }
.mshv-c__time { margin-left: 2px; color: #8a94a3; }
.mshv-c__pin { margin-left: 4px; font-size: 12px; color: #5b6575; }
.mshv-c__body { margin: 3px 0 0; font-size: 14.5px; line-height: 1.45; color: #1f2937; overflow-wrap: anywhere; }
.mshv-c__acts { margin: 6px 0 0; display: flex; align-items: center; gap: 14px; }
.mshv-c__like, .mshv-c__reply, .mshv-c__more { padding: 2px 0; border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 600; color: #667085; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.mshv-c__like:hover, .mshv-c__reply:hover, .mshv-c__more:hover { color: #142033; }
.mshv-c__like.is-on { color: #e8336a; }
.mshv-c__like.is-on svg path { fill: currentColor; }
.mshv-c__like:focus-visible, .mshv-c__reply:focus-visible, .mshv-c__more:focus-visible { outline: 2px solid #0b5fff; outline-offset: 2px; border-radius: 4px; }
.mshv-c__replies { margin-top: 4px; }
.mshv-c__replies.is-collapsed .mshv-c__rlist { display: none; }
.mshv-c__more { margin-top: 6px; }
.mshv-c__more::before { content: ''; width: 18px; height: 1px; background: #d0d5dd; margin-right: 4px; }
.mshv-c--gone p { margin: 0; font-size: 13.5px; color: #8a94a3; font-style: italic; }
.mshv-c--pending { opacity: .6; }
.mshv-c--pending, .mshv-cpanel__list > .mshv-c:first-child { animation: mshv-c-in .18s ease-out both; }
@keyframes mshv-c-in { from { opacity: 0; transform: translateY(8px); } to { transform: none; } }

.mshv-cpanel__foot { flex: 0 0 auto; padding: 10px 16px 14px; border-top: 1px solid #f0f2f5; background: #fff; }
.mshv-cpanel__replying { margin: 0 0 8px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: #5b6575; }
.mshv-cpanel__replying[hidden], .mshv-cpanel__note[hidden], .mshv-cpanel__err[hidden], .mshv-cpanel__form[hidden] { display: none; }
.mshv-cpanel__replying button { padding: 0; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: #0b5fff; cursor: pointer; }
.mshv-cpanel__note { margin: 0; font-size: 13.5px; color: #5b6575; }
.mshv-cpanel__note a { color: #0b5fff; font-weight: 600; text-decoration: none; }
.mshv-cpanel__form { display: flex; align-items: flex-end; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 20px; background: #f2f4f7; }
.mshv-cpanel__form:focus-within { background: #fff; box-shadow: inset 0 0 0 1.5px #c9d4ec; }
.mshv-cpanel__form textarea { flex: 1 1 auto; min-height: 24px; max-height: 140px; padding: 4px 0; border: 0; background: none; resize: none; font: inherit; font-size: 14.5px; line-height: 1.4; color: #142033; outline: none; }
.mshv-cpanel__form textarea::placeholder { color: #8a94a3; }
.mshv-cpanel__send { flex: 0 0 auto; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: #0b5fff; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .15s, opacity .15s; }
.mshv-cpanel__send:disabled { background: #d0d5dd; cursor: default; }
.mshv-cpanel__send.is-busy { opacity: .6; }
.mshv-cpanel__send:focus-visible { outline: 2px solid #0b5fff; outline-offset: 2px; }
.mshv-cpanel__err { margin: 8px 0 0; font-size: 13px; color: #b42318; }
.mshv-cpanel .mshv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Desktop: beside the Short; video, rail and arrows move left so the three read as one composition. */
@media (min-width: 1100px) {
    .mshv-cpanel {
        position: absolute; top: 12px; bottom: 12px; width: 400px; border-radius: 14px; box-shadow: inset 0 0 0 1px #eceef2;
        left: calc(50% - 212px + (var(--mshv-fw, 360px) + 58px) / 2 + 24px);
        transform: translateX(16px);
    }
    .mshv-cpanel.is-open { opacity: 1; transform: none; }
    .mshv .media-shorts__viewport { transition: transform .26s cubic-bezier(.22, 1, .36, 1); }
    .mshv.mshv--comments .media-shorts__viewport { transform: translateX(-212px); }
}

/* Narrow screens: a bottom sheet over the lower part of the Short. */
@media (max-width: 1099px) {
    .mshv-cpanel {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 115; height: 70dvh; border-radius: 16px 16px 0 0;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, .18); transform: translateY(100%); opacity: 1;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    .mshv-cpanel.is-open { transform: none; }
    .mshv-cpanel.is-expanded { height: 92dvh; }
    .mshv-cpanel.is-dragging { transition: none; }
    .mshv-cpanel__grip { display: flex; justify-content: center; padding: 8px 0 0; touch-action: none; }
    .mshv-cpanel__grip span { width: 36px; height: 4px; border-radius: 2px; background: #d0d5dd; }
    .mshv-cpanel__head { padding-top: 8px; touch-action: none; }
}

@media (prefers-reduced-motion: reduce) {
    .mshv-cpanel, .mshv .media-shorts__viewport, .mshv .mshv-nav { transition: opacity .15s linear !important; }
    .mshv-c--pending, .mshv-cpanel__list > .mshv-c:first-child { animation: none; }
}
.mshv .mshv-nav { transition: opacity .15s ease; }
.mshv.is-shifting .mshv-nav { opacity: 0; pointer-events: none; }

/* ------------------------------------------------------------ motion system (Nov 2026) */
/* Tokens: instant 140ms, standard 220ms, panel 260ms, navigation 320ms, expressive 700-1300ms. One easing family. */
.mshv { --m-ease: cubic-bezier(.22, 1, .36, 1); --m-instant: .14s; --m-standard: .22s; --m-panel: .26s; }

/* Mute: much quieter than play/pause: a small disc, no ring, gone in under half a second. */
.mshv .mshv-flash.is-sound::after { display: none; }
.mshv .mshv-flash.is-sound::before { width: 52px; height: 52px; margin: -26px 0 0 -26px; background: rgba(17, 24, 39, .36); }
.mshv .mshv-flash.is-sound svg { width: 24px; height: 24px; }
.mshv .mshv-flash.is-sound.is-on::before { animation: msound-disc .42s var(--m-ease) forwards; }
.mshv .mshv-flash.is-sound.is-on svg { animation: msound-icon .42s var(--m-ease) forwards; }
@keyframes msound-disc { 0% { opacity: 0; transform: scale(.9); } 22% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
@keyframes msound-icon { 0% { opacity: 0; transform: scale(.9); } 22% { opacity: 1; transform: scale(1); } 60% { opacity: 1; } 100% { opacity: 0; transform: scale(1); } }

/* Save and the other rail actions: outline to filled with a gentle 1 to 1.12 to 1. */
.mshv .media-shorts__rail .mx-act.is-pop .mshv-ico { animation: mpop-std .24s var(--m-ease); }
@keyframes mpop-std { 0% { transform: scale(1); } 45% { transform: scale(1.12); } 100% { transform: scale(1); } }
.mshv .media-shorts__rail .mshv-ico svg path { transition: fill var(--m-standard) var(--m-ease); }

/* Follow to Following: colours and width ease together, the tick fades in. */
.mshv .media-follow.media-follow--on-video { transition: background-color var(--m-standard) var(--m-ease), color var(--m-standard) var(--m-ease), min-width var(--m-standard) var(--m-ease), padding var(--m-standard) var(--m-ease) !important; }
.mshv .media-follow.media-follow--on-video[aria-pressed='true']::before { animation: mfollow-tick var(--m-standard) var(--m-ease) both; }
@keyframes mfollow-tick { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .mshv .media-shorts__rail .mx-act.is-pop .mshv-ico, .mshv .media-follow.media-follow--on-video[aria-pressed='true']::before { animation: none !important; }
}
/* Comment box: none of the site's default field styling, one quiet pill (Nov 2026). */
html body .mshv-cpanel .mshv-cpanel__form textarea,
html body .mshv-cpanel .mshv-cpanel__form textarea:hover,
html body .mshv-cpanel .mshv-cpanel__form textarea:focus,
html body .mshv-cpanel .mshv-cpanel__form textarea:focus-visible {
    flex: 1 1 auto; width: auto; min-width: 0; height: 24px; min-height: 24px; max-height: 140px; margin: 0; padding: 2px 0 !important;
    border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; outline: none !important;
    font: inherit; font-size: 14.5px !important; line-height: 20px !important; color: #142033; resize: none; align-self: center;
}
html body .mshv-cpanel .mshv-cpanel__form { align-items: center; min-height: 44px; padding: 6px 6px 6px 16px; border-radius: 22px; background: #f2f4f7; box-shadow: none; }
html body .mshv-cpanel .mshv-cpanel__form:focus-within { background: #fff; box-shadow: inset 0 0 0 1px #d0d5dd; }
html body .mshv-cpanel .mshv-cpanel__send { align-self: flex-end; }

/* The panel's edge runs all the way round, footer included. */
@media (min-width: 1100px) {
    .mshv-cpanel { box-shadow: none; border: 1px solid #eceef2; overflow: hidden; }
}
.mshv-cpanel__foot { background: transparent; }
/* ------------------------------------------------------------ Comments v2 (Nov 2026): composer, emoji, mentions, replies */
.mshv-cpanel__head { padding: 18px 16px 14px 22px; gap: 10px; }
.mshv-cpanel__head h2 { flex: 1 1 auto; font-size: 16px; }
.mshv-cpanel__head h2 span { margin-left: 2px; font-weight: 500; color: #8a94a3; }
.mshv-cpanel__sort { display: inline-flex; gap: 2px; padding: 2px; border-radius: 999px; background: #f2f4f7; }
.mshv-cpanel__sort[hidden] { display: none; }
.mshv-cpanel__sort button { height: 26px; padding: 0 10px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 12.5px; font-weight: 600; color: #667085; cursor: pointer; transition: background-color .15s, color .15s; }
.mshv-cpanel__sort button[aria-pressed='true'] { background: #fff; color: #142033; box-shadow: 0 1px 2px rgba(16, 24, 40, .08); }
.mshv-cpanel__body { padding: 6px 22px 14px; }

.mshv-c { gap: 12px; padding: 14px 0 4px; }
.mshv-c__av { width: 34px; height: 34px; }
.mshv-c__av.is-org { border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px #e4e7ec; }
.mshv-c__av.is-org img { object-fit: contain; padding: 3px; box-sizing: border-box; }
.mshv-c--reply { padding-top: 12px; }
.mshv-c--reply .mshv-c__av { width: 26px; height: 26px; }
.mshv-c__name { font-weight: 600; font-size: 13.5px; }
.mshv-c__time { font-size: 12.5px; }
.mshv-c__body { margin-top: 4px; font-size: 14px; line-height: 1.5; }
.mshv-c__mention { color: #0b5fff; font-weight: 500; text-decoration: none; }
.mshv-c__mention:hover { text-decoration: underline; }
.mshv-c__acts { margin-top: 6px; gap: 16px; }
.mshv-c__like span { min-width: 6px; }
.mshv-c__like.is-pop svg { animation: mshv-cl-pop .26s cubic-bezier(.22, 1, .36, 1); }
@keyframes mshv-cl-pop { 0% { transform: scale(1); } 45% { transform: scale(1.22); } 100% { transform: scale(1); } }
.mshv-c__like svg path { transition: fill .18s ease; }
.mshv-c__morewrap { position: relative; display: inline-flex; }
.mshv-c__dots { width: 26px; height: 22px; padding: 0; border: 0; border-radius: 6px; background: none; color: #8a94a3; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mshv-c__dots:hover { background: #f2f4f7; color: #142033; }
.mshv-c__menu { position: absolute; left: 0; top: calc(100% + 4px); z-index: 4; min-width: 180px; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgba(16, 24, 40, .16), 0 0 0 1px rgba(16, 24, 40, .06); display: flex; flex-direction: column; animation: mshv-pop-in .16s ease-out; }
.mshv-c__menu[hidden] { display: none; }
.mshv-c__menu button { height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: none; text-align: left; font: inherit; font-size: 13.5px; color: #142033; cursor: pointer; }
.mshv-c__menu button:hover, .mshv-c__menu button:focus-visible { background: #f2f4f7; outline: none; }
.mshv-c__menuhead { padding: 6px 10px 4px; font-size: 12px; font-weight: 600; color: #667085; }
.mshv-c__replies { padding-left: 0; }
.mshv-c__replies .mshv-cform { margin-top: 10px; }
.mshv-c.is-new { animation: mshv-c-in .2s ease-out both; }
.mshv-c.is-leaving { opacity: .35; transition: opacity .2s; }
.mshv-cpanel__list > .mshv-c:first-child:not(.is-new) { animation: none; }
@keyframes mshv-pop-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }

/* Composer: identity, tinted field, tools and Post. */
.mshv-cpanel__foot { padding: 12px 18px 16px; }
html body .mshv-cpanel .mshv-cform { position: relative; display: flex; align-items: flex-start; gap: 10px; min-height: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; }
html body .mshv-cpanel .mshv-cform:focus-within { background: none; box-shadow: none; }
.mshv-cme { flex: 0 0 auto; width: 32px; height: 32px; margin-top: 4px; border-radius: 50%; overflow: hidden; background: #e8ecf1; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: #4b5565; }
.mshv-cme img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mshv-cme.is-org { border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px #e4e7ec; }
.mshv-cme.is-org img { object-fit: contain; padding: 3px; box-sizing: border-box; }
.mshv-cform__box { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 14px; border-radius: 20px; background: #f2f4f7; transition: background-color .18s, box-shadow .18s, border-radius .18s; flex-wrap: wrap; }
.mshv-cform.is-focused .mshv-cform__box { background: #fff; box-shadow: inset 0 0 0 1px #d0d5dd; border-radius: 16px; }
html body .mshv-cpanel .mshv-cform textarea, html body .mshv-cpanel .mshv-cform textarea:focus {
    flex: 1 1 140px; width: auto; min-width: 0; height: 22px; min-height: 22px; max-height: 140px; margin: 0; padding: 3px 0 !important;
    border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; outline: none !important;
    font: inherit; font-size: 14px !important; line-height: 20px !important; color: #142033; resize: none;
}
.mshv-cform__bar { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.mshv-cform__tool { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: none; color: #667085; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .15s, color .15s; }
.mshv-cform__tool:hover, .mshv-cform__tool[aria-expanded='true'] { background: #eaecf0; color: #142033; }
.mshv-cform__tool[data-cp-at] { display: none; }
.mshv-cform.is-focused .mshv-cform__tool[data-cp-at] { display: inline-flex; }
.mshv-cform__post { height: 30px; margin-left: 4px; padding: 0 14px; border: 0; border-radius: 999px; background: #0b5fff; color: #fff; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background-color .15s, opacity .15s; }
.mshv-cform__post:hover { background: #0a52dc; }
.mshv-cform__post:disabled { background: #d0d5dd; color: #fff; cursor: default; }
.mshv-cform__post.is-busy { opacity: .65; }
.mshv-cform:not(.is-focused) .mshv-cform__post:disabled { display: none; }
.mshv-cform__cancel { height: 30px; padding: 0 10px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 13px; font-weight: 600; color: #667085; cursor: pointer; }
.mshv-cform__cancel:hover { color: #142033; }
.mshv-cform__tool:focus-visible, .mshv-cform__post:focus-visible, .mshv-cform__cancel:focus-visible { outline: 2px solid #0b5fff; outline-offset: 2px; }
.mshv-cform__err { position: absolute; left: 42px; bottom: calc(100% + 6px); margin: 0; padding: 6px 10px; border-radius: 8px; background: #fef3f2; font-size: 13px; color: #b42318; }
.mshv-cform__err[hidden] { display: none; }
.mshv-cform--reply .mshv-cform__box { padding-left: 12px; }
.mshv-cform--reply .mshv-cform__err { left: 0; }
.mshv-cform--reply { animation: mshv-c-in .18s ease-out both; }

/* Emoji picker: above the composer. */
.mshv-emoji { position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 8; width: 300px; max-height: 260px; overflow-y: auto; padding: 8px 10px 10px; border-radius: 14px; background: #fff; box-shadow: 0 12px 32px rgba(16, 24, 40, .18), 0 0 0 1px rgba(16, 24, 40, .06); transform-origin: bottom right; animation: mshv-emoji-in .18s cubic-bezier(.22, 1, .36, 1); }
@keyframes mshv-emoji-in { from { opacity: 0; transform: translateY(6px) scale(.96); } to { opacity: 1; transform: none; } }
.mshv-emoji__cat { margin: 6px 2px 4px; font-size: 11.5px; font-weight: 600; color: #8a94a3; }
.mshv-emoji__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; }
.mshv-emoji__grid button { height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; font-size: 20px; line-height: 1; cursor: pointer; transition: background-color .12s, transform .12s; }
.mshv-emoji__grid button:hover, .mshv-emoji__grid button:focus-visible { background: #f2f4f7; transform: scale(1.1); outline: none; }

/* @mention suggestions. */
.mshv-mention { position: absolute; left: 42px; right: 0; bottom: calc(100% + 8px); z-index: 8; margin: 0; padding: 6px; list-style: none; border-radius: 12px; background: #fff; box-shadow: 0 12px 32px rgba(16, 24, 40, .18), 0 0 0 1px rgba(16, 24, 40, .06); animation: mshv-pop-in .14s ease-out; }
.mshv-cform--reply .mshv-mention { left: 0; }
.mshv-mention__item { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; cursor: pointer; }
.mshv-mention__item.is-active, .mshv-mention__item:hover { background: #f2f4f7; }
.mshv-mention__av { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; background: #e8ecf1; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: #4b5565; }
.mshv-mention__av.is-org { border-radius: 8px; }
.mshv-mention__av img { width: 100%; height: 100%; object-fit: cover; }
.mshv-mention__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.mshv-mention__text b { display: inline-flex; align-items: center; gap: 3px; font-size: 13.5px; font-weight: 600; color: #142033; }
.mshv-mention__text span { font-size: 12.5px; color: #667085; }
.mshv-mention__hint { padding: 8px 10px; font-size: 13px; color: #667085; }

.mshv-cpanel__toast { position: absolute; left: 50%; bottom: 84px; z-index: 9; margin: 0; padding: 8px 14px; border-radius: 999px; background: #142033; color: #fff; font-size: 13px; transform: translateX(-50%); white-space: nowrap; animation: mshv-pop-in .18s ease-out; }

@media (prefers-reduced-motion: reduce) {
    .mshv-c.is-new, .mshv-cform--reply, .mshv-emoji, .mshv-mention, .mshv-c__menu, .mshv-c__like.is-pop svg { animation: none !important; }
}

/* Empty state: centred in the comments area, a quiet icon, one invitation. */
.mshv-cpanel__body { display: flex; flex-direction: column; }
.mshv-cpanel__body > [data-cp-list] { flex: 1 0 auto; display: flex; flex-direction: column; }
.mshv-cpanel__body > [data-cp-list] > ol { flex: 0 0 auto; }
.mshv-cpanel__empty { flex: 1 1 auto; min-height: 220px; gap: 0; padding: 24px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; animation: mshv-fadein-soft .2s ease-out both; }
.mshv-cpanel__emptyicon { width: 50px; height: 50px; margin-bottom: 14px; border-radius: 50%; background: #f2f4f7; color: #475467; display: inline-flex; align-items: center; justify-content: center; }
.mshv-cpanel__emptyh { margin: 0; font-size: 15.5px; font-weight: 500; color: #142033; }
.mshv-cpanel__emptyp { margin: 4px 0 0; font-size: 13.5px; color: #667085; }
.mshv-cpanel__emptycta.media-button { margin-top: 16px; cursor: pointer; }
.mshv-cpanel__emptycta:focus-visible { outline: 2px solid #0b5fff; outline-offset: 2px; }
@keyframes mshv-fadein-soft { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1099px) { .mshv-cpanel__empty { min-height: 160px; padding: 12px 0; } }
/* ------------------------------------------------------------ navigation arrows v3 (Nov 2026): two identical soft circles */
@media (min-width: 901px) {
    html.mshv-light .mshv .mshv-nav { gap: 8px; }
    html.mshv-light .mshv .mshv-nav__btn {
        --mshv-nav-bg: var(--media-surface-subtle, #f3f5f8);
        --mshv-nav-bg-hover: #e9edf3;
        width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
        background: var(--mshv-nav-bg); color: #344054; box-shadow: none; opacity: 1;
        transition: background-color .2s ease, color .2s ease;
    }
    html.mshv-light .mshv .mshv-nav__btn::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; }
    html.mshv-light .mshv .mshv-nav__btn svg { width: 19px; height: 19px; stroke-width: 1.85; transition: transform .2s cubic-bezier(.22, 1, .36, 1); }
    html.mshv-light .mshv .mshv-nav__btn:hover { background: var(--mshv-nav-bg-hover); color: #1d2939; box-shadow: none; }
    html.mshv-light .mshv .mshv-nav__btn:hover svg { transform: scale(1.05); }
    html.mshv-light .mshv .mshv-nav__btn:active { background: var(--mshv-nav-bg-hover); }
    html.mshv-light .mshv .mshv-nav__btn:active svg { transform: scale(.95); transition-duration: .09s; }
    html.mshv-light .mshv .mshv-nav__btn:focus-visible { outline: 2px solid #0b5fff; outline-offset: 2px; }
    html.mshv-light .mshv .mshv-nav__btn[disabled],
    html.mshv-light .mshv .mshv-nav__btn[disabled]:hover { opacity: 1 !important; background: #f6f7f9; color: #b0b8c4; cursor: default; pointer-events: none; }
    html.mshv-light .mshv .mshv-nav__btn[disabled] svg { transform: none; }
}
@media (min-width: 901px) and (hover: hover) {
    html:not(.mshv-light) .mshv .mshv-nav { gap: 8px; }
    html:not(.mshv-light) .mshv .mshv-nav__btn { opacity: 1; background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .9); }
    html:not(.mshv-light) .mshv .mshv-nav__btn svg { transition: transform .2s cubic-bezier(.22, 1, .36, 1); }
    html:not(.mshv-light) .mshv .mshv-nav__btn:hover { background: rgba(255, 255, 255, .2); }
    html:not(.mshv-light) .mshv .mshv-nav__btn:hover svg { transform: scale(1.05); }
    html:not(.mshv-light) .mshv .mshv-nav__btn:active svg { transform: scale(.95); transition-duration: .09s; }
    html:not(.mshv-light) .mshv .mshv-nav__btn[disabled] { opacity: 1 !important; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .3); pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
    .mshv .mshv-nav__btn, .mshv .mshv-nav__btn svg { transition: none !important; }
    .mshv .mshv-nav__btn:hover svg, .mshv .mshv-nav__btn:active svg { transform: none !important; }
}
/* ------------------------------------------------------------ description "more" and the About tab (Nov 2026) */
/* Two lines on the video; when the text runs longer, "... more" sits at the end of the second line. */
.mshv .mshv-cap { flex-direction: row; align-items: stretch; }
.mshv .mshv-cap__text { display: block !important; -webkit-line-clamp: unset !important; line-height: 20px !important; max-height: 40px; overflow: hidden; }
.mshv .mshv-cap__text::before { content: ''; float: right; width: 0; height: calc(100% - 20px); }
.mshv .mshv-cap__more { float: right; clear: both; margin-left: 4px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; line-height: 20px; font-weight: 600; color: #fff; cursor: pointer; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); transition: opacity .15s ease; }
.mshv .mshv-cap__more::before { content: '\2026'; margin-right: 5px; font-weight: 400; color: rgba(255, 255, 255, .92); }
.mshv .mshv-cap__more:hover { text-decoration: none; opacity: .82; }
.mshv .mshv-cap__more:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 3px; }
.mshv .mshv-cap__more[hidden] { display: none; }

/* One panel, two tabs. */
.mshv-cpanel__head { align-items: center; padding: 4px 12px 0 22px; }
.mshv-tabs { flex: 1 1 auto; align-self: stretch; display: flex; gap: 24px; }
.mshv-tab { position: relative; display: inline-flex; align-items: center; height: 52px; padding: 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: #8a94a3; cursor: pointer; transition: color .18s ease; }
.mshv-tab:hover { color: #344054; }
.mshv-tab[aria-selected='true'] { color: #142033; }
.mshv-tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: #142033; transform: scaleX(0); transition: transform .22s cubic-bezier(.22, 1, .36, 1); }
.mshv-tab[aria-selected='true']::after { transform: scaleX(1); }
.mshv-tab span { margin-left: 4px; font-weight: 500; color: #8a94a3; }
.mshv-tab:focus-visible { outline: 2px solid #0b5fff; outline-offset: 2px; border-radius: 4px; }
.mshv-cpanel__sort, .mshv-cpanel__x { align-self: center; }
.mshv-cpanel__body[hidden], .mshv-cpanel__foot[hidden], .mshv-cpanel__about[hidden] { display: none !important; }
.mshv-cpanel__about, .mshv-cpanel__body { animation: mshv-fadein-soft .18s ease-out both; }

.mshv-cpanel__about { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px 22px 28px; outline: none; }
.mshv-about__by { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.mshv-about__by:hover b { text-decoration: underline; text-underline-offset: 2px; }
.mshv-about__av { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #e8ecf1; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: #4b5565; }
.mshv-about__av > * { width: 100%; height: 100%; border-radius: inherit; display: inline-flex; align-items: center; justify-content: center; }
.mshv-about__av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mshv-about__av.is-org { border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #e4e7ec; }
.mshv-about__av.is-org img { object-fit: contain; padding: 4px; box-sizing: border-box; }
.mshv-about__who { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.mshv-about__who b { display: inline-flex; align-items: center; gap: 4px; font-size: 14.5px; font-weight: 600; color: #142033; }
.mshv-about__who > span { font-size: 13px; color: #667085; }
.mshv-about__title { margin: 18px 0 0; font-size: 17px; line-height: 1.35; font-weight: 600; letter-spacing: -.005em; color: #142033; }
.mshv-about__desc { margin-top: 16px; font-size: 14.5px; line-height: 1.62; color: #344054; overflow-wrap: anywhere; }
.mshv-about__title + .mshv-about__desc { margin-top: 8px; }
.mshv-about__desc p { margin: 0 0 12px; }
.mshv-about__desc p:last-child { margin-bottom: 0; }
.mshv-about__desc a { color: #0b5fff; font-weight: 500; text-decoration: none; }
.mshv-about__desc a:hover { text-decoration: underline; text-underline-offset: 2px; }
.mshv-about__none { margin: 16px 0 0; font-size: 14px; color: #8a94a3; }
.mshv-about__topics { margin: 16px 0 0; }
.mshv-about__topic { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: #f2f4f7; font-size: 13px; font-weight: 500; color: #344054; text-decoration: none; transition: background-color .15s; }
.mshv-about__topic:hover { background: #e9edf3; }
.mshv-about__rsp { margin-top: 22px; padding: 14px; border-radius: 12px; background: #f7f8fa; }
.mshv-about__rsph { margin: 0 0 10px; font-size: 12px; font-weight: 600; color: #667085; }
.mshv-about__rspcard { display: flex; align-items: center; gap: 12px; }
.mshv-about__rspimg { flex: 0 0 auto; width: 64px; height: 44px; border-radius: 8px; object-fit: cover; background: #e8ecf1; display: inline-flex; align-items: center; justify-content: center; color: #98a2b3; }
.mshv-about__rsptext { min-width: 0; }
.mshv-about__rspt { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.35; color: #142033; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.mshv-about__rspm { margin: 3px 0 0; font-size: 12.5px; color: #667085; }
.mshv-about__rspgo.media-button { margin-top: 12px; }
@media (max-width: 1099px) { .mshv-cpanel__head { padding-top: 0; } .mshv-tab { height: 46px; } }
@media (prefers-reduced-motion: reduce) { .mshv-tab::after, .mshv-cpanel__about, .mshv-cpanel__body { transition: none !important; animation: none !important; } }
/* No close control on the Shorts viewer: the site header is the way out (Nov 2026). */
.mshv .mshv-back, html.mshv-light .mshv .mshv-back { display: none !important; }
@media (min-width: 901px) { html.mshv-light .mshv-layer__close { display: none !important; } }

/* A comment opened from a link is briefly highlighted (Nov 2026). */
.mshv-c { transition: background-color .8s ease, box-shadow .8s ease; border-radius: 10px; }
.mshv-c.is-highlight { background: #fff7e0; box-shadow: 0 0 0 6px #fff7e0; }
.mshv-noscript { position: absolute; left: 16px; bottom: 16px; z-index: 5; color: #fff; }

/* ------------------------------------------------------------ Response source and passages in About (Nov 2026) */
.mshv-cpanel__about { position: relative; }
.mshv-cpanel__about, .mshv-cpanel__body { animation-duration: .14s; }
.mshv-about__desc.is-clamped { max-height: 14.6em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.mshv-about__more { margin-top: 6px; padding: 0; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: #344054; cursor: pointer; }
.mshv-about__more:hover { color: #142033; text-decoration: underline; text-underline-offset: 2px; }
.mshv-about__more:focus-visible { outline: 2px solid #0b5fff; outline-offset: 2px; border-radius: 3px; }

.mshv-about__sec { margin-top: 22px; padding-top: 20px; border-top: 1px solid #f0f2f5; }
.mshv-about .mshv-about__rsp { padding: 20px 0 0; border-radius: 0; background: none; }
.mshv-about__label { margin: 0 0 12px; display: flex; align-items: baseline; gap: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .01em; color: #667085; }
.mshv-about__label span { font-weight: 400; color: #98a2b3; }
.mshv-about__rspcard { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; background: #f7f8fa; color: inherit; text-decoration: none; transition: background-color .15s ease, box-shadow .5s ease; }
a.mshv-about__rspcard:hover { background: #f0f2f5; }
.mshv-about__rspcard.is-gone { opacity: .75; }
.mshv-about__rsptext { display: flex; flex-direction: column; min-width: 0; }
.mshv-about__rspt { font-size: 14px; font-weight: 600; line-height: 1.35; color: #142033; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.mshv-about__rspm { margin-top: 3px; font-size: 12.5px; color: #667085; }
.mshv-about__gone { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: #8a94a3; }
.mshv-about__rsp.is-flash .mshv-about__rspcard { animation: mshv-src-flash .55s ease-out .12s both; }
@keyframes mshv-src-flash { 0% { box-shadow: 0 0 0 0 rgba(11, 95, 255, 0); background: #f7f8fa; } 35% { box-shadow: 0 0 0 3px rgba(11, 95, 255, .18); background: #eef4ff; } 100% { box-shadow: 0 0 0 0 rgba(11, 95, 255, 0); background: #f7f8fa; } }

.mshv-about__plist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.mshv-about__p { padding: 2px 0 2px 14px; border-left: 2px solid #e4e7ec; border-radius: 0 8px 8px 0; transition: border-color .15s ease, background-color .45s ease; }
.mshv-about__p.is-current { border-left-color: #0b5fff; }
.mshv-about__p.is-flash { background: #f3f7ff; transition: none; }
.mshv-about__ph { margin: 0 0 4px; font-size: 12.5px; font-weight: 600; color: #344054; }
html body .mshv-cpanel .mshv-about__pq { margin: 0; padding: 0; border: 0; background: none; quotes: none; font-size: 14.5px; font-style: normal; font-weight: 400; line-height: 1.55; color: #142033; overflow-wrap: anywhere; }
html body .mshv-cpanel .mshv-about__pq::before, html body .mshv-cpanel .mshv-about__pq::after { content: none; }
.mshv-about__pdesc { margin: 0; font-size: 14px; line-height: 1.55; color: #344054; overflow-wrap: anywhere; }
.mshv-about__pmeta { margin: 6px 0 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: #8a94a3; }
.mshv-about__pplay { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px 0 8px; border: 0; border-radius: 999px; background: #eef4ff; color: #0b5fff; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background-color .14s ease; }
.mshv-about__pplay:hover { background: #e0ebff; }
.mshv-about__pplay:focus-visible { outline: 2px solid #0b5fff; outline-offset: 2px; }
.mshv-about__create { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #f0f2f5; }
.mshv-about__respond { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: #344054; text-decoration: none; transition: color .14s ease; }
.mshv-about__respond:hover { color: #142033; text-decoration: underline; text-underline-offset: 2px; }
.mshv-about__respond:focus-visible { outline: 2px solid #0b5fff; outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .mshv-about__rsp.is-flash .mshv-about__rspcard { animation: none; } .mshv-about__p, .mshv-about__rspcard { transition: none; } }
/* ------------------------------------------------------------ progress line (Nov 2026): blue, 2.5px, expands on hover */
.mshv .mshv-prog__track { height: 2.5px; background: rgba(255, 255, 255, .3); border-radius: 2px; transition: height .2s cubic-bezier(.22, 1, .36, 1), background-color .2s ease; }
.mshv .mshv-prog__fill { background: var(--media-primary, #0b5fff) !important; border-radius: inherit; transition: none !important; }
.mshv .mshv-prog__fill::after { width: 12px; height: 12px; margin-top: -6px; right: -6px; background: var(--media-primary, #0b5fff); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s cubic-bezier(.22, 1, .36, 1); }
.mshv .mshv-prog { user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.mshv .mshv-prog.is-scrubbing .mshv-prog__track { height: 5px; background: rgba(255, 255, 255, .42); }
.mshv .mshv-prog.is-scrubbing .mshv-prog__fill::after { transform: scale(1); }
@media (hover: hover) {
    .mshv .mshv-prog:hover .mshv-prog__track { height: 5px; background: rgba(255, 255, 255, .42); }
}
/* Touch: the visible line stays slim; the target is generous; no hover state left behind after a tap. */
@media (hover: none) {
    .mshv .mshv-prog { height: 24px !important; }
    .mshv .mshv-prog:hover .mshv-prog__track { height: 2.5px; }
    .mshv .mshv-prog:hover:not(.is-scrubbing) .mshv-prog__fill::after { transform: scale(0); }
    .mshv .mshv-prog.is-scrubbing .mshv-prog__track { height: 4px; }
}
.mshv .mshv-prog:focus-visible .mshv-prog__track { height: 5px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
@media (prefers-reduced-motion: reduce) { .mshv .mshv-prog__track, .mshv .mshv-prog__fill::after { transition: none; } }
/* ------------------------------------------------------------ progress line v2 (Nov 2026): visible, inset, 6px on hover */
.mshv .mshv-prog { left: 8px !important; right: 8px !important; bottom: 0 !important; height: 24px !important; padding-bottom: 6px; align-items: flex-end; }
.mshv .mshv-prog::before { content: ''; position: absolute; left: -8px; right: -8px; bottom: 0; height: 30px; background: linear-gradient(to top, rgba(0, 0, 0, .26), rgba(0, 0, 0, 0)); pointer-events: none; }
.mshv .mshv-prog__track { height: 3.5px; background: rgba(255, 255, 255, .6); border-radius: 999px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .14); transition: height .18s cubic-bezier(.22, 1, .36, 1), background-color .18s ease; }
.mshv .mshv-prog__fill { border-radius: 999px; }
.mshv .mshv-prog__fill::after { width: 12px; height: 12px; margin-top: -6px; right: -6px; background: var(--media-primary, #0b5fff); box-shadow: 0 0 0 2px #fff; transform: scale(0); transition: transform .18s cubic-bezier(.22, 1, .36, 1); }
.mshv .mshv-prog.is-scrubbing .mshv-prog__track, .mshv .mshv-prog:focus-visible .mshv-prog__track { height: 6px; background: rgba(255, 255, 255, .72); }
.mshv .mshv-prog.is-scrubbing .mshv-prog__fill::after, .mshv .mshv-prog:focus-visible .mshv-prog__fill::after { transform: scale(1); }
@media (hover: hover) {
    .mshv .mshv-prog:hover .mshv-prog__track { height: 6px; background: rgba(255, 255, 255, .72); }
    .mshv .mshv-prog:hover .mshv-prog__fill::after { transform: scale(1); }
}
@media (hover: none) {
    .mshv .mshv-prog { height: 30px !important; }
    .mshv .mshv-prog:hover .mshv-prog__track { height: 3.5px; }
    .mshv .mshv-prog.is-scrubbing .mshv-prog__track { height: 6px; }
}
.mshv .mshv-prog:focus-visible .mshv-prog__track { box-shadow: 0 0 0 2px rgba(255, 255, 255, .55); }
.mshv .mshv-prog__time { position: absolute; bottom: 20px; left: 0; z-index: 1; padding: 3px 7px; border-radius: 6px; background: rgba(17, 24, 39, .78); color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.3; white-space: nowrap; pointer-events: none; transform: translateX(-50%); opacity: 0; transition: opacity .15s ease; }
.mshv .mshv-prog.is-timing .mshv-prog__time { opacity: 1; }
/* While the time shows, the creator details lift just clear of it, then settle back. */
.mshv .media-shorts__overlay { transition: transform .18s cubic-bezier(.22, 1, .36, 1); }
.mshv .media-shorts__frame:has(.mshv-prog.is-timing) .media-shorts__overlay { transform: translateY(-22px); }
@media (prefers-reduced-motion: reduce) { .mshv .media-shorts__overlay { transition: none; } }
@media (prefers-reduced-motion: reduce) { .mshv .mshv-prog__time { transition: none; } }
/* ------------------------------------------------------------ progress line v3 (JM, 19 Nov 2026): a continuous bottom border */
.mshv .mshv-prog { left: 0 !important; right: 0 !important; bottom: 0 !important; padding-bottom: 0 !important; }
.mshv .mshv-prog::before { left: 0; right: 0; height: 24px; background: linear-gradient(to top, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)); }
.mshv .mshv-prog__track, .mshv .mshv-prog__fill { border-radius: 0 !important; }
.mshv .mshv-prog__track { height: 3px; background: rgba(255, 255, 255, .45); box-shadow: none; }
.mshv .mshv-prog.is-scrubbing .mshv-prog__track, .mshv .mshv-prog:focus-visible .mshv-prog__track { height: 5px; background: rgba(255, 255, 255, .55); }
@media (hover: hover) {
    .mshv .mshv-prog:hover .mshv-prog__track { height: 5px; background: rgba(255, 255, 255, .55); }
    .mshv .mshv-prog:hover:not(.is-scrubbing) .mshv-prog__fill::after { transform: scale(0); }
}
@media (hover: none) {
    .mshv .mshv-prog:hover .mshv-prog__track { height: 3px; }
    .mshv .mshv-prog.is-scrubbing .mshv-prog__track { height: 5px; }
}
.mshv .mshv-prog__fill::after { width: 11px; height: 11px; margin-top: -5.5px; right: -5.5px; }
.mshv .mshv-prog:focus-visible .mshv-prog__track { box-shadow: 0 -2px 0 0 rgba(255, 255, 255, .55); }
.mshv .mshv-prog__time { bottom: 14px; }
/* ------------------------------------------------------------ Response About, refined (Nov 2026): one card, editorial passages */
.mshv-about__rspcard { position: relative; gap: 12px; padding: 10px 36px 10px 10px; border-radius: 11px; background: #f6f7f9; box-shadow: none; }
a.mshv-about__rspcard:hover { background: #eef0f3; }
a.mshv-about__rspcard:focus-visible { outline: 2px solid #0b5fff; outline-offset: 2px; }
.mshv-about__rspimg { width: 60px; height: 60px; border-radius: 8px; }
.mshv-about__rspt { -webkit-line-clamp: 3; }
.mshv-about__rspm { color: #8a94a3; }
.mshv-about__rspgo { position: absolute; right: 12px; top: 50%; margin-top: -7.5px; color: #98a2b3; transition: color .15s ease, transform .15s ease; }
a.mshv-about__rspcard:hover .mshv-about__rspgo { color: #475467; transform: translateX(1px); }
.mshv-about__rsp.is-flash .mshv-about__rspcard { animation-name: mshv-src-flash2; }
@keyframes mshv-src-flash2 { 0% { box-shadow: 0 0 0 0 rgba(11, 95, 255, 0); } 35% { box-shadow: 0 0 0 3px rgba(11, 95, 255, .16); } 100% { box-shadow: 0 0 0 0 rgba(11, 95, 255, 0); } }

.mshv-about__plist { gap: 20px; }
.mshv-about__p, .mshv-about__p.is-current { padding: 0; border: 0; border-radius: 8px; background: none; transition: background-color .45s ease, box-shadow .45s ease; }
.mshv-about__p.is-flash { background: #f6f8fc; box-shadow: 0 0 0 6px #f6f8fc; transition: none; }
.mshv-about__phead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.mshv-about__ph { margin: 0; font-size: 13.5px; font-weight: 500; color: #1d2939; transition: color .2s ease; }
.mshv-about__p.is-current .mshv-about__ph { color: #101828; font-weight: 600; }
html body .mshv-cpanel .mshv-about__pq { color: #475467; font-size: 14.5px; line-height: 1.6; }
html body .mshv-cpanel .mshv-about__pq p, .mshv-about__pdesc p { margin: 0 0 8px; }
html body .mshv-cpanel .mshv-about__pq p:last-child, .mshv-about__pdesc p:last-child { margin-bottom: 0; }
.mshv-about__pdesc { color: #475467; }
.mshv-about__pplay { position: relative; flex: 0 0 auto; gap: 5px; height: 24px; padding: 0 9px 0 8px; border-radius: 999px; background: #f2f4f7; color: #475467; font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; transition: background-color .14s ease, color .14s ease; }
.mshv-about__pplay:hover { background: #eaf1ff; color: #0b5fff; }
.mshv-about__p.is-current .mshv-about__pplay { background: #eaf1ff; color: #0b5fff; }
@media (hover: hover) {
    .mshv-about__pplay[data-tip]::after { content: attr(data-tip); position: absolute; right: 0; bottom: calc(100% + 6px); padding: 4px 8px; border-radius: 6px; background: #1d2939; color: #fff; font-size: 11.5px; font-weight: 500; white-space: nowrap; pointer-events: none; opacity: 0; transform: translateY(2px); transition: opacity .14s ease .35s, transform .14s ease .35s; }
    .mshv-about__pplay[data-tip]:hover::after { opacity: 1; transform: none; }
}
.mshv-about__prov { margin: 16px 0 0; font-size: 12px; font-style: italic; color: #98a2b3; }
.mshv-about__create { margin-top: 20px; padding-top: 16px; }
.mshv-about__respond { gap: 7px; padding: 6px 10px 6px 8px; margin-left: -8px; border-radius: 8px; color: #344054; transition: background-color .14s ease, color .14s ease; }
.mshv-about__respond:hover { background: #f2f4f7; color: #101828; text-decoration: none; }
@media (hover: none) { .mshv-about__pplay { height: 32px; padding: 0 12px 0 10px; } }
@media (prefers-reduced-motion: reduce) { .mshv-about__pplay[data-tip]::after { transition: none; } }


/* A Short opened in place from a scrolled page (Watch): the layer sits under the header, so keep the header pinned and opaque while it is open; otherwise the page behind shows through the gap (JM, 23 Nov 2026). */
html.mshv-light.mshv-layer-open .media-header { position: fixed !important; top: 0 !important; left: 0; right: 0; z-index: 111; background: #fff !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
