﻿.collection .collect-item {
/*    border: 1px solid purple;*/
    position: relative;
}

.collection .col-item-ling{
    width: inherit;
}
    .collection .collect-item .collection-image {
        transform-origin: center;
        position:relative;
        /*border: 1px solid yellow;*/
        /*transform: scale3d(1.2, 1.2, 1.2);*/
    }
        /*.collection .collect-item .collection-image:hover {*/
            /*transform: scale3d(1.4, 1.4, 1.4);*/
            /*transform: scale3d(1.2, 1.2, 1.2);
            z-index: 99999999 !important;
            
        }*/
        .collection .collect-item:has(.collection-image:hover) {
            /*transform: scale3d(1.4, 1.4, 1.4);*/
            transform: scale3d(1.2, 1.2, 1.2);
            z-index: 99999999 !important;
        }
        


.wishlist-item {
    filter: brightness(50%) contrast(70%) grayscale(50%);
}

.disinterested-item {
    filter: brightness(50%) contrast(70%) grayscale(100%);
}

.in-review{
    opacity: 50%;
}

.zoom-transition {
    transition: transform 0.3s ease-in-out;
}


.game-box {
    transform-style: preserve-3d;
    transform-origin: center;
/*    border: 1px solid orange;*/
}

.game-box-container {
    display: grid;
    grid-template-columns: 60px auto 60px;
    grid-template-rows: 60px auto 60px;
    gap: 0px;
    transform-origin: center center;
    transform-style: preserve-3d;
    transform: scale3d(1.2, 1.2, 1.2) rotate3d(1, 0, 0, -10deg);
    /*transform: rotate3d(1, 0, 0, -10deg);*/
/*    border: 1px solid red;*/
}
    .game-box-container:has(.game-box-surface:hover) {
        transform: scale3d(1.4, 1.4, 1.4) rotate3d(1, 0, 0, -10deg);
     /*   border: 1px solid fuschia;*/
        z-index: 99999999 !important;
    }

.game-box-surface {
    background-color: floralwhite;
    color: black;
    border: 1px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background-image: url('/textures/cbf.png');
    background-repeat: repeat;
}

.game-box-side {
    /*background: radial-gradient(ellipse, #ccc 0%, #ccc 50%, black 100%);*/
    background-image: url('/textures/cbf.png');
    background-repeat: repeat;
    filter: brightness(80%) contrast(80%);
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
}

.game-box-top {
    transform-origin: bottom center;
    overflow: hidden;
    transform: rotate3d(1, 0, 0, 90deg);
}

    .game-box-top > .contents {
        transform-origin: center center;
        transform: rotate3d(0, 0, 1, 180deg);
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

.game-box-bottom {
    transform-origin: top center;
    overflow: hidden;
    transform: rotate3d(1, 0, 0, -90deg);
}

    .game-box-bottom > .contents {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

.game-box-left {
    transform-origin: right center;
    transform: rotate3d(0, 1, 0, -90deg);
    writing-mode: vertical-rl;
    text-orientation: sideways;
    overflow: hidden;
}

    .game-box-left > .contents {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        text-align:center;
    }

        .game-box-left > img {  
           transform-origin: center center;  
           transform: rotate3d(0, 0, 1, 90deg);  
        }

.game-box-right {
    transform-origin: left center;
    transform: rotate3d(0, 1, 0, 90deg);
    writing-mode: vertical-lr;
    text-orientation: sideways;
    overflow: hidden;
}

    .game-box-right > .contents {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        text-align: center;
        transform-origin: center center;
        transform: rotate3d(0, 0, 1, 180deg);
    }

.game-box-front{
    position: relative;
}

.game-box-front img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
}

    .game-box-front div {
        top: 1em;
        bottom: 1em;
        left: 1em;
        right: 1em;
        position: absolute;
        text-overflow: ellipsis;
        overflow: hidden;
        text-align: center;
        vertical-align: middle;
        font-family: Roboto 'Sans Serif Collection';
        color: white;
        text-shadow: 0 0 5px black;
        font-size: 0.7em;
        line-height: 0.9em;
    }

.game-box-container .game-box-default-front {
    /*width: 170px;*/
    height: 180px;
    text-align: center;
    vertical-align: center;
    font-family: 'Sitka Display' Impact sans-serif;
    /*background: radial-gradient(ellipse, #ccc 0%, #ccc 85%, black 100%);*/
}

.game-box-corner {
    background-color: red;
    visibility: hidden;
    transform-origin: bottom right;
    transform: rotate3d(1, 0, 0, 90deg) rotate3d(0, 1, 0, -90deg);
}

.league-display {
    margin: 0 24px 0 24px;
}

.banner-container{
    position: relative;
}

    .banner-container .league-banner {
        background-color: #376eb8;
        border-radius: 0 0 8px 8px;
        padding: 12px 16px 12px 16px;
        z-index: 3;
        position: relative;
    }

    .banner-container .banner-fold {
        padding: 0;
        margin: 0;
        background-color: #004aad;
        position: absolute;
        top: 0px;
        width: calc(100% + 32px);
        height: 16px;
        border-radius: 16px 16px 0 0;
        transform: translateX(-16px);
        z-index: 1;
    }

.depth-complexity-grid {
    display: grid;
    grid-template-columns: repeat(4, 16px);
    grid-template-rows: repeat(4, 16px);
    gap: 4px;
    width: 72px;
    height: 72px;
    margin: 16px;
}

.grid-cell {
    background: #e0e0e0;
    border: 1px solid #bdbdbd;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    transition: background 0.2s, border 0.2s;
}

.grid-cell.selected {
    background: #e0e0e0;
    border: 2px solid #007AFF;
    box-shadow: 0 0 8px #007AFF88;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkmark-icon {
    display: block;
    margin: auto;
    width: 16px;
    height: 16px;
}

.depth-axis-label {
    transform: rotate(180deg);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: bold;
    font-size: 1.1em;
    margin-right: 12px;
    user-select: none;
    color: white;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.complexity-axis-label {
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 8px;
    user-select: none;
    color: white;
}

/*.bgb-content-container{
    margin-left: 40px;
}

.bgb-menu-toggle {
    position: fixed;
    top: 12px;
    left: 4px;
}

.bgb-menu {
    background-color: transparent;
    position: fixed;
    top: 67px;
    width: 170px;
    left: -132px;
    z-index: 1000;
}
    .bgb-menu .bgb-menu-item {
        width: 100%;
        min-height: 8px;
        border-top: 1px solid #c0c0c0;
        border-left: 1px solid #c0c0c0;
        border-right: 1px solid #c0c0c0;
        border-bottom: 0px solid #c0c0c0;
        border-radius: 4px 4px 0 4px;
        margin: 4px 0 4px 4px;
        padding: 2px 2px 2px 8px;
        position: relative;

        transition-duration: 300ms;
        transition-timing-function: ease-in-out;
        transition-property: transform;
    }

    .bgb-menu.bgb-menu-open .bgb-menu-item {
        transform: translate3d(132px, 0, 0);
    }

    .bgb-menu .bgb-menu-item:hover {
        transform: translate3d(132px, 0, 0);
        transition-duration: 150ms;
        transition-delay: 0;
    }

.delay-25 {
    transition-delay:25ms;
}
.delay-40 {
    transition-delay: 50ms;
}
.delay-75 {
    transition-delay: 75ms;
}
.delay-100 {
    transition-delay: 100ms;
}
.delay-125 {
    transition-delay: 125ms;
}
.delay-150 {
    transition-delay: 150ms;
}
.delay-175 {
    transition-delay: 175ms;
}*/

.mud-list-item-empty > svg {
    display: none;
}

/*.bgb-grid-nav {
    display: grid;
    grid-template-columns: auto 80px 80px 80px auto;
    grid-template-rows: 100px 80px 80px 80px auto;
    gap: 4px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    visibility:hidden;
}

    .bgb-grid-nav.bgb-grid-nav-open {
        visibility: visible;
    }

    .bgb-grid-nav > div, .bgb-grid-nav .bgb-grid-nav-item {
        display: flex;*/
        /*        border: 1px solid green;*/
        /*height: 100%;
        witdh: 100%;
        max-height: 100%;
        max-width: 100%;
    }

    .bgb-grid-nav .bgb-grid-nav-item {
        border-top: 2px solid #C0C0C0;
        border-left: 2px solid #C0C0C0;
        border-right: 2px solid #C0C0C0;
        border-radius: 8px;
        transition-duration: 300ms;
        transition-timing-function: ease-in-out;
        transition-property: transform;
        transform: rotate3d(1, 1, 0, 90deg);
        transform-style: preserve-3d;
        perspective: 1000px;
    }

    .bgb-grid-nav.bgb-grid-nav-open .bgb-grid-nav-item {
        transform: rotate3d(1, 1, 0, 0);
    }*/
    


