
/* =========================================
   KENO LIVE FEED
========================================= */

.live-feed-section {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto 90px;
}

.live-feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.live-feed-title {
    margin: 5px 0 0;
    color: #f2eaff;
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -0.8px;
}

.live-feed-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a99bbd;
    font-size: 12px;
}

.live-feed-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9c73ee;
    box-shadow: 0 0 12px #9c73ee80;
}

.live-feed-panel {
    overflow: hidden;
    border: 1px solid rgba(174, 132, 225, 0.15);
    border-radius: 18px;
    background: linear-gradient(
        145deg,
        rgba(28, 20, 42, 0.96),
        rgba(15, 13, 23, 0.98)
    );
}

.lf-event {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    transition: background 0.2s ease;
}

.lf-event:last-child {
    border-bottom: 0;
}

.lf-event:hover {
    background: rgba(155, 104, 224, 0.055);
}

.lf-event-icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    height: 42px;
    border: 1px solid rgba(175, 128, 239, 0.17);
    border-radius: 12px;
    background: rgba(133, 79, 204, 0.12);
    font-size: 19px;
}

.lf-event-content {
    flex: 1;
    min-width: 0;
}

.lf-event-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #d7c4f4;
    font-size: 12px;
}

.lf-event-title {
    margin-top: 5px;
    color: #f3edf9;
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.lf-event-content p {
    margin: 5px 0 0;
    color: #a79bb5;
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.lf-event-content time {
    display: block;
    margin-top: 8px;
    color: #766b84;
    font-size: 11px;
}

.lf-rarity {
    padding: 4px 7px;
    border-radius: 6px;
    background: rgba(155, 155, 170, 0.10);
    color: #c5bdcf;
    font-size: 10px;
}

.lf-rarity.rare {
    color: #78baff;
    background: rgba(70, 140, 255, 0.12);
}

.lf-rarity.epic {
    color: #c69aff;
    background: rgba(153, 85, 255, 0.14);
}

.lf-rarity.legendary {
    color: #ffd27d;
    background: rgba(255, 180, 60, 0.12);
}

.lf-rarity.uncommon {
    color: #8ce0ad;
    background: rgba(80, 210, 130, 0.10);
}

.lf-empty {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 45px 20px;
    text-align: center;
    color: #c8b9d8;
}

.lf-empty > span {
    font-size: 28px;
}

.lf-empty p {
    margin: 0;
    color: #8f829e;
    font-size: 13px;
}

@media (max-width: 600px) {
    .live-feed-section {
        width: calc(100% - 28px);
        margin-bottom: 55px;
    }

    .lf-event {
        padding: 15px 13px;
        gap: 11px;
    }

    .lf-event-icon {
        flex-basis: 36px;
        height: 36px;
    }
}


/* KENO LIVE FEED — COMPACT EVENTS */

#kenoLiveFeed {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#kenoLiveFeed .lf-event {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    min-width: 0;
    border-radius: 12px;
}

#kenoLiveFeed .lf-event-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    border-radius: 10px;
}

#kenoLiveFeed .lf-event-content {
    flex: 1;
    min-width: 0;
    gap: 3px;
}

#kenoLiveFeed .lf-event-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

#kenoLiveFeed .lf-event-heading strong {
    font-size: 12px;
}

#kenoLiveFeed .lf-event-title {
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

#kenoLiveFeed .lf-event-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 10px;
}

#kenoLiveFeed .lf-event-details {
    font-size: 11px;
    opacity: 0.7;
}

#kenoLiveFeed .lf-event-price {
    font-size: 12px;
    white-space: nowrap;
    color: #c4b5fd;
}

#kenoLiveFeed .lf-event time {
    display: block;
    font-size: 10px;
    opacity: 0.55;
    margin-top: 2px;
}

@media (max-width: 480px) {
    #kenoLiveFeed .lf-event {
        padding: 8px;
        gap: 9px;
    }

    #kenoLiveFeed .lf-event-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 21px;
    }
}

/* =========================================================
   KENO LIVE FEED — COMPACT LAYOUT
========================================================= */

#kenoRareDrops {
    margin-bottom: 14px;
}

#kenoRareDrops[hidden] {
    display: none !important;
}

#kenoRareDrops .lf-rare-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 0.6px;
}

#kenoRareDrops .lf-rare-live-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #fb7185;
    box-shadow: 0 0 10px #fb7185;
}

#kenoRareDrops .lf-rare-count {
    padding: 3px 8px;
    border-radius: 20px;
    background: #30203e;
    color: #e9d5ff;
    font-size: 11px;
}

#kenoRareDrops .lf-rare-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

#kenoRareDrops .lf-rare-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 13px;
    border: 1px solid;
    border-radius: 14px;
    animation: kenoRareAppear 0.35s ease-out;
}

#kenoRareDrops .lf-epic {
    border-color: #a855f7;
    background: linear-gradient(110deg, #35145b, #191326 85%);
    box-shadow: 0 0 18px #a855f722;
}

#kenoRareDrops .lf-legendary {
    border-color: #f5b942;
    background: linear-gradient(110deg, #51340b, #201a12 85%);
    box-shadow: 0 0 22px #f5b94233;
}

#kenoRareDrops .lf-rare-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 11px;
    background: #00000035;
    font-size: 27px;
}

#kenoRareDrops .lf-rare-info {
    flex: 1;
    min-width: 0;
}

#kenoRareDrops .lf-rare-rarity {
    margin-bottom: 3px;
    color: #d8b4fe;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#kenoRareDrops .lf-legendary .lf-rare-rarity,
#kenoRareDrops .lf-legendary .lf-rare-price {
    color: #fcd34d;
}

#kenoRareDrops .lf-rare-item-name {
    font-size: 14px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

#kenoRareDrops .lf-rare-owner {
    margin-top: 3px;
    font-size: 11px;
    opacity: 0.7;
    overflow-wrap: anywhere;
}

#kenoRareDrops .lf-rare-price {
    margin-top: 5px;
    color: #d8b4fe;
    font-size: 12px;
    font-weight: 800;
}

#kenoRareDrops .lf-rare-timer {
    flex-shrink: 0;
    align-self: flex-start;
    padding: 5px 7px;
    border-radius: 7px;
    background: #00000035;
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

#kenoLiveFeed {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#kenoLiveFeed .lf-event {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 12px;
}

#kenoLiveFeed .lf-event-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 24px;
}

#kenoLiveFeed .lf-event-content {
    flex: 1;
    min-width: 0;
}

#kenoLiveFeed .lf-event-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

#kenoLiveFeed .lf-event-heading strong {
    font-size: 12px;
}

#kenoLiveFeed .lf-event-title {
    margin-top: 3px;
    font-size: 13px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

#kenoLiveFeed .lf-event-price {
    display: block;
    margin-top: 4px;
    color: #c4b5fd;
    font-size: 12px;
    font-weight: 700;
}

#kenoLiveFeed .lf-event time {
    display: block;
    margin-top: 3px;
    font-size: 10px;
    opacity: 0.55;
}

@keyframes kenoRareAppear {
    from {
        opacity: 0;
        transform: translateY(-7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    #kenoRareDrops .lf-rare-card {
        gap: 9px;
        padding: 10px;
    }

    #kenoRareDrops .lf-rare-item-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        font-size: 23px;
    }

    #kenoRareDrops .lf-rare-item-name {
        font-size: 13px;
    }

    #kenoLiveFeed .lf-event {
        padding: 8px;
    }
}
