/* Inventory Modal Styles */
.inventory-container {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 5px;
    margin-top: 10px;
    background: #f9f9f9;
}

.inventory-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inventory-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    background: white;
    margin-bottom: 4px;
    border-radius: 4px;
}

.inventory-item:last-child {
    margin-bottom: 0;
}

.inventory-item:hover {
    background: #f0f0f0;
}

.item-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.item-id {
    font-size: 11px;
    color: #666;
}

.item-price {
    font-weight: bold;
    color: #333;
}

.item-preview {
    flex-shrink: 0;
    margin-right: 10px;
}

.cube-color-preview {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.cube-texture-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Notification System */
    #notification-container {
        position: fixed;
        top: 60px;
        /* Below header */
        right: 20px;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        gap: 10px;
        pointer-events: none;
        /* Let clicks pass through container area */
    }

    .notification {
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        border-radius: 8px;
        padding: 12px 16px;
        min-width: 250px;
        display: flex;
        align-items: center;
        gap: 12px;
        transform: translateX(120%);
        transition: transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
        pointer-events: auto;
        /* Re-enable clicks on notifications */
        border-left: 4px solid #ccc;
        font-size: 13px;
        color: #333;
    }

    .notification.show {
        transform: translateX(0);
    }

    .notification-info {
        border-left-color: #2196F3;
    }

    .notification-success {
        border-left-color: #4CAF50;
    }

    .notification-error {
        border-left-color: #F44336;
    }

    .notification-king {
        border-left-color: #FFD700;
        background: #fffdf0;
    }

    .notification i {
        font-size: 16px;
    }

    .notification-info i {
        color: #2196F3;
    }

    .notification-success i {
        color: #4CAF50;
    }

    .notification-error i {
        color: #F44336;
    }

    .notification-king i {
        color: #FFD700;
    }

    .notification-close {
        margin-left: auto;
        background: none;
        border: none;
        font-size: 18px;
        color: #999;
        cursor: pointer;
        line-height: 1;
        padding: 0;
    }

    .notification-close:hover {
        color: #555;
    }

.locate-btn {
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #555;
    transition: all 0.2s;
}

.locate-btn:hover {
    background: #333;
    color: white;
    border-color: #333;
}

/* Kings Modal Styles */
.kings-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.kings-tab {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #777;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 12px;
    transition: color 0.2s, border-color 0.2s;
}

.kings-tab:hover,
.kings-tab.active {
    color: #333;
    border-bottom-color: #ffd700;
}

.kings-panel[hidden] {
    display: none;
}

.kings-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.king-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: white;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.king-history-item {
    border-left: 3px solid #ffd700;
}

.king-crown-mark {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff8d6;
    border: 2px solid #ffd700;
    color: #8a6d1f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-right: 15px;
    flex-shrink: 0;
}

.king-info {
    flex-grow: 1;
}

.king-name {
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.king-price {
    font-size: 12px;
    color: #666;
}

.king-coords {
    font-size: 11px;
    color: #999;
}

.king-tenure {
    font-size: 11px;
    color: #8a6d1f;
    margin-top: 2px;
}

/* Currency Value Hint */
.value-hint {
    font-size: 11px;
    line-height: 1.25;
    color: #777;
    white-space: nowrap;
}

/* (Old purchase-btn styles removed - see btn-buy in Footer v3 section) */
