/* [RS] Stats Extraction Zone (Restored & Fixed) */
#stats-extraction-zone {
    display: flex !important;
    flex-wrap: wrap;
    gap: 2px !important;
    background: #2a2a2a;
    border-top: 2px solid #555;
    padding: 4px;
    /* Matches .poker-hands-container */
    min-height: 120px;
    max-height: 300px;
    overflow-y: auto;
    transition: height 0.3s ease;
    position: relative;
    z-index: 10000 !important;
    width: 100%;
    /* Ensure full width of popover */
    box-sizing: border-box;
}

#stats-extraction-zone.hidden {
    display: none !important;
}

.stat-row.active-extraction {
    background-color: rgba(63, 185, 80, 0.4) !important;
    border-left: 4px solid #22c55e !important;
    transition: background-color 0.2s ease;
    padding-left: 4px;
}

.stat-row.active-extraction .stat-label {
    font-weight: bold;
}

/* Flying Tile Animation */
.flying-tile {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    transition: top 0.4s ease-in-out, left 0.4s ease-in-out, transform 0.4s, width 0.4s, height 0.4s;
}

.extracted-hidden {
    visibility: visible !important;
    opacity: 0.2 !important;
    filter: grayscale(100%) !important;
    pointer-events: none !important;
}

/* [RS] Extraction Slots */
.extraction-slot {
    width: 50px;
    height: 50px;
    background: rgba(40, 40, 40, 1);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box !important;
}

/* [RS] Suit Combo Enhancements */
.suit-combo {
    width: 100% !important;
    /* Fill the slot */
    height: 100% !important;
    min-width: 0 !important;
    /* Override legacy min-width if conflict */
    display: flex !important;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    font-weight: bold;
    background-color: #fff;
    color: #000;
    border-radius: 5px;
    box-sizing: border-box;
    opacity: 1 !important;
}

.suit-combo .suit-combo-inner {
    white-space: nowrap;
    letter-spacing: -1px;
}