button.maccoffee-video-preview { display:block; width:100%; padding:0; border:0; background:transparent; cursor:pointer; }
button.maccoffee-video-preview img { display:block; width:100%; height:auto; }
button.maccoffee-video-preview:focus-visible { outline:3px solid #c9232b; outline-offset:5px; }
.maccoffee-video-dialog { width:min(1100px,94vw); max-width:94vw; max-height:92vh; padding:60px 16px 16px; border:0; background:#111; color:#fff; overflow:auto; }
.maccoffee-video-dialog::backdrop { background:rgba(0,0,0,.88); }
.maccoffee-video-dialog video { display:block; width:100%; max-height:76vh; background:#000; object-fit:contain; }
.maccoffee-video-close { position:absolute; top:8px; right:8px; width:44px; height:44px; padding:0; border:0; border-radius:4px; background:transparent; color:#fff; cursor:pointer; touch-action:manipulation; }
.maccoffee-video-close::before, .maccoffee-video-close::after { content:""; position:absolute; top:21px; left:12px; width:20px; height:2px; border-radius:1px; background:currentColor; transform:rotate(45deg); }
.maccoffee-video-close::after { transform:rotate(-45deg); }
.maccoffee-video-close:focus-visible { outline:3px solid #fff; outline-offset:-3px; }
@media(max-width:600px) { .maccoffee-video-dialog { width:96vw; max-width:96vw; padding:60px 8px 8px; } }
.maccoffee-video-dialog { overscroll-behavior:contain; color-scheme:dark; }
.maccoffee-video-dialog video:focus-visible { outline:2px solid #fff; outline-offset:2px; }
.maccoffee-video-close:hover { background:#333; }
.maccoffee-video-preview { touch-action:manipulation; }
.maccoffee-video-preview::before { transition:width .2s,height .2s,top .2s,left .2s; }
@media(prefers-reduced-motion:reduce) { .maccoffee-video-preview::before { transition:none; } }

.maccoffee-video-dialog [hidden] { display:none; }
.maccoffee-video-dialog iframe { display:block; width:100%; aspect-ratio:16/9; border:0; background:#000; }
.maccoffee-video-dialog > a { display:inline-block; margin-top:12px; color:#fff; text-decoration:underline; text-underline-offset:3px; }
.maccoffee-video-dialog > a:focus-visible { outline:2px solid #fff; outline-offset:3px; }

button.maccoffee-about-video { padding:0; border:0; touch-action:manipulation; }
button.maccoffee-about-video:focus-visible { outline:3px solid #c9232b; outline-offset:-3px; }

.maccoffee-video-dialog iframe { max-height:70vh; }

/* Keep the active coverflow card in front of its wrapper for pointer hit-testing. */
.aboutSliderWrapper .swiper-slide-active { transform:translate3d(0,0,1px) !important; }

/* The coverflow dimmer is decorative: do not intercept video buttons or swipes. */
.aboutSliderWrapper .backSlideWrapper { pointer-events:none; }
