[data-media-player] { width: 100%; display: inline-flex; align-items: center; position: relative; contain: style; box-sizing: border-box; user-select: none; } [data-media-player] * { box-sizing: border-box; } :where([data-media-player][data-view-type="video"]) { aspect-ratio: 16/9; } [data-media-player]:focus, [data-media-player]:focus-visible { outline: 0; } [data-media-player][data-view-type="video"][data-started]:not([data-controls]) { pointer-events: auto; cursor: none; } [data-media-player] slot { display: contents; } [data-media-provider] { display: flex; position: relative; box-sizing: border-box; align-items: center; border-radius: inherit; width: 100%; aspect-ratio: inherit; overflow: hidden; } [data-media-player]:not([data-view-type="audio"]) [data-media-provider], [data-media-player][data-fullscreen] [data-media-provider] { height: 100%; } [data-media-player][data-view-type="audio"] [data-media-provider] { display: contents; background-color: unset; } [data-media-provider] audio { width: 100%; } :where(video:not([width]):not([height]), iframe:not([width]):not([height])) { width: 100%; aspect-ratio: 16/9; } :where([data-media-provider] iframe), :where([data-media-provider] video) { aspect-ratio: inherit; display: inline-block; height: auto; object-fit: contain; touch-action: manipulation; border-radius: inherit; width: 100%; } [data-media-provider] iframe { height: 100%; } [data-media-player][data-view-type="audio"] iframe, [data-media-player][data-view-type="audio"] video { display: none; } [data-media-player][data-fullscreen] video { height: 100%; } [data-media-provider] iframe:not([src]) { display: none; } iframe.vds-youtube[data-no-controls] { height: 1000%; } .vds-blocker { position: absolute; inset: 0; width: 100%; height: auto; aspect-ratio: inherit; pointer-events: auto; border-radius: inherit; z-index: 1; } [data-ended] .vds-blocker { background-color: #000; } .vds-icon:focus { outline: 0; } .vds-google-cast { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; color: #dedede; font-family: sans-serif; font-weight: 500; } .vds-google-cast svg { --size: max(18%, 40px); width: var(--size); height: var(--size); margin-bottom: 8px; } .vds-google-cast-info { font-size: calc(var(--media-height) / 100 * 6); } :where(.vds-buffering-indicator) { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 1; } :where(.vds-buffering-indicator) :where(.vds-buffering-icon, .vds-buffering-spinner) { opacity: 0; pointer-events: none; transition: var(--media-buffering-transition, opacity 200ms ease); } :where(.vds-buffering-indicator) :where( .vds-buffering-icon, svg.vds-buffering-spinner, .vds-buffering-spinner svg ) { width: var(--media-buffering-size, 96px); height: var(--media-buffering-size, 96px); } :where(.vds-buffering-indicator) :where(.vds-buffering-track, circle[data-part="track"]) { color: var(--media-buffering-track-color, #f5f5f5); opacity: var(--media-buffering-track-opacity, 0.25); stroke-width: var(--media-buffering-track-width, 8); } :where(.vds-buffering-indicator) :where(.vds-buffering-track-fill, circle[data-part="track-fill"]) { color: var(--media-buffering-track-fill-color, var(--media-brand)); opacity: var(--media-buffering-track-fill-opacity, 0.75); stroke-width: var(--media-buffering-track-fill-width, 9); stroke-dasharray: 100; stroke-dashoffset: var(--media-buffering-track-fill-offset, 50); } :where([data-buffering]) :where(.vds-buffering-icon, .vds-buffering-spinner) { opacity: 1; animation: var( --media-buffering-animation, vds-buffering-spin 1s linear infinite ); } @keyframes vds-buffering-spin { to { transform: rotate(360deg); } } @media (prefers-reduced-motion) { :where([data-buffering]) :where(.vds-buffering-icon, .vds-buffering-spinner) { animation-duration: 8s; } } :where(.vds-button) { -webkit-tap-highlight-color: transparent; position: relative; display: inline-flex; justify-content: center; align-items: center; user-select: none; appearance: none; background: 0 0; outline: 0; border: none; border-radius: var(--media-button-border-radius, 8px); width: var(--media-button-size, 40px); height: var(--media-button-size, 40px); transition: transform 0.2s ease-out; contain: layout style; cursor: pointer; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; flex-shrink: 0; } .vds-button { border: var(--media-button-border); color: var(--media-button-color, var(--media-controls-color, #f5f5f5)); padding: var(--media-button-padding, 0); } :where([data-fullscreen] .vds-button) { width: var(--media-fullscreen-button-size, 42px); height: var(--media-fullscreen-button-size, 42px); } @media screen and (max-width: 599px) { :where([data-fullscreen] .vds-button) { width: var(--media-sm-fullscreen-button-size, 42px); height: var(--media-sm-fullscreen-button-size, 42px); } } :where(.vds-button .vds-icon) { width: var(--media-button-icon-size, 80%); height: var(--media-button-icon-size, 80%); border-radius: var(--media-button-border-radius, 8px); } :where(.vds-menu-button .vds-icon) { display: flex !important; } :where(.vds-button[aria-hidden="true"]) { display: none !important; } @media (hover: hover) and (pointer: fine) { .vds-button:hover { background-color: var(--media-button-hover-bg, rgb(255 255 255 / 0.2)); } .vds-button:hover { transform: var(--media-button-hover-transform, scale(1.05)); transition: var(--media-button-hover-transition, transform 0.2s ease-in); } .vds-button[aria-expanded="true"] { transform: unset; } } @media (pointer: coarse) { .vds-button:hover { border-radius: var(--media-button-touch-hover-border-radius, 100%); background-color: var( --media-button-touch-hover-bg, rgb(255 255 255 / 0.2) ); } } :where(.vds-button:focus) { outline: 0; } :where(.vds-button[data-focus], .vds-button:focus-visible) { box-shadow: var(--media-focus-ring); } :where(.vds-live-button) { min-width: auto; min-height: auto; width: var(--media-live-button-width, 40px); height: var(--media-live-button-height, 40px); padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; user-select: none; appearance: none; background: 0 0; outline: 0; border: none; } :where(.vds-live-button-text) { font-family: var(--media-font-family, sans-serif); font-size: var(--media-live-button-font-size, 12px); font-weight: var(--media-live-button-font-weight, 600); letter-spacing: var(--media-live-button-letter-spacing, 1.5px); transition: color 0.3s ease; } .vds-live-button-text { background-color: var(--media-live-button-bg, #8a8a8a); border-radius: var(--media-live-button-border-radius, 2px); color: var(--media-live-button-color, #161616); padding: var(--media-live-button-padding, 1px 4px); } :where(.vds-live-button[data-focus] .vds-live-button-text) { box-shadow: var(--media-focus-ring); } :where(.vds-live-button[data-edge]) { cursor: unset; } .vds-live-button[data-edge] .vds-live-button-text { background-color: var(--media-live-button-edge-bg, #dc2626); color: var(--media-live-button-edge-color, #f5f5f5); } @media (pointer: fine) { :where(.vds-live-button:hover) { background-color: unset; } } .vds-button:not([data-active]) .vds-cc-on-icon, .vds-button:not([data-active]) .vds-fs-exit-icon, .vds-button:not([data-active]) .vds-pip-exit-icon, .vds-button:not([data-ended]) .vds-replay-icon, .vds-button:not([data-muted]) .vds-mute-icon, .vds-button:not([data-paused]) .vds-play-icon, .vds-button:not([data-state="high"]) .vds-volume-high-icon, .vds-button:not([data-state="low"]) .vds-volume-low-icon, .vds-button[data-active] .vds-cc-off-icon, .vds-button[data-active] .vds-fs-enter-icon, .vds-button[data-active] .vds-pip-enter-icon, .vds-button[data-ended] .vds-pause-icon, .vds-button[data-ended] .vds-play-icon, .vds-button[data-paused] .vds-pause-icon { display: none; } /*icons */ .vds-mute-icon { display: inline-block; transform: translateX(2px); width: 40px; height: 40px; --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M20.515 6.316a.75.75 0 0 1 .991.376c.468 1.035.994 2.768.994 5.308c0 2.192-.392 3.783-.8 4.844a7.7 7.7 0 0 1-.572 1.195a5 5 0 0 1-.289.425l-.007.01l-.003.003l-.002.002L20.25 18l.576.48a.75.75 0 0 1-1.156-.956l.003-.004l.031-.041a3 3 0 0 0 .137-.212c.12-.199.288-.516.459-.961c.342-.889.7-2.298.7-4.306c0-2.326-.48-3.849-.86-4.692a.75.75 0 0 1 .375-.992m-2.101 2.95a.75.75 0 0 1 .887.582c.11.53.199 1.24.199 2.152c0 1.11-.132 1.923-.273 2.474a5 5 0 0 1-.203.631a3 3 0 0 1-.102.228l-.01.018l-.003.007l-.002.003v.002s-.001.001-.657-.363l.656.364a.75.75 0 0 1-1.317-.719l.005-.01l.038-.087a4 4 0 0 0 .141-.447c.11-.424.227-1.111.227-2.101a9 9 0 0 0-.168-1.848a.75.75 0 0 1 .582-.886' clip-rule='evenodd'/%3E%3Cpath fill='%23000' d='M21.78 3.53a.75.75 0 0 0-1.06-1.06l-4.45 4.449a11 11 0 0 0-.193-1.39c-.172-.788-.477-1.473-1.116-1.923a3 3 0 0 0-.769-.39c-.818-.28-1.631-.057-2.457.345c-.814.395-1.8 1.046-3.032 1.857l-.267.176c-.447.295-.602.394-.76.464q-.257.115-.535.16c-.171.03-.354.032-.89.032h-.162c-1.217 0-2.062-.001-2.814.347A3.96 3.96 0 0 0 1.548 8.22c-.392.729-.438 1.491-.504 2.575l-.008.13C1.014 11.294 1 11.658 1 12s.014.706.036 1.074l.008.13c.066 1.084.112 1.846.504 2.575a3.96 3.96 0 0 0 1.727 1.624c.61.283 1.283.336 2.166.345L2.72 20.47a.75.75 0 1 0 1.06 1.06zM16.5 12a.75.75 0 0 0-1.255-.554l-.071.074l-6 6.274A.778.778 0 0 0 9.34 19c1.039.68 1.899 1.225 2.631 1.549c.743.328 1.48.489 2.222.236a3 3 0 0 0 .769-.391c.706-.497 1.005-1.28 1.167-2.18c.159-.884.213-2.056.281-3.516l.003-.058a68 68 0 0 0 .088-2.64'/%3E%3C/svg%3E"); background-color: currentColor; -webkit-mask-image: var(--svg); mask-image: var(--svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; } .vds-volume-high-icon { display: inline-block; transform: translateX(2px); width: 40px; height: 40px; --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M2.003 11.716c.037-1.843.056-2.764.668-3.552a3 3 0 0 1 .413-.431c.752-.636 1.746-.636 3.733-.636c.71 0 1.065 0 1.403-.092q.105-.03.209-.067c.33-.121.627-.33 1.22-.746c2.338-1.645 3.508-2.467 4.489-2.11c.188.069.37.168.533.29c.848.635.913 2.115 1.042 5.073c.048 1.096.08 2.034.08 2.555s-.032 1.46-.08 2.555c-.13 2.958-.194 4.438-1.042 5.073a2.1 2.1 0 0 1-.533.29c-.982.357-2.15-.465-4.49-2.11c-.592-.416-.889-.625-1.22-.746a3 3 0 0 0-.208-.067c-.338-.092-.693-.092-1.403-.092c-1.987 0-2.98 0-3.733-.636a3 3 0 0 1-.413-.43c-.612-.79-.63-1.71-.668-3.552a14 14 0 0 1 0-.57'/%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M19.49 5.552a.66.66 0 0 1 .97.094l-.529.471l.53-.47l.002.002l.003.004l.007.009l.079.112q.072.107.186.305c.149.264.339.652.526 1.171C21.64 8.291 22 9.851 22 12s-.36 3.71-.736 4.75c-.187.52-.377.907-.526 1.172a5 5 0 0 1-.265.417l-.007.009l-.003.003l-.001.002s-.001.001-.531-.47l.53.471a.66.66 0 0 1-.971.094a.77.77 0 0 1-.09-1.035l.03-.041q.04-.06.125-.207a6 6 0 0 0 .422-.943c.314-.871.644-2.253.644-4.222s-.33-3.35-.644-4.222a6 6 0 0 0-.422-.942a3 3 0 0 0-.157-.253m-1.641 1.833c.333-.197.753-.07.938.286l-.603.357l.603-.357l.001.002l.002.003l.003.007l.01.018l.024.053q.028.063.07.17c.053.145.12.35.185.62c.13.54.252 1.337.252 2.425c0 1.089-.122 1.886-.252 2.426c-.065.27-.132.475-.186.619a3 3 0 0 1-.094.223l-.009.018l-.003.007l-.002.003v.002s-.001.001-.604-.356l.603.357c-.185.355-.605.483-.938.286c-.33-.196-.45-.638-.272-.991l.004-.01l.035-.085c.032-.086.08-.23.13-.438c.1-.416.208-1.09.208-2.06c0-.971-.108-1.645-.208-2.06a4 4 0 0 0-.165-.524l-.004-.01a.76.76 0 0 1 .272-.991' clip-rule='evenodd'/%3E%3C/svg%3E"); background-color: currentColor; -webkit-mask-image: var(--svg); mask-image: var(--svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; } .vds-volume-low-icon { display: inline-block; transform: translateX(2px); width: 40px; height: 40px; --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M2.003 11.716c.037-1.843.056-2.764.668-3.552a3 3 0 0 1 .413-.431c.752-.636 1.746-.636 3.733-.636c.71 0 1.065 0 1.403-.092q.105-.03.209-.067c.33-.121.627-.33 1.22-.746c2.338-1.645 3.508-2.467 4.489-2.11c.188.069.37.168.533.29c.848.635.913 2.115 1.042 5.073c.048 1.096.08 2.034.08 2.555s-.032 1.46-.08 2.555c-.13 2.958-.194 4.438-1.042 5.073a2.1 2.1 0 0 1-.533.29c-.982.357-2.15-.465-4.49-2.11c-.592-.416-.889-.625-1.22-.746a3 3 0 0 0-.208-.067c-.338-.092-.693-.092-1.403-.092c-1.987 0-2.98 0-3.733-.636a3 3 0 0 1-.413-.43c-.612-.79-.63-1.71-.668-3.552a14 14 0 0 1 0-.57'/%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M19.49 5.552a.66.66 0 0 1 .97.094l-.53.471l.53-.47h.002v.002l.004.004l.007.009l.078.112a5 5 0 0 1 .187.305c.149.265.339.652.526 1.171C21.64 8.291 22 9.851 22 12s-.36 3.71-.736 4.75c-.187.52-.377.907-.526 1.172a5 5 0 0 1-.265.417l-.007.009l-.003.003l-.001.002s-.001.001-.531-.47l.53.471a.66.66 0 0 1-.972.094a.77.77 0 0 1-.091-1.03l.003-.005l.028-.04a3 3 0 0 0 .126-.208c.11-.195.264-.506.422-.943c.314-.871.643-2.252.643-4.222c0-1.969-.329-3.35-.643-4.222a6 6 0 0 0-.422-.942a3 3 0 0 0-.126-.207l-.028-.041l-.003-.004' clip-rule='evenodd' opacity='0.4'/%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M17.757 8.416c.333-.197.753-.07.938.286l-.603.357l.603-.357l.001.002l.002.003l.003.007l.01.018l.024.053q.028.063.07.17c.053.145.12.35.185.62c.13.54.252 1.337.252 2.425c0 1.089-.122 1.886-.252 2.426c-.065.27-.132.475-.186.619a3 3 0 0 1-.094.223l-.009.018l-.003.007l-.002.003v.002s-.001.001-.604-.356l.603.357c-.185.355-.605.483-.938.286c-.33-.196-.45-.638-.272-.991l.004-.01l.035-.085c.032-.086.08-.23.13-.438c.1-.416.208-1.09.208-2.06c0-.971-.108-1.645-.208-2.061a4 4 0 0 0-.165-.523l-.004-.01c-.179-.354-.058-.796.272-.991' clip-rule='evenodd' opacity='0.7'/%3E%3C/svg%3E"); background-color: currentColor; -webkit-mask-image: var(--svg); mask-image: var(--svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; } .vds-play-icon { display: inline-block; width: 37px; height: 37px; --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M21.409 9.353a2.998 2.998 0 0 1 0 5.294L8.597 21.614C6.534 22.737 4 21.277 4 18.968V5.033c0-2.31 2.534-3.769 4.597-2.648z'/%3E%3C/svg%3E"); background-color: currentColor; -webkit-mask-image: var(--svg); mask-image: var(--svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; } .vds-pause-icon { display: inline-block; width: 37px; height: 37px; --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M2 6c0-1.886 0-2.828.586-3.414S4.114 2 6 2s2.828 0 3.414.586S10 4.114 10 6v12c0 1.886 0 2.828-.586 3.414S7.886 22 6 22s-2.828 0-3.414-.586S2 19.886 2 18zm12 0c0-1.886 0-2.828.586-3.414S16.114 2 18 2s2.828 0 3.414.586S22 4.114 22 6v12c0 1.886 0 2.828-.586 3.414S19.886 22 18 22s-2.828 0-3.414-.586S14 19.886 14 18z'/%3E%3C/svg%3E"); background-color: currentColor; -webkit-mask-image: var(--svg); mask-image: var(--svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; } .vds-cc-on-icon { display: inline-block; width: 40px; height: 40px; --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M2 12c0-3.771 0-5.657 1.172-6.828S6.229 4 10 4h4c3.771 0 5.657 0 6.828 1.172S22 8.229 22 12s0 5.657-1.172 6.828S17.771 20 14 20h-4c-3.771 0-5.657 0-6.828-1.172S2 15.771 2 12m4 3.25a.75.75 0 0 0 0 1.5h4a.75.75 0 0 0 0-1.5zM7.75 13a.75.75 0 0 0-.75-.75H6a.75.75 0 0 0 0 1.5h1a.75.75 0 0 0 .75-.75m3.75-.75a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5zm7.25.75a.75.75 0 0 0-.75-.75h-4a.75.75 0 0 0 0 1.5h4a.75.75 0 0 0 .75-.75m-6.25 2.25a.75.75 0 0 0 0 1.5H14a.75.75 0 0 0 0-1.5zm3.25.75a.75.75 0 0 1 .75-.75H18a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75' clip-rule='evenodd'/%3E%3C/svg%3E"); background-color: currentColor; -webkit-mask-image: var(--svg); mask-image: var(--svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; } .vds-cc-off-icon { display: inline-block; width: 40px; height: 40px; width: ; height: ; --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M2 12c0-3.771 0-5.657 1.172-6.828S6.229 4 10 4h4c3.771 0 5.657 0 6.828 1.172S22 8.229 22 12s0 5.657-1.172 6.828S17.771 20 14 20h-4c-3.771 0-5.657 0-6.828-1.172S2 15.771 2 12Z'/%3E%3Cpath stroke-linecap='round' d='M10 16H6m8-3h4m-4 3h-1.5m-3-3h2m6.5 3h-1.5M6 13h1'/%3E%3C/g%3E%3C/svg%3E"); background-color: currentColor; -webkit-mask-image: var(--svg); mask-image: var(--svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; } .vds-google-cast-icon { display: inline-block; width: 40px; height: 40px; --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round' stroke-width='1.5'%3E%3Cpath stroke-linejoin='round' d='M14 20c3.771 0 5.657 0 6.828-1.172S22 15.771 22 12s0-5.657-1.172-6.828S17.771 4 14 4H6.5c-.464 0-.697 0-.892.02a4 4 0 0 0-3.589 3.588C2 7.803 2 8.036 2 8.5'/%3E%3Cpath d='M11 20a9 9 0 0 0-9-9'/%3E%3Cpath d='M8 20a6 6 0 0 0-6-6m3 6a3 3 0 0 0-3-3'/%3E%3C/g%3E%3C/svg%3E"); background-color: currentColor; -webkit-mask-image: var(--svg); mask-image: var(--svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; } .vds-pip-enter-icon { display: inline-block; width: 40px; height: 40px; --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' d='M11 21h-1c-3.771 0-5.657 0-6.828-1.172S2 16.771 2 13v-2c0-3.771 0-5.657 1.172-6.828S6.229 3 10 3h4c3.771 0 5.657 0 6.828 1.172S22 7.229 22 11'/%3E%3Cpath d='M13 17c0-1.886 0-2.828.586-3.414S15.114 13 17 13h1c1.886 0 2.828 0 3.414.586S22 15.114 22 17s0 2.828-.586 3.414S19.886 21 18 21h-1c-1.886 0-2.828 0-3.414-.586S13 18.886 13 17Z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M11.5 11.5v-3m0 3h-3m3 0l-4-4'/%3E%3C/g%3E%3C/svg%3E"); background-color: currentColor; -webkit-mask-image: var(--svg); mask-image: var(--svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; } .vds-pip-exit-icon { display: inline-block; width: 40px; height: 40px; --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' d='M11 21h-1c-3.771 0-5.657 0-6.828-1.172S2 16.771 2 13v-2c0-3.771 0-5.657 1.172-6.828S6.229 3 10 3h4c3.771 0 5.657 0 6.828 1.172S22 7.229 22 11'/%3E%3Cpath d='M13 17c0-1.886 0-2.828.586-3.414S15.114 13 17 13h1c1.886 0 2.828 0 3.414.586S22 15.114 22 17s0 2.828-.586 3.414S19.886 21 18 21h-1c-1.886 0-2.828 0-3.414-.586S13 18.886 13 17Z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M7.5 7.5v3m0-3h3m-3 0l4 4'/%3E%3C/g%3E%3C/svg%3E"); background-color: currentColor; -webkit-mask-image: var(--svg); mask-image: var(--svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; } .vds-fs-enter-icon { display: inline-block; width: 40px; height: 40px; --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-width='1.5' d='M22 14c0 3.771 0 5.657-1.172 6.828S17.771 22 14 22m-4 0c-3.771 0-5.657 0-6.828-1.172S2 17.771 2 14m8-12C6.229 2 4.343 2 3.172 3.172S2 6.229 2 10m12-8c3.771 0 5.657 0 6.828 1.172S22 6.229 22 10'/%3E%3C/svg%3E"); background-color: currentColor; -webkit-mask-image: var(--svg); mask-image: var(--svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; } .vds-fs-exit-icon { display: inline-block; width: 40px; height: 40px; --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-width='1.5' d='M14 22c0-3.771 0-5.657 1.172-6.828S18.229 14 22 14M2 14c3.771 0 5.657 0 6.828 1.172S10 18.229 10 22M2 10c3.771 0 5.657 0 6.828-1.172S10 5.771 10 2m12 8c-3.771 0-5.657 0-6.828-1.172S14 5.771 14 2'/%3E%3C/svg%3E"); background-color: currentColor; -webkit-mask-image: var(--svg); mask-image: var(--svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; } .vds-menu-settings-icon { display: inline-block; width: 40px; height: 40px; --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M14.279 2.152C13.909 2 13.439 2 12.5 2s-1.408 0-1.779.152a2 2 0 0 0-1.09 1.083c-.094.223-.13.484-.145.863a1.62 1.62 0 0 1-.796 1.353a1.64 1.64 0 0 1-1.579.008c-.338-.178-.583-.276-.825-.308a2.03 2.03 0 0 0-1.49.396c-.318.242-.553.646-1.022 1.453c-.47.807-.704 1.21-.757 1.605c-.07.526.074 1.058.4 1.479c.148.192.357.353.68.555c.477.297.783.803.783 1.361s-.306 1.064-.782 1.36c-.324.203-.533.364-.682.556a2 2 0 0 0-.399 1.479c.053.394.287.798.757 1.605s.704 1.21 1.022 1.453c.424.323.96.465 1.49.396c.242-.032.487-.13.825-.308a1.64 1.64 0 0 1 1.58.008c.486.28.774.795.795 1.353c.015.38.051.64.145.863c.204.49.596.88 1.09 1.083c.37.152.84.152 1.779.152s1.409 0 1.779-.152a2 2 0 0 0 1.09-1.083c.094-.223.13-.483.145-.863c.02-.558.309-1.074.796-1.353a1.64 1.64 0 0 1 1.579-.008c.338.178.583.276.825.308c.53.07 1.066-.073 1.49-.396c.318-.242.553-.646 1.022-1.453c.47-.807.704-1.21.757-1.605a2 2 0 0 0-.4-1.479c-.148-.192-.357-.353-.68-.555c-.477-.297-.783-.803-.783-1.361s.306-1.064.782-1.36c.324-.203.533-.364.682-.556a2 2 0 0 0 .399-1.479c-.053-.394-.287-.798-.757-1.605s-.704-1.21-1.022-1.453a2.03 2.03 0 0 0-1.49-.396c-.242.032-.487.13-.825.308a1.64 1.64 0 0 1-1.58-.008a1.62 1.62 0 0 1-.795-1.353c-.015-.38-.051-.64-.145-.863a2 2 0 0 0-1.09-1.083M12.5 15c1.67 0 3.023-1.343 3.023-3S14.169 9 12.5 9s-3.023 1.343-3.023 3s1.354 3 3.023 3' clip-rule='evenodd'/%3E%3C/svg%3E"); background-color: currentColor; -webkit-mask-image: var(--svg); mask-image: var(--svg); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; } :where(.vds-captions) { --overlay-padding: var(--media-captions-padding, 1%); --cue-color: var(--media-user-text-color, var(--media-cue-color, white)); --cue-bg-color: var( --media-user-text-bg, var(--media-cue-bg, rgba(0, 0, 0, 0.7)) ); --cue-default-font-size: var( --media-cue-font-size, calc(var(--overlay-height) / 100 * 4.5) ); --cue-font-size: calc( var(--cue-default-font-size) * var(--media-user-font-size, 1) ); --cue-line-height: var( --media-cue-line-height, calc(var(--cue-font-size) * 1.2) ); --cue-padding-x: var(--media-cue-padding-x, calc(var(--cue-font-size) * 0.6)); --cue-padding-y: var(--media-cue-padding-x, calc(var(--cue-font-size) * 0.4)); --cue-padding: var(--cue-padding-y) var(--cue-padding-x); position: absolute; inset: 0; z-index: 1; contain: layout style; margin: var(--overlay-padding); font-size: var(--cue-font-size); font-family: var(--media-user-font-family, sans-serif); box-sizing: border-box; pointer-events: none; user-select: none; word-spacing: normal; word-break: break-word; } :where([data-fullscreen][data-orientation="portrait"] .vds-captions) { --cue-default-font-size: var( --media-cue-font-size, calc(var(--overlay-width) / 100 * 4.5) ); } :where([data-view-type="audio"] .vds-captions) { position: relative; margin: 0; } :where(.vds-captions[aria-hidden="true"]) { opacity: 0; visibility: hidden; } .vds-captions[data-example] { opacity: 1 !important; visibility: visible !important; } :where( [data-view-type="video"] .vds-captions [data-part="cue-display"][data-example] ) { --cue-text-align: center; --cue-width: 100%; --cue-top: 90%; --cue-left: 0%; } :where([data-view-type="audio"] .vds-captions [data-part="cue-display"]) { --cue-width: 100%; position: relative !important; } :where(.vds-captions [data-part="cue-display"]) { position: absolute; direction: ltr; overflow: visible; contain: content; top: var(--cue-top); left: var(--cue-left); right: var(--cue-right); bottom: var(--cue-bottom); width: var(--cue-width, auto); height: var(--cue-height, auto); box-sizing: border-box; transform: var(--cue-transform); text-align: var(--cue-text-align); writing-mode: var(--cue-writing-mode, unset); white-space: pre-line; unicode-bidi: plaintext; min-width: min-content; min-height: min-content; background-color: var(--media-user-display-bg, var(--media-cue-display-bg)); border-radius: var(--media-cue-display-border-radius); } .vds-captions [data-part="cue-display"] { padding: var(--media-cue-display-padding); } :where(.vds-captions[data-dir="rtl"] [data-part="cue-display"]) { direction: rtl; } :where(.vds-captions [data-part="cue"]) { display: inline-block; contain: content; font-variant: var(--media-user-font-variant); border: var(--media-cue-border, unset); border-radius: var(--media-cue-border-radius, 2px); backdrop-filter: var(--media-cue-backdrop, blur(8px)); line-height: var(--cue-line-height); box-sizing: border-box; box-shadow: var(--media-cue-box-shadow, var(--cue-box-shadow)); white-space: var(--cue-white-space, pre-wrap); outline: var(--cue-outline); text-shadow: var(--media-user-text-shadow, var(--cue-text-shadow)); } .vds-captions [data-part="cue"] { background-color: var(--cue-bg-color); color: var(--cue-color); padding: var(--cue-padding); } :where( .vds-captions [data-part="cue-display"][data-vertical] [data-part="cue"] ) { --cue-padding: var(--cue-padding-x) var(--cue-padding-y); } :where(.vds-captions [data-part="region"]) { --anchor-x-percent: calc(var(--region-anchor-x) / 100); --anchor-x: calc(var(--region-width) * var(--anchor-x-percent)); --anchor-y-percent: calc(var(--region-anchor-y) / 100); --anchor-y: calc(var(--region-height) * var(--anchor-y-percent)); --vp-anchor-x: calc(var(--region-viewport-anchor-x) * 1%); --vp-anchor-y-percent: calc(var(--region-viewport-anchor-y) / 100); --vp-anchor-y: calc(var(--overlay-height) * var(--vp-anchor-y-percent)); position: absolute; display: inline-flex; flex-flow: column; justify-content: flex-start; width: var(--region-width); height: var(--region-height); min-height: 0; max-height: var(--region-height); writing-mode: horizontal-tb; top: var(--region-top, calc(var(--vp-anchor-y) - var(--anchor-y))); left: var(--region-left, calc(var(--vp-anchor-x) - var(--anchor-x))); right: var(--region-right); bottom: var(--region-bottom); overflow: hidden; overflow-wrap: break-word; box-sizing: border-box; } :where(.vds-captions [data-part="region"][data-scroll="up"]) { justify-content: end; } :where(.vds-captions [data-part="region"][data-active][data-scroll="up"]) { transition: top 433ms; } :where(.vds-captions [data-part="region"] > [data-part="cue-display"]) { position: relative; width: auto; left: var(--cue-offset); height: var(--cue-height, auto); text-align: var(--cue-text-align); unicode-bidi: plaintext; margin-top: 2px; } :where(.vds-captions [data-part="region"] [data-part="cue"]) { position: relative; border-radius: 0; } :where(.vds-chapter-title) { --color: var(--media-chapter-title-color, rgba(255 255 255 / 0.84)); /* Slightly cozier feel */ display: block; font-family: "Segoe UI", "Helvetica Neue", sans-serif; /* Cozy modern font */ font-size: var(--media-chapter-title-font-size, 17px); font-weight: bold; /* Make it bold */ color: var(--color); padding-inline: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: center; margin: 0 auto; } /* Remove the dot before title */ .vds-chapter-title::before { content: ""; /* Remove bullet */ display: none; } /* Just in case it's empty */ .vds-chapter-title:empty::before { content: ""; margin: 0; } :where(.vds-controls), :where(.vds-controls-group) { position: relative; display: inline-block; width: 100%; box-sizing: border-box; } :where([data-view-type="audio"] .vds-controls) { display: inline-block; max-width: 100%; } :where([data-view-type="video"] .vds-controls) { display: flex; position: absolute; flex-direction: column; inset: 0; width: 100%; height: 100%; z-index: 10; opacity: 0; visibility: hidden; pointer-events: none; padding: var(--media-controls-padding, 0); transition: var(--media-controls-out-transition, opacity 0.2s ease-out); } :where([data-view-type="video"] .vds-controls[data-visible]) { opacity: 1; visibility: visible; transition: var(--media-controls-in-transition, opacity 0.2s ease-in); } :where(.vds-controls-spacer) { flex: 1 1 0%; pointer-events: none; } :where(.vds-gestures) { display: contents; } :where(.vds-gesture) { position: absolute; display: block; contain: content; z-index: 0; opacity: 0; visibility: hidden; pointer-events: none !important; } :where(.vds-icon svg) { display: block; width: 100%; height: 100%; vertical-align: middle; } :where(.vds-kb-action.hidden) { opacity: 0; } :where(.vds-kb-text-wrapper) { text-align: center; position: absolute; left: 0; right: 0; top: var(--media-kb-text-top, 10%); z-index: 20; pointer-events: none; } :where(.vds-kb-text) { display: inline-block; font-size: var(--media-kb-text-size, 150%); font-family: var(--media-font-family, sans-serif); backdrop-filter: blur(2px); border-radius: var(--media-kb-border-radius, 2.5px); pointer-events: none; } .vds-kb-text { color: var(--media-kb-text-color, var(--default-color)); background-color: var(--media-kb-text-bg, var(--default-bg)); padding: var(--media-kb-text-padding, 10px 20px); } .light .vds-kb-text { --default-color: #1a1a1a; --default-bg: rgb(240 240 240 / 0.6); } .dark .vds-kb-text { --default-color: #f5f5f5; --default-bg: rgb(10 10 10 / 0.6); } :where(.vds-kb-text:empty) { display: none; } :where(.vds-kb-bezel) { --size: var(--media-kb-bezel-size, 52px); position: absolute; left: 50%; top: 45%; display: flex; flex-direction: column; align-items: center; justify-content: center; width: var(--size); height: var(--size); margin-left: calc(-1 * calc(var(--size) / 2)); margin-right: calc(-1 * calc(var(--size) / 2)); z-index: 20; backdrop-filter: blur(2px); background-color: var(--media-kb-bezel-bg, var(--default-bg)); animation: var( --media-kb-bezel-animation, vds-bezel-fade 0.35s linear 1 normal forwards ); border-radius: var(--media-kb-bezel-border-radius, calc(var(--size) / 2)); pointer-events: none; } .vds-kb-bezel:not(:has(svg)) { display: none !important; } .light .vds-kb-bezel { --default-bg: rgb(255 255 255 / 0.6); } .dark .vds-kb-bezel { --default-bg: rgb(10 10 10 / 0.6); } @media (prefers-reduced-motion) { :where(.vds-kb-bezel) { animation: none; } } :where(.vds-kb-bezel:has(slot:empty)) { opacity: 0; } :where(.vds-kb-action[data-action="seek-forward"] .vds-kb-bezel) { top: 45%; left: unset; right: 10%; } :where(.vds-kb-action[data-action="seek-backward"] .vds-kb-bezel) { top: 45%; left: 10%; } :where(.vds-kb-icon) { --size: var(--media-kb-icon-size, 38px); width: var(--size); height: var(--size); } .vds-kb-icon { color: var(--media-kb-icon-color, var(--default-color)); } .light .vds-kb-icon { --default-color: #1a1a1a; } .dark .vds-kb-icon { --default-color: #f5f5f5; } @keyframes vds-bezel-fade { 0% { opacity: 1; } 100% { opacity: 0; transform: scale(2); } } :where(.vds-menu-items) { --color-inverse: var(--media-menu-color-inverse, var(--default-inverse)); --color-gray-50: var(--media-menu-color-gray-50, var(--default-gray-50)); --color-gray-100: var(--media-menu-color-gray-100, var(--default-gray-100)); --color-gray-200: var(--media-menu-color-gray-200, var(--default-gray-200)); --color-gray-300: var(--media-menu-color-gray-300, var(--default-gray-300)); --color-gray-400: var(--media-menu-color-gray-400, var(--default-gray-400)); --text-color: var(--media-menu-text-color, var(--default-text)); --text-secondary-color: var( --media-menu-text-secondary-color, var(--default-text-secondary) ); --root-border: var(--media-menu-border, var(--default-root-border)); } .light .vds-menu-items { --default-inverse: black; --default-gray-50: rgb(80 80 80 / 0.15); --default-gray-100: rgb(80 80 80 / 0.45); --default-gray-200: rgb(235 235 235 / 0.6); --default-gray-300: rgb(238 238 238); --default-gray-400: rgba(250 250 250 / 0.5); --default-text: #1a1a1a; --default-text-secondary: #6b6b6b; --default-root-border: 1px solid rgb(10 10 10 / 0.1); } .dark .vds-menu-items { --default-inverse: white; --default-gray-50: rgb(245 245 245 / 0.1); --default-gray-100: rgb(245 245 245 / 0.45); --default-gray-200: rgb(10 10 10 / 0.6); --default-gray-300: rgb(27 27 27); --default-gray-400: rgba(10 10 10 / 0.5); --default-text: #f5f5f5; --default-text-secondary: #8a8a8a; --default-root-border: 1px solid rgb(255 255 255 / 0.1); } :where(.vds-menu-items) { --font-family: var(--media-font-family, sans-serif); --font-size: var(--media-menu-font-size, 14px); --font-weight: var(--media-menu-font-weight, 500); --root-bg: var(--media-menu-bg, var(--color-gray-400)); --root-padding: var(--media-menu-padding, 12px); --root-border-radius: var(--media-menu-border-radius, 4px); --divider: var(--media-menu-divider, 1px solid var(--color-gray-50)); --section-bg: var(--media-menu-section-bg, var(--color-gray-300)); --section-border: var(--media-menu-section-border); --section-divider: var(--media-menu-section-divider, var(--divider)); --top-bar-bg: var(--media-menu-top-bar-bg, var(--color-gray-200)); --top-bar-divider: var(--media-menu-divider, transparent); --text-hint-color: var(--media-menu-hint-color, var(--text-secondary-color)); --chapter-divider: var(--media-chapters-divider, var(--divider)); --chapter-active-bg: var( --media-chapters-item-active-bg, var(--color-gray-50) ); --chapter-active-border-left: var(--media-chapters-item-active-border-left); --chapter-progress-bg: var( --media-chapters-progress-bg, var(--color-inverse) ); --chapter-time-font-size: var(--media-chapters-time-font-size, 12px); --chapter-time-font-weight: var(--media-chapters-time-font-weight, 500); --chapter-time-gap: var(--media-chapters-time-gap, 6px); --chapter-duration-bg: var(--media-chapters-duration-bg); --item-border: var(--media-menu-item-border, 0); --item-bg: var(--media-menu-item-bg, transparent); --item-hover-bg: var(--media-menu-item-hover-bg, var(--color-gray-50)); --item-icon-size: var(--media-menu-item-icon-size, 18px); --item-padding: var(--media-menu-item-padding, 10px); --item-min-height: var(--media-menu-item-height, 40px); --item-border-radius: var(--media-menu-item-border-radius, 2px); --scrollbar-track-bg: var(--media-menu-scrollbar-track-bg, transparent); --scrollbar-thumb-bg: var( --media-menu-scrollbar-thumb-bg, var(--color-gray-50) ); --webkit-scrollbar-bg: var(--color-gray-400); --webkit-scrollbar-track-bg: var( --media-menu-scrollbar-track-bg, var(--color-gray-50) ); --checkbox-bg: var(--media-menu-checkbox-bg, var(--color-gray-100)); --checkbox-active-bg: var(--media-menu-checkbox-bg-active, #1ba13f); --checkbox-handle-bg: var(--media-menu-checkbox-handle-bg, #f5f5f5); --checkbox-handle-border: var(--media-menu-checkbox-handle-border); --radio-icon-color: var(--media-menu-radio-icon-color, var(--text-color)); } :where(.vds-menu[data-root] media-menu[data-root]) { display: contents; } :where(.vds-menu) { font-family: var(--font-family); font-size: var(--font-size); font-weight: var(--font-weight); } :where(.vds-menu[data-disabled][data-root]) { display: none; } :where(.vds-menu[data-submenu]) { display: inline-block; } :where(.vds-menu-items:focus) { outline: 0; } :where(.vds-menu-item:focus, .vds-radio:focus) { outline: 0; } :where( .vds-menu-item:focus-visible, .vds-menu-item[data-focus], .vds-radio:focus-visible, .vds-radio[data-focus] ) { outline: 0; box-shadow: var(--media-focus-ring); } :where(.vds-menu[data-open] .vds-tooltip-content) { display: none !important; } .vds-menu-items [data-hidden] { display: none !important; } @media (prefers-reduced-motion: no-preference) { :where(.vds-menu-items) { scroll-behavior: smooth; } } :where(.vds-menu-items) { box-sizing: border-box; min-width: var(--media-menu-min-width, 280px); scrollbar-width: thin; scrollbar-color: var(--scrollbar-thumb-bg) var(--scrollbar-track-bg); transform: translate3d(0, 0, 0); } :where(.vds-menu-items)::-webkit-scrollbar { background-color: var(--webkit-scrollbar-bg); border-radius: var(--root-border-radius); height: 6px; width: 5px; } :where(.vds-menu-items)::-webkit-scrollbar-track { background-color: var(--webkit-scrollbar-track-bg); border-radius: 4px; } :where(.vds-menu-items)::-webkit-scrollbar-thumb { background-color: var(--scrollbar-thumb-bg); border-radius: 4px; } :where(.vds-menu-items)::-webkit-scrollbar-corner { background-color: var(--scrollbar-thumb-bg); } :where(.vds-menu-button) { outline: 0; box-sizing: border-box; } :where(.vds-menu-button .vds-rotate-icon) { transition: transform 0.2s ease-out; } :where(.vds-menu-button[aria-expanded="true"] .vds-rotate-icon) { transform: rotate(var(--media-menu-icon-rotate-deg, 90deg)); transition: transform 0.2s ease-in; } :where(.vds-menu-button) { display: inline-flex; align-items: center; justify-content: center; } @media (prefers-reduced-motion) { :where(.vds-menu-button .vds-rotate-icon) { transition: unset; } } :where(.vds-menu-items) { display: flex; align-items: center; flex-direction: column; font-family: var(--font-family); font-size: var(--font-size); font-weight: var(--font-weight); transition: height 0.35s ease; } @media (prefers-reduced-motion) { :where(.vds-menu-items) { transition: unset; } } :where(.vds-menu-items[data-root]) { background-color: var(--root-bg); border-radius: var(--root-border-radius); box-shadow: var(--media-menu-box-shadow); backdrop-filter: blur(4px); height: var(--menu-height, auto); will-change: width, height; overflow-y: auto; overscroll-behavior: contain; opacity: 0; z-index: 9999999; box-sizing: border-box; max-height: var(--media-menu-max-height, 250px); filter: var( --media-menu-filter, drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06)) ); } .vds-menu-items[data-root] { border: var(--root-border); padding: var(--root-padding); } :where([data-view-type="video"]) :where(.vds-menu-items[data-root]) { max-height: var( --media-menu-video-max-height, calc(var(--player-height) * 0.7) ); } :where(.vds-menu-items[data-transition="height"]) { --scrollbar-thumb-bg: rgba(0, 0, 0, 0); pointer-events: none; overflow: hidden; } .vds-menu-button[aria-disabled="true"], .vds-menu-item[aria-disabled="true"], .vds-menu-item[data-disabled] { display: none; } :where(.vds-menu-items[data-root]) { --enter-transform: translateY(0); --exit-transform: translateY(12px); } :where(.vds-menu-items[data-root]:not([data-placement])) { --enter-transform: translateY(-24px); } :where(.vds-menu-items[data-root][aria-hidden="true"]) { animation: var(--media-menu-exit-animation, vds-menu-exit 0.2s ease-out); } :where(.vds-menu-items[data-root][aria-hidden="false"]) { animation: var(--media-menu-enter-animation, vds-menu-enter 0.3s ease-out); animation-fill-mode: forwards; } :where(.vds-menu-items[data-placement~="bottom"]) { --enter-transform: translateY(0); --exit-transform: translateY(-12px); } @keyframes vds-menu-enter { from { opacity: 0; transform: var(--exit-transform); } to { opacity: 1; transform: var(--enter-transform); } } @keyframes vds-menu-exit { from { opacity: 1; transform: var(--enter-transform); } to { opacity: 0; transform: var(--exit-transform); } } @media (prefers-reduced-motion) { :where(.vds-menu-items) { animation: none; opacity: 1; } } :where(media-menu-portal) { display: contents; } :where(.vds-menu-items[data-root]:not([data-placement])) { position: fixed; left: 16px; right: 16px; top: unset; bottom: 0; max-height: var(--media-sm-menu-portrait-max-height, 40vh); max-height: var(--media-sm-menu-portrait-max-height, 40dvh); } :where(.vds-menu-items[data-root]:not([data-placement])) { max-width: 480px; margin: 0 auto; } @media (orientation: landscape) and (pointer: coarse) { :where(.vds-menu-items[data-root]:not([data-placement])) { max-height: var(--media-sm-menu-landscape-max-height, min(70vh, 400px)); max-height: var(--media-sm-menu-landscape-max-height, min(70dvh, 400px)); } } :where(.vds-menu[data-submenu] .vds-menu-button) { display: flex; align-items: center; justify-content: flex-start; } :where(.vds-menu-items[data-submenu]) { width: 100%; } :where(.vds-menu-items[data-submenu][aria-hidden="true"]), :where(.vds-menu[aria-hidden="true"]) { display: none; } :where(.vds-menu-item, .vds-radio) { position: relative; -webkit-tap-highlight-color: transparent; user-select: none; display: flex; align-items: center; justify-content: left; width: 100%; appearance: none; border: 0; border-radius: var(--item-border-radius); box-sizing: border-box; min-height: var(--item-min-height); font-size: var(--font-size); outline: 0; } .vds-menu-item, .vds-radio { color: var(--text-color); background-color: var(--item-bg); padding: var(--item-padding); } .vds-menu-item:focus-visible, .vds-menu-item[data-focus], .vds-radio:focus-visible, .vds-radio[data-focus] { cursor: pointer; background-color: var(--item-hover-bg); } @media (hover: hover) and (pointer: fine) { .vds-menu-item[role]:hover, .vds-radio:hover { cursor: pointer; background-color: var(--item-hover-bg); } } :where(.vds-menu-items[data-submenu]) { align-items: flex-start; justify-content: center; flex-direction: column; } :where(.vds-menu-item[aria-expanded="true"]) { font-weight: 700; border-radius: 0; border-top-left-radius: var(--item-border-radius); border-top-right-radius: var(--item-border-radius); } .vds-menu-item[aria-expanded="true"] { border-bottom: var(--top-bar-divider); } :where(.vds-menu-item[aria-expanded="true"]) { position: sticky; top: calc(-1 * var(--root-padding)); left: 0; width: 100%; z-index: 10; backdrop-filter: blur(4px); margin-bottom: 4px; } .vds-menu-item[aria-expanded="true"] { background-color: var(--top-bar-bg); } :where(.vds-menu-item-label) { flex: 1 0 0%; text-align: start; } :where(.vds-menu-item .vds-icon, .vds-radio .vds-icon) { --size: var(--item-icon-size); width: var(--size); height: var(--size); margin-right: var(--media-menu-item-icon-spacing, 6px); } :where(.vds-menu-open-icon, .vds-menu-close-icon) { --size: var(--media-menu-arrow-icon-size, 18px); width: var(--size); height: var(--size); } :where(.vds-menu-item-hint, .vds-menu-open-icon, .vds-radio-hint) { color: var(--text-hint-color); font-size: var(--media-menu-hint-font-size, 13px); font-weight: var(--media-menu-hint-font-weight, 400); } :where(.vds-menu-items .vds-menu-open-icon) { margin-right: 0; } :where(.vds-menu-items) :where(.vds-menu-item-hint, .vds-menu-open-icon) { margin-left: auto; } :where(.vds-menu-item-hint + media-icon .vds-menu-open-icon), :where(.vds-menu-item-hint + slot > .vds-menu-open-icon), :where(.vds-menu-items) :where(.vds-menu-item-hint + .vds-menu-open-icon) { margin-left: 2px; } :where(.vds-menu-item[aria-expanded="true"] .vds-menu-open-icon), :where(.vds-menu-item[aria-hidden="true"]) { display: none !important; } :where(.vds-menu-items) :where(.vds-menu-item[aria-disabled="true"], .vds-menu-item[data-disabled]) :where(.vds-menu-open-icon) { opacity: 0; } :where(.vds-menu-close-icon), :where(.vds-menu-item[aria-expanded="true"] > .vds-icon) { display: none !important; } :where(.vds-menu-item[aria-expanded="true"] .vds-menu-close-icon) { display: inline !important; margin-left: calc(-1 * var(--item-padding) / 2); } :where(.vds-menu-checkbox) { --checkbox-width: var(--media-menu-checkbox-width, 40px); --checkbox-height: var(--media-menu-checkbox-height, 18px); --checkbox-top: calc((var(--checkbox-height) - var(--checkbox-diameter)) / 2); --checkbox-diameter: var( --media-menu-checkbox-handle-diameter, calc(var(--checkbox-height) - 2px) ); --checkbox-gap: var(--media-menu-checkbox-gap, 2.5px); position: relative; display: inline-block; width: var(--checkbox-width); height: var(--checkbox-height); border-radius: calc(var(--checkbox-height) / 2); transition: 0.3s all ease-in-out; box-sizing: border-box; cursor: pointer; pointer-events: auto; } .vds-menu-checkbox { background-color: var(--checkbox-bg); } :where(.vds-menu-checkbox:focus-visible) { outline: 0; box-shadow: var(--media-focus-ring); } .vds-menu-checkbox[aria-checked="true"] { background-color: var(--checkbox-active-bg); } :where(.vds-menu-checkbox)::after { content: ""; display: inline-block; width: var(--checkbox-diameter); height: var(--checkbox-diameter); border-radius: calc(var(--checkbox-diameter) / 2); position: absolute; top: var(--checkbox-top); transform: translateX(var(--checkbox-gap)); transition: 0.3s all ease-in-out; border: var(--checkbox-handle-border); box-sizing: border-box; } .vds-menu-checkbox::after { background-color: var(--checkbox-handle-bg); } :where(.vds-menu-checkbox[aria-checked="true"])::after { transform: translateX( calc(var(--checkbox-width) - var(--checkbox-diameter) - var(--checkbox-gap)) ); } @media (prefers-reduced-motion: no-preference) { :where(.vds-menu-checkbox[data-active])::after { width: calc(var(--checkbox-width) - calc(var(--checkbox-gap) * 2)); } } :where(.vds-menu-checkbox[aria-checked="true"][data-active])::after { transform: translateX(var(--checkbox-gap)); } :where(.vds-menu-items .vds-slider) { --media-slider-track-bg: var( --media-menu-slider-track-bg, var(--color-gray-50) ); --media-slider-track-fill-bg: var( --media-menu-slider-track-fill-bg, var(--color-inverse) ); --media-slider-height: var(--media-menu-slider-height, 32px); --track-focus-height: var(--track-height) !important; } :where(.vds-menu-items .vds-slider-thumb) { opacity: 1 !important; } :where(.vds-menu-slider-item.group) { flex-direction: column; } :where(.vds-menu-slider-title) { margin-top: 4px; } :where(.vds-menu-slider-body) { width: 100%; display: flex; align-items: center; margin-top: 6px; } :where(.vds-menu-slider-item .vds-icon) { margin: 0; color: var(--text-hint-color); } :where( .vds-menu-slider-item[data-min] .vds-icon.down, .vds-menu-slider-item[data-max] .vds-icon.up ) { color: var(--text-color); animation: 0.6s ease-in-out vds-slider-icon; transition: all 1.2s ease; } @keyframes vds-slider-icon { 0% { transform: scale(1); } 50% { transform: scale(1.25); } 100% { transform: scale(1); } } :where(.vds-menu-items .vds-slider-track-fill) { transition: opacity 0.3s ease; } :where(.vds-menu-items .vds-slider[data-active] .vds-slider-track-fill) { opacity: 0; } :where(.vds-radio-group) { box-sizing: border-box; width: 100%; display: flex; flex-direction: column; } .vds-radio { cursor: pointer; contain: content; padding-left: calc(var(--item-icon-size) + var(--item-padding)); } .vds-radio[aria-checked="true"] { padding-left: 0; } .vds-radio .vds-icon { display: none; color: var(--radio-icon-color); } .vds-radio[aria-checked="true"] .vds-icon { display: inline-block; margin-left: 6px; } :where(.vds-radio-hint) { margin-left: auto; } .vds-color-picker { width: 32px; height: 32px; border: 0; background-color: transparent; outline: 0; } .vds-color-picker::-webkit-color-swatch { border-radius: 2px; } .vds-color-picker::-moz-color-swatch { border-radius: 2px; } .vds-color-picker:focus-visible::-webkit-color-swatch { box-shadow: var(--media-focus-ring); } .vds-color-picker:focus-visible::-moz-color-swatch { box-shadow: var(--media-focus-ring); } :where(.vds-menu-section) { width: 100%; } :where(.vds-menu-item + .vds-menu-section) { margin-top: 8px; } :where(.vds-menu-section + .vds-menu-section) { margin-top: 24px; } :where(.vds-menu-section:first-child) { margin-top: 8px; } :where(.vds-menu-section:last-child) { margin-bottom: 8px; } :where(.vds-menu-section-title), :where(.vds-menu-slider-title) { width: 100%; display: flex; align-items: center; justify-content: space-between; color: var(--text-secondary-color); font-size: var(--media-menu-section-header-font-size, 12px); font-weight: var(--media-menu-section-header-font-weight, 500); padding-inline: 2px; } :where(.vds-menu-section-body) { width: 100%; } :where(.vds-menu-section-title + .vds-menu-section-body) { margin-top: var(--media-menu-section-gap, 8px); } .vds-menu-section-body { background-color: var(--section-bg); border: var(--section-border); border-radius: var(--media-menu-section-border-radius, 2px); } :where(.vds-menu-section:not([data-open]) .vds-menu-item:not(:last-child)) { border-bottom: var(--section-divider); } :where(.vds-menu-section-body .vds-menu:last-child > .vds-menu-item) { border-bottom: unset; } .vds-menu-section[data-open], .vds-menu-section[data-open] > .vds-menu-section-body { display: contents !important; background-color: transparent !important; } .vds-menu-section[data-open] > .vds-menu-section-body > :not([data-open]), .vds-menu-section[data-open] > .vds-menu-section-title { display: none; } :where(.vds-chapters-menu-items) { min-width: var( --media-chapters-min-width, var(--media-menu-min-width, 220px) ); } .vds-chapters-menu-items { padding: var(--media-chapters-padding, 0); } :where(.vds-menu-items:has(.vds-chapters-radio-group[data-thumbnails])) { min-width: var(--media-chapters-with-thumbnails-min-width, 300px); } :where(.vds-chapter-radio) { border-radius: 0; } .vds-chapter-radio { border-bottom: var(--chapter-divider); padding: var(--item-padding); } .vds-chapter-radio[aria-checked="true"] { padding-left: var(--item-padding); } :where(.vds-chapter-radio:last-child) { border-bottom: 0; } .vds-chapter-radio[aria-checked="true"] { background-color: var(--chapter-active-bg); border-left: var(--chapter-active-border-left); } :where(.vds-chapter-radio[aria-checked="true"]):after { content: " "; width: var(--progress); height: var(--media-chapters-progress-height, 4px); position: absolute; bottom: 0; left: 0; } .vds-chapter-radio[aria-checked="true"]:after { border-radius: var(--media-chapters-progress-border-radius, 0); background-color: var(--chapter-progress-bg); } .vds-chapters-radio-group :where(.vds-thumbnail) { margin-right: var(--media-chapters-thumbnail-gap, 12px); flex-shrink: 0; min-width: var(--media-chapters-thumbnail-min-width, 100px); min-height: var(--media-chapters-thumbnail-min-height, 56px); max-width: var(--media-chapters-thumbnail-max-width, 120px); max-height: var(--media-chapters-thumbnail-max-height, 68px); } .vds-chapters-radio-group .vds-thumbnail { border: var(--media-chapters-thumbnail-border, 0); } :where(.vds-chapters-radio-group .vds-chapter-radio-label) { color: var(--text-secondary-color); font-size: var(--font-size); font-weight: var(--font-weight); white-space: nowrap; } :where(.vds-chapter-radio[aria-checked="true"] .vds-chapter-radio-label) { color: var(--text-color); } :where(.vds-chapters-radio-group .vds-chapter-radio-start-time) { display: inline-block; letter-spacing: var(--media-chapters-start-time-letter-spacing, 0.4px); border-radius: var(--media-chapters-start-time-border-radius, 2px); font-size: var(--chapter-time-font-size); font-weight: var(--chapter-time-font-weight); margin-top: var(--chapter-time-gap); } .vds-chapters-radio-group .vds-chapter-radio-start-time { color: var(--text-secondary-color); background-color: var(--section-bg); padding: var(--media-chapters-start-time-padding, 1px 4px); } :where(.vds-chapters-radio-group .vds-chapter-radio-duration) { color: var(--text-hint-color); font-size: var(--chapter-time-font-size); font-weight: var(--chapter-time-font-weight); margin-top: var(--chapter-time-gap); } .vds-chapters-radio-group .vds-chapter-radio-duration { background-color: var(--chapter-duration-bg); border-radius: var(--media-chapters-duration-border-radius, 2px); } .vds-chapters-radio-group:not([data-thumbnails]) :where(.vds-thumbnail, media-thumbnail) { display: none; } :where(.vds-chapter-radio-content) { display: flex; align-items: flex-start; flex-direction: column; } :where( .vds-chapters-radio-group:not([data-thumbnails]) .vds-chapter-radio-content ) { width: 100%; flex-direction: row; display: flex; flex-wrap: wrap; align-items: center; } :where( .vds-chapters-radio-group:not([data-thumbnails]) .vds-chapter-radio-start-time ) { margin-top: 0; margin-left: auto; } :where( .vds-chapters-radio-group:not([data-thumbnails]) .vds-chapter-radio-duration ) { margin-top: 4px; flex-basis: 100%; } .vds-menu-items[data-keyboard] .vds-chapters-radio-group:focus-within { padding: var(--media-chapters-focus-padding, 4px); } :where(.vds-poster) { display: block; contain: content; position: absolute; top: 50%; transform: translateY(-50%); left: 0; opacity: 0; width: 100%; height: 100%; z-index: 1; border: 0; pointer-events: none; box-sizing: border-box; transition: opacity 0.2s ease-out; background-color: var(--media-poster-bg, #000); } :where(.vds-poster img) { object-fit: inherit; object-position: inherit; pointer-events: none; user-select: none; -webkit-user-select: none; box-sizing: border-box; } .vds-poster :where(img) { border: 0; width: 100%; height: 100%; object-fit: contain; } :where(.vds-poster[data-hidden]) { display: none; } :where(.vds-poster[data-visible]) { opacity: 1; } .vds-poster img:not([src]), .vds-poster:not(:defined) { display: none; } :where(.vds-slider) { --width: var(--media-slider-width, 100%); --height: var(--media-slider-height, 48px); --thumb-size: var(--media-slider-thumb-size, 15px); --thumb-focus-size: var( --media-slider-focused-thumb-size, calc(var(--thumb-size) * 1.1) ); --track-width: var(--media-slider-track-width, 100%); --track-height: var(--media-slider-track-height, 5px); --track-focus-width: var( --media-slider-focused-track-width, var(--track-width) ); --track-focus-height: var( --media-slider-focused-track-height, calc(var(--track-height) * 1.25) ); display: inline-flex; align-items: center; width: var(--width); height: var(--height); margin: 0 calc(var(--thumb-size) / 2); position: relative; contain: layout style; outline: 0; pointer-events: auto; cursor: pointer; user-select: none; touch-action: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; } :where(.vds-slider[aria-hidden="true"]) { display: none !important; } :where(.vds-slider[aria-disabled="true"]) { cursor: unset; } :where(.vds-slider:focus) { outline: 0; } :where( .vds-slider:not([data-chapters])[data-focus], .vds-slider:not([data-chapters]):focus-visible ) :where(.vds-slider-track) { box-shadow: var(--media-focus-ring); } :where(.vds-slider .vds-slider-track) { z-index: 0; position: absolute; width: var(--track-width); height: var(--track-height); top: 50%; left: 0; border-radius: var(--media-slider-track-border-radius, 2px); transform: translateY(-50%) translateZ(0); background-color: var(--media-slider-track-bg, rgb(255 255 255 / 0.3)); contain: strict; } :where(.vds-slider[data-focus], .vds-slider:focus-visible) :where(.vds-slider-track) { outline-offset: var(--thumb-size); } :where(.vds-slider:not([data-chapters])[data-active] .vds-slider-track) { width: var(--track-focus-width); height: var(--track-focus-height); } :where(.vds-slider .vds-slider-track-fill) { z-index: 2; background-color: var(--media-slider-track-fill-bg, var(--media-brand)); width: var(--slider-fill, 0%); will-change: width; } :where(.vds-slider .vds-slider-thumb) { position: absolute; top: 50%; left: var(--slider-fill); opacity: 0; contain: layout size style; width: var(--thumb-size); height: var(--thumb-size); border: var(--media-slider-thumb-border, 1px solid #cacaca); border-radius: var(--media-slider-thumb-border-radius, 9999px); background-color: var(--media-slider-thumb-bg, #fff); transform: translate(-50%, -50%) translateZ(0); transition: opacity 0.15s ease-in; pointer-events: none; will-change: left; z-index: 2; } :where( .vds-slider[data-dragging], .vds-slider[data-focus], .vds-slider:focus-visible ) :where(.vds-slider-thumb) { box-shadow: var( --media-slider-focused-thumb-shadow, 0 0 0 4px hsla(0, 0%, 100%, 0.4) ); } :where(.vds-slider[data-active] .vds-slider-thumb) { opacity: 1; transition: var( --media-slider-thumb-transition, opacity 0.2s ease-in, box-shadow 0.2s ease ); } :where(.vds-slider[data-dragging] .vds-slider-thumb) { width: var(--thumb-focus-size); height: var(--thumb-focus-size); } :where(.vds-slider-value) { display: inline-block; contain: content; font-size: 14px; font-family: var(--media-font-family, sans-serif); } :where(.vds-slider-thumbnail) { display: block; contain: content; box-sizing: border-box; } :where(.vds-slider-video) { background-color: #000; box-sizing: border-box; contain: content; display: inline-block; border: var(--media-thumbnail-border, 1px solid #fff); } :where(.vds-slider-video video) { display: block; height: auto; width: 156px; } :where(.vds-slider-video[data-loading]) { opacity: 0; } :where(.vds-slider-video[data-hidden], .vds-slider-video[data-hidden] video) { display: none; width: 0; } :where(.vds-slider .vds-slider-preview) { display: flex; flex-direction: column; align-items: center; opacity: 0; background-color: var(--media-slider-preview-bg); border-radius: var(--media-slider-preview-border-radius, 2px); pointer-events: none; transition: opacity 0.2s ease-out; will-change: left, opacity; contain: layout paint style; } :where(.vds-slider-preview[data-visible]) { opacity: 1; transition: opacity 0.2s ease-in; } .vds-slider-value { background-color: var(--media-slider-value-bg, #000); border-radius: var(--media-slider-value-border-radius, 2px); border: var(--media-slider-value-border); color: var(--media-slider-value-color, #fff); padding: var(--media-slider-value-padding, 1px 10px); } :where( .vds-slider-video:not([data-hidden]) + .vds-slider-chapter-title, .vds-slider-thumbnail:not([data-hidden]) + .vds-slider-chapter-title ) { margin-top: var(--media-slider-chapter-title-gap, 6px); } :where( .vds-slider-video:not([data-hidden]) + .vds-slider-value, .vds-slider-thumbnail:not([data-hidden]) + .vds-slider-value, .vds-slider-chapter-title + .vds-slider-value ) { margin-top: var(--media-slider-value-gap, 2px); } :where(.vds-slider[aria-orientation="vertical"]) { --width: var(--media-slider-width, 48px); --height: var(--media-slider-height, 100%); --track-width: var(--media-slider-track-width, 4px); --track-height: var(--media-slider-track-height, 100%); --track-focus-width: var( --media-slider-focused-track-width, calc(var(--track-width) * 1.25) ); --track-focus-height: var( --media-slider-focused-track-height, var(--track-height) ); margin: calc(var(--thumb-size) / 2) 0; } :where(.vds-slider[aria-orientation="vertical"] .vds-slider-track) { top: unset; bottom: 0; left: 50%; transform: translateX(-50%) translateZ(0); } :where(.vds-slider[aria-orientation="vertical"] .vds-slider-track-fill) { width: var(--track-width); height: var(--slider-fill); will-change: height; transform: translateX(-50%) translateZ(0); } :where(.vds-slider[aria-orientation="vertical"] .vds-slider-progress) { top: unset; bottom: 0; width: var(--track-width); height: var(--slider-progress, 0%); will-change: height; } :where(.vds-slider[aria-orientation="vertical"] .vds-slider-thumb) { top: unset; bottom: var(--slider-fill); left: 50%; will-change: bottom; transform: translate(-50%, 50%) translateZ(0); } :where(.vds-slider[aria-orientation="vertical"] .vds-slider-preview) { will-change: bottom, opacity; } :where([data-live] .vds-time-slider .vds-slider-track-fill) { background-color: var(--media-slider-track-fill-live-bg, #dc2626); } :where(.vds-time-slider .vds-slider-progress) { z-index: 1; left: 0; width: var(--slider-progress, 0%); will-change: width; background-color: var( --media-slider-track-progress-bg, rgb(255 255 255 / 0.5) ); } :where( [data-media-player]:not([data-can-play]) .vds-time-slider .vds-slider-value ) { display: none; } :where(.vds-slider-steps) { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 100%; position: absolute; top: 0; left: 0; } :where(.vds-slider-step) { width: var(--media-slider-step-width, 2.5px); height: calc(var(--track-height) + 1px); background-color: var(--media-slider-step-color, #7c7c7c); opacity: 0; transition: opacity 0.3s ease; } :where(.vds-slider[data-active] .vds-slider-step) { opacity: 1; } :where(.vds-time-slider .vds-slider-chapters) { position: relative; display: flex; align-items: center; width: 100%; height: 100%; contain: layout style; border-radius: var(--media-slider-track-border-radius, 1px); } :where(.vds-slider[data-focus], .vds-slider:focus-visible) :where(.vds-slider-chapters) { box-shadow: var(--media-focus-ring); height: var(--track-height); } :where(.vds-time-slider .vds-slider-chapter) { margin-right: 2px; } :where(.vds-time-slider .vds-slider-chapter:last-child) { margin-right: 0; } :where(.vds-time-slider .vds-slider-chapter) { position: relative; display: flex; align-items: center; width: 100%; height: 100%; will-change: height, transform; contain: layout style; border-radius: var(--media-slider-track-border-radius, 1px); } :where(.vds-time-slider .vds-slider-chapter .vds-slider-track-fill) { width: var(--chapter-fill, 0%); will-change: width; } :where(.vds-time-slider .vds-slider-chapter .vds-slider-progress) { width: var(--chapter-progress, 0%); will-change: width; } @media (hover: hover) and (pointer: fine) { :where(.vds-time-slider:hover .vds-slider-chapters) { contain: strict; } :where(.vds-time-slider .vds-slider-chapter:hover:not(:only-of-type)) { transform: var(--media-slider-chapter-hover-transform, scaleY(2)); transition: var( --media-slider-chapter-hover-transition, transform 0.1s cubic-bezier(0.4, 0, 1, 1) ); } } :where(.vds-time-slider .vds-slider-chapter-title) { font-family: var(--media-font-family, sans-serif); font-size: var(--media-slider-chapter-title-font-size, 14px); color: var(--media-slider-chapter-title-color, #f5f5f5); background-color: var(--media-slider-chapter-title-bg); } :where(.vds-thumbnail) { --min-width: var(--media-thumbnail-min-width, 140px); --max-width: var(--media-thumbnail-max-width, 180px); --aspect-ratio: var( --media-thumbnail-aspect-ratio, var(--thumbnail-aspect-ratio) ); display: block; width: var(--thumbnail-width); height: var(--thumbnail-height); background-color: var(--media-thumbnail-bg, #000); contain: strict; overflow: hidden; box-sizing: border-box; min-width: var(--min-width); min-height: var( --media-thumbnail-min-height, calc(var(--min-width) / var(--aspect-ratio)) ); max-width: var(--max-width); max-height: var( --media-thumbnail-max-height, calc(var(--max-width) / var(--aspect-ratio)) ); } .vds-thumbnail { border: var(--media-thumbnail-border, 1px solid #fff); } :where(.vds-thumbnail img) { min-width: unset !important; max-width: unset !important; will-change: width, height, transform; } :where(.vds-thumbnail[data-loading] img) { opacity: 0; } :where(.vds-thumbnail[aria-hidden="true"]) { display: none !important; } :where(.vds-time-group) { display: flex; align-items: center; position: absolute; bottom: 90%; /* default for desktop */ } :where(.vds-time-group .vds-time) { font-family: 'Segoe UI', 'Helvetica Neue', sans-serif !important; font-weight: 800 !important; font-size: 15px !important; letter-spacing: 0.2px; line-height: 1.2; bottom: 90%; /* default for desktop */ } /* Mobile override */ @media (max-width: 768px) { :where(.vds-time-group) { bottom: -40%; } } /* .vds-time-divider { margin: 0 var(--media-time-divider-gap, 2.5px); color: var(--media-time-divider-color, #e0e0e0); } */ .vds-time-divider { color: transparent !important; display: inline-block; } :where(.vds-time) { display: inline-block; contain: content; font-size: var(--media-time-font-size, 15px); font-weight: var(--media-time-font-weight, 400); font-family: var(--media-font-family, sans-serif); border-radius: var(--media-time-border-radius, 2px); letter-spacing: var(--media-time-letter-spacing, 0.025em); } .vds-time { outline: 0; color: var(--media-time-color, var(--default-color)); background-color: var(--media-time-bg); border: var(--media-time-border); padding: var(--media-time-padding, 2px); } :where(.vds-time:focus-visible) { box-shadow: var(--media-focus-ring); } .light .vds-time { --default-color: rgb(10 10 10); } .dark .vds-time { --default-color: #f5f5f5; } :where(.vds-tooltip, media-tooltip) { display: contents; } :where(.vds-tooltip-content) { display: inline-block; box-sizing: border-box; font-family: var(--media-font-family, sans-serif); font-size: var(--media-tooltip-font-size, 13px); font-weight: var(--media-tooltip-font-weight, 500); opacity: 0; pointer-events: none; white-space: nowrap; z-index: 10; will-change: transform, opacity; } .vds-tooltip-content { border-radius: var(--media-tooltip-border-radius, 2px); background-color: var(--media-tooltip-bg-color, var(--default-bg)); border: var(--media-tooltip-border, var(--default-border)); color: var(--media-tooltip-color, var(--default-color)); padding: var(--media-tooltip-padding, 2px 8px); } .light .vds-tooltip-content { --default-color: #1a1a1a; --default-bg: white; --default-border: 1px solid rgb(0 0 0 / 0.2); } .dark .vds-tooltip-content { --default-color: #f5f5f5; --default-bg: black; --default-border: 1px solid rgb(255 255 255 / 0.1); } :where( .vds-menu .vds-menu-button[role="button"][data-pressed] .vds-tooltip-content ) { opacity: 0; display: none; } :where(.vds-tooltip-content) { --enter-transform: translateY(0) scale(1); --exit-transform: translateY(12px) scale(0.8); } :where(.vds-tooltip-content:not([data-visible])) { animation: var( --media-tooltip-exit-animation, vds-tooltip-exit 0.2s ease-out ); } :where(.vds-tooltip-content[data-visible]) { animation: var( --media-tooltip-enter-animation, vds-tooltip-enter 0.2s ease-in ); animation-fill-mode: forwards; } :where(.vds-tooltip-content[data-placement~="bottom"]) { --enter-transform: translateY(0) scale(1); --exit-transform: translateY(-12px) scale(0.8); } :where(.vds-tooltip-content[data-placement~="left"]) { --enter-transform: translateX(0) scale(1); --exit-transform: translateX(12px) scale(0.8); } :where(.vds-tooltip-content[data-placement~="right"]) { --enter-transform: translateX(0) scale(1); --exit-transform: translateX(-12px) scale(0.8); } @keyframes vds-tooltip-enter { from { opacity: 0; transform: var(--exit-transform); } to { opacity: 1; transform: var(--enter-transform); } } @keyframes vds-tooltip-exit { from { opacity: 1; transform: var(--enter-transform); } to { opacity: 0; transform: var(--exit-transform); } } @media (prefers-reduced-motion) { :where(.vds-tooltip-content) { animation: none; } :where(.vds-tooltip-content[data-visible]) { opacity: 1; } } [data-media-player]:not([data-captions]) .vds-cc-on-tooltip-text, [data-media-player]:not([data-fullscreen]) .vds-fs-exit-tooltip-text, [data-media-player]:not([data-muted]) .vds-mute-tooltip-text, [data-media-player]:not([data-paused]) .vds-play-tooltip-text, [data-media-player]:not([data-pip]) .vds-pip-exit-tooltip-text, [data-media-player][data-captions] .vds-cc-off-tooltip-text, [data-media-player][data-fullscreen] .vds-fs-enter-tooltip-text, [data-media-player][data-muted] .vds-unmute-tooltip-text, [data-media-player][data-paused] .vds-pause-tooltip-text, [data-media-player][data-pip] .vds-pip-enter-tooltip-text { display: none; }