/* Иконки титанов — как в HW_AIO.user.js */

.titan-icons {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 3px;
}

.titan-icon-wrapper {
    display: inline-block;
    position: relative;
    width: 48px;
    height: 48px;
    vertical-align: middle;
    margin: 0;
    flex-shrink: 0;
    user-select: none;
}

.titan-icon-wrapper .titan-icon,
.titan-icon-wrapper .titan-border {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 85%;
    height: 85%;
    object-fit: contain;
    transform: translate(-50%, -50%);
    clip-path: polygon(0 19%, 50% 0, 100% 19%, 100% 81%, 50% 100%, 0 81%);
}

.titan-icon-wrapper .titan-icon {
    z-index: 3;
}

.titan-icon-wrapper .titan-border {
    z-index: 4;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

/* Компактная таблица топ-паков */
.top-packs-table-wrap {
    display: inline-block;
    max-width: 100%;
    overflow-x: auto;
}

#topPacksTable {
    width: auto !important;
    max-width: none;
    margin-bottom: 0;
    table-layout: auto;
}

#topPacksTable th,
#topPacksTable td {
    padding: 0.35rem 0.45rem;
    vertical-align: middle;
}

#topPacksTable .col-rank {
    width: 1%;
    text-align: center;
    white-space: nowrap;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
}

#topPacksTable .col-titans {
    width: 1%;
    white-space: nowrap;
    padding-right: 0.85rem;
}

#topPacksTable .col-num {
    width: 1%;
    text-align: end;
    white-space: nowrap;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

#titan-icons-warmup {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
}
