﻿.code-badge {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 6px;
    background-color: #3f4148;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #dcddde;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .code-badge img {
        flex-shrink: 0;
        width: 16px;
        height: 16px;
        margin-right: 4px;
        border-radius: 2px;
    }

    .code-badge span {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
    }


#tagsTable {
    table-layout: fixed;
    width: 100%;
}
    #tagsTable th,
    #tagsTable td {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        #tagsTable th:nth-child(1),
        #tagsTable td:nth-child(1) {
            width: 25%;
        }

        #tagsTable th:nth-child(2),
        #tagsTable td:nth-child(2) {
            width: 10%;
        }

        #tagsTable th:nth-child(3),
        #tagsTable td:nth-child(3) {
            width: 35%;
        }

        #tagsTable th:nth-child(4),
        #tagsTable td:nth-child(4) {
            width: 15%;
        }

        #tagsTable th:nth-child(5),
        #tagsTable td:nth-child(5) {
            width: 15%;
        }

tr.table-highlight td {
    background-color: #2c3e50 !important;
    color: #e0e0e0 !important;
}

/* Limited */
:root {
    --glow-rgb: 59,130,246;
}

.uc-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem
}

.tag-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 16px
}

@media (max-width:1400px) {
    .tag-grid {
        grid-template-columns: repeat(4,1fr)
    }
}

@media (max-width:1100px) {
    .tag-grid {
        grid-template-columns: repeat(3,1fr)
    }
}

@media (max-width:800px) {
    .tag-grid {
        grid-template-columns: repeat(2,1fr)
    }
}

@media (max-width:520px) {
    .tag-grid {
        grid-template-columns: 1fr
    }
}

.tag-card {
    position: relative;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 14px;
    border-radius: 16px;
    background: #0f1115;
    border: 1px solid rgba(var(--glow-rgb),.18);
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
    box-shadow: 0 0 0 rgba(0,0,0,0);
}

    .tag-card:hover,
    .tag-card:focus-visible {
        transform: translateY(-2px);
        border-color: rgba(var(--glow-rgb),.45);
        box-shadow: 0 0 28px rgba(var(--glow-rgb),.45), 0 0 6px rgba(var(--glow-rgb),.6) inset;
        outline: none;
    }

.badge-icon {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    flex: 0 0 auto;
    filter: drop-shadow(0 0 10px rgba(var(--glow-rgb),.35));
}

.tag-text {
    font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
    font-weight: 800;
    font-size: 1.35rem;
    color: #e8f0ff;
    max-width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: .2px;
}
