/* Small additions on top of Bootstrap. */

.dropzone {
    display: block;
    border: 2px dashed var(--bs-border-color);
    border-radius: 1rem;
    padding: 2.75rem 1.25rem;
    text-align: center;
    color: var(--bs-secondary-color);
    cursor: pointer;
    background: var(--bs-body-bg);
    transition: border-color .12s, background .12s, transform .06s;
    -webkit-tap-highlight-color: transparent;
}
.dropzone:hover, .dropzone:focus-within { border-color: var(--bs-primary); }
.dropzone:active { transform: scale(.995); }
.dropzone.over { border-color: var(--bs-primary); border-style: solid; background: var(--bs-primary-bg-subtle); color: var(--bs-body-color); }
.dropzone input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone .up-icon {
    width: 46px; height: 46px; margin: 0 auto .75rem; color: var(--bs-primary);
    display: flex; align-items: center; justify-content: center;
    background: var(--bs-primary-bg-subtle); border-radius: 50%;
}
.dropzone .up-title { font-size: 1.15rem; font-weight: 600; color: var(--bs-body-color); }

.thumb-16x9 {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #000;
    width: 100%;
}

/* Lightbox for previewing your own uploads. */
.bx-lightbox {
    position: fixed; inset: 0; z-index: 1080;
    background: rgba(0, 0, 0, .9);
    display: flex; align-items: center; justify-content: center;
    padding: 1rem;
}
.bx-lightbox video, .bx-lightbox img {
    max-width: 96vw; max-height: 92vh; border-radius: .4rem; background: #000;
}
.bx-close {
    position: absolute; top: .4rem; right: .7rem;
    width: 2.5rem; height: 2.5rem; line-height: 1;
    font-size: 2rem; color: #fff; background: rgba(0, 0, 0, .4);
    border: 0; border-radius: 50%; cursor: pointer;
}
.mine-item { cursor: pointer; }
.mine-item .del-mine { cursor: default; }

/* Share page — dark, video-first. */
.share-page {
    background: #101114;
    color: #e9e9ea;
    min-height: 100vh;
}
.share-page a { color: #8ab4ff; }
.share-page video, .share-page img.share-media {
    width: 100%;
    max-height: 82vh;
    background: #000;
    border-radius: .5rem;
}
