.ypp-wrap{--ypp-surface:var(--ypp-bg,#111);--ypp-foreground:var(--ypp-text,#fff);width:100%;color:var(--ypp-foreground);background:var(--ypp-surface);border-radius:var(--ypp-radius,10px);overflow:visible;isolation:isolate}
.ypp-wrap[data-theme="light"]{--ypp-surface:#fff;--ypp-foreground:#20242b}
@media(prefers-color-scheme:light){.ypp-wrap[data-theme="auto"]{--ypp-surface:#fff;--ypp-foreground:#20242b}}
@media(prefers-color-scheme:dark){.ypp-wrap[data-theme="auto"]{--ypp-surface:#111;--ypp-foreground:#f5f5f5}}
.ypp-player{position:relative;width:100%;aspect-ratio:16/9;background:#000;border-radius:var(--ypp-player-radius,var(--ypp-radius,10px));overflow:hidden}
.ypp-sticky-enabled .ypp-player{position:sticky;top:16px;z-index:20;box-shadow:0 5px 22px rgba(0,0,0,.22)}
.ypp-player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.ypp-gallery{display:grid;grid-template-columns:repeat(var(--ypp-cols,3),minmax(0,1fr));gap:14px;padding:16px}
.ypp-video{display:block;min-width:0;padding:0;border:0;background:transparent;color:inherit;text-align:inherit;cursor:pointer;font:inherit}
.ypp-thumb{position:relative;display:block;overflow:hidden;aspect-ratio:16/9;border-radius:calc(var(--ypp-radius,10px)*.7);background:#222}
.ypp-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.ypp-video:hover .ypp-thumb img{transform:scale(1.04)}
.ypp-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--ypp-accent,#d9232e);color:#fff;font-size:17px;padding-left:3px;box-shadow:0 2px 12px #0008}
.ypp-video-title{display:block;padding-top:8px;font-size:14px;line-height:1.45;font-weight:600}
.ypp-video:focus-visible{outline:3px solid var(--ypp-accent,#d9232e);outline-offset:3px;border-radius:5px}
.ypp-video.is-active .ypp-thumb{outline:3px solid var(--ypp-accent,#d9232e);outline-offset:2px}
.ypp-notice{padding:14px;margin:0;font-size:14px;opacity:.85}
@media(max-width:767px){.ypp-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}.ypp-video-title{font-size:13px}}
@media(max-width:420px){.ypp-gallery{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.ypp-thumb img{transition:none}}
