.youtube-video-modal.modal{align-items:center;padding:24px;background:rgba(var(--color-shadow-rgb),.88)}.youtube-video-modal.modal .modal__contents{top:auto;width:min(960px,100vw - 48px);max-width:none;max-height:none;border-radius:18px;box-shadow:0 24px 80px rgba(var(--color-shadow-rgb),.45)}.youtube-video-modal.modal .modal__contents,.youtube-video-modal__content{position:relative;background:rgb(var(--color-shadow-rgb))}.youtube-video-modal__frame-wrap{width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:18px;background:rgb(var(--color-shadow-rgb))}.youtube-video-modal__frame{display:block;width:100%;height:100%;border:0;background:rgb(var(--color-shadow-rgb))}.youtube-video-modal__close{position:absolute;top:16px;right:16px;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:0;border-radius:999px;background:rgba(15,15,15,.72);color:var(--color-static-white);cursor:pointer;transition:background .12s ease,transform .12s ease}:where(.color-theme-scope--theme-dark) .youtube-video-modal__close,:where(:root:has(.color-theme-marker--preference-dark)) .youtube-video-modal__close{background:rgba(var(--color-shadow-rgb),.72)}@media(prefers-color-scheme:dark){:where(:root:has(.color-theme-marker--preference-system)) .youtube-video-modal__close{background:rgba(var(--color-shadow-rgb),.72)}}.youtube-video-modal__close svg{color:inherit}.youtube-video-modal__close:hover{background:rgba(26,26,26,.9);transform:scale(1.03)}.youtube-video-modal__close:focus-visible{outline:2px solid rgba(var(--color-static-white-rgb),.9);outline-offset:3px}@media(max-width:600px){.youtube-video-modal.modal{padding:12px}.youtube-video-modal.modal .modal__contents{width:calc(100vw - 24px);max-width:none;border-radius:18px}.youtube-video-modal__frame-wrap{border-radius:18px}.youtube-video-modal__close{top:12px;right:12px;width:36px;height:36px}}