
.jh-page {
    background: transparent !important;
    padding: 20px !important;
}
.jh-page .container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.jh-back-row {
    display: flex;
    align-items: center;
    width: 100%;
}
.jh-close {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}
.jh-close:hover {
    color: #fff;
    text-decoration: none;
}

.jh-dialog {
    position: relative;
    display: flex;
    width: calc((100% - 2rem) / 3);
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    border-radius: 1rem;
    background: #16161D;
    padding: 1rem 1rem 1.25rem;
    height: 750px;
}

.jh-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}
.jh-header-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(59, 92, 204, 0.15);
    color: #5a7ae6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.jh-title {
    width: fit-content;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.25;
    margin: 0;
}

.jh-list {
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 700px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.jh-list::-webkit-scrollbar {
    display: none;
}

.jh-item {
    height: 4.5rem;
}

.jh-card {
    position: relative;
    z-index: 1;
    display: flex;
    height: 4rem;
    align-items: center;
    gap: 0.75rem;
    overflow: hidden;
    border-radius: 0.75rem;
    background: #191921;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    transition: filter 0.15s;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.jh-card:hover {
    filter: brightness(1.12);
    text-decoration: none;
    color: inherit;
}

.jh-card-gradient {
    display: none;
}

.jh-card-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: auto;
    min-width: 0;
}

.jh-avatar {
    position: relative;
    display: flex;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    text-decoration: none;
}
.jh-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 0.75rem;
    object-fit: cover;
    border: none;
}
.jh-avatar--empty {
    pointer-events: none;
}
.jh-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0.75rem;
    background: #2a3454;
}

.jh-user-info {
    min-width: 0;
}
.jh-username {
    font-size: 0.875rem;
    font-weight: 500;
    color: #d6e2ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
    margin-bottom: 2px;
}
.jh-bet-amount {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
}

.jh-card-right {
    display: flex;
    height: 100%;
    align-items: center;
    gap: 0.75rem;
    overflow: hidden;
}
.jh-card-right-inner {
    position: relative;
    z-index: 1;
    display: flex;
    height: 100%;
    align-items: center;
    gap: 6px;
}

.jh-label {
    display: flex;
    height: 2rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 0.5rem;
    border: none;
    padding-left: 0.625rem;
    padding-right: 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    min-width: 3.5rem;
}

.jh-label[data-status="success"] {
    background-color: rgba(133, 255, 131, .8);;
    color: black;
}

.jh-label--outlined[data-status="success"] {
    border-color: rgba(162, 254, 255, 0.2);
    background-color: transparent;
}

.jh-rub-icon {
    flex-shrink: 0;
    vertical-align: middle;
    margin-right: 3px;
    position: relative;
    top: -1px;
}

.jh-eye-icon {
    flex-shrink: 0;
    color: rgba(162, 254, 255, 0.5);
    transition: color 0.15s;
}
.jh-card:hover .jh-eye-icon {
    color: #a2feff;
}

.jh-empty {
    text-align: center;
    color: rgba(255,255,255,0.3);
    padding: 40px 0;
    font-size: 14px;
}

@media (min-width: 540px) {
    .jh-dialog {
        padding: 1.25rem 1.25rem 1.5rem;
    }
    .jh-item {
        height: 5.25rem;
    }
    .jh-card {
        height: 5rem;
        padding-left: 1rem;
        padding-right: 1rem;
        border-radius: 1rem;
    }
    .jh-avatar {
        width: 2.875rem;
        height: 2.875rem;
    }
    .jh-avatar img {
        border-radius: 0.875rem;
    }
    .jh-card-left {
        gap: 1.125rem;
    }
    .jh-username {
        font-size: 0.875rem;
    }
    .jh-bet-amount {
        font-size: 1rem;
    }
    .jh-card-right {
        gap: 1.25rem;
    }
    .jh-card-right-inner {
        padding-left: 1.75rem;
        padding-right: 1rem;
    }
    .jh-label {
        height: 2.5rem;
        border-radius: 0.75rem;
        padding-left: 0.875rem;
        padding-right: 0.875rem;
        min-width: 4.125rem;
    }
}

@media (max-width: 539px) {
    .jh-page {
        padding: 12px !important;
    }
    .jh-dialog {
        width: 100%;
        border-radius: 0.75rem;
        padding: 0.75rem;
    }
    .jh-username {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border-width: 0;
    }
}

