@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body
{
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif
}

h1:focus
{
    outline: none
}

a, .btn-link
{
    color: #0071c1
}

input[type="range"]
{
    -webkit-appearance: none;
    margin-left: 20px;
    border-radius: 15px;
    width: 100px;
    height: 6px;
    background: #11101d;
    cursor: pointer
}

    input[type="range"]::-webkit-slider-thumb
    {
        -webkit-appearance: none;
        height: 14px;
        width: 14px;
        border-radius: 50%;
        outline: none;
        border: none;
        background: #2f3a4b
    }

.preview-wrap
{
    top: 87%;
    left: 7%;
    position: absolute;
    width: 310px;
    height: 40px;
    background-color: #7b8494;
    display: flex;
    align-items: center;
    margin: auto;
    border-radius: 6px;
    justify-content: space-between
}

.preview-text
{
    font-size: 12px;
    width: 280px;
    padding-left: 15px;
    color: #fff;
    text-overflow: ellipsis;
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    font-weight: bold
}

.btn-top
{
    width: 20px;
    height: 20px;
    outline: none;
    border: none;
    margin-right: 10px;
    background-image: url(../images/bottom_arrow.png);
    background-color: transparent;
    cursor: pointer
}

.btn-primary
{
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac
}

.content
{
    padding-top: 1.1rem
}

.valid.modified:not([type=checkbox])
{
    outline: 1px solid #26b050
}

.invalid
{
    outline: 1px solid red
}

.validation-message
{
    color: red
}

.form-group
{
    margin-bottom: 1rem
}

#blazor-error-ui
{
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000
}

    #blazor-error-ui .dismiss
    {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem
    }

#loader
{
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite
}

.blazor-error-boundary
{
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white
}

    .blazor-error-boundary::after
    {
        content: "An error has occurred."
    }

.cursor
{
    width: 10px;
    height: 10px;
    background-color: transparent;
    bottom: 0;
    right: 0;
    position: absolute;
    border-radius: 0 0 10px 0;
    cursor: n-resize
}

.doll-number
{
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    width: 60px;
    height: 26px;
    background-color: #05163d;
    color: #fff
}

.message
{
    text-overflow: ellipsis;
    word-break: break-all;
    white-space: nowrap;
    max-width: 1200px;
    overflow: hidden;
    font-size: 14px;
    font-weight: bold;
    margin: 2px 0 0 10px
}

.message-time
{
    font-size: 10px;
    margin-top: 4px;
    margin-left: 9px
}

.dangerous-words
{
    color: crimson
}

.live-container
{
    position: relative;
    background: #1b2433;
    border-radius: 5px;
    width: 190px;
    height: 84px;
    align-items: center;
    box-shadow: 1px 5px 10px -12px #6d6d6d;
    color: #fff;
    font-weight: 700;
    margin: -13px 0 0 -3px
}

    .live-container:after
    {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 0;
        border: 10px solid transparent;
        border-top-color: #1b2433;
        border-bottom: 0;
        margin-left: -10px;
        margin-bottom: -10px;
    }

.live-title
{
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.doll-name
{
    display: block;
    padding-top: 3px;
    padding-left: 15px;
    font-size: 12px;
    font-weight: bold;
}

.dummy-wrap
{
    width: 20px;
    height: 20px;
    margin-right: 15px;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
}

.dummy
{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgb(20, 214, 20);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    --set-after-color: rgb(114, 202, 114);
    --set-before-color: rgb(20, 214, 20)
}

    .dummy:before
    {
        content: '';
        position: absolute;
        background: var(--set-before-color);
        width: 8px;
        height: 8px;
        border-radius: 50%;
        animation: wave 1.2s infinite linear;
    }

    .dummy:after
    {
        content: '';
        position: absolute;
        background: var(--set-after-color);
        width: 6px;
        height: 6px;
        margin-left: 1px;
        margin-top: 1px;
        border-radius: 50%;
        animation: wave 1.2s infinite linear;
    }

.live-chat
{
    width: 160px;
    height: 28px;
    background-color: #263042;
    margin: auto;
    margin-top: 8px;
    border-radius: 3px;
    display: flex;
    align-items: center;
}

.icon-wrap
{
    width: 10px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
}

.live-icon
{
    width: 6px;
    height: 6px;
    background: rgb(20, 214, 20);
    border-radius: 50%;
}

.live-text
{
    width: 158px;
    font-size: 10px;
    font-weight: 400;
    text-overflow: ellipsis;
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    padding-left: 4px;
    padding-top: 3px;
}

.reaction-contents
{
    animation-name: start;
    animation-duration: .5s;
    animation-fill-mode: forwards;
    position: absolute;
    width: 150px;
    height: 20px;
    color: #ffd700;
    font-weight: 900;
    font-size: 25px;
    font-style: oblique;
    font-family: 'Black Han Sans', sans-serif;
    display: flex;
    align-items: center;
    justify-content: end;
    text-shadow: 1px 0 #000, 0 3px #000, 3px 3px #000, 3px 3px #000;
    z-index: 10;
    top: 50%;
    left: 50%;
    margin-top: .5rem;
    --set-before-content: 'Combo';
    --set-after-content: 'Critical'
}

    .reaction-contents::before
    {
        animation-name: middle;
        animation-duration: .2s;
        animation-delay: .3s;
        animation-fill-mode: forwards;
        position: absolute;
        opacity: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        content: var(--set-before-content)
    }

    .reaction-contents::after
    {
        animation-name: end;
        animation-duration: .2s;
        animation-delay: .5s;
        animation-fill-mode: forwards;
        position: absolute;
        opacity: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        content: var(--set-after-content)
    }

@keyframes start
{
    0%
    {
        transform: none rotate(0deg);
        opacity: 0;
    }

    20%
    {
        transform: scale(2) rotate(3deg);
    }

    40%
    {
        transform: scale(1.2) rotate(-3deg);
    }

    60%
    {
        transform: scale(2) rotate(3deg);
    }

    80%
    {
        transform: scale(1.2) rotate(-3deg);
    }

    100%
    {
        transform: none rotate(3deg);
    }
}

@keyframes middle
{
    0%
    {
        transform: translateY(0);
        opacity: 0;
    }

    30%
    {
        transform: translateY(-25px) scale(1.7) rotate(-3deg);
    }

    70%
    {
        transform: translateY(-25px) scale(1.7) rotate(3deg);
        filter: blur(1px);
    }

    100%
    {
        transform: translateY(-25px) scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes end
{
    0%
    {
        transform: translateY(0);
        opacity: 0;
    }

    30%
    {
        transform: translateY(-50px) scale(1.7) rotate(3deg);
    }

    70%
    {
        transform: translateY(-50px) scale(1.7) rotate(-3deg);
        filter: blur(1px);
    }

    100%
    {
        transform: translateY(-50px) scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes wave
{
    0%
    {
        transform: scale(0.1);
        opacity: 1;
    }

    100%
    {
        transform: scale(3.5);
        opacity: 0;
    }
}

@-webkit-keyframes spin
{
    0%
    {
        -webkit-transform: rotate(0deg)
    }

    100%
    {
        -webkit-transform: rotate(360deg)
    }
}

@keyframes spin
{
    0%
    {
        transform: rotate(0deg)
    }

    100%
    {
        transform: rotate(360deg)
    }
}
