.jhg-page {
    padding: 20px !important;
    background: transparent !important;
}
.jhg-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.jhg-info-panel {
    position: sticky;
    top: 20px;
}

.jhg-info-status {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(76, 175, 80, 0.08);
    border-radius: 10px;
    padding: 12px 16px;
}
.jhg-info-status__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(76, 175, 80, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #4CAF50;
}
.jhg-info-status__text {
    font-size: 14px;
    font-weight: 700;
    color: #4CAF50;
}

.jhg-info-stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.jhg-info-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    padding: 15px;
    transition: background 0.15s;
}
.jhg-info-stat:hover {
    background: rgba(255,255,255,0.06);
}
.jhg-info-stat__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.jhg-info-stat__icon--players {
    background: rgba(59,92,204,0.15);
    color: #5a7ae6;
}
.jhg-info-stat__icon--bank {
    background: rgba(204,102,81,0.15);
    color: #CC6651;
}
.jhg-info-stat__icon--bets {
    background: rgba(147,231,235,0.12);
    color: #93e7eb;
}
.jhg-info-stat__icon--time {
    background: rgba(171,130,255,0.12);
    color: #ab82ff;
}
.jhg-info-stat__data {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.jhg-info-stat__value {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}
.jhg-info-stat__value small {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.5;
}
.jhg-info-stat__label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.jhg-info-winner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,184,0,0.06);
    border: 1px solid rgba(255,184,0,0.15);
    border-radius: 10px;
    padding: 10px 14px;
}
.jhg-info-winner__avatar-wrap {
    position: relative;
    flex-shrink: 0;
}
.jhg-info-winner__avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgba(255,184,0,0.3);
    cursor: pointer;
}
.jhg-info-winner__crown {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    filter: drop-shadow(0 1px 4px rgba(255,184,0,0.5));
}
.jhg-info-winner__details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.jhg-info-winner__name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}
.jhg-info-winner__name:hover {
    text-decoration: underline;
}
.jhg-info-winner__meta {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}
.jhg-info-winner__amount {
    font-size: 14px;
    font-weight: 700;
    color: #FFB800;
    flex-shrink: 0;
    white-space: nowrap;
}
.jhg-info-winner__amount small {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.7;
}

.jhg-info-hash {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    font-family: monospace;
    word-break: break-all;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    padding: 10px 12px;
    line-height: 1.5;
}

.jhg-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.jhg-back {
    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;
}
.jhg-back:hover {
    color: #fff;
    text-decoration: none;
}
.jhg-round-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.jhg-round-title span {
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}

.jhg-winner-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}
.jhg-winner-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}
.jhg-winner-avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
}
.jhg-winner-crown {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    filter: drop-shadow(0 2px 6px rgba(255,184,0,0.5));
}
.jhg-winner-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.jhg-winner-label {
    font-size: 15px;
    font-weight: 700;
    color: #CC6651;
    text-transform: uppercase;
}
.jhg-winner-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
.jhg-winner-chance-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}
.jhg-winner-chance-line strong {
    color: #fff;
    font-weight: 600;
}
.jhg-winner-divider {
    color: rgba(255,255,255,0.2);
}

.jhg-page .jr-participants__inner {
    justify-content: center;
}
.jhg-participant--winner {
    background: rgba(59,92,204,0.10) !important;
    position: relative;
    overflow: visible;
}
.jhg-participant-crown {
    position: absolute;
    top: -10px;
    left: -6px;
    width: 20px;
    height: 20px;
    transform: rotate(-20deg);
    filter: drop-shadow(0 2px 4px rgba(59,92,204,0.6));
    z-index: 2;
    pointer-events: none;
}

.jhg-bets-list {
    max-height: 500px;
}
.jhg-bet-color {
    width: 4px;
    height: 36px;
    border-radius: 2px;
    flex-shrink: 0;
}
.jhg-page .jackpot-bet-card {
    animation: none;
}
.jhg-bet-winner {
    background: rgba(59,92,204,0.06) !important;
}
.jhg-bet-winner:hover {
    background: rgba(59,92,204,0.10) !important;
}
.jhg-page .jackpot-bet-amount {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 6px 12px;
    flex-shrink: 0;
    margin-left: auto;
}
.jhg-bet-currency {
    font-size: 12px;
    opacity: 0.5;
    font-weight: 400;
}
.jhg-page .jackpot-bet-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.jhg-page .jackpot-bet-username {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.jhg-page .jackpot-bet-chance {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}
.jhg-bet-winner-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #5a7ae6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    background: rgba(59,92,204,0.15);
    border-radius: 6px;
    padding: 10px;
}

.jhg-hash {
    margin-top: 12px;
    padding: 12px 16px;
    background: #16161D;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.jhg-hash-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.jhg-hash-value {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    font-family: monospace;
    word-break: break-all;
}

@media (max-width: 768px) {
    .jhg-page {
        padding: 12px !important;
    }
    .jhg-page .jr-game-top {
        flex-direction: column;
        height: auto;
    }
    .jhg-page .jr-side {
        width: 100%;
        padding: 12px 16px;
        justify-content: center !important;
    }
    .jhg-page .jr-side--left .jr-side__content {
        flex-direction: row;
        text-align: left;
    }
    .jhg-page .jr-side--left .jr-side__mask-border,
    .jhg-page .jr-side--left .jr-side__mask-bg,
    .jhg-page .jr-side--right .jr-side__mask-border,
    .jhg-page .jr-side--right .jr-side__mask-bg {
        -webkit-mask-image: none;
        mask-image: none;
        border-radius: 0;
    }
    .jhg-page .jr-side--left .jr-side__mask-bg {
        margin-right: 0;
    }
    .jhg-page .jr-side--right .jr-side__mask-bg {
        margin-left: 0;
    }
    .jhg-page .jr-center {
        padding: 16px;
    }
    .jhg-winner-name {
        max-width: 160px;
    }
    .jhg-page .jr-participants__inner {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
    }
    .jhg-page .jackpot-bet-main {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .jhg-winner-chance-line {
        flex-direction: column;
        gap: 2px;
    }
    .jhg-winner-divider {
        display: none;
    }
    .jhg-page .jackpot-bet-amount {
        font-size: 12px;
        padding: 4px 8px;
    }
    .jhg-info-stats {
        flex-direction: column;
    }
    .jhg-info-stat {
        min-width: unset;
    }
}