.hover-trailer{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;opacity:0;z-index:2;transition:opacity .18s ease}.hover-trailer.ready{opacity:1}.trailer-upload{padding:14px 0;max-width:100%}.trailer-upload label{display:grid;gap:10px}.trailer-upload input{max-width:100%}.trailer-upload p{font-size:13px;line-height:1.4}

.trailer-player{position:fixed;inset:0;box-sizing:border-box;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#000;color:#fff;overflow:hidden}
.trailer-player[open]{display:flex;flex-direction:column}
.trailer-player::backdrop{background:#000}
.trailer-player header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;margin:0;padding:14px max(20px,env(safe-area-inset-right)) 14px max(20px,env(safe-area-inset-left));padding-top:max(14px,env(safe-area-inset-top));background:#101112}
.trailer-player h2{font-size:clamp(16px,2vw,23px);line-height:1.3;margin:0;min-width:0;overflow-wrap:anywhere}
.trailer-window-controls{display:flex;gap:10px;flex:none}
.trailer-window-controls button{min-height:44px}
.trailer-stage{position:relative;flex:1;min-height:0;width:100%;background:#000}
.trailer-player .trailer-stage video,.trailer-player .trailer-stage iframe{display:block;width:100%;height:100%;max-height:none;min-height:0;border:0;object-fit:contain;background:#000}
.trailer-player .trailer-status{flex:none;margin:0;padding:10px 20px max(10px,env(safe-area-inset-bottom));font-size:14px;background:#101112}
.trailer-player .trailer-status:empty{display:none}
.trailer-player:fullscreen{width:100%;height:100%;background:#000}
.watch-supplied-trailer[hidden]{display:none!important}
.hosted-hover{border:0;z-index:6}
@media(max-width:600px){.trailer-player header{gap:8px;padding-left:12px;padding-right:12px}.trailer-window-controls{gap:6px}.trailer-window-controls button{padding:8px 10px;font-size:13px}.trailer-player h2{font-size:15px}}

.trailer-sound-toggle{position:fixed;z-index:90;display:grid;place-items:center;width:36px;height:36px;padding:7px;border:1px solid #ffffff80;border-radius:50%;background:#121212d9;color:#fff;cursor:pointer;box-shadow:0 2px 8px #0008}
.trailer-sound-toggle:hover{background:#303030}.trailer-sound-toggle:focus-visible{outline:3px solid #e2c98b;outline-offset:3px}
.trailer-sound-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
