html {
    height: 100%;
    width: 100%;
    touch-action: none;
}

body {
    position: relative;
    width: 100%;
    max-height: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif
}

.uploader {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    line-height: 100vh;
    text-align: center;
    font-size: 36px;
    font-family: monospace;
    user-select: none;
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.8);
}

.uploader.active {
    display: block;
}

.button {
    display: inline-block;
    line-height: 64px;
    width: 128px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
    cursor: pointer;
    user-select: none;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.button:hover {
    color: #000;
    background-color: #fff;
}

.button.tryOn {
    position: fixed;
    bottom: 10vh;
    left: calc(50% - 64px);
}
.button.tryOn.unavailable {
    cursor: default;
    padding-bottom: 16px;
}
.button.tryOn.unavailable:hover {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.8);
}
.button.tryOn.requesting {
    opacity: 0.5;
}

.button.tryOn > span {
    display: none;
    position: absolute;
    width: 128px;
    bottom: 16px;
    left: calc(50% - 64px);
    line-height: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}
.button.tryOn.unavailable > span {
    display: block;
}
.button.tryOn:hover > span {
    color: #f00;
}