.v-main.playground {
    //background: linear-gradient(0deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.9)), url(/static/bck-full.webp) no-repeat center center fixed;
    background-size: cover;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    margin:auto;
    max-width: 1200px;
}

.v-btn {
    text-transform: unset !important;
}

video{
    max-width: 100%;
}

.z-100 {
    z-index: 100;
}

:root {
    --svg-scale: 1;
}

.browse-asset {
    position: absolute !important;
    //bottom: 44px;
    &.edit{
        left: 25px;
    }
    &.remove {
        right: 25px;
    }
}

.asset-browser{
    background-color: rgba(128,128,128,.05);
}

.img-preview {
    display: flex;
    flex-direction: column;
    .img-wrapper{
        flex-grow: 1;
        overflow: hidden;
        max-width: 270px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        height:180px;
    }
    img{
        display: block;
        max-height:180px;
        max-width: 95%;
        transition: all 1s;
        margin: auto;
        &:hover{
            max-width: 125%;
        }
    }
    .btn-play {
        opacity: 0;
        transition: opacity 1s;
    }
    
    &:hover .btn-play{
        opacity: .77;
    }
}

.hover-effect {
    transform: scale(1);
    transition: all 0.73s !important;
    &:hover {
        transform: scale(0.98);
    }
}

.asset-preview {
    img {
        max-width: 100%;
    }
    overflow-y: auto;
    overflow-x: hidden;
}

.locked {
    pointer-events: none;
    position: relative;
    &::after{
        background-color: rgba(0,0,0,0.22);
        content:"\F033E";
        text-align: center;
        font-family: "Material Design Icons";
        font-size: 111px;
        color: rgba(255, 255, 255, 0.33);
        position: absolute;
        width: 100%;
        height: 100%;
        left:0;
        top:0;
    }
}

.svg-container{
    svg{
        image{
            clip-path: circle(50% at 50% 50%);
        }
        circle {
            stroke: rgba(var(--v-theme-primary), .7);
            fill:rgba(255,255,255,.5);
            stroke-width: 2px;
        }
        g{
            &.selected circle{
                fill: rgba(var(--v-theme-secondary), .9);
            }
        }
        line, path{
            stroke: rgb(213, 226, 231);
            stroke-width: calc( 2px * var(--svg-scale) );
        }
        line.trigger, marker#arrow path {
            stroke: rgb(244, 215, 230);
            fill: rgb(172, 105, 139);
        }
        g.selector {
            line {
            stroke-dasharray: 0 calc(8 * var(--svg-scale)) 0;
            }
        }
        text {
            text-anchor: middle;
            fill:rgb(var(--v-theme-on-surface));
            stroke-width: 0;//calc( .1px * var(--svg-scale) );;
            user-select: none;
        }
        background-color: rgba(128,128,128,.05);
    }
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    height: calc(100vh - 188px);
    &.pan {
        cursor: grab;
    }
    &.Scene, &.GameObject, &.Task {
        cursor: grabbing;
    }
}

.canvas-wrapper{
    width: 100%;
    max-width: 100vw;
    //height: calc(100vh - 288px);
    aspect-ratio: 16 / 9;
    overflow: auto;
}

.canvas-wrapper:has(canvas:fullscreen){
    width: 100vw;
    height: 100vh;
}

audio {
    min-width:400px;
}

.engine-stats {
    top:unset !important;
    left:unset !important;
    bottom: 0 !important;
    right: 0 !important;
}

#XRButton {
    left: 55px !important;
    bottom: 0 !important;
    position: fixed !important;
    z-index: 1005 !important;
}