.studio5-gallery { margin: 0 auto 2rem; }
.studio5-gallery .studio5-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; list-style: none; margin: 0; padding: 0; }
.studio5-card { margin: 0; min-width: 0; }
.studio5-watch { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; background: #161616; color: #fff; }
.studio5-watch img { display: block; width: 100%; height: 100%; object-fit: cover; }
.studio5-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .6rem; padding: 1rem; background: rgba(22,22,22,.65); color: #fff; text-align: center; opacity: 0; transition: opacity .2s; }
.studio5-watch:hover .studio5-overlay, .studio5-watch:focus .studio5-overlay { opacity: 1; }
.studio5-play { font-size: 24px; line-height: 1; }
.studio5-title { font-weight: 600; line-height: 1.4; font-size: 1rem; }
.studio5-watch:focus-visible, .studio5-more:focus-visible, .studio5-close:focus-visible { outline: 3px solid #90278e; outline-offset: 4px; }
.studio5-more { display: table; margin: 1.8rem auto .5rem; padding: .7rem 1.5rem; border: 1px solid currentColor; font-weight: 600; }
.studio5-sentinel { height: 1px; }
.studio5-more[aria-disabled="true"] { opacity: .6; cursor: wait; }
.studio5-more[hidden] { display: none; }
.studio5-status, .studio5-playlist { text-align: center; margin: .75rem 0; }
.studio5-gallery .studio5-dialog { box-sizing: border-box; width: min(1000px,94vw); max-width: 94vw; padding: 1rem; border: 0; background: #161616; color: #fff; }
.studio5-dialog:not([open]) { display: none; }
.studio5-dialog::backdrop { background: rgba(0,0,0,.85); }
.studio5-dialog .studio5-close { position: absolute; top: .5rem; right: .5rem; display: grid; place-items: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; color: #ddd; font: 400 2rem/1 Arial,sans-serif; text-shadow: none; cursor: pointer; }
.studio5-dialog .studio5-close:hover, .studio5-dialog .studio5-close:focus-visible { background: rgba(255,255,255,.08); color: #fff; }
.studio5-dialog .studio5-close:focus-visible { outline: 2px solid #aaa; outline-offset: 2px; }
.studio5-dialog-title { color: #fff; font-size: 1rem; min-height: 44px; margin: 0 0 .75rem; padding-right: 44px; }
.studio5-player { aspect-ratio: 16/9; }
.studio5-player iframe { width: 100%; height: 100%; display: block; border: 0; }
.studio5-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width:1200px) { .studio5-gallery .studio5-cards { gap:20px; } }
@media (max-width:980px) { .studio5-gallery .studio5-cards { gap:15px; } .studio5-title { font-size:.9rem; } }
@media (max-width:768px) { .studio5-gallery .studio5-cards { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } }
@media (max-width:480px) { .studio5-gallery .studio5-cards { grid-template-columns:minmax(0,1fr); gap:40px; } }
@media (hover:none) { .studio5-overlay { opacity:1; background:linear-gradient(transparent,rgba(0,0,0,.85)); justify-content:flex-end; } }
@media (prefers-reduced-motion:reduce) { .studio5-overlay { transition:none; } }
