.qwytg-gallery{width:100%;min-width:0;font-family:inherit;--qwytg-gap:16px;box-sizing:border-box}
.qwytg-gallery *{box-sizing:border-box}
.qwytg-player{position:relative;aspect-ratio:16/9;background:#111;border-radius:12px;overflow:hidden;min-width:0}
.qwytg-player iframe{display:block;width:100%;height:100%;border:0}
.qwytg-start{display:block;width:100%;height:100%;border:0;background:#111;cursor:pointer;position:relative;padding:0}
.qwytg-start img{display:block;width:100%;height:100%;object-fit:cover}
.qwytg-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#e21b2f;color:white;border-radius:12px;padding:12px 22px;font-size:28px;line-height:1.1}
.qwytg-grid{min-width:0;min-height:0;scrollbar-width:thin;scrollbar-color:#aaa transparent;overscroll-behavior:contain}
.qwytg-tile{display:flex;gap:10px;min-width:0;width:100%;border:0;background:transparent;padding:5px;text-align:left;cursor:pointer;color:inherit;font:inherit;border-radius:8px;align-items:center}
.qwytg-thumb{display:block;flex:0 0 42%;position:relative;aspect-ratio:16/9;background:#222;border-radius:8px;overflow:hidden}
.qwytg-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.qwytg-smallplay{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#e21b2f;color:#fff;border-radius:6px;padding:3px 7px;font-size:12px;line-height:1.2}
.qwytg-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-weight:600;line-height:1.4;font-size:14px;min-width:0}
.qwytg-tile:hover,.qwytg-tile:focus-visible,.qwytg-tile[aria-pressed=true]{background:rgba(128,128,128,.14);outline-offset:1px}
.qwytg-layout-side{display:grid;grid-template-columns:minmax(0,2fr) minmax(220px,1fr);gap:var(--qwytg-gap);align-items:stretch}
.qwytg-layout-side .qwytg-grid{height:100%;max-height:100%;overflow-y:auto;display:flex;flex-direction:column;gap:6px;align-self:stretch;min-height:0}
.qwytg-layout-side .qwytg-player{align-self:start}
.qwytg-layout-side .qwytg-grid{height:0;min-height:100%;max-height:100%}
.qwytg-layout-bottom .qwytg-grid{display:flex;overflow-x:auto;overflow-y:hidden;gap:12px;padding:12px 2px 8px;scroll-snap-type:x proximity}
.qwytg-layout-bottom .qwytg-tile{flex:0 0 clamp(170px,24%,260px);flex-direction:column;align-items:stretch;scroll-snap-align:start}
.qwytg-layout-bottom .qwytg-thumb{flex:auto;width:100%}
.qwytg-layout-bottom .qwytg-title{font-size:13px}
@media(max-width:780px){.qwytg-layout-side{display:block}.qwytg-layout-side .qwytg-grid{height:auto;min-height:0;max-height:none;display:flex;flex-direction:row;overflow-x:auto;overflow-y:hidden;padding:12px 2px 8px}.qwytg-layout-side .qwytg-tile{flex:0 0 190px;flex-direction:column;align-items:stretch}.qwytg-layout-side .qwytg-thumb{width:100%;flex:auto}.qwytg-layout-bottom .qwytg-tile{flex-basis:190px}}
