/**
 * Yansir Markdown 前端样式
 * 注意：保持低优先级，方便主题覆盖
 */

/* YouTube 容器 */
.yansir-yt-wrapper {
    position: relative;
    margin: 1.5em 0;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

/* 横屏视频 (16:9) */
.yansir-yt-video {
    width: 640px;
    max-width: 100%;
    aspect-ratio: 16 / 9;
}

/* 竖屏 Shorts (9:16) */
.yansir-yt-shorts {
    width: 320px;
    height: 569px;
    max-width: 100%;
}

/* iframe */
.yansir-yt-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
