:root {
    --button-placeholder-size: 28px;
}

body {
    user-select: none !important;
    color: #fff;
    font-family: sans-serif;
    margin: 0;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #000000;
}

.user {
    transform: translate(-50%, -50%);
    width: 170px;
    padding-bottom: 175px;
    font-size: 12px
}

.block-item,
.btn {
    pointer-events: auto !important;
    transition: 0.5s;
}

.main-btn {
    border: 0px solid;
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 20px;
}

.card {
    background: transparent;
    border: 0px;
    border-radius: 10px 10px 10px 10px;
    color: #fff;
}

.card-body {
    padding: 10px;
}

.user-name-tag {
    font-weight: bold;
    display: none;
}

.user-card {
    background: rgba(255, 255, 255, 0.2);
    background: linear-gradient(328deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 58%, rgba(255, 255, 255, 0.3) 100%);
    outline: 1px solid #ffffff4a;
    backdrop-filter: blur(10px);
}

.user-level-tag {
    text-align: center;
    font-weight: bold;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 100%;
    color: #fff;
    z-index: 999;
    position: relative;
    font-size: 1.2rem;
    outline: 1px solid #ffffff4a;
    margin-right: 1rem;
}

.progress-bar {
    height: 8px;
    overflow: hidden;
    margin-bottom: 5px;
    background-color: rgba(255, 255, 255, 0.2);
}

.progress-bar.big {
    height: 5px;
}

.current-progress {
    position: relative;
    height: 100%;
    transition: 0.25s;
}

.mt-less-4px {
    margin-top: -4px;
}

.icon-area {
    width: 15px;
    text-align: center;
    font-size: 13px;
}

.attack-button {
    width: 60px;
    height: 60px;
    /* box-shadow: 0px 5px 0px rgb(0,0,0,0.5), inset 0px 2px 0px rgba(255,255,255,0.3); */
    border-radius: 100%;
    text-align: center;
    line-height: 60px;
    display: inline-block;
    overflow: hidden;
    font-size: 25px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.2);
    background: linear-gradient(328deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 58%, rgba(255, 255, 255, 0.3) 100%);
    outline: 1px solid #ffffff4a;
    backdrop-filter: blur(10px);
}

.attack-button.inactive {
    background: rgba(255, 255, 255, 0.2) !important;
}


.attack-button.small {
    width: 30px;
    height: 30px;
    line-height: 30px;
}

.attack-button.large {
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 30px;
}

.control-button {
    display: inline-block;
    width: var(--button-placeholder-size);
    height: var(--button-placeholder-size);
    background-color: #b4b4b4;
    text-align: center;
    border-radius: 100%;
    line-height: var(--button-placeholder-size);
    font-weight: bold;
    color: #444;
    box-shadow: 0px 5px 0px #777777, inset 0px 2px 0px rgba(255, 255, 255, 0.6);
    background: rgb(241, 241, 241);
    background: linear-gradient(180deg, rgba(241, 241, 241, 1) 0%, rgba(230, 230, 230, 1) 100%);
    position: absolute;
    margin-top: calc((var(--button-placeholder-size) / 2) * -1);
    z-index: 1;
    outline: 2px solid #777777;
}

.control-button.keyboard {
    border-radius: 5px;
    width: auto;
    padding: 0px 10px;
}

.load {
    position: relative;
    background: rgb(255 255 255 / 35%);
    width: 100%;
    top: -100%;
}

.number-label {
    font-weight: bold;
    font-style: italic;
    text-shadow: 4px 3px 1px rgb(0 0 1);
}

.virtual-joystick {
    background-color: transparent;
    /* opacity: 0.1; */
    width: 100%;
    height: 100%;
    border-radius: 100%;
    outline: 1px solid #ffffff4a;
}

.spir-tag {
    margin-bottom: 20px;
    padding: 5px;
}


.spirs-container {
    border-radius: 10px;
    padding: 10px;
}

.spir-profile-picture {
    height: 4rem;
    width: 4rem;
    border-radius: 100%;
    background-color: rgb(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid #000;
    box-shadow: 0px 2px 0px 3px rgba(0, 0, 0, 1), 0px -2px 0px rgba(0, 0, 0, 0.2) inset, 0px 2px 0px rgba(255, 255, 255, 0.3) inset;
}

.badge {
    border: 0px solid;
    border-radius: 0px;
    font-size: 0.7rem;
    outline: 0px solid transparent;
}

.spir-name {
    white-space: pre;
    font-weight: bold;
    font-size: 1.1rem;
    background-color: #00000052;
    padding: 6px;
    border-radius: 7px;
}

.spir-data {
    margin-top: 6px;
    margin-left: 15px;
}

.bg-success {
    background-color: rgb(39, 208, 171) !important;
}

.bg-warning {
    background: rgb(255, 170, 32);
}


canvas[data-engine] {
    image-rendering: pixelated;
    width: 100vw !important;
    height: 100vh !important; 
    position: absolute;
    left: 0px;
    top: 0px;
}

.store-item.disabled {
    opacity: 0.5;
    user-select: none;
    touch-action: none;
    pointer-events: none;
}

.store-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 70px;
    text-align: center;
    border-radius: 7px;
    transition: 0.2s;
    margin: 0px 5px;
    pointer-events: auto !important;
    scroll-snap-align: end;

    display: inline-block;
}


.queue-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 70px;
    text-align: center;
    border-radius: 7px;
    transition: 0.2s;
    margin: 0px 5px;
    pointer-events: auto !important;
    scroll-snap-align: end;
    display: inline-block;
}

.store-item.focused {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background-color: rgba(255, 255, 255, 0.05);
}

small.subtitle {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 10px;
}

.level-label {
    font-size: 0.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}
.elite-tag {
    background: red;
    padding: 2px 5px;
    border-radius: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 0.6rem;
}


.pointer-ignore {
    pointer-events: none;
}


div#tooltip {
    transform: translate(-50%, -50%);
}

[hidden] {
    display: none !important;
}

.menu-button {
    min-width: 40px;
    min-height: 40px;
    border-radius: 100%;
}

small, .small {
    font-size: 0.75em;
}

.gamepad-button {
    height: 30px;
    background-color: #FFF;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight:bold;
    margin-right: 10px
}

.gamepad-short-button {
    width: 30px;
    max-width: 30px;
}

.gamepad-long-button {
    padding: 0px 10px;
}


.gamepad-ref {
    margin-left: -24px;
}

.legend-description {
    text-transform: uppercase;
}

.store-items-container {
    overflow: scroll hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scroll-snap-align: center;
    scrollbar-width: none;
    white-space: nowrap;
    max-width: 350px;
    pointer-events: auto !important;
}

.store-items-container::-webkit-scrollbar {
  display: none;
}

.nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    border: 1px solid #ffffff14;
    border-radius: 10px;
    pointer-events: auto !important;
}

.nav-button.disabled {
    opacity: 0.25;
    pointer-events: none;
}

.message {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 10px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    z-index: 999;
}