:root {
    --primary: #b2bd8d;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    width: 100%;
    height: 100%;
    background: #111;
}

body {
    overflow: hidden;
    font-family: "Vazirmatn", Tahoma, sans-serif;
}

.player-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
}

.player-wrap video {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background: #111;
}

.player-wrap.is-audio {
    padding: 1.5rem;
}

.player-wrap audio {
    width: min(100%, 640px);
    height: 54px;
    display: block;
}

.player-wrap .converting-msg {
    padding: 2rem;
    text-align: center;
    color: #999;
    font-size: 1rem;
}

.player-wrap .converting-msg a {
    color: var(--primary);
    text-decoration: none;
}

.player-wrap .converting-msg a:hover {
    text-decoration: underline;
}

.vme-watermark {
    position: absolute;
    transform: translate(-50%, -50%);
    padding: 4px 10px;
    background: rgba(0, 0, 0, .4);
    color: #ffeb3b;
    font-size: 14px;
    font-family: monospace;
    pointer-events: none;
    z-index: 10;
    border-radius: 4px;
    opacity: .7;
}